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


Message #41 received at 75626 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: Tassilo Horn <tsdh <at> gnu.org>, Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: "75626 <at> debbugs.gnu.org" <75626 <at> debbugs.gnu.org>,
 Eli Zaretskii <eliz <at> gnu.org>
Subject: RE: [External] : bug#75626: 31.0.50; Dired misses or double-processes
 files when auto-revert-mode is enabled
Date: Sat, 18 Jan 2025 21:17:41 +0000
> What is the reason that there are two different approaches to process
> all marked files, i.e., dired-map-over-marks vs. dired-get-marked-files?

(Caveat: I'm not following this thread.)

The doc string, and how those two are used in
the code, tell you the answer.

`dired-get-marked-files' just gives you a list
of the marked files.  `dired-map-over-marks'
is a macro, not a function, and it _processes_
the files.

More precisely, `dired-map-over-marks' evals
some code with point on each marked line:

  "Eval BODY with point on each marked line.
   Return a list of BODY's results."




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.