From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Clemente Newsgroups: gmane.emacs.devel Subject: Re: & and M-& to run programs asynchronously Date: Mon, 18 Aug 2008 02:24:21 +0200 Message-ID: <87wsif187e.fsf@gmail.com> References: <87hcbkpo0e.fsf@gmail.com> <86y74wzeq1.fsf@lola.quinscape.zz> <874p7ifonh.fsf@jurta.org> <873amryzdu.fsf_-_@gmail.com> <87sku9hdkr.fsf@gmail.com> <87mykh1hpi.fsf@jurta.org> <87prpba6qj.fsf@gmail.com> <87abgfun32.fsf@jurta.org> <7dbe73ed0807221250v510e83b7u75dd271846704abb@mail.gmail.com> <87tzehd0ll.fsf@jurta.org> <87hca868s8.fsf@gmail.com> <874p68iqgz.fsf@jurta.org> <87vdymywnm.fsf@stupidchicken.com> <87myjy5afw.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1219019150 711 80.91.229.12 (18 Aug 2008 00:25:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Aug 2008 00:25:50 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 18 02:26:42 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KUsa1-0006ux-E2 for ged-emacs-devel@m.gmane.org; Mon, 18 Aug 2008 02:26:41 +0200 Original-Received: from localhost ([127.0.0.1]:38007 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KUsZ4-0001kA-Ca for ged-emacs-devel@m.gmane.org; Sun, 17 Aug 2008 20:25:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KUsYf-0001cf-VY for emacs-devel@gnu.org; Sun, 17 Aug 2008 20:25:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KUsYe-0001br-DQ for emacs-devel@gnu.org; Sun, 17 Aug 2008 20:25:17 -0400 Original-Received: from [199.232.76.173] (port=51604 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KUsYe-0001ba-6L for emacs-devel@gnu.org; Sun, 17 Aug 2008 20:25:16 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:50586 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KUsYe-0004Yk-8T for emacs-devel@gnu.org; Sun, 17 Aug 2008 20:25:16 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KUsYX-0002Wh-Q0 for emacs-devel@gnu.org; Mon, 18 Aug 2008 00:25:09 +0000 Original-Received: from 89.6.42.98 ([89.6.42.98]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 Aug 2008 00:25:09 +0000 Original-Received: from dcl441-bugs by 89.6.42.98 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 Aug 2008 00:25:09 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 89.6.42.98 User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:h//ckirBniV116pl1aE8waqba50= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:102567 Archived-At: Juri Linkov writes: > >> Let's leave this for after the release. > > There is no hurry with this, so we could install only a new command > without a keybinding, or postpone everything for after the release. > I see that the new behaviour for & in dired was added. Could the documentation for ! (dired-do-shell-command) mention the way of executing a command in background? I think this is important because it is not obvious. I attach the proposed change; please improve the wording as needed.. Thanks --- dired-aux.el 14 ago 2008 20:56:23 +0200 1.179 +++ dired-aux.el 18 ago 2008 02:13:41 +0200 @@ -551,6 +551,10 @@ there's no telling what files COMMAND may have changed. Type \\[dired-do-redisplay] to redisplay the marked files. +Emacs will block until the command ends. To execute the command +in background, add `&' to the end of COMMAND, or use +\\[dired-do-async-shell-command] instead. + When COMMAND runs, its working directory is the top-level directory of the Dired buffer, so output files usually are created there instead of in a subdir.