From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#27659: 26.0.50; Add string-matched-text: string-match + match-string Date: Sun, 23 Jul 2017 23:39:54 +0200 Message-ID: <87k22yde8l.fsf@drachen> References: <87fue2rxm1.fsf@calancha-pc> <87mv7x451o.fsf@drachen> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1500846079 28214 195.159.176.226 (23 Jul 2017 21:41:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 23 Jul 2017 21:41:19 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 27659@debbugs.gnu.org, Tino Calancha To: Philipp Stephani Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 23 23:41:12 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1dZOcg-0006rg-TP for geb-bug-gnu-emacs@m.gmane.org; Sun, 23 Jul 2017 23:41:11 +0200 Original-Received: from localhost ([::1]:51670 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZOcl-0000hJ-3t for geb-bug-gnu-emacs@m.gmane.org; Sun, 23 Jul 2017 17:41:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39783) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZOcc-0000h8-TP for bug-gnu-emacs@gnu.org; Sun, 23 Jul 2017 17:41:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dZOcY-0004Kv-0J for bug-gnu-emacs@gnu.org; Sun, 23 Jul 2017 17:41:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51009) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dZOcX-0004Kp-TZ for bug-gnu-emacs@gnu.org; Sun, 23 Jul 2017 17:41:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dZOcX-0006ZR-NI for bug-gnu-emacs@gnu.org; Sun, 23 Jul 2017 17:41:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 23 Jul 2017 21:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27659 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 27659-submit@debbugs.gnu.org id=B27659.150084600525191 (code B ref 27659); Sun, 23 Jul 2017 21:41:01 +0000 Original-Received: (at 27659) by debbugs.gnu.org; 23 Jul 2017 21:40:05 +0000 Original-Received: from localhost ([127.0.0.1]:53686 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZObd-0006YF-Gt for submit@debbugs.gnu.org; Sun, 23 Jul 2017 17:40:05 -0400 Original-Received: from mout.web.de ([212.227.17.11]:55528) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZObb-0006Xh-9v for 27659@debbugs.gnu.org; Sun, 23 Jul 2017 17:40:03 -0400 Original-Received: from drachen.dragon ([178.0.9.210]) by smtp.web.de (mrweb102 [213.165.67.124]) with ESMTPSA (Nemesis) id 0MTyDl-1d8pC63Bon-00QlS4; Sun, 23 Jul 2017 23:39:55 +0200 In-Reply-To: (Philipp Stephani's message of "Sun, 23 Jul 2017 20:45:34 +0000") X-Provags-ID: V03:K0:TzyI0jNyhqQHrjnzH5ZsW7pz80m+KjIEDFw0E/vxb5ehzIQzUtz Ri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mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:134897 Archived-At: Philipp Stephani writes: > I think the words `form' and `sexp' are used mostly interchangeably > nowadays, and the docstring of `rx' speaks of "forms" several times. If you read carefully, then you'll see that the word "form" is only used in descriptive language. The only place where something is named "form" is the argument of `eval', which actually must be a form. AFAIC, we use the convention that anything called "a form" is normal Lisp code to be evaluated, especially if an argument of a macro or special form is named "FORM". We describe this convention in the manual. If you don't follow it, it will confuse others. It confused me; I didn't understand what your `let' does until I had a look at the tests. This is just not necessary. Enough people already have problems understanding and accepting pcase stuff, so I think it's extra important to use unambiguous language. And BTW, if we choose to give up that naming convention, shouldn't we first discuss it? Michael.