emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#10598: closed (24.0.92; run dired-do-async-shell-c


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#10598: closed (24.0.92; run dired-do-async-shell-command on multiple files individually)
Date: Tue, 17 Jul 2012 18:49:02 +0000

Your message dated Tue, 17 Jul 2012 21:41:08 +0300
with message-id <address@hidden>
and subject line Re: bug#10598: 24.0.92; run dired-do-async-shell-command on 
multiple files individually
has caused the debbugs.gnu.org bug report #10598,
regarding 24.0.92; run dired-do-async-shell-command on multiple files 
individually
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
10598: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10598
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.0.92; run dired-do-async-shell-command on multiple files individually Date: Wed, 25 Jan 2012 04:17:16 -0600
Within dired, I want to run a shell command asynchronously on
multiple files individually. Say, most specifically I tried to
watch the postscript files foo.ps and bar.ps with gv.

So I mark foo.ps and bar.ps in the dired buffer and hit
& gv ?

In the buffer *Async Shell Command* this gives me the error message

/bin/bash: -c: line 0: syntax error near unexpected token `;'
/bin/bash: -c: line 0: `gv foo.ps &;gv bar.ps'

I get the same error message with the command dired-do-shell-command using
! gv ? &

I am not the most experienced bash expert. But it seems that bash
doesn't like the combination `&;'. Note also that there is no `&'
for `gv bar.ps'.

In a tty
$ gv foo.ps & gv bar.ps &
works fine for me (giving me what I expect to get within dired).

Am I misunderstanding the docstrings of dired-do-shell-command and
dired-do-async-shell-command (which are a bit confusing for me
concerning how to run a shell command on multiple files) or is there
a bug in the code?


In GNU Emacs 24.0.92.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1)
 of 2011-12-14 on regnitz
Windowing system distributor `The X.Org Foundation', version 11.0.10706000



--- End Message ---
--- Begin Message --- Subject: Re: bug#10598: 24.0.92; run dired-do-async-shell-command on multiple files individually Date: Tue, 17 Jul 2012 21:41:08 +0300 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (x86_64-pc-linux-gnu)
> Thanks a lot, this looks great to me (and also works for me as expected).

Thanks, installed and closed.

> It would be good if the info node "(emacs)Shell Commands in Dired"
> will be updated, too.

A NEWS entry for this change has no "---" indication that means
it should be documented in the manual before the next release when
the functionality is stabilized and there are no more code changes.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]