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: Sat, 22 Jul 2017 04:02:47 +0200 Message-ID: <87h8y544ag.fsf@drachen> References: <87fue2rxm1.fsf@calancha-pc> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1500689061 16543 195.159.176.226 (22 Jul 2017 02:04:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 22 Jul 2017 02:04:21 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 27659@debbugs.gnu.org, Philipp Stephani , Stefan Monnier , Tino Calancha To: John Mastro Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 22 04:04:15 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 1dYjm2-0003XE-3H for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Jul 2017 04:04:06 +0200 Original-Received: from localhost ([::1]:45423 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYjm7-00042j-Ip for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Jul 2017 22:04:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYjm2-00042b-3j for bug-gnu-emacs@gnu.org; Fri, 21 Jul 2017 22:04:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dYjly-0005KE-Sy for bug-gnu-emacs@gnu.org; Fri, 21 Jul 2017 22:04:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49048) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dYjly-0005Je-PQ for bug-gnu-emacs@gnu.org; Fri, 21 Jul 2017 22:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dYjly-0002Fk-Dq for bug-gnu-emacs@gnu.org; Fri, 21 Jul 2017 22:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Jul 2017 02:04:02 +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.15006889888594 (code B ref 27659); Sat, 22 Jul 2017 02:04:02 +0000 Original-Received: (at 27659) by debbugs.gnu.org; 22 Jul 2017 02:03:08 +0000 Original-Received: from localhost ([127.0.0.1]:51724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYjl6-0002EX-EI for submit@debbugs.gnu.org; Fri, 21 Jul 2017 22:03:08 -0400 Original-Received: from mout.web.de ([212.227.15.3]:49641) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYjl4-0002E4-HM for 27659@debbugs.gnu.org; Fri, 21 Jul 2017 22:03:07 -0400 Original-Received: from drachen.dragon ([178.0.9.210]) by smtp.web.de (mrweb003 [213.165.67.108]) with ESMTPSA (Nemesis) id 0LwHmQ-1dfmGF2GeU-0181FH; Sat, 22 Jul 2017 04:02:49 +0200 In-Reply-To: (John Mastro's message of "Fri, 21 Jul 2017 16:28:55 -0700") X-Provags-ID: V03:K0:d6WIL48XPTysOzDafCD8Yiiqm+ealUxc/SAqUOYvWoeKb6R3YCz g47ZtYCOefGBvAOmRcqtb6BHapnUHYURlwY0zZAMwk3mbZqf5i5OzDCuP+cTebwrR6Ed1S6 bnOIKnt30z1aXSego1u53qLtuJMIa4gnDtNCDTm6E0v9kcnU6THKk+nPYQOvQ9p9E/l39W2 Kg/xTW+7TjkMO6aWtPFoA== X-UI-Out-Filterresults: notjunk:1;V01:K0:zCQXVaDVz38=:2rLFd5I4crUR1/tvLMsZgb dcc6vh1q+DappCdMEE/bwwjNCN9Sdn04oSi3+ILxzZsZBSL9AAYpCQIAGR0IzyTaLADtHngTK VOqnBIJXRj4i8yhsEjCE3/NbxfT/X+VRULjH0lINbZ/2ntevdaTQvFVP1/wIlcBbJjw68c6Fc M1OcyQKgNmPQGX+1POxYKJW+XFuod3NWoSOvYkY4LHxs1qqy85IpbDnqzGFkKbIS42WX5rOki AnVDd1vA1GxARNQUJHztjpeVum5YEh5aDKqAiyy5fqG1jmOVw2yKIBlBUV5MBG/6aGmCzihV3 Wg5cxpuxUPCyjshO0XVP6IXC+nELhM70ric40ps7PARr93gPMYnPsRHbUmxNWMe2eV7bXqM7b QGZK3iaDVBckyIhxSkxQDrrSoClk9ehRKQsmGKGjfKUgP8aIchIcWus7eYsl/jos9wjMNwarW D4+Jw/9MqA4/zu0FQQhCdaBUVfClBXLYlOemNFYNHUZ6JwWT7b/sCdZQ8LMbT2DOlqvoEkfcO DCllUJErcPtQE1xaTmFCd5qGNe4SnH46SNOvpE78IW85nZsfTnOhIeUNVkQpc9MDpDmtFh3YR XkvO8wPuc0PdoFVzkMg7WjVRpIAwmUPLXUo8AIJbRll6aCHnZ1tcO7bxyJPWiG6zeFtAY1Krj gIvMceQdBbsMgdz7qbHXpITVPuLN29KeNPsKPnr7jOtYmT3MuR+iOYxNTkpVUCfTnZvVU0KJE ipzSELn7nSmzh0RzXG/mKeRy/y/irAxk16qOUF1HcWMeQK17fjkNoGObwSQxLM6YYDAeAAmB X-BeenThere: debbugs-submit@debbugs.gnu.org X-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:134836 Archived-At: John Mastro writes: > I hope you do - both this and the rx pattern would be nice to have. I think we should make it so that they have corresponding semantics. Ideally, without variable binding, Phillip's macro should be eqivalent to calling rx on the pattern args and then calling Stefan's version. On top of that, both should add variables and back-references in the same way. It would be very confusing to add the same thing twice with only very subtle differences (modulo regexp syntax used). Michael.