From: <Ken.Williams@thomsonreuters.com>
To: emacs-orgmode@gnu.org
Subject: Don't ask, don't run
Date: Fri, 8 Jul 2011 19:19:46 +0000 [thread overview]
Message-ID: <CA3CC281.38F08%ken.williams@thomsonreuters.com> (raw)
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
next reply other threads:[~2011-07-08 19:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-08 19:19 Ken.Williams [this message]
2011-07-08 20:14 ` Don't ask, don't run Eric S Fraga
2011-07-10 15:08 ` Eric Schulte
2011-07-11 15:19 ` Ken Williams
2011-07-11 17:51 ` Eric Schulte
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CA3CC281.38F08%ken.williams@thomsonreuters.com \
--to=ken.williams@thomsonreuters.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.