Rudolf Adamkovič <[email protected]> writes: >> C-c C-c is not always explicit (because it can do many things). In fact, >> we even have `org-babel-no-eval-on-ctrl-c-ctrl-c' just to avoid >> accidentally running code blocks even when `org-confirm-babel-evaluate' >> is otherwise disabled. > > Okay, I can understand it for C-c C-c. But what about when the user > explicitly asks for code execution, such as with C-c C-v C-e? Could > those key bindings work like C-x C-e, where one does not have to > customize anything to run code?
I think that it will be against the spirit of the code safety system we have in place. The recommended way to get rid of the question you are annoyed with is disabling `org-confirm-babel-evaluate'. Also, see https://list.orgmode.org/orgmode/87edsd5o89.fsf@localhost/ >> I think we can add an extra customization that will make Org attempt >> loading not-yet-loaded languages when that customization is enabled and >> when `org-babel-load-languages' does not explicitly prohibit it. > > The question is, could this be enabled by default? I ask because the > main reason why I started this thread was to make it easier to execute > code in no-config Emacs, without hunting for customizations. Maybe. Or, alternatively, babel backends can put appropriate autoload cookies. -- Ihor Radchenko // yantar92, Org mode maintainer, 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>
