[Top][All Lists]

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

Re: Display-based word wrapping

From: Stefan Monnier
Subject: Re: Display-based word wrapping
Date: Tue, 24 Jun 2008 16:23:32 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

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

>>> I have also changed truncate-partial-width-windows to accept integer
>>> values specifying a window width below which to truncate lines, and
>>> changed the default to 30.
>> Since the Emacs-22 default was t, I think a safer new default (other
>> than t) would be something around 70-80, so it behaves as before for
>> 80 column frames.

> For anyone using the word-wrap feature, that could be annoying.  With
> word wrapping, buffers with long lines can be comfortably read in
> 50-column windows, but if truncate-partial-width-windows is 70-80,
> they'll be truncated rather than wrapped.

If you say so,


reply via email to

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