emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: general perform-replace REPLACEMENTS arg for regexpquery-replacement


From: Juri Linkov
Subject: Re: general perform-replace REPLACEMENTS arg for regexpquery-replacement?
Date: Tue, 18 Nov 2008 00:51:59 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu)

> 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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]