From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Proposal: starting of parallel asynchronous shell processes Date: Fri, 03 Aug 2012 14:38:45 +0100 Message-ID: <87boisyu1m.fsf@pank.eu> References: <871ujodrs5.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56144) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SxI78-0000Sp-5B for emacs-orgmode@gnu.org; Fri, 03 Aug 2012 09:40:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SxI6y-0005Tw-GP for emacs-orgmode@gnu.org; Fri, 03 Aug 2012 09:40:26 -0400 Received: from plane.gmane.org ([80.91.229.3]:58729) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SxI6y-0005TT-5d for emacs-orgmode@gnu.org; Fri, 03 Aug 2012 09:40:16 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SxI6G-0001OF-Rp for emacs-orgmode@gnu.org; Fri, 03 Aug 2012 15:39:32 +0200 Received: from 194.66.248.244 ([194.66.248.244]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Aug 2012 15:39:32 +0200 Received: from rasmus by 194.66.248.244 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Aug 2012 15:39:32 +0200 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: emacs-orgmode@gnu.org Bastien writes: > 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. BTW: are you aware of emacs-async at: https://github.com/jwiegley/emacs-async It mainly make sense with time-consuming processes, though. I think John is trying to push it to Emacs-core. –Rasmus -- . . . It begins of course with The Internet. A Net of Peers.