emacs-orgmode
[Top][All Lists]
Advanced

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

[O] [babel] :eval and #+call lines


From: Andreas Leha
Subject: [O] [babel] :eval and #+call lines
Date: Thu, 29 Oct 2015 23:12:33 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (darwin)

Hi all,

Since this is not related to caching, I post this as a separate question
from [1].

I want to argue that specifying ':eval never' as argument to a #+call
line should transitively apply to the called block as well.

Here is the example:

--8<---------------cut here---------------start------------->8---
* Test
** A long running code block.
#+name: foo
#+begin_src emacs-lisp :var bar="baz"
  (sit-for 15)
  (message "bar=%S" bar)
#+end_src

** Calling

This should not execute anything IMO.
#+call: foo("qux") :eval never

I.e. it should behave as this:
#+call: foo[:eval never]("qux") :eval never
--8<---------------cut here---------------end--------------->8---

Regards,
Andreas



[1] http://permalink.gmane.org/gmane.emacs.orgmode/102349




reply via email to

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