Nicolas Goaziou <n.goaz...@gmail.com> writes:

> Hello,
>
> "Sebastien Vauban"
> <wxhgmqzgw...@spammotel.com> 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


Reply via email to