Dan Drake <dan.dr...@gmail.com> writes: > It seems like ":eval yes" was removed some time ago -- see > https://emacs.stackexchange.com/a/3570/19526. > > Did that get re-added? It seems like it was replaced by the > org-confirm-babel-evaluate mechanism -- > https://www.gnu.org/savannah-checkouts/gnu/emacs/manual/html_node/org/Code-Evaluation-Security.html.
It did not really get removed. But its meaning indeed changed slightly, despite what the current manual says. :eval yes evaluates the code blocks, but not unconditionally. It still obeys org-confirm-babel-evaluate. Does the attached patch clarify the situation?
>From 3867672d6b38b3c0ccba0b5da8e4a3adb7f111b1 Mon Sep 17 00:00:00 2001 Message-Id: <3867672d6b38b3c0ccba0b5da8e4a3adb7f111b1.1677517512.git.yanta...@posteo.net> From: Ihor Radchenko <yanta...@posteo.net> Date: Mon, 27 Feb 2023 20:02:50 +0300 Subject: [PATCH] org-manual: Clarify that :eval yes obeys `org-confirm-babel-evaluate' * doc/org-manual.org (Limit code block evaluation): Clarify :eval yes value. Reported-by: Dan Drake <dan.dr...@gmail.com> Link: https://orgmode.org/list/cakqbaefrgdzqqqkxhkvdptgm7nyybwgxpjj3yorknud2bsw...@mail.gmail.com --- doc/org-manual.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/org-manual.org b/doc/org-manual.org index 6a625b42a..1c97d6aa8 100644 --- a/doc/org-manual.org +++ b/doc/org-manual.org @@ -18123,7 +18123,8 @@ *** Limit code block evaluation - =yes= :: - Org always evaluates the source code without asking permission. + Org evaluates the source code, possibly asking permission according + to ~org-confirm-babel-evaluate~. - =never= or =no= :: -- 2.39.1
-- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>