GNU bug report logs - #42653
28.0.50; scroll-margin is sometimes ignored with hl-line/display-line-numbers-mode

Previous Next

Package: emacs;

Reported by: Kevin Liu <kevin <at> nivekuil.com>

Date: Sat, 1 Aug 2020 16:27:02 UTC

Severity: normal

Found in version 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dale Sedivec <dale <at> codefu.org>
Cc: 42653 <at> debbugs.gnu.org
Subject: bug#42653: Emacs now recentering very aggressively
Date: Sat, 12 Sep 2020 11:08:35 +0300
> From: Dale Sedivec <dale <at> codefu.org>
> Date: Thu, 10 Sep 2020 16:18:55 -0500
> 
> 1. emacs -Q
> 
> 2. Display anything in the header line: (setq-default header-line-format "foo")
> 
> 3. Open any file longer than a few screenfuls: M-x find-library RET subr RET
> 
> 4. Enable which-function-mode: M-x which-function-mode RET
> 
> (display-line-numbers-mode also triggers this problem, but I find which-function-mode more interesting since it doesn't change the display of the buffer at all, only the mode line.)
> 
> 5. M-> (end-of-buffer)
> 
> 6. Page up a few times with M-v (scroll-down-command)
> 
> Expected behavior: Point is sitting at the bottom line of the window no matter how many times you page up
> 
> Observed behavior: The window is recentered, usually after ever page up, with a slight delay

Thanks, there was a subtle thinko in commit a07ec21bf24b, should be
fixed now.




This bug report was last modified 3 years and 160 days ago.

Previous Next


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