From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Proposal: starting of parallel asynchronous shell processes Date: Fri, 03 Aug 2012 15:33:14 +0200 Message-ID: <871ujodrs5.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SxHzg-0007FH-Sm for emacs-orgmode@gnu.org; Fri, 03 Aug 2012 09:32:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SxHzf-0003G4-Dt for emacs-orgmode@gnu.org; Fri, 03 Aug 2012 09:32:44 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:53157) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SxHzf-0003Fu-7d for emacs-orgmode@gnu.org; Fri, 03 Aug 2012 09:32:43 -0400 Received: by wgbez12 with SMTP id ez12so426328wgb.30 for ; Fri, 03 Aug 2012 06:32:42 -0700 (PDT) In-Reply-To: (Tobias Naehring's message of "Thu, 17 May 2012 13:01:59 +0000 (UTC)") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Tobias Naehring Cc: emacs-orgmode@gnu.org Hi Tobias, Tobias Naehring writes: > A poor man's solution to allow parallel shell processes would be to replace the > code fragment > > (progn > (message "Executing %s" cmd) > (shell-command cmd)) > (error "Abort")))) > > from `org-open-at-point' by > > (progn > (message "Executing %s" cmd) > (shell-command cmd (generate-new-buffer "*org-shell-output"))) > (error "Abort")))) I've implement this poor man's solution. The new buffers are added to `clean-buffer-list-kill-buffer-names', and you can get rid of the buffers with M-x clean-buffer-list RET. Thanks for this idea, -- Bastien