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


View this message in rfc822 format

From: Tassilo Horn <tsdh <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 75626 <at> debbugs.gnu.org
Subject: bug#75626: 31.0.50; Dired misses or double-processes files when auto-revert-mode is enabled
Date: Fri, 17 Jan 2025 22:38:07 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

>> > Yes, because auto-revert-mode works as part of the Emacs's main
>> > loop, whereas user input is processed only when Emacs is idle.
>> 
>> I see.  Can emacs become idle when waiting for a process to finish
>> (like gunzip)?
>
> Not if the process was started with call-process.

I see.

>> > Does let-binding inhibit-redisplay in the auto-revert function help
>> > in any way?
>> 
>> Not at all.  (I've bound it to t in the top let in dired-revert which
>> is the revert-buffer-function in dired buffers.  That's what you
>> meant, right?)
>
> No, I meant in auto-revert-buffers.  But maybe what you did has the
> same effect.

I've also tried to bind it in auto-revert-buffers with the same effect.

Bye,
Tassilo




This bug report was last modified 196 days ago.

Previous Next


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