From: "Drew Adams" <drew.adams@oracle.com>
To: "'Juri Linkov'" <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: RE: general perform-replace REPLACEMENTS arg for regexpquery-replacement?
Date: Sun, 16 Nov 2008 17:25:18 -0800 [thread overview]
Message-ID: <001a01c94853$5a0ee1e0$0200a8c0@us.oracle.com> (raw)
In-Reply-To: <877i73p9ia.fsf@jurta.org>
> > Here is a naive definition that lets `C-M-%' work for a
> > literal list of strings at top level, such as in the
> > example above (with `\,' replaced by `\@'):
> >
> > C-M-% RET \$\$ RET \@("\\\\[" "\\\\]")
>
> Then by analogy with the Lisp backquote syntax it should be `\,@':
>
> C-M-% \$\$ RET \,@("\\\\[" "\\\\]")
OK, I have no problem with that (actually, I started with that). However, it's
not that analogous. This is not really about splicing a list.
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?
next prev parent reply other threads:[~2008-11-17 1:25 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 [this message]
2008-11-17 22:51 ` Juri Linkov
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='001a01c94853$5a0ee1e0$0200a8c0@us.oracle.com' \
--to=drew.adams@oracle.com \
--cc=emacs-devel@gnu.org \
--cc=juri@jurta.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.