emacs-devel
[Top][All Lists]
Advanced

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

Re: Code for cond*


From: Manuel Giraud
Subject: Re: Code for cond*
Date: Wed, 24 Jan 2024 17:25:55 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Alan Mackenzie <acm@muc.de> writes:

> Hello, Richard.
>
> On Wed, Jan 17, 2024 at 22:37:47 -0500, Richard Stallman wrote:
>> [[[ To any NSA and FBI agents reading my email: please consider    ]]]
>> [[[ whether defending the US Constitution against all enemies,     ]]]
>> [[[ foreign or domestic, requires you to follow Snowden's example. ]]]
>
>> Here is the first draft of cond*.  I have tested some cases
>> but I ask others to help in testing it more thoroughly.
>
>> I invite constructive comments, bug reports, patches,
>> and suggestions.
>
> [ .... ]
>
> One thing I noticed was that the implementation makes no use of macros,
> except for a trivial macro which "renames" cond* itself.
>
> This is in contrase to pcase.el, which uses macros extensively,
> requiring lisp/emacs-lisp/macroexp.el to work.  In its turn macroexp.el
> uses pcase.  This leads to an unlovely artifice at bootstrap time.
>
> The macro in cond* can be expanded by Fmacroexpand in src/eval.c.  Thus,
> at bootstrap, condstar.el could simply be loaded before macroexpand.el.
>
> This is a Good Thing, and I'm sure it's not an accident.  Please keep
> this feature as cond* get amended and further developed.

This argument and the Po's one about the relatively small size of
condstar seem like good ones to me to have this option into Emacs.

But I also feel for the maintenance argument of Stefan K.
(just my two cents here of course)
-- 
Manuel Giraud



reply via email to

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