From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: evaluation context in call statements Date: Wed, 26 Jun 2013 11:11:08 -0600 Message-ID: <87ehboiyqb.fsf@gmail.com> References: <444ea6cff489e2adc97092bdac881aef@mail.rickster.com> <878v1y574d.fsf@Rainer.invalid> <874ncm55ma.fsf@Rainer.invalid> <87r4fq3ptf.fsf@Rainer.invalid> <87ip11h2zq.fsf@gmail.com> <87ehboewrr.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45357) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrtGR-0004jm-8b for emacs-orgmode@gnu.org; Wed, 26 Jun 2013 13:12:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UrtGP-0005EZ-Cy for emacs-orgmode@gnu.org; Wed, 26 Jun 2013 13:12:15 -0400 Received: from mail-pa0-x231.google.com ([2607:f8b0:400e:c03::231]:64964) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrtGP-0005EQ-6c for emacs-orgmode@gnu.org; Wed, 26 Jun 2013 13:12:13 -0400 Received: by mail-pa0-f49.google.com with SMTP id ld11so14337099pab.22 for ; Wed, 26 Jun 2013 10:12:12 -0700 (PDT) In-Reply-To: (Michael Brand's message of "Wed, 26 Jun 2013 18:53:43 +0200") 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: Michael Brand Cc: Org Mode > I am sorry, I wanted to say that I want to do something like > (note: not current behavior) > > ------------------------------------------------------------------- > #+NAME: i_am_curious_how_this_works > #+BEGIN_SRC emacs-lisp > (format "%s" org-babel-current-src-block-location) > #+END_SRC > > #+CALL: i_am_curious_how_this_works() > > #+RESULTS: i_am_curious_how_this_works() > : # > #+CALL: i_am_curious_how_this_works() > > #+RESULTS: i_am_curious_how_this_works() > : # > > ------------------------------------------------------------------- > > and would like the yet to be defined solution in discussion here to > make also this possible, If we do add #+names to call lines, and have them adopt the existing code block result behavior, then the above will work without modification. [...] >> Currently if you want have separate results for call lines with the same >> variables you will need to use a dummy variable. > > Ok, this answers one of my questions in the other thread and confirms > my expectation. Does it mean that my patch with the ERT as of > 2013-06-19 from the other thread is ok for now and can be applied just > to reflect what is currently supported? Or should I change something > else in the patch? > Yes, I've just applied this patch. Sorry for the delay. Thanks, -- Eric Schulte http://cs.unm.edu/~eschulte