Subject: bug#75626: 31.0.50; Dired misses or double-processes files when auto-revert-mode is enabled

From: Tassilo Horn <[email-masked]>
Date: Fri, 31 Jan 2025 07:39:41 +0100

Michael Heerdegen <[email-masked]> writes:

> I see.  There are other implementation options: we could try to use
> the buffer local bindings of `pre-command-hook' and
> `post-command-hook' to set `dired--inhibit-auto-revert' non-nil
> whenever a command is processed that had been started from a dired
> buffer.

That doesn't work when the command switches to some other buffer.  Then
that other buffer's post-command-hook is run meaning the dired buffer
stays in dired--inhibit-auto-revert state forever. :-|

Bye,
Tassilo