From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brand Subject: Re: evaluation context in call statements Date: Wed, 26 Jun 2013 10:38:31 +0200 Message-ID: References: <444ea6cff489e2adc97092bdac881aef@mail.rickster.com> <878v1y574d.fsf@Rainer.invalid> <874ncm55ma.fsf@Rainer.invalid> <87r4fq3ptf.fsf@Rainer.invalid> <87ip11h2zq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34453) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrlFJ-0005GV-OM for emacs-orgmode@gnu.org; Wed, 26 Jun 2013 04:38:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UrlFI-0007AP-Fj for emacs-orgmode@gnu.org; Wed, 26 Jun 2013 04:38:33 -0400 Received: from mail-lb0-x22c.google.com ([2a00:1450:4010:c04::22c]:45270) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrlFI-0007AD-8y for emacs-orgmode@gnu.org; Wed, 26 Jun 2013 04:38:32 -0400 Received: by mail-lb0-f172.google.com with SMTP id v20so1345505lbc.3 for ; Wed, 26 Jun 2013 01:38:31 -0700 (PDT) In-Reply-To: <87ip11h2zq.fsf@gmail.com> 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: Eric Schulte Cc: Achim Gratz , Org Mode Hi Eric On Wed, Jun 26, 2013 at 12:41 AM, Eric Schulte wrote: > I think we could be well served by discussing how people use call lines, > how they would use call lines (if this behavior changed), and what > behavior would best support these existing and potential use cases. You did not yet answer to what I asked you about more than one call with the same arguments: http://thread.gmane.org/gmane.emacs.orgmode/72513/focus=73547 > In defense of the existing behavior, I don't see the benefit of calling > a code block with the same arguments from multiple locations and > subsequently littering a file with multiple identical results blocks. Such result blocks do not have to be necessarily identical. What would you suggest for these examples?: 1) It could be just me feeling like to be on the playground: ------------------------------------------------------------------- #+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() (Here I expect to see the result "#".) ------------------------------------------------------------------- 2) My use case mentioned at the beginning of this message. Michael