[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: set-window-start in Elisp manual
From: |
Stephen Berman |
Subject: |
Re: set-window-start in Elisp manual |
Date: |
Thu, 17 Jan 2008 17:21:48 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) |
On Thu, 17 Jan 2008 16:40:12 +0100 address@hidden (Johan Bockgård) wrote:
> Stephen Berman <address@hidden> writes:
>
>> On Thu, 17 Jan 2008 15:29:01 +0100 address@hidden (Johan Bockgård) wrote:
>>
>>> martin rudalics <address@hidden> writes:
>>>
>>>> FWIW this used to work in Emacs 20 but was already broken in Emacs 21.
>>>> We would have to find out why and where `window-start' gets reset to 1.
>>>
>>> [xdisp.c:13049]
>>>
>>> /* If window starts on a continuation line, maybe adjust the
>>> window start in case the window's width changed. */
>>> if (XMARKER (w->start)->buffer == current_buffer)
>>> compute_window_start_on_continuation_line (w);
>>
>> How does this piece of code relate to the set-window-start issue, since
>> the latter doesn't seem to involve a continuation line? Or did you
>> accidentally paste in the wrong bit
>
> The paste is correct, the line number is wrong. Sorry.
Ok, thanks for the correction. My question wasn't rhetorical, I don't
see the relation between the set-window-start issue and continuation
lines. Could you clarify, or at least point to where in the code this
relation is established? Thanks.
Steve Berman
Re: set-window-start in Elisp manual, Richard Stallman, 2008/01/20