GNU bug report logs - #75626
31.0.50; Dired misses or double-processes files when auto-revert-mode is enabled

Previous Next

Package: emacs;

Reported by: Tassilo Horn <tsdh <at> gnu.org>

Date: Fri, 17 Jan 2025 07:43:01 UTC

Severity: normal

Found in version 31.0.50

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

Bug is archived. No further changes may be made.

Full log


Message #307 received at 75626-done <at> debbugs.gnu.org (full text, mbox):

From: Tassilo Horn <tsdh <at> gnu.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: Michael Heerdegen <michael_heerdegen <at> web.de>, Eli Zaretskii <eliz <at> gnu.org>,
 75626-done <at> debbugs.gnu.org
Subject: Re: bug#75626: 31.0.50; Dired misses or double-processes files when
 auto-revert-mode is enabled
Date: Sun, 02 Feb 2025 20:10:15 +0100
[Message part 1 (text/plain, inline)]
Michael Albinus <michael.albinus <at> gmx.de> writes:

Hi Michael,

> Below is an updated patch for autorevert.el. I control this now via
> auto-revert-active-p; no further need to check in auto-revert-buffer.
>
> Could you, pls, test?

Of course.  It does not contain any changes to dired, so I've applied
the changes of your previous patch giving this complete patch:
[auto-revert-and-dired.patch (text/x-patch, attachment)]
[Message part 3 (text/plain, inline)]
And yes, it works. :-)

Side-note: at first, it did not work after applying the patch and
running "make" in the emacs directory (reproducibly!), a problem I've
had before somewhere up the thread.  The original bug was there again.
I placed a watch on inhibit-auto-revert-buffers which revealed that it
was set by the computation for all marked files in order to present them
at the yes-or-no-p prompt.  But it was not set during the actual
processing!  I had to manually delete the dired and autorevert ELC files
and "make" again.

Does anyone have a clue why?  Does a recompile of a changed file with
existing ELC not produce it from scratch?

Bye,
Tassilo

This bug report was last modified 197 days ago.

Previous Next


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