From: Ralf Angeli <angeli@caeruleus.net>
To: ding@gnus.org
Subject: Recentering during article scrolling with scroll-margin
Date: Sun, 10 Aug 2008 11:27:47 +0200 [thread overview]
Message-ID: <878wv52p9o.fsf@photon.caeruleus.net> (raw)
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
next reply other threads:[~2008-08-10 9:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-10 9:27 Ralf Angeli [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878wv52p9o.fsf@photon.caeruleus.net \
--to=angeli@caeruleus.net \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).