From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: [org-babel] switching off (re-)evaluation of code blocks during Org export Date: Mon, 21 Nov 2011 18:23:31 -0700 Message-ID: <87aa7plzl8.fsf@gmail.com> References: <2A2CA71C-50E6-4533-BD40-2D879EF3BBCC@beds.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:47985) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSf5J-00011r-8z for emacs-orgmode@gnu.org; Mon, 21 Nov 2011 20:23:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RSf5E-0004KS-Ne for emacs-orgmode@gnu.org; Mon, 21 Nov 2011 20:23:41 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:59802) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSf5E-0004KM-HU for emacs-orgmode@gnu.org; Mon, 21 Nov 2011 20:23:36 -0500 Received: by iaek3 with SMTP id k3so11654801iae.0 for ; Mon, 21 Nov 2011 17:23:36 -0800 (PST) In-Reply-To: <2A2CA71C-50E6-4533-BD40-2D879EF3BBCC@beds.ac.uk> (Torsten Anders's message of "Tue, 22 Nov 2011 00:13:03 +0000") 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: Torsten Anders Cc: Org-mode Hi Torsten, Torsten Anders writes: > Dear Sebastien and Eric, > > Thanks a lot for your kind replies. However, this is not yet quite what I am after. > > I want to be able to manually execute each code block, but not > automatically whenever the whole document is rendered. So, I would > always switch on/off "eval never". Hm... > I've just pushed up a patch which adds a new option to the "eval" header argument. Setting eval to "non-export" will now allow interactive evaluation, but will inhibit code block evaluation during export. This should address your need as I understand it. > > I will try out the ":cache" header argument. However, again this does > not work so well, because for the languages I am using the :file > argument does not work very well (I have to manually change > extensions, so I include the resulting file links by hand anyway and > set :results to silent. > > So, I it sounds like few org-babel users is really running larger > applications in their code blocks which can delay the export of the > whole document considerably. > I would not jump to that conclusion. I have used babel code blocks to cache the results of very long running results, however between the :cache header argument and the ability to manually disassociate generated results from code blocks I have not had any problems inhibiting execution during export. Best -- Eric > > Anyway, thanks a lot for your feedback. > > Best wishes, > Torsten > > > > -- Eric Schulte http://cs.unm.edu/~eschulte/