GNU bug report logs - #77725
31.0.50; Add support for types accepted by `cl-typep' to cl-generic?

Previous Next

Package: emacs;

Reported by: David Ponce <da_vid <at> orange.fr>

Date: Fri, 11 Apr 2025 07:16:01 UTC

Severity: normal

Found in version 31.0.50

Full log


Message #167 received at 77725 <at> debbugs.gnu.org (full text, mbox):

From: David Ponce <da_vid <at> orange.fr>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 77725 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: bug#77725: 31.0.50; Add support for types accepted by `cl-typep'
 to cl-generic?
Date: Mon, 5 May 2025 20:05:35 +0200
> Thanks, pushed to the branch.  I think the code is looking pretty good now.

Thank you, that's great!  And it's certainly largely thanks to you :-)

> I just have to decide how to integrate it into CL-Lib so it's loaded
> when we need it, and then we can push it to `master`.

That would be great.  Please let me know if I can help to test.

> The optimization on the dispatch is nice.  We could do even better and
> test only those types which have methods for the current generic
> function rather than for any generic function.  I thought I had a patch
> which provides that info to the `tagcode-function`, but sadly I was
> confused: the patch I have provides that info only to the
> `specializer-function`.  It can (and arguably should) be done, of
> course, but it requires a fair bit of changes to `cl-generic.el`.  🙁

I hope you find the time and motivation to improve cl-generic.el,
which certainly deserves to be used more.  I'm not sure I can help you
much in this area, but if you think I can help you, even if it's just
for testing, please don't hesitate to ask me; I'll be happy to
contribute, within my means.

Many thanks!
David




This bug report was last modified 10 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.