[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Line-wrapping of 80 character long lines
From: |
Kim F. Storm |
Subject: |
Re: Line-wrapping of 80 character long lines |
Date: |
17 Jan 2004 00:30:34 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
address@hidden (Kim F. Storm) writes:
> address@hidden (Kai Großjohann) writes:
>
> > Henrik Holm <address@hidden> writes:
> >
> > > I really like the feature of Emacs 21 and higher, that the fringes are
> > > used instead of the \ character to indicate when a line has been
> > > wrapped.
> > >
> > > However, there is one part of this behavior that I find a bit
> > > misleading: If a line is exactly 80 characters, it gets "wrapped"
> > > -- even if it is not needed. (This applies of course when my Emacs
> > > window is 80 characters. If the Emacs window is narrrower, for
> > > instance 20 cols as in the example below, the behavior will be
> > > similar.)
> >
> > The problem is where to put the cursor. When point is at the end of
> > the line, where do you display the cursor?
> >
> > One solution is to be able to display the cursor in the right
> > fringe. Another possibility might be to display the cursor as a
> > narrow vertical bar to the right of the last character.
I just installed patches to CVS emacs to let an "exact width" line
flow into the right fringe, and put the cursor there when point is
at the end of such a line.
> Also, there's no guarantee that there is a right fringe, or whether it
> has sufficient width to show a cursor. But for most uses, I think it
> makes good sense to display the cursor in the fringe.
It works only if there is a non-zero width fringe on the right. Otherwise
it reverts to breaking the line as it used to.
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Re: Line-wrapping of 80 character long lines,
Kim F. Storm <=