[Top][All Lists]

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

Re: [O] [feature request] refernce to call results

From: Eric Schulte
Subject: Re: [O] [feature request] refernce to call results
Date: Wed, 13 Nov 2013 11:45:14 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

> 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"

#+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"

: this=input=new


Eric Schulte
PGP: 0x614CA05D

reply via email to

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