[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [PATCH] org-src: allow `org-babel-edit-prep:.*' to mark region
From: |
Oleh |
Subject: |
Re: [O] [PATCH] org-src: allow `org-babel-edit-prep:.*' to mark region |
Date: |
Sat, 29 Nov 2014 14:47:01 +0100 |
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