Subject: Re: bug#68668: 30.0.50; Invalid hash table test: tab-bar--auto-width-hash-test

From: Gerd Möllmann <[email-masked]>
Date: Wed, 31 Jan 2024 11:29:58 +0100

Andrea Corallo <[email-masked]> writes:

> Okay something very wierd hash related is going on here:
>
> If I evaluate:
>
> (progn
>   (describe-buffer-bindings (current-buffer))
>   (require 'comp)
>   (make-comp-data-container))
>
> I get
>
> #s(comp-data-container nil #s(hash-table test tab-bar--auto-width-hash-test))
>
> In place of the expected
>
> #s(comp-data-container nil #s(hash-table test comp-imm-equal-test))

That's get_hash_table_user_test in fns.c which only keeps the first
occurrence of user-defined hash tests which have the same definition.
Pretty confusing, IMO.