>
> I agree completely.  So my question boils down to this feature request:
>
> Now, that #+call lines can be named, would it be possible to reference
> the results the same way as for code blocks?
>

I just pushed up a commit which should make this possible.  E.g.,

* call by name

#+name: echo-input
#+begin_src sh :var input="original"
  echo "input=$input"
#+end_src

#+RESULTS: echo-input
: input=original

#+name: echo-new
#+call: echo-input("new")

#+RESULTS: echo-new
: input=new

#+begin_src sh :var input=echo-new()
  echo "this=$input"
#+end_src

#+RESULTS:
: this=input=new

Best,

-- 
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D

Reply via email to