From: Marcin Borkowski <mbork@wmi.amu.edu.pl>
To: help-gnu-emacs@gnu.org
Subject: Re: regex edit mode
Date: Tue, 30 Sep 2014 21:10:08 +0200 [thread overview]
Message-ID: <87ppechqlr.fsf@wmi.amu.edu.pl> (raw)
In-Reply-To: <00d69071-b746-4544-a4b6-01fc9e29e5a3@googlegroups.com>
On 2014-09-30, at 18:55, Sam Halliday wrote:
> Hi all,
>
> It is sometimes confusing, when writing a regex in elisp, to remember all the escaping rules that are in play.
>
> Does anybody on this list know of a minor mode that would allow the user to edit regexes so that escaping is not necessary, but for the escaping to occur "under the hood".
>
> Imagine being able to place the point over a string containing a regex (which is using escapes) and then call an interactive function which makes the escape characters go away and if special characters are entered, the escapes are added automagically. When exiting the minor mode, the raw string with escapes would appear again.
Not exactly what you have in mind, but do you know M-x re-builder?
> Sam
Best,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University
prev parent reply other threads:[~2014-09-30 19:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-30 16:55 regex edit mode Sam Halliday
2014-09-30 17:55 ` Igor Sosa Mayor
2014-09-30 18:18 ` Rasmus
2014-09-30 19:10 ` Marcin Borkowski [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ppechqlr.fsf@wmi.amu.edu.pl \
--to=mbork@wmi.amu.edu.pl \
--cc=help-gnu-emacs@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.