* bug#8023: Why can't one run more than one dired-do-async-shell-command at once? @ 2011-02-12 11:29 jidanni 2011-02-12 16:12 ` Juri Linkov 2011-02-14 23:45 ` jidanni 0 siblings, 2 replies; 4+ messages in thread From: jidanni @ 2011-02-12 11:29 UTC (permalink / raw) To: 8023 Why can't one run more than one dired-do-async-shell-command at the same time? Why not allow more than one? shell-command: Shell command in progress What if bash was also that way? If it is a matter of what buffers it is writing to, then append their names with <2> etc. or a process ID. & runs the command dired-do-async-shell-command, which is an interactive compiled Lisp function in `dired-aux.el'. It is bound to &, <menu-bar> <operate> <async-command>. (dired-do-async-shell-command COMMAND &optional ARG FILE-LIST) Run a shell command COMMAND on the marked files asynchronously. Like `dired-do-shell-command' but if COMMAND doesn't end in ampersand, adds `* &' surrounded by whitespace and executes the command asynchronously. The output appears in the buffer `*Async Shell Command*'. ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#8023: Why can't one run more than one dired-do-async-shell-command at once? 2011-02-12 11:29 bug#8023: Why can't one run more than one dired-do-async-shell-command at once? jidanni @ 2011-02-12 16:12 ` Juri Linkov 2011-02-14 23:45 ` jidanni 1 sibling, 0 replies; 4+ messages in thread From: Juri Linkov @ 2011-02-12 16:12 UTC (permalink / raw) To: jidanni; +Cc: 8023 > Why can't one run more than one dired-do-async-shell-command at the same > time? > > Why not allow more than one? > > shell-command: Shell command in progress > > What if bash was also that way? > > If it is a matter of what buffers it is writing to, then append their > names with <2> etc. or a process ID. We have planned to add an option to control the creation of multiple output buffers for `async-shell-command'. The question is in its default value. Maybe it should ask a question: "Create a new buffer?" Or better would be to ask for a new buffer name: Async shell buffer (default *Async shell*<2>): like `C-u M-x shell RET' already does: Shell buffer (default *shell*<2>): ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#8023: Why can't one run more than one dired-do-async-shell-command at once? 2011-02-12 11:29 bug#8023: Why can't one run more than one dired-do-async-shell-command at once? jidanni 2011-02-12 16:12 ` Juri Linkov @ 2011-02-14 23:45 ` jidanni 2011-02-16 0:34 ` Juri Linkov 1 sibling, 1 reply; 4+ messages in thread From: jidanni @ 2011-02-14 23:45 UTC (permalink / raw) To: juri; +Cc: 8023 >>>>> "JL" == Juri Linkov <juri@jurta.org> writes: JL> Async shell buffer (default *Async shell*<2>): All I know is the user might also have code like $ grep -i shell .emacs shell-command-default-error-buffer "shell-command-errors") (shell-command-on-region START END COMMAND t t shell-command-default-error-buffer t) (add-hook 'shell-mode-hook etc. as found in http://jidanni.org/comp/configuration/ So there are several buffers involved... ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#8023: Why can't one run more than one dired-do-async-shell-command at once? 2011-02-14 23:45 ` jidanni @ 2011-02-16 0:34 ` Juri Linkov 0 siblings, 0 replies; 4+ messages in thread From: Juri Linkov @ 2011-02-16 0:34 UTC (permalink / raw) To: jidanni; +Cc: 8023 > JL> Async shell buffer (default *Async shell*<2>): > All I know is the user might also have code like > $ grep -i shell .emacs > shell-command-default-error-buffer "shell-command-errors") > (shell-command-on-region > START END COMMAND t t shell-command-default-error-buffer t) > (add-hook 'shell-mode-hook > etc. as found in http://jidanni.org/comp/configuration/ > So there are several buffers involved... Processing of the new option will be added to `shell-command', so it won't interfere with buffers as its input arguments. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-02-16 0:34 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-02-12 11:29 bug#8023: Why can't one run more than one dired-do-async-shell-command at once? jidanni 2011-02-12 16:12 ` Juri Linkov 2011-02-14 23:45 ` jidanni 2011-02-16 0:34 ` Juri Linkov
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/emacs.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).