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


Message #29 received at 69739 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 69739 <at> debbugs.gnu.org
Subject: Re: bug#69739: 30.0.50; `type-of` is not precise enough
Date: Wed, 13 Mar 2024 13:55:33 +0200
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Cc: 69739 <at> debbugs.gnu.org
> Date: Tue, 12 Mar 2024 11:39:56 -0400
> 
> I think that marking it obsolete wouldn't be an option if the new
> function is named something like `cl-generic-type-of`: it would have to
> be a more "neutral" name.

I just picked up your own suggestion.  I'm not wedded to that name, so
if there are better alternatives, let's hear them.

> The reason why I'd like to make it obsolete (if it can't be changed) is
> to try and avoid having two slightly-different functions where most
> users don't actually care about the difference.

Sure, but we don't usually declare such APIs obsolete the very day the
better one is introduced.  We usually let the community some time to
adjust, and maybe tell us where our ideas were wrong or need some
adjustments.




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.