[Orgmode] Re: batch exporting

2009-12-22 Thread andrea
Nick Dokos writes: > andrea wrote: > > > Then prepare a skeleton .emacs just for export and load that: > > emacs --batch --load ~/.skeleton-emacs-for-export ... > Eh eh solved, I was just using the builtin emacs version on snow leopard (22.1), which for some reasons don't work at all.. Th

Re: [Orgmode] Re: batch exporting

2009-12-21 Thread Nick Dokos
andrea wrote: > Nick Dokos writes: > > > > Further along in the thread I pointed out to you, there is a discussion > > of emacs --batch implying emacs -q and how to load your .emacs file. > > I believe that't the problem you are having. > > > > Alright I can try, but I don't want to load my c

[Orgmode] Re: batch exporting

2009-12-21 Thread andrea
Nick Dokos writes: > Further along in the thread I pointed out to you, there is a discussion > of emacs --batch implying emacs -q and how to load your .emacs file. > I believe that't the problem you are having. > Alright I can try, but I don't want to load my configuration every time I want to

Re: [Orgmode] Re: batch exporting

2009-12-21 Thread Nick Dokos
andrea wrote: > Carsten Dominik writes: > > > On Dec 20, 2009, at 11:43 PM, andrea wrote: > > > >> Nick Dokos writes: > >> > >>> See the thread at > >>> > >>>http://thread.gmane.org/gmane.emacs.orgmode/17059 > >> > >> I also tried the scripts from that thread (but it's actually the same >

[Orgmode] Re: batch exporting

2009-12-21 Thread andrea Crotti
This is my whole error by the way if someone can understand what it means... Debugger entered--Lisp error: (wrong-type-argument stringp nil) re-search-forward(nil nil t) org-export-remove-headline-metadata((:for-LaTeX t :emph-multiline t :add-text nil :comments nil :skip-before-1st-heading n

[Orgmode] Re: batch exporting

2009-12-20 Thread andrea
Carsten Dominik writes: > On Dec 20, 2009, at 11:43 PM, andrea wrote: > >> Nick Dokos writes: >> >>> See the thread at >>> >>>http://thread.gmane.org/gmane.emacs.orgmode/17059 >> >> I also tried the scripts from that thread (but it's actually the same >> thing), I always get the same error.

Re: [Orgmode] Re: batch exporting

2009-12-20 Thread Carsten Dominik
On Dec 20, 2009, at 11:43 PM, andrea wrote: Nick Dokos writes: See the thread at http://thread.gmane.org/gmane.emacs.orgmode/17059 I also tried the scripts from that thread (but it's actually the same thing), I always get the same error. What could that mean: "converting file euler.or

[Orgmode] Re: batch exporting

2009-12-20 Thread andrea
Nick Dokos writes: > See the thread at > > http://thread.gmane.org/gmane.emacs.orgmode/17059 I also tried the scripts from that thread (but it's actually the same thing), I always get the same error. What could that mean: "converting file euler.org Wrong type argument: commandp, org-export-

Re: [Orgmode] Re: Batch exporting a sparse tree

2008-11-30 Thread Carsten Dominik
On Nov 29, 2008, at 3:31 AM, Lindsay Todd wrote: To answer my own question, this incantation seems to work: emacs -batch -l ~/.emacs \ -eval '(progn (find-file "~/projects/gtd.org") (org-tags-sparse-tree t "TODO=\"PROJECT\"|TODO= \"MAYBE\"") (org-export-visi

[Orgmode] Re: Batch exporting a sparse tree

2008-11-28 Thread Lindsay Todd
To answer my own question, this incantation seems to work: emacs -batch -l ~/.emacs \ -eval '(progn (find-file "~/projects/gtd.org") (org-tags-sparse-tree t "TODO=\"PROJECT\"|TODO=\"MAYBE\"") (org-export-visible ?h nil))' -kill Is there a way to remove tags