Samuel Wales <samolog...@gmail.com> 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?