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: Drew Adams <drew.adams <at> oracle.com>
To: Michael Heerdegen <michael_heerdegen <at> web.de>, Tassilo Horn <tsdh <at> gnu.org>
Cc: "75626 <at> debbugs.gnu.org" <75626 <at> debbugs.gnu.org>, Eli Zaretskii <eliz <at> gnu.org>
Subject: bug#75626: 31.0.50; Dired misses or double-processes files when auto-revert-mode is enabled
Date: Mon, 20 Jan 2025 03:48:06 +0000
Still not following this thread.  But if the plan
is to make `dired-map-over-marks' prevent things
such as reverting, then a priori I'm not in favor
of that.  A priori, I think that macro should
implement no such control, and make _few or no
assumptions_ about the context in which it's used
or the purposes to which it might be put to use.
Such control is not its role.

If some particular _use_ of the macro should
provide some such control, e.g., should not let
XYZ happen, then fix that function instead (even
if that might mean not using the macro there).

The macro itself should stay general & unassuming.

Yeah, what I'm saying is vague.  And I'm not
following the bug thread.  But it smells/feels
kinda like preparation to throw out the baby
with the bathwater.  Especially when I see
questions about the difference between the
macro and `dired-get-marked-files'.

If you need some different behavior in a more
_general_ way, i.e., at the level of a building
block and not just a fix to some particular
function, then consider adding a _new_ general
function/macro, instead of changing
`dired-map-over-marks.

Please be sure you change/fix only something
that's specifically broken, without redefining
this longstanding building block based on
unnecessary assumptions.




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.