Juan Manuel Macías <maciasch...@posteo.net> writes: > Ok, I agree that this is the most reasonable direction. What do you > think about the idea that I outlined in the last post of this thread > (https://list.orgmode.org/87v8uqmkc0....@posteo.net/)?: it consists in > defining a new hook (by default with value nil) where the user can store > those functions that he wants to have a 'strict' behavior: some functions > or all. And then the user should add the > org-speed-command-strict-function to org-speed-command-hook. > > If this idea sounds too hacky, I think a defcustom for > org-babel-speed-command-activate, as you suggest, might suffice.
It is more complex and I do not see a clear benefit of introducing a whole new hook. It would only be useful for people who define a large number of extra speed command handlers. Disclaimer: I do not use speed commands myself, so my opinion is somewhat theoretical. If other users who are actively using speed command hook have something to say, I'd encourage them to join the discussion. Best, Ihor