From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Herring, Davis" Newsgroups: gmane.emacs.devel Subject: RE: Sending multiple patches Date: Sat, 7 Jun 2014 15:05:59 +0000 Message-ID: References: , NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1402153600 26174 80.91.229.3 (7 Jun 2014 15:06:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Jun 2014 15:06:40 +0000 (UTC) Cc: "emacs-devel@gnu.org" To: Michal Nazarewicz , Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 07 17:06:29 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WtICT-0004gl-20 for ged-emacs-devel@m.gmane.org; Sat, 07 Jun 2014 17:06:29 +0200 Original-Received: from localhost ([::1]:52077 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtICS-00052n-Gt for ged-emacs-devel@m.gmane.org; Sat, 07 Jun 2014 11:06:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41276) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtICH-00052X-FW for emacs-devel@gnu.org; Sat, 07 Jun 2014 11:06:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WtIC7-0007Oi-D5 for emacs-devel@gnu.org; Sat, 07 Jun 2014 11:06:17 -0400 Original-Received: from proofpoint4.lanl.gov ([204.121.3.52]:40796) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtIC7-0007OJ-5X for emacs-devel@gnu.org; Sat, 07 Jun 2014 11:06:07 -0400 Original-Received: from mailrelay1.lanl.gov (mailrelay1.lanl.gov [128.165.4.101]) by mailgate4.lanl.gov (8.14.5/8.14.5) with ESMTP id s57F61RN023244; Sat, 7 Jun 2014 09:06:03 -0600 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by mailrelay1.lanl.gov (Postfix) with ESMTP id 153271369F00; Sat, 7 Jun 2014 09:06:01 -0600 (MDT) X-NIE-2-Virus-Scanner: amavisd-new at mailrelay1.lanl.gov Original-Received: from ECS-EXG-P-CH03.win.lanl.gov (ecs-exg-p-ch03.win.lanl.gov [128.165.106.13]) by mailrelay1.lanl.gov (Postfix) with ESMTP id 069C61369EE9; Sat, 7 Jun 2014 09:06:01 -0600 (MDT) Original-Received: from ECS-EXG-P-MB01.win.lanl.gov ([169.254.1.168]) by ECS-EXG-P-CH03.win.lanl.gov ([128.165.106.13]) with mapi id 14.03.0181.006; Sat, 7 Jun 2014 09:06:00 -0600 Thread-Topic: Sending multiple patches Thread-Index: AQHPfj2rB68EmDU8QE24YwP9uxPipJtdzbRxgAC8qID//6ZnK4ABIVSAgAZy/Fg= In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [128.165.184.250] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.12.52, 1.0.14, 0.0.0000 definitions=2014-06-07_01:2014-06-06, 2014-06-07, 1970-01-01 signatures=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x X-Received-From: 204.121.3.52 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:172406 Archived-At: > (""))=0A= > =0A= > If the code was changed so that the whole end-pattern is regexp-quote'd,= =0A= > the asterisk would get escaped.=0A= =0A= (What we really want here is a "backreference to another match".) If `stor= e-match-data' is sufficiently tolerant of the deception, there is the possi= bility of a fairly complicated dance of `match-data', `replace-match', `reg= exp-quote', and `store-match-data' to quote exactly the submatches in the r= eplacement. (Is there a function to compute, rather than apply, a replacem= ent? That would cut down on the circuitousness...)=0A= =0A= Davis=