From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Alekseyev Subject: [bug] :eval header argument ignored in the #+call: block Date: Fri, 20 Jan 2012 08:44:47 -0600 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:45639) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RoFi2-0000RG-Oa for emacs-orgmode@gnu.org; Fri, 20 Jan 2012 09:44:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RoFhw-0001oh-Jn for emacs-orgmode@gnu.org; Fri, 20 Jan 2012 09:44:54 -0500 Received: from mail-bk0-f41.google.com ([209.85.214.41]:55148) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RoFhw-0001oY-Ei for emacs-orgmode@gnu.org; Fri, 20 Jan 2012 09:44:48 -0500 Received: by bkbzx1 with SMTP id zx1so603915bkb.0 for ; Fri, 20 Jan 2012 06:44:47 -0800 (PST) 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 Suppose I have a code block foo, and I want to call it several times in my org file. However, foo may be a slow function, and so any time I evaluate buffer non-interactively (e.g. HTML export) I want to enable only one out of many calls to :foo The following doesn't work, but I think it should, since the #+call: line should run foo with the header argument :eval no-export #+NAME: foo #+BEGIN_SRC R :var turn_on_output="FALSE" if(turn_on_output) { X11() } #+END_SRC #+CALL: foo[:eval no-export](turn_on_output="TRUE") ## this STILL evaluates on export Furthermore, a better solution to the situation I described above might be to set the :eval no-export header argument in the source block definition, and then over-ride it in the one #+call line that I want to run during export. Unfortunately, it doesn't seem that this is currently possible. --Leo