emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Babel should not work in the subtree marked as not exported


From: zwz
Subject: Re: [O] Babel should not work in the subtree marked as not exported
Date: Fri, 14 Mar 2014 21:02:11 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Samuel Wales <address@hidden> writes:

> how about call lines?
>
> to me, they should not run if they are not supposed to be exported.
>
> is this a bug?
>
> ********* babel should not export a call line via todo kw
> *********** NEXT to reproduce
> set org-export-with-tasks to nil
> *********** NEXT this should not run
> #+call: hi(a=2)
> *********** hi
> #+name: hi
> #+begin_src sh :var a=1
>   echo hi $a
> #+end_src

Maybe this is a simple and clear way:
noexport means no export and no code running, either.
While if you want to get the code run, just call it somewhere
explicitly.
What do you think?




reply via email to

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