emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-export-babel-evaluate and :exports none


From: Achim Gratz
Subject: Re: [O] org-export-babel-evaluate and :exports none
Date: Fri, 22 Feb 2013 21:49:45 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.93 (gnu/linux)

Nicolas Goaziou writes:
> I'm just starting over because that wasn't a correct solution. I'm not
> even sure about what bug this patch fixed.

The bug was that Babel blocks were evaluated during export when
org-export-babel-evaluate was explicitly set to nil (the default value
is t).

> Anyway, it isn't org-export-babel-evaluate's job to tell when to
> evaluate a source code block.

The documentation says that its job is exactly that, if the context is
export.

--8<---------------cut here---------------start------------->8---
Documentation:
Switch controlling code evaluation during export.
When set to nil no code will be evaluated as part of the export
process.
--8<---------------cut here---------------end--------------->8---

> It may be org-babel-exp-process-buffer's.

You call org-export-execute-babel-code however, which doesn't check the
above variable.

>> BTW, the function org-export-execute-babel-code is called before it is
>> being defined.  Not sure why this doesn't give a warning.
>
> Why should it? It's not a macro, after all.

Ah yes.  To much C++ the last month.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds




reply via email to

[Prev in Thread] Current Thread [Next in Thread]