Subject: bug#8023: closed (Re: bug#4719: 23.1; M-& to run commands asynchronously (async-shell-command))

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 29 Jul 2012 00:23:03 +0000

Your bug report

#4719: Why can't one run more than one dired-do-async-shell-command at once?

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
4719: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4719
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#4719: 23.1; M-& to run commands asynchronously (async-shell-command)
From: Juri Linkov <[email-masked]>
To: Chong Yidong <[email-masked]>
Cc: [email-masked], [email-masked], Stefan Monnier <[email-masked]>
Date: Sun, 29 Jul 2012 03:04:12 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

>> So I propose a minimal change that just removes the current annoyance
>> where async-shell-command asks to kill the buffer instead of doing
>> something more constructive like creating a new buffer for running
>> another asynchronous command.
>>
>> This is implemented in the patch below.
>
> Patch looks fine to me.

Installed and closed.

Subject: Why can't one run more than one dired-do-async-shell-command at once?
From: [email-masked]
To: [email-masked]
Date: Sat, 12 Feb 2011 19:29:48 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

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*'.