From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] org-src: allow `org-babel-edit-prep:.*' to mark region Date: Sat, 29 Nov 2014 14:33:09 +0100 Message-ID: <8761dynnca.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45702) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xui8Q-00048g-UI for emacs-orgmode@gnu.org; Sat, 29 Nov 2014 08:32:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xui8F-0008TI-Su for emacs-orgmode@gnu.org; Sat, 29 Nov 2014 08:32:26 -0500 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:33840) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xui8F-0008T6-ND for emacs-orgmode@gnu.org; Sat, 29 Nov 2014 08:32:15 -0500 In-Reply-To: (Oleh's message of "Sat, 29 Nov 2014 13:43:14 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Oleh Cc: org mode Hello, Oleh writes: > I want to be able to denote my source blocks like so: > > - *~* is the mark, > - *|* is the point > > #+begin_src elisp > (~a b c| d e f g h i j k l m n o p q r s t u v w x y z) > #+end_src > > - `org-edit-special' will automatically transform this markup into an > actual active region > - `org-edit-src-exit' will automatically transform an active region into markup I don't understand what your use-case is. Note that `org-edit-special' already preserves region. Regards, -- Nicolas Goaziou