From 298b90e9cea88809a99e82a87ca7b47419d03a80 Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Mon, 5 Jul 2010 11:02:55 -0700 Subject: [PATCH] updated changes.org to reflect the new Babel security measures --- ORGWEBPAGE/Changes.org | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/ORGWEBPAGE/Changes.org b/ORGWEBPAGE/Changes.org index 812dfe5fb..8af868a90 100644 --- a/ORGWEBPAGE/Changes.org +++ b/ORGWEBPAGE/Changes.org @@ -178,7 +178,31 @@ language, e.g. (add-to-list 'org-babel-default-header-args:sh '(:shebang . "#!/bin/bash")) #+end_src - + +The final important change included in this release is the +addition of new security measures into Babel. These measures are +in place to protect users from the accidental or uninformed +execution of code. Along these lines /every/ execution of a code +block will now require an explicit confirmation from the user. +These confirmations can be stifled through customization of the +`org-confirm-babel-evaluate' variable, e.g. +#+begin_src emacs-lisp + ;; I don't want to be prompted on every code block evaluation + (setq org-confirm-babel-evaluate nil) +#+end_src + +In addition, it is now possible to remove code block evaluation +form the =C-c C-c= keybinding. This can be done by setting the +=org-babel-no-eval-on-ctrl-c-ctrl-c= variable to a non-nil value, +e.g. +#+begin_src emacs-lisp + ;; I don't want to execute code blocks with C-c C-c + (setq org-babel-no-eval-on-ctrl-c-ctrl-c t) +#+end_src + +An additional keybinding has been added for code block +evaluation, namely =C-c C-v e=. + Whew! that seems like a lot of effort for a /simplification/ of configuration.