From mboxrd@z Thu Jan 1 00:00:00 1970 From: Herbert Sitz Subject: Re: Problem with ditaa when doing export from command line Date: Fri, 10 Jun 2011 15:47:00 +0000 (UTC) Message-ID: References: <44422493-1A8F-43B6-8051-945C794DFA57@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]:44337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QV3vW-0001BA-Uw for emacs-orgmode@gnu.org; Fri, 10 Jun 2011 11:47:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QV3vV-0005rD-Ii for emacs-orgmode@gnu.org; Fri, 10 Jun 2011 11:47:14 -0400 Received: from lo.gmane.org ([80.91.229.12]:49577) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QV3vV-0005r6-6l for emacs-orgmode@gnu.org; Fri, 10 Jun 2011 11:47:13 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QV3vS-0005I4-Ln for emacs-orgmode@gnu.org; Fri, 10 Jun 2011 17:47:10 +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 ; Fri, 10 Jun 2011 17:47:10 +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 ; Fri, 10 Jun 2011 17:47:10 +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 Carsten Dominik gmail.com> writes: > On Jun 10, 2011, at 9:33 AM, Herbert Sitz wrote: > > > I'm trying to do an export by calling emacs from the command line like so: > > > > emacs -batch --visit=myfilename --funcall org-export-as-html > > maybe you need to do > > emacs -batch --visit=myfilename --eval '(setq org-confirm-babel-evaluate nil)' --funcall org-export-as-html > After adding the eval switch the export terminates shortly after starting. I get messages: --------------------- Adding c:/Program Files (x86)/Emacs/EmacsW32/lisp/ to load-path OVERVIEW End of file during parsing --------------------- Same message has happened in several files, doesn't matter whether there's ditaa code block in .org file or not. I also get basically same result if I load my .emacs file explicitly, although in that case I see some 'Loading . . .' messages before OVERVIEW and End of file message. > Also, note that when you run emacs with -batch, you init file is *not* evaluated, . . . Thanks for those tips, had forgotten about loading of settings, though .emacs was still getting loaded. . . > > P.S. How is the VIM port coming along? > It's coming along slowly but fairly steadily. I'm trying to wrap up the current loose ends and get a major update out. For first time I will have menu system and some (very) basic documentation. Lack of discoverability and docs have (understandably) hindered adoption for many people so far, I think. Regards, Herb