From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Clarify `pcase' `rx' pattern doc Date: Sat, 07 Jul 2018 09:53:30 +0300 Message-ID: <834lhbleol.fsf@gnu.org> References: <87fu1rqr6m.fsf@web.de> <87in6gff2t.fsf@web.de> <83wouwrq3d.fsf@gnu.org> <87tvpw4cjt.fsf@web.de> <83vaacqjpl.fsf@gnu.org> <87lgb841g0.fsf@web.de> <831scxvd5a.fsf@gnu.org> <87bmbk4586.fsf@web.de> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1530946328 10370 195.159.176.226 (7 Jul 2018 06:52:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 7 Jul 2018 06:52:08 +0000 (UTC) Cc: emacs-devel@gnu.org To: Michael Heerdegen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 07 08:52:04 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fbh4d-0002XT-Pa for ged-emacs-devel@m.gmane.org; Sat, 07 Jul 2018 08:52:03 +0200 Original-Received: from localhost ([::1]:60781 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fbh6j-000597-EK for ged-emacs-devel@m.gmane.org; Sat, 07 Jul 2018 02:54:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37278) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fbh62-00058p-Oc for emacs-devel@gnu.org; Sat, 07 Jul 2018 02:53:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fbh5z-00057g-Ge for emacs-devel@gnu.org; Sat, 07 Jul 2018 02:53:30 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48946) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fbh5z-00057S-Cy; Sat, 07 Jul 2018 02:53:27 -0400 Original-Received: from [176.228.60.248] (port=3622 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fbh5y-0004nm-ON; Sat, 07 Jul 2018 02:53:27 -0400 In-reply-to: <87bmbk4586.fsf@web.de> (message from Michael Heerdegen on Fri, 06 Jul 2018 19:57:29 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:227032 Archived-At: > From: Michael Heerdegen > Cc: emacs-devel@gnu.org > Date: Fri, 06 Jul 2018 19:57:29 +0200 > > > + [...] If the target is not a string, signal an error. > > We want to change that, so I think you can drop that sentence. Shouldn't it be dropped when that change is committed? > But can we remove the sentence saying "Multiple occurrences of the > same VAR refer to the same submatch."? It's completely redundant > IMHO. Is it redundant even when VAR is not a submatch number, but a symbol? Btw, in this part: > + (let VAR SEXP...) creates a new explicitly numbered submatch > + that matches regular expressions SEXP, and > + binds the match to VAR. Does "explicitly numbered" mean that VAR must be a number? If it can be something else, perhaps "explicitly named" is better? > Then, can you please install it (maybe with my issues fixed)? Sure.