Hi Nicolas,

> I don't understand what your use-case is. Note that `org-edit-special'
> already preserves region.

That's good, but not what I need. I want to go from an unmarked region
in an org file with markup
to a marked region without markup in the *Org Src* buffer.

I've defined a custom `org-babel-edit-prep:elisp' that does this, but
it's not allowed to mark region in this function.  A patch to
`org-edit-src-code' is required for this.

Just to sum it up: I want a custom `org-babel-edit-prep:elisp' to be
able to mark region, even if it wasn't marked before.

regards,
Oleh

Reply via email to