Subject: Re: bug#63345: 28.2; provided-mode-derived-p doesn't work when passed an alias in MODES

From: Stefan Monnier <[email-masked]>
Date: Sun, 07 May 2023 10:23:22 -0400

Hi Damien,

>>   (provided-mode-derived-p 'javacript-mode 'javascript-mode)
>>     ⇒ nil
>> Is that a bug?

I'd put it into "not a bug" because there really is a difference between
a mode and an alias to a mode (e.g. you can expect a mode to have
matching `<mode>-map`, `<mode>-hook`, ... vars).

But admittedly, this is a messy area.

What was the original scenario where you bumped into this problem?

        Stefan