Hi Eric, "Eric Schulte" wrote: > I've just added [org-babel-demarcate-block] to the org-mode repo.
A comment. Consider the following, with a region beginning at =cmd1= and ending after =cmd3= (in other words, a full block of 3 lines): --8<---------------cut here---------------start------------->8--- Text before cmd1 cmd2 cmd3 Text after --8<---------------cut here---------------end--------------->8--- After invoking your function, I get this: --8<---------------cut here---------------start------------->8--- Text before #+begin_src sh cmd1 cmd2 cmd3 #+end_src Text after --8<---------------cut here---------------end--------------->8--- Very good, except that I would expect the space line out of the code block, as it was not in my selected text: --8<---------------cut here---------------start------------->8--- Text before #+begin_src sh cmd1 cmd2 cmd3 #+end_src Text after --8<---------------cut here---------------end--------------->8--- Is this possible? > For now it still lives in the babel keymap behind (C-c C-v d) since it > is fundamentally code-block related, however it can be called from > anywhere in an org-mode file, and could of course be bound to any other > key sequence in a personal config. I don't see any key binding (yet), after org-reload. Thanks for this... Best regards, Seb -- Sébastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode