From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: evaluation context in call statements Date: Mon, 01 Jul 2013 07:11:51 -0600 Message-ID: <87hagejug8.fsf@gmail.com> References: <444ea6cff489e2adc97092bdac881aef@mail.rickster.com> <878v1y574d.fsf@Rainer.invalid> <874ncm55ma.fsf@Rainer.invalid> <87r4fq3ptf.fsf@Rainer.invalid> <87ip11h2zq.fsf@gmail.com> <87fvw5fkpt.fsf@Rainer.invalid> <87k3lgewrv.fsf@gmail.com> <87bo6sqhir.fsf@Rainer.invalid> <87mwq7kv0r.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52238) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Utdv3-0006H0-W9 for emacs-orgmode@gnu.org; Mon, 01 Jul 2013 09:13:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Utdv2-0005qT-Cb for emacs-orgmode@gnu.org; Mon, 01 Jul 2013 09:13:25 -0400 Received: from mail-pd0-x22e.google.com ([2607:f8b0:400e:c02::22e]:60582) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Utdv2-0005qA-4t for emacs-orgmode@gnu.org; Mon, 01 Jul 2013 09:13:24 -0400 Received: by mail-pd0-f174.google.com with SMTP id 10so2600297pdc.5 for ; Mon, 01 Jul 2013 06:13:23 -0700 (PDT) In-Reply-To: (Michael Brand's message of "Mon, 1 Jul 2013 12:23:14 +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 Michael Brand writes: > Hi Eric > > On Mon, Jul 1, 2013 at 12:24 AM, Eric Schulte wrote: >> I've just pushed up a patch which implements this change. Call lines >> should now work exactly as named code blocks providing clarity, >> uniformity and the flexibility to run multiple identical call lines. > > This is very useful for me sometimes, thank you. > > I am now adapting my recent ERT that you disabled in the meantime due > to your changes and therefore have a question. With C-c C-c on this > call line > > #+NAME: src_block_location_shell sect call > #+CALL: src_block_location_shell() > > the result is > > #+RESULTS: src_block_location_shell sect call > : shell a:1, b:0, c:3, d:0, e:0 > > as expected. With org-test-with-expanded-babel-code I would expect the > same but get > > #+RESULTS: > : shell a:1, b:0, c:3, d:0, e:0 > > Should the behavior of org-test-with-expanded-babel-code not be > aligned? > Thanks for catching this. The export function (used by `org-test-with-expanded-babel-code') hadn't been updated to use call line names. I've just pushed up a fix. Best, -- Eric Schulte http://cs.unm.edu/~eschulte