From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: Don't ask, don't run Date: Fri, 8 Jul 2011 19:19:46 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:55135) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfGae-0007Dm-Rf for emacs-orgmode@gnu.org; Fri, 08 Jul 2011 15:19:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QfGad-0003rn-Cb for emacs-orgmode@gnu.org; Fri, 08 Jul 2011 15:19:52 -0400 Received: from mailout2-trp.thomsonreuters.com ([163.231.6.26]:49004) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfGad-0003rh-8P for emacs-orgmode@gnu.org; Fri, 08 Jul 2011 15:19:51 -0400 Received: from trpusmneagrly02.int.westgroup.com (relay2 [163.231.22.113]) by mailout2-trp.thomsonreuters.com (Sentrion-MTA-4.0.5/Sentrion-MTA-4.0.5) with ESMTP id p68JJnS8021011 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Fri, 8 Jul 2011 19:19:49 GMT Received: from EAGH-ERFPHUB04.ERF.thomson.com (EAGH-ERFPHUB04.erf.thomson.com [163.231.29.195]) by trpusmneagrly02.int.westgroup.com (Sentrion-MTA-4.0.5/Sentrion-MTA-4.0.5) with ESMTP id p68JJlWV017981 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Fri, 8 Jul 2011 19:19:48 GMT Content-Language: en-US Content-ID: 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, I know from the manual that I can set 'org-confirm-babel-evaluate' to t, or nil, or a function, to control whether I'm asked permission to run a code block. However, that only gives me two choices - ask the user, or pretend the user said "yes". Sometimes I'd like to pretend the user said "no", without asking. Specifically, I'd like to always manually control when code blocks are executed. When exporting, I don't want them executed (and I don't want to be asked about my dozens of blocks each time). When hitting C-c C-c manually, I just want it to run (and I don't want to be asked whether I'm sure). Is there a similar variable, or perhaps an export option, that will give me this kind of workflow? Thanks. -- Ken Williams Senior Research Scientist Thomson Reuters http://labs.thomsonreuters.com