GNU bug report logs - #76978
31.0.50; Archive information not displayed for installed packages in *Packages* buffer

Previous Next

Package: emacs;

Reported by: david <davidimagid <at> gmail.com>

Date: Wed, 12 Mar 2025 13:25:02 UTC

Severity: normal

Found in version 31.0.50

Full log


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

From: david <davidimagid <at> gmail.com>
To: Philip Kaludercic <philipk <at> posteo.net>
Cc: 76978 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>,
 Stefan Monnier <monnier <at> iro.umontreal.ca>,
 Stefan Kangas <stefankangas <at> gmail.com>
Subject: [PATCH] package.el: Add built-in version check and loaded package
 marking
Date: Tue, 18 Mar 2025 17:57:35 -0400
[Message part 1 (text/plain, inline)]
Hello everyone, this is the corrected patch incorporating suggestions
from Philip and Stefan.  I also changed "activated" to "loaded", as
the latter is more accurate for marking packages in the "Other
versions" section.

I’m submitting this patch to enhance `describe-package` by adding
information about the currently loaded package and improving the
built-in version check.  Since "Other versions" already displays the
current version of the package, I’ve added a "loaded" marker to
indicate which version is loaded in the current Emacs session.

This patch for `package.el` introduces two improvements:

1. The package menu now compares the built-in version of a package
with the available version.  If the available version is newer, the
status is set to "available"; otherwise, it is marked as "built-in".
This helps users identify when updates are available for built-in
packages.

2. Packages listed in the "Other versions" section are now marked with
", loaded" if they are currently loaded in the Emacs session.  This
provides clarity on which versions are in use.

I’d appreciate your feedback and suggestions for integrating this
corrected patch into the master branch.

[0001-package.el-Add-built-in-version-check-and-loaded-pac.patch (text/x-patch, attachment)]

This bug report was last modified 88 days ago.

Previous Next


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