unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org, stefankangas@gmail.com, monnier@iro.umontreal.ca
Subject: Re: Ugly regexps
Date: Thu, 4 Mar 2021 16:25:58 +0200	[thread overview]
Message-ID: <469cc46c-5e0e-cd98-dc62-67f29139d9a2@yandex.ru> (raw)
In-Reply-To: <E1lHgpY-0001sO-0F@fencepost.gnu.org>

On 04.03.2021 07:47, Eli Zaretskii wrote:
>> From: Dmitry Gutov <dgutov@yandex.ru>
>> 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?

Not "more". Just make an extra (fairly small) effort to accommodate them.

> 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.

The 'ere' function would be helpful to have in the core either way. As 
already mentioned in this thread, I have been using an equivalent of it 
for 5 years now.

> 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.

Perhaps if contributors didn't have to fight you about every little 
thing they need to change or fix (or if you responded to arguments, at 
least), we'll get more features over time. This is especially 
discouraging when the disagreement is over a minor change in a package I 
supposedly maintain (bug#44611 is the most glaring example).

I can't threaten to slam the door and leave every time this happens, but 
this kind of malarkey sucks out a significant amount of time and enthusiasm.



  parent reply	other threads:[~2021-03-04 14:25 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-03  0:32 Ugly regexps Stefan Monnier
2021-03-03  1:32 ` Stefan Kangas
2021-03-03  2:08   ` Stefan Kangas
2021-03-03  6:19     ` Eli Zaretskii
2021-03-03 20:46   ` Alan Mackenzie
2021-03-04 18:35     ` Stefan Kangas
2021-03-03  6:00 ` Eli Zaretskii
2021-03-03 15:46   ` Stefan Monnier
2021-03-03 16:30     ` Eli Zaretskii
2021-03-03 17:44       ` Stefan Monnier
2021-03-03 18:46         ` Stefan Kangas
2021-03-03 19:21           ` Eli Zaretskii
2021-03-03 19:50             ` Stefan Kangas
2021-03-03 20:16               ` Stefan Kangas
2021-03-03 19:50             ` Stefan Kangas
2021-03-03 19:58             ` Dmitry Gutov
2021-03-03 20:07               ` [External] : " Drew Adams
2021-03-03 20:31                 ` Stefan Kangas
2021-03-03 22:17                   ` Drew Adams
2021-03-03 22:32                     ` Stefan Monnier
2021-03-03 20:32                 ` Stefan Monnier
2021-03-04  5:47               ` Eli Zaretskii
2021-03-04 10:49                 ` Lars Ingebrigtsen
2021-03-04 11:25                   ` Mattias Engdegård
2021-03-04 11:28                   ` Alan Mackenzie
2021-03-04 14:11                   ` Eli Zaretskii
2021-03-04 14:25                 ` Dmitry Gutov [this message]
2021-03-04 14:50                   ` tomas
2021-03-04 15:04                     ` Dmitry Gutov
2021-03-05  5:45                       ` Richard Stallman
2021-03-05 11:47                         ` Dmitry Gutov
2021-03-06  5:11                           ` Richard Stallman
2021-03-04 15:05                     ` Dmitry Gutov
2021-03-04 15:11                   ` Eli Zaretskii
2021-03-03 19:32           ` [External] : " Drew Adams
2021-03-03  7:09 ` Helmut Eller
2021-03-03 14:11   ` Stefan Kangas
2021-03-03 16:40     ` Stefan Monnier
2021-03-03 15:49   ` Stefan Monnier
2021-03-03 12:17 ` Dmitry Gutov
2021-03-03 15:48   ` Stefan Monnier
2021-03-03 13:57 ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=469cc46c-5e0e-cd98-dc62-67f29139d9a2@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=stefankangas@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).