[Top][All Lists]

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

Re: visual-line-mode and line wrapping

From: Leo
Subject: Re: visual-line-mode and line wrapping
Date: Tue, 25 May 2010 17:33:53 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

On 2010-05-25 15:04 +0100, Stefan Monnier 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.

That will do for me too.

Yidong has said something like this in 2009:

I wonder if he has a patch in his local branch.



reply via email to

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