From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#63800: [elpa] elpa-admin 1d766451f8: Suggest `package-install' to install packages (bug#63800) Date: Thu, 13 Jul 2023 09:28:22 -0400 Message-ID: References: <168924107008.19431.1227792773208531915@vcs2.savannah.gnu.org> <20230713093750.A9D48C06C6F@vcs2.savannah.gnu.org> <874jm8neeu.fsf@localhost> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23284"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 63800@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 13 15:29:19 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 1qJwNj-0005nA-2q for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Jul 2023 15:29:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qJwNX-0006DT-2s; Thu, 13 Jul 2023 09:29:08 -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 1qJwNU-0006DJ-7q for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2023 09:29:04 -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 1qJwNT-000867-7U for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2023 09:29:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qJwNS-0000Wk-5R for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2023 09:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Jul 2023 13:29: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.16892549211984 (code B ref 63800); Thu, 13 Jul 2023 13:29:02 +0000 Original-Received: (at 63800) by debbugs.gnu.org; 13 Jul 2023 13:28:41 +0000 Original-Received: from localhost ([127.0.0.1]:53596 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qJwN7-0000Vw-8S for submit@debbugs.gnu.org; Thu, 13 Jul 2023 09:28:41 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:49698) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qJwN2-0000VX-37 for 63800@debbugs.gnu.org; Thu, 13 Jul 2023 09:28:39 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 761171000C3; Thu, 13 Jul 2023 09:28:30 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 5848710009E; Thu, 13 Jul 2023 09:28:29 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1689254909; bh=In0WccLhXyhON2Vq4WBnVK+frRDRKS9qxV8REmB6maE=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=FEaqmorx8/Zs4g7gj2UaT2wszFVGb92FjOdy3ymh1XZKTsYNJ8D/p7RcL5aXOSNPB UVTU25V2zwKQyCQ1ohRJNqu6DEhEhSzGJR2ErQVof8vdyVeMksehS35W3TLuIYcL39 M6UUydnCRG/w1ITywAJxk7GyGNviYDRPUse/xisrDmiYHygSvZ3uXTwQ/R/6/EuUl4 3hrTE5VTKjEA8nSpOVSlrdpfo4BIJfk/NTL9K0TpredMyJPX2kQYmywk14m4UmPmK2 QbEVLUDcvKwiTvxsqfuSortrDT5hX5Y3UEIuC+2n21lsVYzm2yxs6Zh5o6ypRYivyH x8Y9qhTQJBN3w== Original-Received: from pastel (69-165-150-192.dsl.teksavvy.com [69.165.150.192]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 37624120213; Thu, 13 Jul 2023 09:28:29 -0400 (EDT) In-Reply-To: <874jm8neeu.fsf@localhost> (Ihor Radchenko's message of "Thu, 13 Jul 2023 13:12:41 +0000") 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:265020 Archived-At: >> But this should be motivated by a preference, not by a bug (which we >> should fix instead) > 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). >> .... , and not by something that only affects a tiny >> minority of packages (otherwise, change the above code so it only >> affects those very few packages). > 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. Stefan