GNU bug report logs -
#75626
31.0.50; Dired misses or double-processes files when auto-revert-mode is enabled
Previous Next
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>
> Cc: Eli Zaretskii <eliz <at> gnu.org>, michael.albinus <at> gmx.de,
> 75626 <at> debbugs.gnu.org
> Date: Thu, 23 Jan 2025 07:26:50 +0100
>
> Michael Heerdegen <michael_heerdegen <at> web.de> writes:
>
> >> Anyway, below the current patch. It would be great if someone else
> >> could test it, too.
> >>
> >> Obviously, the new inhibit-auto-revert should be mentioned in NEWS and
> >> the elisp info docs which I'll do and post the final patch for review
> >> before committing.
> >
> > I'm a bit late, and very sorry for that,
>
> I'm not in a hurry.
>
> > but: doesn't this just introduce a restricted twin of
> > `buffer-stale-function'? This variable is already buffer local in
> > dired buffers and can be used for the same purpose - or do I miss
> > something?
>
> You are essentially right. If some code wants to inhibit auto-revert it
> could also do (let ((buffer-stale-function #'ignore)) ...) although, I
> think, that auto-revert-tail-mode could still tail-revert for
> file-visiting buffers.
>
> That said, I think the new inhibit-auto-revert is much clearer in what
> it does.
I tend to agree. A boolean variable with "inhibit" in its name is
much easier discovered than buffer-stale-function.
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.