Gnus development mailing list
 help / color / mirror / Atom feed
* Recentering during article scrolling with scroll-margin
@ 2008-08-10  9:27 Ralf Angeli
  2008-08-11  2:51 ` Katsumi Yamaoka
  0 siblings, 1 reply; 6+ messages in thread
From: Ralf Angeli @ 2008-08-10  9:27 UTC (permalink / raw)
  To: ding

Hi,

the handling of `scroll-margin' has recently changed a bit in Emacs CVS
and recentering seems to happen more agressively now.  This becomes a
problem if `scroll-margin' is greater than 0 and one is scrolling an
article with <RET>.  When the bottom of the article is reached the last
line will not stay at the bottom of the window but jump to the middle of
it.

The recentering is triggered by the statement
(move-to-window-line -1)
in `gnus-article-next-page'.  It is usually countered by
`gnus-article-next-page-1', but not at the end of an article where the
latter function will not be called.

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

If necessary I can provide a change log entry for such a change.

-- 
Ralf



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-08-14  0:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-10  9:27 Recentering during article scrolling with scroll-margin Ralf Angeli
2008-08-11  2:51 ` Katsumi Yamaoka
2008-08-11 16:35   ` Ralf Angeli
2008-08-11 22:54     ` Katsumi Yamaoka
2008-08-13 19:01     ` Reiner Steib
2008-08-14  0:48       ` Katsumi Yamaoka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).