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: Xiyue Deng <manphiz <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 78844 <at> debbugs.gnu.org, Sean Whitton <spwhitton <at> spwhitton.name>
Subject: bug#78844: 30.1; feature request: public interface for querying builtin packages and versions
Date: Tue, 24 Jun 2025 16:45:29 -0700
[Message part 1 (text/plain, inline)]
Hi Stefan,

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

>> This is mainly used for external tooling.  Having a list of
>> bundled/builtin packages and versions can help distribution package
>> manager, e.g. APT in Debian, to manage dependencies easier (as mentioned
>> in my first email).  We need to generate the package information and
>> store it in the Debian package info for those tools to use as they
>> cannot query Emacs in runtime.
>
> Ah, I see, so you really want to export the whole of
> `package--builtin-versions` rather than just the list of builtin
> packages.  This way you can later test for specific packages and/or
> versions without running Emacs (modulo compatibility between Emacs's
> notion of ordering between versions and that of what your external tool
> uses).
>

Exactly.  Thanks for confirming!

Updated patch attached.

>
>         Stefan
>

-- 
Regards,
Xiyue Deng
[0001-Add-public-interfaces-for-accessing-builtin-package-.patch (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]

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.