From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Ugly regexps Date: Thu, 04 Mar 2021 00:47:24 -0500 Message-ID: References: <83pn0g6ajq.fsf@gnu.org> <83v9a8jj2x.fsf@gnu.org> <83mtvkjb6c.fsf@gnu.org> <96182b13-f921-6f91-0cdc-320f54ed16bf@yandex.ru> Reply-To: Eli Zaretskii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29758"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, stefankangas@gmail.com, monnier@iro.umontreal.ca To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Mar 04 06:48:12 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lHgqK-0007dt-78 for ged-emacs-devel@m.gmane-mx.org; Thu, 04 Mar 2021 06:48:12 +0100 Original-Received: from localhost ([::1]:49556 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lHgqJ-0008UH-8H for ged-emacs-devel@m.gmane-mx.org; Thu, 04 Mar 2021 00:48:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52956) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lHgpZ-00083i-PU for emacs-devel@gnu.org; Thu, 04 Mar 2021 00:47:25 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52572) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lHgpY-0006Lx-DW; Thu, 04 Mar 2021 00:47:24 -0500 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1lHgpY-0001sO-0F; Thu, 04 Mar 2021 00:47:24 -0500 In-Reply-To: <96182b13-f921-6f91-0cdc-320f54ed16bf@yandex.ru> (message from Dmitry Gutov on Wed, 3 Mar 2021 21:58:17 +0200) 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:265931 Archived-At: > From: Dmitry Gutov > Date: Wed, 3 Mar 2021 21:58:17 +0200 > Content-Language: en-US > Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org > > On 03.03.2021 21:21, Eli Zaretskii wrote: > > And ERE isn't? > > To be fair, extended regular expressions are the regular expressions > flavor most commonly used in the contemporary world, recent/popular > programming languages, etc. > > So for a lot of people this won't be +1 thing to learn. So we are now going to cater to users of other programs more than we cater to Emacs users who are used to the Emacs RE syntaxes? How does that make sense? Do other programs prefer the Emacs RE syntax to their own? We have rx for many years, and just recently enhanced it significantly. I fail to see how it would make sense to introduce yet another RE syntax into Emacs, with all the overhead that brings with it. Maybe it could make sense as an ELPA add-on, but not in core. More generally, I wish we stopped investing so much of our time and energy in cleanups and other support tasks, and more to add significant new applications and editing features. That would make more users happier, I think.