emacs-orgmode
[Top][All Lists]
Advanced

[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: Nicolas Goaziou
Subject: Re: [O] [PATCH] org-src: allow `org-babel-edit-prep:.*' to mark region
Date: Sat, 29 Nov 2014 15:15:37 +0100

>> 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.

That still doesn't explain why you need it.

> I've defined a custom `org-babel-edit-prep:elisp' that does this, but
> it's not allowed to mark region in this function.

Why?

> 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.

Your markup is very personal. I still don't see the need to turn it into
a general mechanism. Isn't an advice enough?


Regards,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]