GNU bug report logs - #873
Annoying recentering when scrolling down

Previous Next

Package: emacs;

Reported by: "Juanma Barranquero" <lekktu <at> gmail.com>

Date: Wed, 3 Sep 2008 16:25:04 UTC

Severity: normal

Found in version 23.0.60

Done: "Juanma Barranquero" <lekktu <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: "Juanma Barranquero" <lekktu <at> gmail.com>
Subject: bug#873 closed by Chong Yidong <cyd <at> stupidchicken.com> (Re: 
 Recentering on scroll)
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the emacs package:

#873: Annoying recentering when scrolling down

It has been closed by Chong Yidong <cyd <at> stupidchicken.com>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Chong Yidong <cyd <at> stupidchicken.com> by
replying to this email.


-- 
873: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=873
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Chong Yidong <cyd <at> stupidchicken.com>
To: "Juanma Barranquero" <lekktu <at> gmail.com>
Cc: emacs-devel <at> gnu.org, 873-done <at> debbugs.gnu.org
Subject: Re: Recentering on scroll
Date: Mon, 27 Oct 2008 01:19:00 -0400
"Juanma Barranquero" <lekktu <at> gmail.com> writes:

> On Sat, Oct 25, 2008 at 19:03, Chong Yidong <cyd <at> stupidchicken.com> wrote:
>
>> Can anyone reproduce bug#873 (occasional recentering during C-n)?  I
>
> I can still reproduce it on Windows, though the effect's frequency
> varies with frame size and font (it seems to happen more often with
> DejaVu Sans Mono than Courier New, for example).

I managed to reproduce it, and found the bug that (I think) was causing
this problem.  I've checked in a fix.

[Message part 3 (message/rfc822, inline)]
From: "Juanma Barranquero" <lekktu <at> gmail.com>
To: "Emacs Bug Tracker" <submit <at> debbugs.gnu.org>
Subject: Annoying recentering when scrolling down
Date: Wed, 3 Sep 2008 18:15:14 +0200
Package: emacs
Version: 23.0.60
Severity: normal

After setting this in .emacs:

(setq scroll-preserve-screen-position 'always
      scroll-conservatively           most-positive-fixnum ;; any large number
      scroll-step                     0)

scroll-down causes recentering. This is a regression.

The bug was apparently introduced by the following change:

2008-08-06  Chong Yidong  <address <at> hidden>

        * xdisp.c (try_scrolling): Use iterator to find the scroll margin,
        instead of window-end which does the wrong thing at eob.
        (try_cursor_movement): Minor optimization.
        (redisplay_window): If scroll margin is defined, don't assume
        window doesn't need scrolling.


emacs-devel discussion:

http://lists.gnu.org/archive/html/emacs-devel/2008-08/msg00903.html



This bug report was last modified 16 years and 183 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.