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: acorallo <at> gnu.org, basil <at> contovou.net, 69739 <at> debbugs.gnu.org
Subject: bug#69739: 30.0.50; `type-of` is not precise enough
Date: Fri, 15 Mar 2024 17:18:43 +0200
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Cc: 69739 <at> debbugs.gnu.org
> Date: Fri, 15 Mar 2024 10:09:11 -0400
> 
> Eli Zaretskii [2024-03-15 13:50:56] wrote:
> > Should we document this new function in the ELisp manual?
> 
> I was thinking that we should do that only when/if we demote `type-of`
> (`(cl-)type-of` is an operation that's used very rarely, so I think it's
> best to keep it to a minimum in the manual),
> Of course, the name also begs the question whether it should be in the
> ELisp manual or in the CL manual.
> 
> In a previous version of the patch I had it documented alongside
> `type-of`, so I can easily dig that up if you think it's best.

Yes, I think we should document it near type-of, as the explanation
when and why to prefer cl-type-of is quite simple and easily
understandable.




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.