emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] ob-core: add org-confirm-babel-evaluate-cell custom variable


From: Max Nikulin
Subject: Re: [PATCH] ob-core: add org-confirm-babel-evaluate-cell custom variable
Date: Tue, 13 Dec 2022 23:31:50 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

On 13/12/2022 08:53, Tom Gillespie wrote:
+(defcustom org-confirm-babel-evaluate-cell t
+  "Confirm before evaluating a cell.
+This follows the same conventions as `org-confirm-babel-evaluate'."

Will it be clear to users what "cell" means in this context?

Am I wrong that, roughly speaking, the effective value is (and org-confirm-babel-evaluate-cell org-confirm-babel-evaluate)? Should it be described in the docstring? It seems e.g. :eval query affects the latter, but not the former. If it is so then it is too complicated for me to feel firm ground while reasoning on security.

I have not decided if it is feasible to add some property to the INFO argument passed to `org-babel-confirm-evaluate' and to put there condition which variable should determine result.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]