GNU bug report logs - #69739
30.0.50; `type-of` is not precise enough

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Mon, 11 Mar 2024 23:22:01 UTC

Severity: normal

Found in version 30.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 69739 <at> debbugs.gnu.org
Subject: bug#69739: 30.0.50; `type-of` is not precise enough
Date: Tue, 12 Mar 2024 15:58:08 +0200
> Cc: monnier <at> iro.umontreal.ca
> Date: Mon, 11 Mar 2024 19:19:40 -0400
> From:  Stefan Monnier via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> Still, any change as suggested here would be an incompatible change, so
> there's risk it'll break some code out there (`type-of` is not used very
> often, but it *is* used).  Another option is to introduce a new function
> which does the same as `type-of` but with changes like the ones above.
> (we could even decide to give it a `cl-generic-` prefix to discourage
> its use elsewhere so we can be more free to change its return value in
> the future).

I'd prefer a non-breaking change, if possible and reasonable.

Thanks.




This bug report was last modified 1 year and 120 days ago.

Previous Next


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