GNU bug report logs - #51776
revert-buffer causes spurious scrolling when the buffer is displayed in two windows.

Previous Next

Package: emacs;

Reported by: Alan Mackenzie <acm <at> muc.de>

Date: Thu, 11 Nov 2021 21:22:01 UTC

Severity: normal

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: bug-gnu-emacs <at> gnu.org
Subject: revert-buffer causes spurious scrolling when the buffer is displayed
 in two windows.
Date: Thu, 11 Nov 2021 21:21:49 +0000
Hello, Emacs.

In the master branch:

(i) emacs -Q
(ii) C-x C-f ..../doc/lispref/display.texi
(iii) C-x 2 ; to split the windows with a horizontal divider.
(iv) Move to the "top" window (if not already there) with C-x o.
(v) M-< ; to the beginning of the buffer
(vi) After the line "@Chapter Emacs Display", insert a new line
  "@node Display2"

(vii) Move to the "bottom" window with C-x o.
(viii) M->  ; to the end of the buffer.
(ix) Type a new last line "@cindex Help!".

(x) M-x revert-buffer RET yes RET

The "bottom" window now spuriously scrolls to the top of the buffer.
This is a bug.

-- 
Alan Mackenzie (Nuremberg, Germany).




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

Previous Next


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