Subject: bug#79306: closed (Re: bug#79306: Broken follow-mode)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 05 Sep 2025 19:13:04 +0000

Your bug report

#79306: Broken follow-mode

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
79306: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=79306
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#79306: Broken follow-mode
From: Stefan Monnier <[email-masked]>
To: Juri Linkov <[email-masked]>
Cc: Eli Zaretskii <[email-masked]>, [email-masked]
Date: Fri, 05 Sep 2025 15:12:36 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Eli said:
> Sounds good, thanks.  Though if we do this, wouldn't it render the
> entire machinery of redisplay_counter effectively disabled, since
> redisplaying_p is set right after we increment redisplay_counter?

No, `redisplaying_p` is reset to false in a few different cases.

[ With the `redisplay_counter` mechanism, we could actually be more
  liberal w.r.t allowing to reset `redisplaying_p` to false (e.g. we
  could probably expose it to ELisp).  ]

Juri said:
> But with the last two hunks follow-mode works correctly as before.

Thanks, pushed to `master`, closing.

        Stefan

Subject: Broken follow-mode
From: Juri Linkov <[email-masked]>
To: [email-masked]
Date: Mon, 25 Aug 2025 09:30:10 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

Some recent change in master broke display for follow-mode:

0. emacs -Q
1. visit a file in fundamental-mode, e.g.
   C-x C-f etc/COPYING RET
2. split horizontally
   C-x 3
3. M-x follow-mode RET
4. scroll down a few screens
5. type 'M-<' (beginning-of-buffer)

It displays the message "Back to top level",
but doesn't move to the beginning of the buffer.

Typing 'C-l' updates the screen, and reveals
that 'M-<' actually moved to the beginning of the buffer,
but didn't update the screen.