GNU bug report logs - #72160
29.3; package buglet

Previous Next

Package: emacs;

Reported by: Devon Sean McCullough <Emacs-hacker2023 <at> jovi.net>

Date: Wed, 17 Jul 2024 16:18:02 UTC

Severity: normal

Found in version 29.3

Fixed in version 31.1

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

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Devon Sean McCullough <Emacs-hacker2023 <at> jovi.net>
Cc: 72160 <at> debbugs.gnu.org
Subject: Re: bug#72160: 29.3; package buglet
Date: Sat, 1 Mar 2025 19:27:29 -0800
Stefan Kangas <stefankangas <at> gmail.com> writes:

>> (package-install "xr") ; (error "Package ‘xr’ is unavailable")
>> Should work like (package-install 'xr)
>> instead of erring with that awfully misleading error message.
>
> I was considering just improving the error message, however
> `package-upgrade` already accepts either a symbol or a string.
>
> So I changed this function to accept a string also, to be more
> consistent (commit 735eace97b8).

BTW, the other option here is to make the backwards-incompatible change
and make `package-upgrade` require only a symbol.

I'd personally be fine with that instead, but then that should probably
just lead to a warning at first, for a couple of versions or so.




This bug report was last modified 77 days ago.

Previous Next


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