Ihor Radchenko <[email protected]> writes: My apologies for the mail sent before this one, I pressed C-c C-c by mistake. Pun *not* intended. :)
> 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? > Maybe. But do note that babel backends are not always called > ob-<language name>. For example, there is nothing like ob-elisp.el. Good to know. > Also, we have `org-babel-load-languages', which we should respect. Of course. > 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. Rudy -- "To the unknown journeyman I promise to show courage in upholding my vows What is an adventure if not the commitment to keep going?" --- Protesilaos Stavrou, To the unknown journeyman, 2025 Rudolf Adamkovič <[email protected]> [he/him] http://adamkovic.org
