Hi Stefan, Stefan Monnier 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