From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Voit Subject: Re: bug: "org-export-preprocess-string: Wrong number of arguments" when doing "org-export-as-html" Date: Fri, 1 Mar 2013 11:18:08 +0100 Message-ID: <2013-03-01T11-12-10@devnull.Karl-Voit.at> References: <2013-02-27T15-12-01@devnull.Karl-Voit.at> Reply-To: news1142@Karl-Voit.at 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]:58712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBN30-0000IX-2r for emacs-orgmode@gnu.org; Fri, 01 Mar 2013 05:18:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UBN2v-0007w3-5J for emacs-orgmode@gnu.org; Fri, 01 Mar 2013 05:18:38 -0500 Received: from plane.gmane.org ([80.91.229.3]:41487) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBN2u-0007vy-Uf for emacs-orgmode@gnu.org; Fri, 01 Mar 2013 05:18:33 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UBN3C-00044D-Cq for emacs-orgmode@gnu.org; Fri, 01 Mar 2013 11:18:50 +0100 Received: from mail.michael-prokop.at ([88.198.6.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Mar 2013 11:18:50 +0100 Received: from news1142 by mail.michael-prokop.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Mar 2013 11:18:50 +0100 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 * Achim Gratz wrote: > Karl Voit Karl-Voit.at> writes: >> #+BEGIN_SRC elisp >> (org-export-as-html 3 nil nil "htmlized-output" nil nil) >> #+END_SRC > >> Am I doing something wrong or is this a bug? > > You are trying to use the old exporter and pick up code from an earlier version > of Org. Oh, am I? :-O I was not aware of this. Obviously, I am no insider of emacs-lisp nor the exporting mechanism of Org. What is the equivalent elisp expression for using the new exporter? Or should I just wait until Org 8.0 which would not be of any problem for me now? I know, that these days, a lot of changes are going on on the exporting parts of Org - which I appreciate very much! Background: I was testing a weird idea of mine. Writing a shell script which uses «emacs -Q --script exportscript.el» for batch converting an Org-mode file to HTML «from outside» of Emacs. -- Karl Voit