From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#63800: [elpa] elpa-admin 1d766451f8: Suggest `package-install' to install packages (bug#63800) Date: Thu, 13 Jul 2023 13:35:53 +0000 Message-ID: <87ilaolyrq.fsf@localhost> References: <168924107008.19431.1227792773208531915@vcs2.savannah.gnu.org> <20230713093750.A9D48C06C6F@vcs2.savannah.gnu.org> <874jm8neeu.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23880"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63800@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 13 15:36:16 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qJwUQ-0005sI-6o for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Jul 2023 15:36:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qJwUH-0008Na-6J; Thu, 13 Jul 2023 09:36:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qJwUF-0008Lu-5o for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2023 09:36:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qJwUE-0003xo-Sv for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2023 09:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qJwUE-0000m6-F9 for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2023 09:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Jul 2023 13:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63800 X-GNU-PR-Package: emacs Original-Received: via spool by 63800-submit@debbugs.gnu.org id=B63800.16892553552959 (code B ref 63800); Thu, 13 Jul 2023 13:36:02 +0000 Original-Received: (at 63800) by debbugs.gnu.org; 13 Jul 2023 13:35:55 +0000 Original-Received: from localhost ([127.0.0.1]:53605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qJwU6-0000lf-O8 for submit@debbugs.gnu.org; Thu, 13 Jul 2023 09:35:55 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:46347) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qJwU3-0000lK-OU for 63800@debbugs.gnu.org; Thu, 13 Jul 2023 09:35:53 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id B673724002A for <63800@debbugs.gnu.org>; Thu, 13 Jul 2023 15:35:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1689255345; bh=Rcl8Ek553ClcBrLCOtthrcM7pH6ukAruqVSJCtjZoY4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=dKVLfdehsz4KjEWXjYIF9WyMDn8TobRvctaP55wOvfH4FsXZZrycQtdy3I+SHYyFi ot0Ip95Db3dVRozj7rV4XLW9gY6QGW3mPoUx7i/TimFDr2nx4NSXKEzmSgB5tISjL+ UCu704IGTYv9vjJs4TCbSreb/xDFSAJK2iTSNpREam43yYF93q4xXvlqSwvWq0HEvv eq/gZD2pYgdi09jT8QgpyWtwnB248EhiyahX6YRcaeyjvdkYm5XCz5yXqBlU0k3YXD 6unAInqcapb2ICUVY+CuOkbCI+bY0OreK9zorvgluUK9K+zZbj1lQg7/t0pqkk5944 J63CM8B74eLrg== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4R1wbh5fSvz9rxG; Thu, 13 Jul 2023 15:35:44 +0200 (CEST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:265022 Archived-At: Stefan Monnier 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 org . The last 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 . Support Org development at , or support my work at