GNU bug report logs - #79145
31.0.50; doc-view-mode with auto-revert-mode emitting message when it shouldn't

Previous Next

Package: emacs;

Reported by: Jake <jforst.mailman <at> gmail.com>

Date: Sat, 2 Aug 2025 03:22:01 UTC

Severity: normal

Found in version 31.0.50

Done: Tassilo Horn <tsdh <at> gnu.org>

Full log


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

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: jforst.mailman <at> gmail.com, 79145 <at> debbugs.gnu.org, tsdh <at> gnu.org
Subject: Re: bug#79145: 31.0.50; doc-view-mode with auto-revert-mode
 emitting message when it shouldn't
Date: Fri, 08 Aug 2025 13:30:45 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

Hi Eli,
 
>> >> If we want to have a general mechanism, we need a new variable
>> >> auto-revert-buffer-in-progress-p which could be consulted by the several
>> >> mode-specific revert functions implementations. Or we extend the meaning
>> >> of revert-buffer-in-progress-p to the values nil, t, and `auto'. The
>> >> latter indicates, that the revert process has been started by
>> >> auto-revert.
>> >
>> > I think I'd prefer the general-mechanism solution.  Would someone like
>> > to work on a patch along those lines?
>> 
>> I could work on the general mechanism. Which variant do you prefer,
>> extending revert-buffer-in-progress-p or a new auto-revert-buffer-in-progress-p?
>
> The latter, I think.  It looks simpler, and a new variable cannot
> possibly cause any backward incompatibilities.

I've added auto-revert-buffer-in-progress-p in master. Used also to
suppress messages in dired-omit-expunge when auto-reverting.

Even if it isn't used in doc-view, it could help other reverting
functions to be less chatty.

> Thanks.

Best regards, Michael.




This bug report was last modified 1 day ago.

Previous Next


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