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: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 75626 <at> debbugs.gnu.org, michael.albinus <at> gmx.de, Tassilo Horn <tsdh <at> gnu.org>
Subject: bug#75626: 31.0.50; Dired misses or double-processes files when auto-revert-mode is enabled
Date: Fri, 24 Jan 2025 01:59:47 +0100
I <michael_heerdegen <at> web.de> wrote:

> So i would rather consider to rename the variable
> `buffer-stale-function' for the discoverability - or just leave things
> as they are.

We could also rename the variable and pretend it is normally boolean -
but a function value is possible in addition and has a special meaning.
A not uncommon solution.  Maybe this is what you had in mind?

There are caveats, though:

- People could be tempted to set `inhibit-auto-revert' to t and later
  to nil, erasing the former non-nil function value by accident.

- People could try to inhibit auto revert globally (which would not be
  possible once buffer local bindings exits), or may overlook the fact
  that binding this variable may affect a global or a local binding.

I think this is something to consider: catchy names increase the risk
that such details are overlooked.


Michael.




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.