From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Torben Knudsen Newsgroups: gmane.emacs.help Subject: Re: dired-do-shell-command as "bash program" Date: Wed, 14 May 2008 09:13:07 +0200 Organization: SunSITE.dk - Supporting Open source Message-ID: <87bq392wak.fsf@es.aau.dk> References: <87od7gf0fg.fsf@es.aau.dk> <87k5hyskc8.fsf@es.aau.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1210750880 15401 80.91.229.12 (14 May 2008 07:41:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 May 2008 07:41:20 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 14 09:41:53 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JwBcX-0007xX-5s for geh-help-gnu-emacs@m.gmane.org; Wed, 14 May 2008 09:41:53 +0200 Original-Received: from localhost ([127.0.0.1]:48569 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwBbo-0001DD-0E for geh-help-gnu-emacs@m.gmane.org; Wed, 14 May 2008 03:41:08 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!goblin1!goblin2!goblin.stu.neva.ru!news.net.uni-c.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:w/Mq9wY4Hhwp9edwVTVantbT2p4= Original-Lines: 33 Original-NNTP-Posting-Host: 192.38.50.63 Original-X-Trace: news.sunsite.dk DXC=L=2TT4Jo2BTgcbniiOP=_RYSB=nbEKnk[L?8>K\5E[I[_Eg>6@:AacRUlRfPed8^0T1>1UXCmaG][ Original-X-Complaints-To: staff@sunsite.dk Original-Xref: news.stanford.edu gnu.emacs.help:158613 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:53981 Archived-At: >>>>> "Kevin" == Kevin Rodgers writes: Kevin> Torben Knudsen wrote: >>>>>>> "David" == David Hansen 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