bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#46917: 28.0.50; error when unloading feature after loading elp


From: Stefan Monnier
Subject: bug#46917: 28.0.50; error when unloading feature after loading elp
Date: Fri, 05 Mar 2021 12:18:55 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>> It's because it's supposed to be a "list of qualifiers".
> The three ones that are supported, though, are mutually exclusive, I think?
>> Strictly speaking, the set of possible qualifiers can be changed by
>> adding a new method to `cl-generic-combine-methods`.
> Perhaps that should be mentioned somewhere.  :-)

Except that it's a bad hook, really, because there's not much on
which you can "dispatch" nor can you satisfactorily use the result of
`cl-call-next-method`, so all you can do is override the default with
a fresh new implementation.

I think it's just barely sufficient so you can use a different method
combination for specific generic functions (i.e. we could implement
something like CLOS's support for specifying in `defgeneric`
a particular method combination to use for that generic function), but
it's not sufficient to be able to extend the set of qualifiers supported
"by default".


        Stefan






reply via email to

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