[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Longlines mode in menu
From: |
Chong Yidong |
Subject: |
Re: Longlines mode in menu |
Date: |
Thu, 12 Jun 2008 12:38:24 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
David Reitter <address@hidden> writes:
> On 12 Jun 2008, at 16:05, Chong Yidong wrote:
>>
>> The display-time work wrapping won't necessarily help. It would
>> interfere with commands that expect soft newlines to behave like
>> newlines (next-line, etc).
>
> Internally, they would move to the next paragraph, which is the next
> line in the underlying file. That may well be the correct behavior.
> This is not any different from `truncate-lines' being nil, with the
> occasional line wrapped.
>
> Things like C-n can be changed to actually move to the next line.
> For Aquamacs I have written code that moves to the next (visible) line
> and places the cursor as close (horizontally) as possible. This is
> also relevant when using variable-width fonts. I'd be more than happy
> to contribute that.
In the long run, this approach is definitely the way to go. The main
concern is that rebinding the motion commands is a non-trivial change.
Unless it's unavoidable, I'd prefer not to revisit this issue during the
current release cycle. If it's possible to change font-lock to
understand soft newlines, that might be a better fix for the moment.
- Longlines mode in menu, Chong Yidong, 2008/06/05
- Re: Longlines mode in menu, Stefan Monnier, 2008/06/12
- Re: Longlines mode in menu, Kevin Rodgers, 2008/06/12
- Re: Longlines mode in menu, Stefan Monnier, 2008/06/12
- Re: Longlines mode in menu, Lennart Borgman (gmail), 2008/06/13
- Re: Longlines mode in menu, David Reitter, 2008/06/18
- Re: Longlines mode in menu, Lennart Borgman (gmail), 2008/06/18
- Re: Longlines mode in menu, David Reitter, 2008/06/18