all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ralf Angeli <angeli@caeruleus.net>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: 662@emacsbugs.donarmstrong.com
Subject: bug#662: 23.0.60; Constant recentering with scroll-margin set
Date: Fri, 08 Aug 2008 20:32:12 +0200	[thread overview]
Message-ID: <874p5vnys3.fsf@photon.caeruleus.net> (raw)
In-Reply-To: Ralf Angeli's message of "Thu\, 07 Aug 2008 20\:41\:50 +0200"

* 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.

-- 
Ralf






  parent reply	other threads:[~2008-08-08 18:32 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-07  1:54 bug#662: 23.0.60; Constant recentering with scroll-margin set Chong Yidong
2008-08-07 18:21 ` Ralf Angeli
2008-08-07 18:41 ` Ralf Angeli
2008-08-08 18:32 ` Ralf Angeli [this message]
2008-08-08 20:56   ` Stefan Monnier
2008-08-12 18:51     ` Ralf Angeli
2008-08-09  1:00   ` OFFICE ZERO
2008-08-09  1:07   ` OFFICE ZERO
2008-08-09  1:30   ` Chong Yidong
2008-08-09  1:40     ` Lennart Borgman (gmail)
2008-08-12 19:15     ` Stefan Monnier
2008-08-13  2:33       ` Miles Bader
2008-08-09 14:13   ` bug#662: " OFFICE ZERO
  -- strict thread matches above, loose matches on Subject: below --
2008-08-07  1:26 Chong Yidong
2008-08-06 21:16 Ralf Angeli

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=874p5vnys3.fsf@photon.caeruleus.net \
    --to=angeli@caeruleus.net \
    --cc=662@emacsbugs.donarmstrong.com \
    --cc=cyd@stupidchicken.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.