From mboxrd@z Thu Jan 1 00:00:00 1970 From: Noorul Islam Subject: Re: bug in export due to org-list-automatic-rules Date: Wed, 8 Sep 2010 03:39:20 +0530 Message-ID: References: <87vd6htl8c.wl%n142857@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=39773 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ot6Ly-00052w-ML for emacs-orgmode@gnu.org; Tue, 07 Sep 2010 18:09:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ot6Lx-0001LR-BR for emacs-orgmode@gnu.org; Tue, 07 Sep 2010 18:09:22 -0400 Received: from mail-gw0-f41.google.com ([74.125.83.41]:49225) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ot6Lx-0001LN-74 for emacs-orgmode@gnu.org; Tue, 07 Sep 2010 18:09:21 -0400 Received: by gwj16 with SMTP id 16so2802129gwj.0 for ; Tue, 07 Sep 2010 15:09:20 -0700 (PDT) In-Reply-To: <87vd6htl8c.wl%n142857@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Daniel Clemente Cc: n.goaziou@gmail.com, org-mode Mailinglist On Wed, Sep 8, 2010 at 12:49 AM, Daniel Clemente wrote: > > Hi. > =A0This change in org.el (commit fd16515b4a88d48362223b19c511c4973cdbc84c= , 2010-08-07 18:31:54): > > =A0 =A0 '("^[ \t]*\\([-+*]\\|[0-9]+[.)][ \t]+\\(?:\\[@start:[0-9]+\\][ \t= ]*\\)?\\)\\(\\[[- X]\\]\\)" > =A0 =A0 =A0 =A0 =A0 =A0 =A02 'org-checkbox prepend) > - =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(if org-provide-checkbox-statist= ics > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (if (cdr (assq 'che= ckbox org-list-automatic-rules)) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 '("\\[\\([0-9]*%\\)\\]\\|\\[\\([0-9]*\\)/\\([0-9]*\\)\\]" > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 (0 (org-get-checkbox-statistics-face) t))) > > > =A0made this command stop working: > > $ emacs --batch --load=3D/w/org-mode/lisp/org.el --visit ~/org-httptest/i= o.org --funcall org-export-as-html-batch > File mode specification error: (void-variable org-list-automatic-rules) > Loading vc-git... > Exporting... > Symbol's value as variable is void: org-list-automatic-rules > With the following setup "Org-mode version 7.01trans (release_7.01h.475.g0bfd.dirty)" "GNU Emacs 23.2.2 (i686-pc-linux-gnu) of 2010-06-08 on sajida" The following command works. I am not sure whether we need to update the do= c. noorul@sajida:~/emacs/org-mode/lisp$ emacs --debug-init --batch --visit=3D/tmp/temp.org --funcall org-export-as-html-batch OVERVIEW Exporting... Exporting... Exporting... Saving file /tmp/temp.html... Wrote /tmp/temp.html HTML export done, pushed to kill ring and clipboard But if I include load option, I get the following which is surprising for m= e. noorul@sajida:~/emacs/org-mode/lisp$ emacs --batch --load=3D/home/noorul/emacs/org-mode/lisp/org.el --visit=3D/tmp/temp.org --funcall org-export-as-html-batch Cannot open load file: org-entities Thanks and Regards Noorul