From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Starting multiple async processes from inside dired using & Date: Sun, 18 Oct 2009 16:36:25 -0400 Message-ID: <87skdgbfsm.fsf@stupidchicken.com> References: <87skdgd6fb.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1255898219 31705 80.91.229.12 (18 Oct 2009 20:36:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 Oct 2009 20:36:59 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 18 22:36:49 2009 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 1MzcUb-00066O-AQ for ged-emacs-devel@m.gmane.org; Sun, 18 Oct 2009 22:36:41 +0200 Original-Received: from localhost ([127.0.0.1]:49659 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MzcUa-0000KT-Rw for ged-emacs-devel@m.gmane.org; Sun, 18 Oct 2009 16:36:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MzcUV-0000KA-NU for emacs-devel@gnu.org; Sun, 18 Oct 2009 16:36:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MzcUR-0000Ja-8E for emacs-devel@gnu.org; Sun, 18 Oct 2009 16:36:35 -0400 Original-Received: from [199.232.76.173] (port=55439 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MzcUR-0000JX-1x for emacs-devel@gnu.org; Sun, 18 Oct 2009 16:36:31 -0400 Original-Received: from pantheon-po43.its.yale.edu ([130.132.50.104]:49067) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MzcUQ-0002Fi-PD for emacs-devel@gnu.org; Sun, 18 Oct 2009 16:36:30 -0400 Original-Received: from furry (adsl-99-69-49-186.dsl.wlfrct.sbcglobal.net [99.69.49.186]) (authenticated bits=0) by pantheon-po43.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n9IKaQqH028529 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 18 Oct 2009 16:36:27 -0400 Original-Received: by furry (Postfix, from userid 1000) id BC3C8C070; Sun, 18 Oct 2009 16:36:25 -0400 (EDT) In-Reply-To: <87skdgd6fb.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Sun, 18 Oct 2009 18:15:52 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 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:116228 Archived-At: Tassilo Horn writes: > IMO, the right thing would be to create another *Async Shell Command* > buffer, uniquified with the executed command and its pid or something > like that. > > Am I missing something obvious, because it looks to me like some quite > normal dired use case? The only problem I can see is that these buffers will proliferate if you execute lots of async commands over the course of a session. So instead of uniquifying, the code first needs to search for an *Async Shell Command XXX* buffer containing a dead process, and only uniquify if no such buffer exists.