Subject: Re: bug#77725: 31.0.50; Add support for types accepted by `cl-typep' to cl-generic?

From: David Ponce <[email-masked]>
Date: Wed, 14 May 2025 10:47:57 +0200

On 2025-05-14 04:39, Stefan Monnier wrote:
>> -  (unless (fboundp 'cl--define-derived-type)
>> +  (when (fboundp 'cl--define-derived-type)
> 
> Duh!
> 
> 
>          Stefan
> 

It's better now, thanks for committing the fix. But I'm still not sure
about the current behavior.

After "make bootstrap", run "emacs -Q" and evaluate the below recipe
in the *scratch* buffer:

cl--derived-type-list
=> nil

(require 'cl-lib)
=> cl-lib

cl--derived-type-list
=> nil

(require 'cl-macs)
=> cl-macs

cl--derived-type-list
=> (real command keyword extended-char base-char character natnum)

So, to create the predefined derived types, it seems that cl-macs
needs to be explicitly loaded. I wonder if this is the expected
behavior?

David