GNU bug report logs - #63800
30.0.50; [ELPA] Inaccurate installation instructions for built-in packages

Previous Next

Package: emacs;

Reported by: Ihor Radchenko <yantar92 <at> posteo.net>

Date: Tue, 30 May 2023 08:01:02 UTC

Severity: normal

Found in version 30.0.50

Full log


View this message in rfc822 format

From: Ihor Radchenko <yantar92 <at> posteo.net>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 63800 <at> debbugs.gnu.org
Subject: bug#63800: [elpa] elpa-admin 1d766451f8: Suggest `package-install' to install packages (bug#63800)
Date: Thu, 13 Jul 2023 13:35:53 +0000
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

>> There is no bug in Emacs here. Just on ELPA page providing instructions
>> that are not working for :core packages.
>
> I still think there's a bug in there because the behavior may not be
> what the user expects.  Maybe `package-install` should be improved so
> that, instead of doing nothing it tells or prompts the user about the
> possibility to upgrade the package (presumably only do it when called interactively).

AFAIU, one of the problems is that already installed packages do not
even show up in the completion and one cannot enter
M-x package-install <RET> org <RET>. The last <RET> will only trigger
completion window where org is not listed at all.

But wasn't this discussed in the past? There was quite a lengthy
discussion about this in the past (I did not quite follow it until the
end).

>> I could also put the `list-packages' suggestion behind check if the
>> package is :core or not.
>
> That would be best.  Even better would be to provide instructions we
> don't have to be ashamed of.  E.g. replace `package-install` with
> `package-upgrade` for packages that are in-core.

package-upgrade is not available in any of the released Emacs versions.
Do note that some people still use ELPA to install packages for Emacs
26.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>




This bug report was last modified 1 year and 176 days ago.

Previous Next


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