From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: How to override ":eval no" in call lines? Date: Thu, 22 Jan 2015 08:50:19 -0800 Message-ID: References: <86oaq02ivd.fsf@example.com> <86lhkv1aox.fsf@example.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57022) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEKxi-0002QE-BJ for emacs-orgmode@gnu.org; Thu, 22 Jan 2015 11:50:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YEKxd-0000P4-RQ for emacs-orgmode@gnu.org; Thu, 22 Jan 2015 11:50:30 -0500 Received: from iport-bcv1-out.ucsd.edu ([132.239.0.119]:44449) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEKxd-0000Ok-HZ for emacs-orgmode@gnu.org; Thu, 22 Jan 2015 11:50:25 -0500 In-Reply-To: <86lhkv1aox.fsf@example.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: Sebastien Vauban Cc: emacs-orgmode@gnu.org On Thu, 22 Jan 2015, Sebastien Vauban wrote: > Hello, > > May I bump up this thread? > > Sebastien Vauban wrote: >> In a long document, I must have ":eval no" at file level, as this is the >> common setting for most code blocks. However, how do I unset that for >> some call lines. See (info "(org) Evaluating code blocks") Note what it says about 'inside' and 'outside' header arguments. You need *both* set to `:eval yes'. The inside arg will allow execution of `plus' while the `outside' will allow execution of call_plus(...). Try this: 6 + 6 = call_plus[:eval yes](x=6)[:eval yes]. HTH, Chuck