From: immerrr again <immerrr@gmail.com>
To: "Mattias Engdegård" <mattiase@acm.org>
Cc: "Aurélien Aptel" <aurelien.aptel+emacs@gmail.com>,
emacs-devel <emacs-devel@gnu.org>
Subject: Re: New rx implementation with extension constructs
Date: Thu, 5 Sep 2019 15:34:09 +0300 [thread overview]
Message-ID: <CAERznn8X=W+941ofbwaS7Lis9E8THs2S=UM-8izoYyiSDFotYw@mail.gmail.com> (raw)
In-Reply-To: <792C9C4D-4C57-4393-9E3B-6166D6A1515E@acm.org>
On Thu, Sep 5, 2019 at 2:18 PM Mattias Engdegård <mattiase@acm.org> wrote:
>
>
> 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.
>
A bit of a shameless plug: a while ago I wrote a module that did a
similar thing, https://github.com/immerrr/ample-regexps.el.
Admittedly, I didn't have the time or the energy to get it to
completion, or even make it discoverable enough in its current state.
But maybe it can be useful for some inspiration at least.
next prev parent reply other threads:[~2019-09-05 12:34 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-02 21:19 New rx implementation with extension constructs Mattias Engdegård
2019-09-04 14:18 ` Mattias Engdegård
2019-09-04 17:03 ` Paul Eggert
2019-09-05 10:56 ` Aurélien Aptel
2019-09-05 11:17 ` Mattias Engdegård
2019-09-05 12:34 ` immerrr again [this message]
2019-09-05 19:04 ` Mattias Engdegård
2019-09-05 15:38 ` Noam Postavsky
2019-09-05 16:49 ` Mattias Engdegård
2019-09-06 14:09 ` Mattias Engdegård
2019-09-07 14:13 ` Noam Postavsky
[not found] ` <0E5A5E92-E48F-4003-A742-508663BA984A@acm.org>
2019-09-11 18:11 ` Mattias Engdegård
2019-09-17 12:53 ` Mattias Engdegård
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='CAERznn8X=W+941ofbwaS7Lis9E8THs2S=UM-8izoYyiSDFotYw@mail.gmail.com' \
--to=immerrr@gmail.com \
--cc=aurelien.aptel+emacs@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=mattiase@acm.org \
/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).