[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A couple of questions...
From: |
Giorgos Keramidas |
Subject: |
Re: A couple of questions... |
Date: |
Wed, 29 Oct 2008 18:34:32 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) |
On Tue, 28 Oct 2008 21:05:51 +0100, Francis Moreau <francis.moro@gmail.com>
wrote:
>Francis Moreau <francis.moro@gmail.com> writes:
>>> The default behavior of Emacs is to wrap long lines. What you wrote
>>> above seems to be the result of a local customization.
>>
>> You're right: asking for the description of this variable tells me:
>>
>> ,----
>> | truncate-lines is a variable defined in `C source code'.
>> | Its value is t
>> | Local in buffer *Summary gmane.emacs.gnus.user*; global value is nil
>> | Automatically becomes buffer-local when set in any fashion.
>> `----
>>
>> So this variable seems to have been customized locally though I don't
>> know why.
`Local in buffer *Summary gmane.emacs.gnus.user*' means that the
variable was `nil' in a global context, and it was somehow set when you
entered that buffer.
> I finally got the answer: this actually happens when the window was
> splitted horizontally. In this case emacs does not wrap long lines
> except if you set 'truncate-partial-width-windows' to nil.
That's funny. I am not sure why this is happening. With an Emacs 23.X
installation here, I can start Emacs without any sort of init file by
typing in my shell prompt
emacs -q --no-site-file --no-splash .bashrc
Then split the window in two side-by-side windows by typing `C-x 3' and
I see the long lines wrapped. Now I'm a bit confused.