Subject: Re: bug#72160: 29.3; package buglet

From: Stefan Kangas <[email-masked]>
Date: Mon, 3 Mar 2025 16:58:34 -0800

Stefan Kangas <[email-masked]> writes:

> Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of
> text editors" <[email-masked]> writes:
>
>>> We can improve on that error message, but is there any use-case for
>>> denoting a package by a string?

Not sure why it was added, to be honest.

>> +1
>>
>> The error message is poor, but accepting strings here seems like it
>> would just encourage bad practices.

It turns out package-upgrade has only been with us for a short time (new
in Emacs 29.1), and was never explicitly documented to accept strings.

So I changed package-upgrade to no longer accept strings, and also
reverted my change in package-install too.  I improved the error
messages instead.