unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: 63800@debbugs.gnu.org
Subject: bug#63800: [elpa] elpa-admin 1d766451f8: Suggest `package-install' to install packages (bug#63800)
Date: Thu, 13 Jul 2023 12:59:05 -0400	[thread overview]
Message-ID: <jwv1qhbwy4c.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87ilaolyrq.fsf@localhost> (Ihor Radchenko's message of "Thu, 13 Jul 2023 13:35:53 +0000")

>>> 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).

Indeed, but I think the discussion did not take a step back to think
about what the UI should be in a more general sense (IIRC it was
focused on "what should we do right now for `emacs-29`").

>>> 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.

But for those, the instructions have been wrong for years anyway, so I'm
not too worried :-)


        Stefan






  reply	other threads:[~2023-07-13 16:59 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <168924107008.19431.1227792773208531915@vcs2.savannah.gnu.org>
     [not found] ` <20230713093750.A9D48C06C6F@vcs2.savannah.gnu.org>
     [not found]   ` <jwvwmz4c78b.fsf-monnier+emacs@gnu.org>
     [not found]     ` <874jm8neeu.fsf@localhost>
2023-07-13 13:28       ` bug#63800: [elpa] elpa-admin 1d766451f8: Suggest `package-install' to install packages (bug#63800) Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-13 13:35         ` Ihor Radchenko
2023-07-13 16:59           ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2023-07-13 17:22             ` Ihor Radchenko
2023-07-13 18:55               ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-13 19:00                 ` Ihor Radchenko
2023-07-13 17:26             ` bug#63800: M-x package-install, upgrading, and dealing with :core packages (was: [elpa] elpa-admin 1d766451f8: Suggest `package-install' to install packages (bug#63800)) Ihor Radchenko
2023-07-13 17:26           ` bug#63800: [elpa] elpa-admin 1d766451f8: Suggest `package-install' to install packages (bug#63800) Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-13 17:42             ` Ihor Radchenko
2023-09-01 11:56               ` Ihor Radchenko
2023-09-01 12:53                 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-08  8:46                   ` Ihor Radchenko
2023-09-08 18:57                     ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-10-12 12:38                       ` Ihor Radchenko
2023-12-12 12:09                         ` Ihor Radchenko
2023-12-20 23:23                         ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-22 11:29                           ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv1qhbwy4c.fsf-monnier+emacs@gnu.org \
    --to=bug-gnu-emacs@gnu.org \
    --cc=63800@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=yantar92@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).