[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: longlines-mode and visual-line-mode
From: |
Leo |
Subject: |
Re: longlines-mode and visual-line-mode |
Date: |
Sun, 31 May 2009 18:11:18 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
On 2009-05-31 17:26 +0100, Deniz Dogan wrote:
> 2009/5/31 Leo <address@hidden>:
>> Hi there,
>>
>> After briefly trying these two modes, I haven't found any significant
>
>> difference between them. It looks like longlines has all the features
>> for visual-line-mode. Is my impression correct? Thank you.
>>
>
> This is not the case, as I understand it. For an example, fill a
> buffer with a very long line in longlines-mode and resize the window.
> Then turn it off and switch to visual-line-mode and resize the window.
> Notice the difference! visual-line-mode turns on word-wrap (a
> variable) which is what gives this differente behaviour.
>
> IIRC, longlines-mode is/was a hack which was introduced due to the
> lack of something like word-wrap in earlier versions of Emacs.
After (setq longlines-wrap-follows-window-size 10), I haven't noticed
any difference.
Could you elaborate the different you were referring to? Thanks.
Leo