Re: [O] export ICal without evaluate code block

2014-03-17 Thread Simon Thum
Well, I was kind of shocked because the mails sounded to imply I need to switch evaluation off and, supposedly, extra-off-for-ical, too. In fact that is the default, or so the source code comment reads but I have no idea how that works out. Cheers, Simon On 03/13/2014 04:42 PM, Bastien wrot

Re: [O] export ICal without evaluate code block

2014-03-13 Thread Bastien
Hi Simon, Simon Thum writes: > Greppig org confirms icalendar is likely the only exception. While i > find this surprising I guess there is a good reason, right? The "good" reason is that it's very unlikely for a user to need Babel evaluation in an org-mode buffer before exporting this buffer t

Re: [O] export ICal without evaluate code block

2014-03-03 Thread Simon Thum
Greppig org confirms icalendar is likely the only exception. While i find this surprising I guess there is a good reason, right? Cheers, Simon On 02/26/2014 10:21 PM, Nicolas Goaziou wrote: Hello, Simon Thum writes: I have some worries here; Why is it so hard to avoid evaluation/modif

Re: [O] export ICal without evaluate code block

2014-02-26 Thread Nicolas Goaziou
Hello, Simon Thum writes: > I have some worries here; Why is it so hard to avoid > evaluation/modification in org files during export? I don't think it is. There is a single variable to switch in order to control this: `org-export-babel-evaluate'. Do you think that it doesn't behave as expecte

Re: [O] export ICal without evaluate code block

2014-02-26 Thread Simon Thum
Nicolas, I recently had a similar problem, though in my case the iClaendar export wasn't even reached because emacs started asking in other exports that came before. I have some worries here; Why is it so hard to avoid evaluation/modification in org files during export? I use -batch, I wou

Re: [O] export ICal without evaluate code block

2014-02-26 Thread OSiUX
El mié, 26 feb 2014, Nicolas Goaziou decía: > OSiUX writes: > > > El mié, 26 feb 2014, Nicolas Goaziou decía: > > >> You could use something like this: > >> > >> (defun my-toggle-off-babel (backend) > >> (when (org-export-derived-backend-p backend 'icalendar) > >> (org-set-local 'or

Re: [O] export ICal without evaluate code block

2014-02-26 Thread Nicolas Goaziou
OSiUX writes: > El mié, 26 feb 2014, Nicolas Goaziou decía: >> You could use something like this: >> >> (defun my-toggle-off-babel (backend) >> (when (org-export-derived-backend-p backend 'icalendar) >> (org-set-local 'org-confirm-babel-evaluate nil) >> (org-set-local 'org-expo

Re: [O] export ICal without evaluate code block

2014-02-26 Thread OSiUX
El mié, 26 feb 2014, Nicolas Goaziou decía: > Hello, > > OSiUX writes: > > > Calendar can be exported without evaluating > > babel code blocks? > > > > I try setting in .emacs: > > > > (setq org-confirm-babel-evaluate nil) > > (setq org-export-babel-evaluate nil) > > > > but always evaluate w

Re: [O] export ICal without evaluate code block

2014-02-26 Thread Nicolas Goaziou
Hello, OSiUX writes: > Calendar can be exported without evaluating > babel code blocks? > > I try setting in .emacs: > > (setq org-confirm-babel-evaluate nil) > (setq org-export-babel-evaluate nil) > > but always evaluate when exports iCalendar :-( You could use something like this: (def

[O] export ICal without evaluate code block

2014-02-24 Thread OSiUX
Hi! Calendar can be exported without evaluating babel code blocks? I try setting in .emacs: (setq org-confirm-babel-evaluate nil) (setq org-export-babel-evaluate nil) but always evaluate when exports iCalendar :-( thanks! Org-mode version 8.2.5h (release_8.2.5h-631-g076b8e @ /home/osiris