From mboxrd@z Thu Jan 1 00:00:00 1970 From: Herbert Sitz Subject: Re: Batch mode evaluation of source code? Date: Fri, 17 Jun 2011 22:55:45 +0000 (UTC) Message-ID: References: <8762o4ruzv.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:47790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXhxJ-0004DM-QM for emacs-orgmode@gnu.org; Fri, 17 Jun 2011 18:56:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QXhxG-00055u-Fl for emacs-orgmode@gnu.org; Fri, 17 Jun 2011 18:56:01 -0400 Received: from lo.gmane.org ([80.91.229.12]:56279) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXhxG-00055p-2P for emacs-orgmode@gnu.org; Fri, 17 Jun 2011 18:55:58 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QXhxE-0007LC-PT for emacs-orgmode@gnu.org; Sat, 18 Jun 2011 00:55:56 +0200 Received: from c-24-22-131-140.hsd1.wa.comcast.net ([24.22.131.140]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Jun 2011 00:55:56 +0200 Received: from hsitz by c-24-22-131-140.hsd1.wa.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Jun 2011 00:55:56 +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 Herbert Sitz nwlink.com> writes: > I'm working on Windows7 and have an Emacs client running when I issue the > batch command, which I assumed also means there is a running emacs server. > Is the > call getting made to the running emacs server? If so, is there some way to > avoid the startup overhead (which seems to come from 'Adding c:/program files > (x86)/emacs/EmacsW32/lisp/ to load path.'). Or, if my batch call is _not_ > making use of the running Emacs server is there some way to get it to use that > server? > > Herb > I can confirm that a new emacs process is getting created to run each batch mode command. I don't really understand the emacs-client/emacs-server setup is supposed to work. So I guess my question is whether my batch-mode command can be made as a client of the existing emacs-server. I'm guessing the answer is 'No', but if so maybe there's some other way to speed up creation of the new emacs process when it's used solely to process an Org source-code-block? -- Herb