Hi Eric,
Eric Schulte <[email protected]> writes:
>>
>> 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
>
thanks a lot! I confirm that it works. This was really fast!
Regards,
Andreas