emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cond*


From: Ihor Radchenko
Subject: Re: cond*
Date: Sat, 06 Jan 2024 13:09:47 +0000

Richard Stallman <rms@gnu.org> writes:

> ...
> What Emacs really implements in search is numbered groups.
> So that was the easiest thing to implement in `rx'.
>
> But if it is possible to implement the named variables for thisin
> pcase, surely they can be implemented in `rx' too.
>
> How about if we add them to `rx'?  WDYT?

May you please elaborate how you see named variables in `rx'?

`rx' is a macro that transforms a sexp into string regexp. It does not
introduce let-bindings. So, I do not see any context to put named
variables within `rx' itself.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]