From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Hansen Newsgroups: gmane.emacs.help Subject: Re: dired-do-shell-command as "bash program" Date: Fri, 09 May 2008 09:06:58 +0200 Organization: disorganized Message-ID: <87fxssdkh9.fsf@localhorst.mine.nu> References: <87od7gf0fg.fsf@es.aau.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1210316940 28010 80.91.229.12 (9 May 2008 07:09:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 9 May 2008 07:09:00 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 09 09:09:35 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 1JuMjQ-0008Lb-6h for geh-help-gnu-emacs@m.gmane.org; Fri, 09 May 2008 09:09:28 +0200 Original-Received: from localhost ([127.0.0.1]:37243 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JuMih-00054R-Sx for geh-help-gnu-emacs@m.gmane.org; Fri, 09 May 2008 03:08:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JuMiQ-00053d-3x for help-gnu-emacs@gnu.org; Fri, 09 May 2008 03:08:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JuMiN-00050M-Bb for help-gnu-emacs@gnu.org; Fri, 09 May 2008 03:08:24 -0400 Original-Received: from [199.232.76.173] (port=40265 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JuMiN-00050J-90 for help-gnu-emacs@gnu.org; Fri, 09 May 2008 03:08:23 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:55630) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JuMiM-00063h-QE for help-gnu-emacs@gnu.org; Fri, 09 May 2008 03:08:22 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JuMiL-0007iS-QE for help-gnu-emacs@gnu.org; Fri, 09 May 2008 03:08:22 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JuMiH-0001QN-MS for help-gnu-emacs@gnu.org; Fri, 09 May 2008 07:08:17 +0000 Original-Received: from e178063238.adsl.alicedsl.de ([85.178.63.238]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 May 2008 07:08:17 +0000 Original-Received: from david.hansen by e178063238.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 May 2008 07:08:17 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 14 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: e178063238.adsl.alicedsl.de Mail-Copies-To: nobody User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:PXnDOrVQSy6bAKLa4OE47rvvypI= X-detected-kernel: by mx20.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:53842 Archived-At: 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. Append a `&'. `*' and `?' are interpreted as one would expect. E.g. for a single file do "program ? &" if you have marked multiple files: "program * &". One drawback is that you can only run one async shell command at the time or you have to rename the output buffer. David