From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: [feature request] refernce to call results Date: Wed, 13 Nov 2013 11:45:14 -0700 Message-ID: <87r4ak9m2v.fsf@gmail.com> References: <87r4ak61uf.fsf@med.uni-goettingen.de> <864n7g1r4n.fsf@somewhere.org> <871u2kh6e4.fsf@med.uni-goettingen.de> <86vbzwzasi.fsf@somewhere.org> <87wqkcflm1.fsf_-_@med.uni-goettingen.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59369) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VgfT0-00018U-FW for emacs-orgmode@gnu.org; Wed, 13 Nov 2013 13:47:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VgfSv-0002og-AZ for emacs-orgmode@gnu.org; Wed, 13 Nov 2013 13:47:06 -0500 Received: from mail-ob0-x236.google.com ([2607:f8b0:4003:c01::236]:50978) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VgfSv-0002oO-4c for emacs-orgmode@gnu.org; Wed, 13 Nov 2013 13:47:01 -0500 Received: by mail-ob0-f182.google.com with SMTP id wp18so941383obc.13 for ; Wed, 13 Nov 2013 10:47:00 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Andreas Leha Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain > > 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., --=-=-= Content-Type: text/x-org Content-Disposition: inline; filename=call.org * 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 --=-=-= Content-Type: text/plain Best, -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D --=-=-=--