help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: dired-do-shell-command as "bash program"


From: Torben Knudsen
Subject: Re: dired-do-shell-command as "bash program"
Date: Wed, 14 May 2008 09:13:07 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

>>>>> "Kevin" == Kevin Rodgers <kevin.d.rodgers@gmail.com> writes:

Kevin> Torben Knudsen wrote:
>>>>>>> "David" == David Hansen <david.hansen@gmx.net> writes:
>>
David> On Fri, 09 May 2008 08:37:07 +0200 Torben Knudsen wrote:
>>>> How can i do dired-do-shell-command as "bash program" in the
>>>> sense that I can keep working with my emacs also when the started
>>>> program runs just as it was started from a shell with a & at the
>>>> end.
>>
David> Append a `&'.  `*' and `?' are interpreted as one would expect.
David> E.g. for a single file do "program ? &" if you have marked
David> multiple files: "program * &".
>>  Works fine but I use defaults from dired-guess-shell-alist-user
>> and I can't figure out how to avoid typing the default myself to
>> get this working.  If I type the command myself it works perfectly.

Kevin> `M-n' should insert the default in the minibuffer, for any
Kevin> command.

When I use ! on a pdf file I se [acroread] as default but doing M-n I
get:
next-history-element: End of history; no default available [2 times]

-- 
Associate Prof. Ph.D Torben Knudsen     Mobile  : (+45) 2787 9826
Section of Automation and Control,      Email   : tk@es.aau.dk   
Department of Electronic Systems,       
Aalborg University 
Fredrik Bajersvej 7 
DK-9220 Aalborg Ø
Denmark 


reply via email to

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