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 "Juanma Barranquero" <lekktu <at> gmail.com> ()
[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 "Juanma Barranquero" <lekktu <at> gmail.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 "Juanma Barranquero" <lekktu <at> gmail.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: "Juanma Barranquero" <lekktu <at> gmail.com>
To: 873-done <at> debbugs.gnu.org
Date: Thu, 20 Nov 2008 10:25:03 +0100
Fixed by Chong Yidong with this change:


2008-10-27  Chong Yidong  <cyd <at> stupidchicken.com>

        * xdisp.c (try_scrolling): When computing the distance from the
        scroll margin to PT, try moving some distance past the window
        bottom before giving up.


http://cvs.savannah.gnu.org/viewvc/emacs/emacs/src/xdisp.c?r1=1.1268&r2=1.1269&pathrev=MAIN

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