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 #247 received at 75626-done <at> debbugs.gnu.org (full text, mbox):

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Tassilo Horn <tsdh <at> gnu.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 75626-done <at> debbugs.gnu.org,
 michael.albinus <at> gmx.de
Subject: Re: bug#75626: 31.0.50; Dired misses or double-processes files when
 auto-revert-mode is enabled
Date: Tue, 28 Jan 2025 02:07:38 +0100
Tassilo Horn <tsdh <at> gnu.org> writes:

> > Can the issue from Bug#71264 as well happen for file operations other
> > than deletion?
>
> Could be.  One would need to look at each command.  Basically, the issue
> of the two bugs can occur when auto-revert may happen which is when
> Emacs is waiting for a process to finish (like in this bug) or when
> waiting for user-input (like the confirmation prompt in bug#71264).

We could try to catch more of these situations programmatically.  We
could, for example, change `dired-buffer-stale-p' to return non-nil
when the selected window is an active minibuffer window and
`minibuffer-selected-window' is a window displaying the buffer which is
queried to be auto-reverted.  With other words: avoid auto revert
whenever the user is currently in a prompt from a command started in a
dired buffer.

Would something like that make sense?


Michael.




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.