From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: Batch mode evaluation of source code? Date: Sat, 18 Jun 2011 09:32:36 +0200 Message-ID: <8762o3h9wr.fsf@Rainer.invalid> References: <8762o4ruzv.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:55045) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXq1V-0004zd-Ai for emacs-orgmode@gnu.org; Sat, 18 Jun 2011 03:32:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QXq1U-0004FC-2D for emacs-orgmode@gnu.org; Sat, 18 Jun 2011 03:32:53 -0400 Received: from lo.gmane.org ([80.91.229.12]:52802) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXq1T-0004F4-PW for emacs-orgmode@gnu.org; Sat, 18 Jun 2011 03:32:52 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QXq1R-0008BM-EI for emacs-orgmode@gnu.org; Sat, 18 Jun 2011 09:32:49 +0200 Received: from p57aace37.dip.t-dialin.net ([87.170.206.55]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Jun 2011 09:32:49 +0200 Received: from Stromeko by p57aace37.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Jun 2011 09:32:49 +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 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. You need to always call emacsclient, not emacs. As server you can either have a running Emacs which has started a server (manually or via invocation on the command line) or an Emacs that has been started headless in daemon mode. A little used (but very nice) feature of emacsclient is the alternate editor argument: if you set that to the empty string, it will start an Emacs in daemon mode if it didn't find an already running server and then connect to it. Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Waldorf MIDI Implementation & additional documentation: http://Synth.Stromeko.net/Downloads.html#WaldorfDocs