[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [Bug] [babel] calls in :noexport: subtrees evaluated
From: |
Andreas Leha |
Subject: |
Re: [O] [Bug] [babel] calls in :noexport: subtrees evaluated |
Date: |
Wed, 05 Sep 2012 15:12:23 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) |
Nicolas Goaziou <address@hidden> writes:
> Hello,
>
> "Sebastien Vauban"
> <address@hidden> writes:
>
>> Andreas Leha wrote:
>>> it seems to me, that #+call lines in subtrees with the :noexport: tag
>>> are evaluated. Is this intended?
>
> As far as the new exporter goes (you may want to have a look at
> `org-export-as' function), the order is:
>
> - Process macros.
> - Expand #+INCLUDE: keywords.
> - Evaluate code blocks.
>
> Note that "noexport" sub-trees are not inhibited. The are just skipped
> when the parse tree is processed.
>
> To answer the OP, :noexport: tag is related to export, not to
> src-blocks. There are already other ways to disable code evaluation on
> subtrees. It may be useful, as in your case, to have their behaviour
> linked, but again, sometimes not.
>
> It's often better to keep separate things, well, separate.
My expectation still is the "linked" case, but I can live in the
unlinked org mode world.
Thanks for the clarification, anyway.
Regards,
Andreas