From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: [babel] confusion about org-confirm-babel-evaluate Date: Thu, 12 Aug 2010 13:53:57 +0100 Message-ID: <87r5i4ng9m.wl%ucecesf@ucl.ac.uk> Reply-To: Eric S Fraga Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="Multipart_Thu_Aug_12_13:53:57_2010-1" Return-path: Received: from [140.186.70.92] (port=36899 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OjXIR-0008Jd-Uc for emacs-orgmode@gnu.org; Thu, 12 Aug 2010 08:54:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OjXIP-0003o1-5q for emacs-orgmode@gnu.org; Thu, 12 Aug 2010 08:54:11 -0400 Received: from vscane-c.ucl.ac.uk ([144.82.108.43]:34093) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OjXIP-0003mR-1S for emacs-orgmode@gnu.org; Thu, 12 Aug 2010 08:54:09 -0400 Received: from 79-74-4-149.dynamic.dsl.as9105.com ([79.74.4.149] helo=esf.ucl.ac.uk) by vscane-c.ucl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.60) (envelope-from ) id 1OjXIE-0007RT-Pt for emacs-orgmode@gnu.org; Thu, 12 Aug 2010 13:53:59 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: org-mode mailing list --Multipart_Thu_Aug_12_13:53:57_2010-1 Content-Type: text/plain; charset=US-ASCII Hello all, Back from a short holiday and trying to catch up on work... and so I may have missed something in the org mailing list (although I've searched...). I have a large file which includes many babel code blocks (mostly maxima) that I wish to have evaluated on export. This works except that I have to confirm each evaluation (which takes some time). I know that org-confirm-babel-evaluate exists so I have put the following at the top of my org file: # -*- org-confirm-babel-evaluate: nil; -*- checking the value of this variable (C-h v org-babel-confirm-evaluate) gives me: ,---- | org-confirm-babel-evaluate is a variable defined in `ob.el'. | Its value is nil | Local in buffer deferred-questions.org; global value is t | | This variable is a file local variable. | This variable is safe as a file local variable if its value | satisfies the predicate which is byte-compiled expression. | | Documentation: | Confirm before evaluation. | Require confirmation before interactively evaluating code | blocks in Org-mode buffers. The default value of this variable | is t, meaning confirmation is required for any code block | evaluation. This variable can be set to nil to inhibit any | future confirmation requests. This variable can also be set to a | [...] `---- so the value is indeed nil. However, exporting to PDF, say, still requires me to confirm each evaluation. Typing C-c C-c doesn't require confirmation, however, so the variable does seem to have some effect. What am I missing here to avoid having to confirm on export? The only variable I have found that combines both export and babel is org-export-babel-evaluate which is not what I want. Thanks, eric --Multipart_Thu_Aug_12_13:53:57_2010-1 Content-Type: text/plain; charset=US-ASCII -- Eric S Fraga GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D --Multipart_Thu_Aug_12_13:53:57_2010-1 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --Multipart_Thu_Aug_12_13:53:57_2010-1--