From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.devel Subject: Re: New rx implementation with extension constructs Date: Thu, 5 Sep 2019 13:17:13 +0200 Message-ID: <792C9C4D-4C57-4393-9E3B-6166D6A1515E@acm.org> References: <1C71289F-C5D5-4F9C-947C-374110C1D572@acm.org> Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="152464"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel To: =?utf-8?Q?Aur=C3=A9lien_Aptel?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 05 13:18:18 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i5pmM-000dXz-Ds for ged-emacs-devel@m.gmane.org; Thu, 05 Sep 2019 13:18:18 +0200 Original-Received: from localhost ([::1]:44670 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i5pmK-0001Zd-Go for ged-emacs-devel@m.gmane.org; Thu, 05 Sep 2019 07:18:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50113) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i5pld-0001Wt-29 for emacs-devel@gnu.org; Thu, 05 Sep 2019 07:17:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i5plb-0002hr-NM for emacs-devel@gnu.org; Thu, 05 Sep 2019 07:17:32 -0400 Original-Received: from mail84c50.megamailservers.eu ([91.136.10.94]:42484 helo=mail18c50.megamailservers.eu) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i5plb-0002aj-6p for emacs-devel@gnu.org; Thu, 05 Sep 2019 07:17:31 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1567682235; bh=17J7rTurNIKI15moMvd+jP93GXlo9Af1VnGvsPfMXdA=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=BPWm5ZoCDCmzTkdtC1ATwtrKLdL6m7Z1qeyux5nS7/7KcXVcAqFJn8sWola1Tyy2y y5Eu9p+aeqdzf2w1PPGzUUnIqLF4oFtu25UiO2Ii7KlHwy9RTqK7P3+mG94D27pZwd kYYrZpGEgHEsPJWEoXRQOCg2diik+upkCpeNeAbg= Feedback-ID: mattiase@acm.or Original-Received: from [192.168.0.4] ([188.150.171.71]) (authenticated bits=0) by mail18c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id x85BHDwi013146; Thu, 5 Sep 2019 11:17:15 +0000 In-Reply-To: X-Mailer: Apple Mail (2.3445.104.11) X-CTCH-RefID: str=0001.0A0B0203.5D70EEBB.0042, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=LfISFAXi c=1 sm=1 tr=0 a=SF+I6pRkHZhrawxbOkkvaA==:117 a=SF+I6pRkHZhrawxbOkkvaA==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=IkcTkHD0fZMA:10 a=M51BFTxLslgA:10 a=pGLkceISAAAA:8 a=GbWmRFElm8p-SQbn2VAA:9 a=QEXdDO2ut3YA:10 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 91.136.10.94 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:239865 Archived-At: 5 sep. 2019 kl. 12.56 skrev Aur=C3=A9lien Aptel = : >=20 > Is this fully compatible with rx? Yes, that is the intention. If you find an incompatibility, please = report it. The compatibility includes the old `rx-constituents' = variable for extensions, which is used by python-mode. The new implementation is slightly more general where this made sense. = For instance, several forms that require at least one argument in = current rx can be used with zero args in the new code. (This includes = the `rx' macro itself.) Other than that, and the new extension mechanism, I've resisted the = temptation to add features, but I have a list of things that would be = useful to put in later on.