emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Display-based word wrapping


From: Chong Yidong
Subject: Re: Display-based word wrapping
Date: Tue, 24 Jun 2008 17:52:10 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> The name `truncate-lines' does not give any hint that it controls word
>> wrapping too.
>
>> Do you care about this?  If so, how about this: make truncate-lines an
>> obsolete alias for `line-wrap-method', which accepts the values
>> `edge-wrap', `word-wrap', and `truncate', with t equivalent to
>> `truncate' and nil equivalent to `edge-wrap'.
>
> Yes, that sounds very good (I'd have said `char-wrap' rather than
> `edge-wrap', tho).

One big disadvantage, though: truncate-lines is used very widely in the
Lisp code.  Replacing them would be rather annoying.

There's also the matter of what to do with `toggle-truncate-lines'.




reply via email to

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