emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Le Wang <l26wang@gmail.com>
To: Orgmode Mailing List <emacs-orgmode@gnu.org>
Subject: org-edit-special is available to other buffers
Date: Fri, 24 Feb 2012 00:38:04 +0800	[thread overview]
Message-ID: <CAM=K+irHRXg0okGLJg=yXdgaxdYOK=dTnAZyryYv62ciccUv1A@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 419 bytes --]

Hi,

I asked about this a while ago on this list, but no one seemed interested.
So I've gone ahead and implemented this myself.

https://github.com/lewang/generic-edit-special

This allows you to define beginning/ending regexps with corresponding
language, and edit the region in between just like org-edit-special.
Currently, I use it for HTML/css/javascript/rails.

Any comments/bug reports welcome.

Cheers.

-- 
Le

[-- Attachment #2: Type: text/html, Size: 534 bytes --]

                 reply	other threads:[~2012-02-23 16:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='CAM=K+irHRXg0okGLJg=yXdgaxdYOK=dTnAZyryYv62ciccUv1A@mail.gmail.com' \
    --to=l26wang@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).