[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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]