From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#16106: 24.3.50; doc of `replace-match' Date: Fri, 7 Feb 2014 19:33:12 -0800 (PST) Message-ID: <71ee4353-2d1f-4302-ae7e-fa1f5d38dca0@default> References: <87a9e2b9fy.fsf@building.gnus.org> 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 1391830458 31551 80.91.229.3 (8 Feb 2014 03:34:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Feb 2014 03:34:18 +0000 (UTC) Cc: 16106@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 08 04:34:24 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1WBygQ-0002LI-GS for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Feb 2014 04:34:22 +0100 Original-Received: from localhost ([::1]:44717 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBygQ-00018f-5P for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Feb 2014 22:34:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50035) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBygF-00018T-Is for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2014 22:34:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WByg7-0000x0-0V for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2014 22:34:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41778) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WByg6-0000wv-TZ for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2014 22:34:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WByg6-0007Ty-Gy for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2014 22:34:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Feb 2014 03:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16106 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16106-submit@debbugs.gnu.org id=B16106.139183039828704 (code B ref 16106); Sat, 08 Feb 2014 03:34:02 +0000 Original-Received: (at 16106) by debbugs.gnu.org; 8 Feb 2014 03:33:18 +0000 Original-Received: from localhost ([127.0.0.1]:55797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WByfO-0007Su-1L for submit@debbugs.gnu.org; Fri, 07 Feb 2014 22:33:18 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:17902) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WByfM-0007Sm-2Q for 16106@debbugs.gnu.org; Fri, 07 Feb 2014 22:33:16 -0500 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s183XEKq018628 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 8 Feb 2014 03:33:15 GMT Original-Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s183XDsJ010003 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 8 Feb 2014 03:33:13 GMT Original-Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s183XDME009998; Sat, 8 Feb 2014 03:33:13 GMT In-Reply-To: <87a9e2b9fy.fsf@building.gnus.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:84863 Archived-At: > > State (in doc string and Elisp manual) that N in \N is not just "a > > digit" but a digit from 1 through 9. Make clear that in "Nth > > subexpression", N is one-based, not zero-based. >=20 > I don't think that makes any sense. The wording is: >=20 > `\N' means substitute what matched the Nth `\(...\)'. > If Nth parens didn't match, substitute nothing. >=20 > I can't see anybody interpreting Nth as having "zeroth" as a valid > meaning. Most things in Emacs and Lisp in general are zero-based. It is not obvious that this is one-based. And Oth and zeroth make as much sense as 1th and oneth. If counting is zero-based then the 0th element is exactly that: the entry that is indexed by the number zero.