GNU bug report logs - #78844
30.1; feature request: public interface for querying builtin packages and versions

Previous Next

Package: emacs;

Reported by: Xiyue Deng <manphiz <at> gmail.com>

Date: Thu, 19 Jun 2025 23:46:05 UTC

Severity: wishlist

Found in version 30.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 78844 <at> debbugs.gnu.org, spwhitton <at> spwhitton.name, Xiyue Deng <manphiz <at> gmail.com>
Subject: bug#78844: 30.1; feature request: public interface for querying builtin packages and versions
Date: Sat, 28 Jun 2025 11:38:29 -0400
> The renaming could be fine if the intended users of this API will
> indeed only want to know about versioned built-in packages, and won't
> care about those who have no versions.  Is that in fact true?  If so,
> why aren't unversioned packages important?

FWIW, I'd consider it an error if an entry in
`package--builtin-versions` has a nil "version".
There are no such things as "unversioned packages" in this respect.
So, I think the code is OK but the docstring should not mention that
we return nil for packages without a version.


        Stefan





This bug report was last modified 27 days ago.

Previous Next


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