Hi Eric, On 2014-04-22 13:30, Eric Schulte <schulte.e...@gmail.com> writes:
> Sorry, that's because the "x" should be "z". See the following. > > #+name: z > : "bar" > #+name: test3 > #+begin_src emacs-lisp :var x="foo" > x > #+end_src > > #+RESULTS: test3 > : foo > > #+name:test4 > #+begin_src emacs-lisp :var y=test3(x=z) > y > #+end_src > > #+results: test4 > : "bar" > > #+call: test4(y="BAZ") > > #+RESULTS: > : BAZ I'm afraid I'm not being clear: I want to use the result of `test3' in the computation done to test4. Intuitively, I want test4 to be something like: "(lambda (x) (... (test3 x) ...))". This is why I was writing a header of the form: > #+begin_src emacs-lisp :var x="foo" :var y=test3(x) where x would be given by the call to the block, and y would only be used internally. Thanks, Alan