From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: [babel] :eval and #+call lines Date: Thu, 29 Oct 2015 23:12:33 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33050) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrwNA-0001IX-Np for emacs-orgmode@gnu.org; Thu, 29 Oct 2015 19:12:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZrwN5-0000hP-Pf for emacs-orgmode@gnu.org; Thu, 29 Oct 2015 19:12:44 -0400 Received: from plane.gmane.org ([80.91.229.3]:55191) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrwN5-0000hG-Ip for emacs-orgmode@gnu.org; Thu, 29 Oct 2015 19:12:39 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZrwN3-0007OG-Vf for emacs-orgmode@gnu.org; Fri, 30 Oct 2015 00:12:38 +0100 Received: from cpc33-cmbg15-2-0-cust4.5-4.cable.virginm.net ([81.102.136.5]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Oct 2015 00:12:37 +0100 Received: from andreas.leha by cpc33-cmbg15-2-0-cust4.5-4.cable.virginm.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Oct 2015 00:12:37 +0100 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: emacs-orgmode@gnu.org Hi all, Since this is not related to caching, I post this as a separate question from [1]. I want to argue that specifying ':eval never' as argument to a #+call line should transitively apply to the called block as well. Here is the example: --8<---------------cut here---------------start------------->8--- * Test ** A long running code block. #+name: foo #+begin_src emacs-lisp :var bar="baz" (sit-for 15) (message "bar=%S" bar) #+end_src ** Calling This should not execute anything IMO. #+call: foo("qux") :eval never I.e. it should behave as this: #+call: foo[:eval never]("qux") :eval never --8<---------------cut here---------------end--------------->8--- Regards, Andreas [1] http://permalink.gmane.org/gmane.emacs.orgmode/102349