GNU bug report logs -
#10598
24.0.92; run dired-do-async-shell-command on multiple files individually
Previous Next
Reported by: "Roland Winkler" <winkler <at> gnu.org>
Date: Wed, 25 Jan 2012 10:19:01 UTC
Severity: normal
Merged with 11815
Found in versions 24.0.92, 24.1
Done: Juri Linkov <juri <at> jurta.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Would it make sense to provide such a command for everyone? If
> dired-async-each is not even intended to be customizable, I cannot
> think of too many other options to use this variable in a meaningful
> way. Anyway, in real life I expect that according to Murphy's Law
> whatever customization a user chooses for this variable, next time
> he or she needs to run dired-do-async-shell-command, the customized
> value will be the wrong one.
A good UI to select the desired behavior before the command invocation
is to use a prefix argument. A comment in `dired-shell-stuff-it' says:
;; Might be redefined for smarter things and could then use RAW-ARG
;; (coming from interactive P and currently ignored) to decide what to do.
;; Smart would be a way to access basename or extension of file names.
I don't know how it was intended to be implemented a smart way, but
maybe the same could be used to specify how to run dired async commands?
This bug report was last modified 12 years and 313 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.