From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "Perry E. Metzger" Newsgroups: gmane.emacs.devel Subject: Re: modern regexes in emacs Date: Fri, 15 Feb 2019 18:35:13 -0500 Message-ID: <20190215183513.1399f02f@jabberwock.cb.piermont.com> References: <20180616123704.7123f6d7@jabberwock.cb.piermont.com> <87po0qs6re.fsf@gmail.com> <83r2c9m8yj.fsf@gnu.org> <17581DA9-7DCA-432E-A2E8-E5184DFA8B4B@acm.org> <20190215114728.0785e891@jabberwock.cb.piermont.com> <20190215175405.GA5438@ACM> <83lg2gnbky.fsf@gnu.org> <3D5EA6AB-F0DA-4B66-8592-A111C906B3AE@acm.org> Mime-Version: 1.0 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="163520"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Elias =?ISO-8859-1?Q?M=E5rtenson?= , emacs-devel@gnu.org, philippe.vaucher@gmail.com, jaygkamat@gmail.com, Alan Mackenzie , Eli Zaretskii To: Mattias =?ISO-8859-1?Q?Engdeg=E5rd?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 16 00:36:26 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.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gun1u-000gNd-Fa for ged-emacs-devel@m.gmane.org; Sat, 16 Feb 2019 00:36:26 +0100 Original-Received: from localhost ([127.0.0.1]:48827 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gun1t-0006WS-Ae for ged-emacs-devel@m.gmane.org; Fri, 15 Feb 2019 18:36:25 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57100) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gun0l-0006Bw-PK for emacs-devel@gnu.org; Fri, 15 Feb 2019 18:35:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gun0k-0002sO-Tb for emacs-devel@gnu.org; Fri, 15 Feb 2019 18:35:15 -0500 Original-Received: from hacklheber.piermont.com ([2001:470:30:84:e276:63ff:fe62:3400]:55970) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gun0j-0002o5-Nt; Fri, 15 Feb 2019 18:35:13 -0500 Original-Received: from snark.cb.piermont.com (localhost [127.0.0.1]) by hacklheber.piermont.com (Postfix) with ESMTP id 58194F2; Fri, 15 Feb 2019 18:35:13 -0500 (EST) Original-Received: from jabberwock.cb.piermont.com (jabberwock.cb.piermont.com [10.160.2.107]) by snark.cb.piermont.com (Postfix) with ESMTP id 3FD1C3C2001; Fri, 15 Feb 2019 18:35:13 -0500 (EST) In-Reply-To: <3D5EA6AB-F0DA-4B66-8592-A111C906B3AE@acm.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2001:470:30:84:e276:63ff:fe62:3400 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:233404 Archived-At: On Fri, 15 Feb 2019 19:43:15 +0100 Mattias Engdeg=C3=A5rd wrote: > 15 feb. 2019 kl. 19.36 skrev Eli Zaretskii : > >=20 > > I proposed to have a separate set of functions that will accept > > PCRE syntax. That would allow everyone to have what they want: > > you to use the "classic" regexps, and those who want PCRE to have > > that. Where's the problem with that? =20 >=20 > If I read the petitioners correctly, they want a global setting > that permits them to type a(b|c) instead of a\(b\|c\) in > isearch-forward-regexp and all other interactive commands. A > separate set of functions would be to hand them a box of > replacement transistors and some solder. That's hardly true. Rebinding a couple of functions is no work at all. Note that I'm one of the people who wants the distinct functions. If need be, we can give people a function to call to rebind everything one way or the other but it is hardly a big deal even without it. Perry --=20 Perry E. Metzger perry@piermont.com