unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: 51776@debbugs.gnu.org
Subject: bug#51776: revert-buffer causes spurious scrolling when the buffer is displayed in two windows.
Date: Fri, 12 Nov 2021 04:16:16 +0000	[thread overview]
Message-ID: <YY3qkJHXsTMHzbun@ACM> (raw)
In-Reply-To: <YY2Jbduw6MCDIsgr@ACM>

On Thu, Nov 11, 2021 at 21:21:49 +0000, Alan Mackenzie wrote:
> 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.

Not only is it a bug, it's an old bug.  It happens in all of Emacs 27.2,
26.3, 25.3, and 24.5.

-- 
Alan Mackenzie (Nuremberg, Germany).





  reply	other threads:[~2021-11-12  4:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-11 21:21 bug#51776: revert-buffer causes spurious scrolling when the buffer is displayed in two windows Alan Mackenzie
2021-11-12  4:16 ` Alan Mackenzie [this message]
     [not found] ` <handler.51776.B.163666571717577.ack@debbugs.gnu.org>
2021-11-12 18:47   ` bug#51776: Acknowledgement (revert-buffer causes spurious scrolling when the buffer is displayed in two windows.) Alan Mackenzie

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YY3qkJHXsTMHzbun@ACM \
    --to=acm@muc.de \
    --cc=51776@debbugs.gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).