From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: general perform-replace REPLACEMENTS arg for regexpquery-replacement? Date: Sun, 16 Nov 2008 17:25:18 -0800 Message-ID: <001a01c94853$5a0ee1e0$0200a8c0@us.oracle.com> References: <005901c94752$06ca6e70$0200a8c0@us.oracle.com><005b01c94771$e8129be0$0200a8c0@us.oracle.com> <877i73p9ia.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1226885122 16257 80.91.229.12 (17 Nov 2008 01:25:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Nov 2008 01:25:22 +0000 (UTC) Cc: emacs-devel@gnu.org To: "'Juri Linkov'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 17 02:26:23 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L1ssh-0003lK-AL for ged-emacs-devel@m.gmane.org; Mon, 17 Nov 2008 02:26:23 +0100 Original-Received: from localhost ([127.0.0.1]:59891 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L1srY-0002Ei-O8 for ged-emacs-devel@m.gmane.org; Sun, 16 Nov 2008 20:25:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L1srU-0002Ed-QK for emacs-devel@gnu.org; Sun, 16 Nov 2008 20:25:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L1srT-0002ER-2m for emacs-devel@gnu.org; Sun, 16 Nov 2008 20:25:08 -0500 Original-Received: from [199.232.76.173] (port=39708 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L1srS-0002EO-Rr for emacs-devel@gnu.org; Sun, 16 Nov 2008 20:25:06 -0500 Original-Received: from rcsinet13.oracle.com ([148.87.113.125]:25323 helo=rgminet13.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L1srS-0002pz-Na for emacs-devel@gnu.org; Sun, 16 Nov 2008 20:25:06 -0500 Original-Received: from acsinet13.oracle.com (acsinet13.oracle.com [141.146.126.235]) by rgminet13.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id mAH1PIcc010285 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 17 Nov 2008 01:25:19 GMT Original-Received: from acsmt705.oracle.com (acsmt705.oracle.com [141.146.40.83]) by acsinet13.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id mAH1PEfr026509; Mon, 17 Nov 2008 01:25:15 GMT Original-Received: from dradamslap1 (/24.23.165.218) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 17 Nov 2008 01:24:59 +0000 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <877i73p9ia.fsf@jurta.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 Thread-Index: AclIPmZnIHUnLhwvTAOpDc5zMOr/lAAE+uvA X-Source-IP: acsmt705.oracle.com [141.146.40.83] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090207.4920C7ED.0076:SCFSTAT928724,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:105736 Archived-At: > > 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 \("" "") WDOT?