GNU bug report logs - #76590
'package-menu--refresh' should account for -archives and -pinned-packages

Previous Next

Package: emacs;

Reported by: Ship Mints <shipmints <at> gmail.com>

Date: Wed, 26 Feb 2025 15:29:02 UTC

Severity: normal

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Ship Mints <shipmints <at> gmail.com>, 76590 <at> debbugs.gnu.org
Subject: Re: bug#76590: 'package-menu--refresh' should account for -archives
 and -pinned-packages
Date: Wed, 26 Feb 2025 16:46:50 +0000
Ship Mints <shipmints <at> gmail.com> writes:

> I noticed that I have to force a refresh via 'package-refresh-contents'
> after changing either 'package-archives' or 'package-pinned-packages' as
> 'package-menu--refresh' accounts only for changes to
> 'package--old-archive-priorities'.
>
> If agreed, I'd be happy to submit a patch so that package.el will honor
> changes to variables in between refreshes, and "invalidate" the implied
> cache.
>
> -Stephane

Do you have a recipe to reproduce it?




This bug report was last modified 80 days ago.

Previous Next


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