emacs-devel
[Top][All Lists]
Advanced

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

Re: 23.0.60; Constant recentering with scroll-margin set


From: Lennart Borgman (gmail)
Subject: Re: 23.0.60; Constant recentering with scroll-margin set
Date: Sat, 09 Aug 2008 03:40:23 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

Chong Yidong wrote:
Ralf Angeli <address@hidden> writes:

* Ralf Angeli (2008-08-07) writes:

It could also be that this has to be fixed in Gnus.  I'm not sure, but I
remember that there was a similar issue back in 2005 where some changes
hat to be made in `gnus-article-next-page' and related functions in
order to deal with some changes in the handling of `scroll-margin'.
Okay, the problem is the statement
(move-to-window-line -1)
in `gnus-article-next-page'.  If `scroll-margin' is set and greater than
0 it will lead to a recentering.  This is usually countered by
`gnus-article-next-page-1', but not at the end of an article where
`gnus-article-next-page-1' will not be called.

The problem can be circumvented by changing the above statement to
(move-to-window-line (- -1 scroll-margin))

Let me know if the recentering behavior will stay like it is now, then
I can report this to the Gnus maintainers.

What do people think?  When there is a scroll-margin, should
move-to-window-line automagically move to the scroll-margin instead of
recentering?

Yes. Automatic recentering is very disturbing IMO.




reply via email to

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