GNU bug report logs - #36707
[PATCH] Signal user-error on duplicate package refresh

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefan <at> marxist.se>

Date: Wed, 17 Jul 2019 18:03:01 UTC

Severity: minor

Tags: patch

Fixed in version 27.1

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


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

From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 36707 <at> debbugs.gnu.org
Subject: Re: bug#36707: [PATCH] Signal user-error on duplicate package refresh
Date: Thu, 18 Jul 2019 22:14:55 +0100
Stefan Kangas <stefan <at> marxist.se> writes:

> In the "*Packages*" buffer (M-x package-list-packages), if I hit "r" many times
> it will try to initiate more refreshes even if the first one has not finished
> yet.  This is unnecessary and potentially confusing.
>
> This patch makes it check if there is already an refresh in progress and signal
> a user-error if there is one.

Would it not be possible/better to discard the existing refresh and
start a new one, instead of signalling an error?  This would help
e.g. when a refresh hangs for whatever reason.

Thanks,

-- 
Basil




This bug report was last modified 5 years and 268 days ago.

Previous Next


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