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: M-x package-install, upgrading, and dealing with :core packages (was: [elpa] elpa-admin 1d766451f8: Suggest `package-install' to install packages (bug#63800)) Date: Thu, 13 Jul 2023 17:26:39 +0000 Message-ID: <878rbjd8og.fsf@localhost> References: <168924107008.19431.1227792773208531915@vcs2.savannah.gnu.org> <20230713093750.A9D48C06C6F@vcs2.savannah.gnu.org> <874jm8neeu.fsf@localhost> <87ilaolyrq.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="6210"; 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 19:27:30 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 1qK06D-0001Lw-V7 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Jul 2023 19:27:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qK05p-0002dT-Gp; Thu, 13 Jul 2023 13:27: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 1qK05n-0002dC-0G for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2023 13:27:03 -0400 Original-Received: from [2001:470:142:5::43] (helo=debbugs.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qK05m-00034B-Ko for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2023 13:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qK05m-0006jD-Gc for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2023 13:27: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 17:27: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.168926919925813 (code B ref 63800); Thu, 13 Jul 2023 17:27:02 +0000 Original-Received: (at 63800) by debbugs.gnu.org; 13 Jul 2023 17:26:39 +0000 Original-Received: from localhost ([127.0.0.1]:40775 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qK05P-0006iF-DZ for submit@debbugs.gnu.org; Thu, 13 Jul 2023 13:26:39 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:42957) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qK05M-0006hx-VA for 63800@debbugs.gnu.org; Thu, 13 Jul 2023 13:26:38 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id E10F9240029 for <63800@debbugs.gnu.org>; Thu, 13 Jul 2023 19:26:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1689269190; bh=g/8ZImruN1+d9BCcbDgTOryXVRf+pjGOgHcWj3vIuhg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=By1qnm1lJniOyy9+L7bYJ0hqgspxZi/efNtO/x1ZSQ6pcyZj12md84COVTzuoBzy5 BIaw1DHI6ZUQeCJvOHP2g9QOAXuK/GWPm/dgShYrJ9RIsdGCyYX9Gmnyy0QJDSBPMF Q6VOag78Wq7bWUNyQTjzO61yWRetGIL4O/y5BsP2XY35W2/qcPrx8ZZENnIvyUM+hr XCv4j47GAIA8IF6UC7e204FSLIa0SMKJb7R4/eAU1Nvd6WIo9HZUWU63RLkMYJ16vd wTy5eztzC2VUdEM+LMQv++ikD0UnCmoqVlZf1W5eshKG2bXoYjMcLAID97u+T9MT8d SAnoElf4TvN7A== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4R21jy3PLwz9rxN; Thu, 13 Jul 2023 19:26:30 +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:265037 Archived-At: Stefan Monnier writes: >> 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). > > 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`"). Then, M-x package-install may (1) Remove REQUIRE-MATCH from its interactive `completing-read' call. (2) If the package is built-in and :core on ELPA, ask to run package upgrade (y/n) - something like "Package foo is already installed. New version is available on ELPA. Upgrade? (y/n)" (3) Fall back to user-error that package is not found otherwise. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at