emacs-devel
[Top][All Lists]
Advanced

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

Re: visual-line-mode and line wrapping


From: Lennart Borgman
Subject: Re: visual-line-mode and line wrapping
Date: Tue, 25 May 2010 16:18:50 +0200

On Tue, May 25, 2010 at 4:04 PM, Stefan Monnier
<address@hidden> wrote:
>> Also, it would be nice if one could bound the width used for wrapping so
>> that when a window becomes wider than a certain size, the wrapping width
>> would stick at some maximum -- this is because extremely wide paragraphs
>> can be hard to read.  Similarly, when windows become narrow than some
>> width, it would be nice if wrapping actually respected some _minimum_
>> width, so that you don't end up with the text in a single narrow
>> vertical line (the text is probably unreadable either way, but at least
>> with the bounded-width version, you can get a more sensible idea of the
>> document structure).
>
> I'd be fine with a "wrap-width" if it's a buffer-local variable that
> completely overrides the window-width wrapping, so that the wrapping is
> purely determined by the buffer and not by the window.
> This would mean that in narrow windows, long lines would be wrapped
> *and* truncated.


Sounds nice. This is what I have been trying to emulate. (Though the
truncation part is not possible to emulate.)

BTW, I just added winsize-fit-window-to-fill-column. Should not
something like that be in Emacs?



reply via email to

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