emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Oleh <ohwoeowho@gmail.com>
Cc: org mode <emacs-orgmode@gnu.org>
Subject: Re: [PATCH] org-src: allow `org-babel-edit-prep:.*' to mark region
Date: Sat, 29 Nov 2014 14:33:09 +0100	[thread overview]
Message-ID: <8761dynnca.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAA01p3r6qTFjFH8+Gi=-teAAqsUhu9_spqJdY91R8E8sgLbEng@mail.gmail.com> (Oleh's message of "Sat, 29 Nov 2014 13:43:14 +0100")

Hello,

Oleh <ohwoeowho@gmail.com> 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

  reply	other threads:[~2014-11-29 13:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-29 12:43 [PATCH] org-src: allow `org-babel-edit-prep:.*' to mark region Oleh
2014-11-29 13:33 ` Nicolas Goaziou [this message]
2014-11-29 13:47   ` Oleh
2014-11-29 14:15     ` Nicolas Goaziou
2014-11-29 14:34       ` Oleh
2014-12-07 23:37         ` Nicolas Goaziou
2014-12-09 11:03           ` Oleh
2014-12-09 16:12             ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8761dynnca.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=ohwoeowho@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).