From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tak Ota Newsgroups: gmane.emacs.devel Subject: Re: collect-string Date: Fri, 3 Dec 2010 14:47:23 -0800 Message-ID: <20101203.144723.505473964.Takaaki.Ota@am.sony.com> References: <20101203.143147.319196666.Takaaki.Ota@am.sony.com> <52940.130.55.118.19.1291416047.squirrel@webmail.lanl.gov> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1291416455 30021 80.91.229.12 (3 Dec 2010 22:47:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 3 Dec 2010 22:47:35 +0000 (UTC) Cc: stephen@xemacs.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 03 23:47:30 2010 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.69) (envelope-from ) id 1POePZ-0004PD-Mq for ged-emacs-devel@m.gmane.org; Fri, 03 Dec 2010 23:47:29 +0100 Original-Received: from localhost ([127.0.0.1]:38941 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POePZ-0007Ok-57 for ged-emacs-devel@m.gmane.org; Fri, 03 Dec 2010 17:47:29 -0500 Original-Received: from [140.186.70.92] (port=55665 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POePR-0007Nv-Gb for emacs-devel@gnu.org; Fri, 03 Dec 2010 17:47:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1POePQ-0002xW-LL for emacs-devel@gnu.org; Fri, 03 Dec 2010 17:47:21 -0500 Original-Received: from va3ehsobe004.messaging.microsoft.com ([216.32.180.14]:17100 helo=VA3EHSOBE004.bigfish.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1POePQ-0002xS-FH for emacs-devel@gnu.org; Fri, 03 Dec 2010 17:47:20 -0500 Original-Received: from mail36-va3-R.bigfish.com (10.7.14.253) by VA3EHSOBE004.bigfish.com (10.7.40.24) with Microsoft SMTP Server id 14.1.225.8; Fri, 3 Dec 2010 22:47:19 +0000 Original-Received: from mail36-va3 (localhost.localdomain [127.0.0.1]) by mail36-va3-R.bigfish.com (Postfix) with ESMTP id F294B1700065; Fri, 3 Dec 2010 22:47:18 +0000 (UTC) X-SpamScore: -12 X-BigFish: VPS-12(zz1432N98dNzz1202hzzz2fh2a8h668h61h) X-Forefront-Antispam-Report: KIP:(null); UIP:(null); IPVD:NLI; H:mail7.fw-bc.sony.com; RD:mail7.fw-bc.sony.com; EFVD:NLI Original-Received: from mail36-va3 (localhost.localdomain [127.0.0.1]) by mail36-va3 (MessageSwitch) id 1291416438716586_6239; Fri, 3 Dec 2010 22:47:18 +0000 (UTC) Original-Received: from VA3EHSMHS011.bigfish.com (unknown [10.7.14.254]) by mail36-va3.bigfish.com (Postfix) with ESMTP id A186D21804F; Fri, 3 Dec 2010 22:47:18 +0000 (UTC) Original-Received: from mail7.fw-bc.sony.com (160.33.98.74) by VA3EHSMHS011.bigfish.com (10.7.99.21) with Microsoft SMTP Server (TLS) id 14.1.225.8; Fri, 3 Dec 2010 22:47:18 +0000 Original-Received: from mail1x.bc.in.sel.sony.com ([43.144.65.112]) by mail7.fw-bc.sony.com (Switch-3.4.2/Switch-3.3.2mp) with ESMTP id oB3MlGa8005940 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 3 Dec 2010 22:47:17 GMT Original-Received: from localhost (tak-vaio-z1290-043191017095.am.sony.com [43.191.17.95]) by mail1x.bc.in.sel.sony.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oB3MlFrD028452; Fri, 3 Dec 2010 22:47:16 GMT In-Reply-To: <52940.130.55.118.19.1291416047.squirrel@webmail.lanl.gov> X-Mailer: Mew-6.3.50 on Emacs-23.2.90.1 (i386-mingw-nt6.1.7600 built on 2010-11-22) X-OriginatorOrg: am.sony.com X-detected-operating-system: by eggs.gnu.org: Windows 2000 SP2+, XP SP1+ (seldom 98) 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:133373 Archived-At: I thought about that too. But this may be the most common usage without answering one extra question. If the user wants to decorate the entire match the regexp can be a single big subexpression. "\\(...\\)" -Tak Fri, 3 Dec 2010 14:40:47 -0800: Davis Herring wrote: > > ! ;; No subexpression so collect the entire match. > > ! "\\&" > > Once we have the replace-match functionality, I don't think this > assumption makes sense anymore; the user might want to frame the matches > with something. > > Davis > > -- > This product is sold by volume, not by mass. If it appears too dense or > too sparse, it is because mass-energy conversion has occurred during > shipping. >