[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: set-window-start
From: |
Kevin Rodgers |
Subject: |
Re: set-window-start |
Date: |
Fri, 16 Jul 2004 11:26:35 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
Richard Stallman wrote:
> In Emacs 20.7, (set-window-start WINDOW POS) makes POS the window
> start, as documented. In current CVS and in 21.3, it makes the window
> start either at the _beginning_ of the line POS is on, _or_ at the
> beginning of the _next_ line, according to rules that are not clear.
>
> I think it is a bug. There is a mechanism that is supposed to assure
> that when Emacs chooses a new window-start, it tries to choose
> the start of a line. That mechanism should be disabled when you
> specify a window-start explicitly. Perhaps the code to disable
> it is not working right.
Not surprising, given the comment that precedes it (in the 21.3 source):
/* this is not right, but much easier than doing what is right. */
w->start_at_line_beg = Qnil;
--
Kevin Rodgers