From: Noorul Islam <noorul@noorul.com>
To: Daniel Clemente <n142857@gmail.com>
Cc: n.goaziou@gmail.com, org-mode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: bug in export due to org-list-automatic-rules
Date: Wed, 8 Sep 2010 03:39:20 +0530 [thread overview]
Message-ID: <AANLkTimo0-KcAns_gDi89iu_s=pOewgzsDsszSkeSweu@mail.gmail.com> (raw)
In-Reply-To: <87vd6htl8c.wl%n142857@gmail.com>
On Wed, Sep 8, 2010 at 12:49 AM, Daniel Clemente <n142857@gmail.com> wrote:
>
> Hi.
> This change in org.el (commit fd16515b4a88d48362223b19c511c4973cdbc84c, 2010-08-07 18:31:54):
>
> '("^[ \t]*\\([-+*]\\|[0-9]+[.)][ \t]+\\(?:\\[@start:[0-9]+\\][ \t]*\\)?\\)\\(\\[[- X]\\]\\)"
> 2 'org-checkbox prepend)
> - (if org-provide-checkbox-statistics
> + (if (cdr (assq 'checkbox org-list-automatic-rules))
> '("\\[\\([0-9]*%\\)\\]\\|\\[\\([0-9]*\\)/\\([0-9]*\\)\\]"
> (0 (org-get-checkbox-statistics-face) t)))
>
>
> made this command stop working:
>
> $ emacs --batch --load=/w/org-mode/lisp/org.el --visit ~/org-httptest/io.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 doc.
noorul@sajida:~/emacs/org-mode/lisp$ emacs --debug-init --batch
--visit=/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 me.
noorul@sajida:~/emacs/org-mode/lisp$ emacs --batch
--load=/home/noorul/emacs/org-mode/lisp/org.el --visit=/tmp/temp.org
--funcall org-export-as-html-batch
Cannot open load file: org-entities
Thanks and Regards
Noorul
next prev parent reply other threads:[~2010-09-07 22:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-07 19:19 bug in export due to org-list-automatic-rules Daniel Clemente
2010-09-07 22:09 ` Noorul Islam [this message]
2010-09-13 9:47 ` Daniel Clemente
2010-09-08 14:36 ` [patch] " Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTimo0-KcAns_gDi89iu_s=pOewgzsDsszSkeSweu@mail.gmail.com' \
--to=noorul@noorul.com \
--cc=emacs-orgmode@gnu.org \
--cc=n.goaziou@gmail.com \
--cc=n142857@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).