[Top][All Lists]

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

Re: set-window-start in Elisp manual

From: Johan Bockgård
Subject: Re: set-window-start in Elisp manual
Date: Thu, 17 Jan 2008 16:40:12 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux)

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.

Johan Bockgård

reply via email to

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