From: Juri Linkov <juri@jurta.org>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: emacs-devel@gnu.org
Subject: Re: general perform-replace REPLACEMENTS arg for regexpquery-replacement?
Date: Tue, 18 Nov 2008 00:51:59 +0200 [thread overview]
Message-ID: <873ahq3r0k.fsf@jurta.org> (raw)
In-Reply-To: <001a01c94853$5a0ee1e0$0200a8c0@us.oracle.com> (Drew Adams's message of "Sun, 16 Nov 2008 17:25:18 -0800")
> Actually, after sending the mail and realizing that the sequence would always be
> not just \@ but \@(, I thought (and think) that perhaps simply \( would be
> better. This is about passing a list. So I'd propose that.
>
> C-M-% RET abc RET \("<xyz>" "</xyz>")
>
> WDOT?
Then we can perfectly use just the current syntax `\,' without inventing
a new one, e.g.
C-M-% RET abc RET \,'("<xyz>" "</xyz>")
The only place currently preventing this is prin1-to-string that turns
a list into a string. We could change it to keep the list intact.
--
Juri Linkov
http://www.jurta.org/emacs/
next prev parent reply other threads:[~2008-11-17 22:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-15 18:43 general perform-replace REPLACEMENTS arg for regexp query-replacement? Drew Adams
2008-11-15 22:31 ` general perform-replace REPLACEMENTS arg for regexpquery-replacement? Drew Adams
2008-11-16 22:34 ` Juri Linkov
2008-11-17 1:25 ` Drew Adams
2008-11-17 22:51 ` Juri Linkov [this message]
2008-11-18 1:01 ` Drew Adams
2008-11-18 22:18 ` Juri Linkov
2008-11-18 23:20 ` Drew Adams
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=873ahq3r0k.fsf@jurta.org \
--to=juri@jurta.org \
--cc=drew.adams@oracle.com \
--cc=emacs-devel@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.