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: Drew Adams <drew.adams <at> oracle.com>
Cc: "michael_heerdegen <at> web.de" <michael_heerdegen <at> web.de>, "75626 <at> debbugs.gnu.org" <75626 <at> debbugs.gnu.org>, Eli Zaretskii <eliz <at> gnu.org>
Subject: bug#75626: Re: bug#75626: 31.0.50; Dired misses or double-processes files when auto-revert-mode is enabled
Date: Tue, 21 Jan 2025 08:26:15 +0100
Drew Adams <drew.adams <at> oracle.com> writes:

>> Yes.  Because the only way this macro can work predictably and
>> reliably is if it works on a snapshot of the directory's state.  It
>> cannot allow changed in the files that its body did not cause and
>> does not know about.
>
> Again, it's not about changes in the files.  The
> macro carries out an action on the marked _lines_.
> Not the same thing as acting on the files marked
> on those lines.

But the marked _lines_ can also jump around/change their order due to
auto-revert.  And the changes causing it might be made by other
processes, not our dired operation.  Please give one concrete example
where that would be desired?  It's like arguing that a inhibiting a
periodic shuffle-lines during keyboard macro execution would constrain
the generality of keyboard macros.

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.