From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.bugs Subject: bug#62720: 29.0.60; Not easy at all to upgrade :core packages like Eglot Date: Wed, 12 Apr 2023 07:44:20 +0000 Message-ID: <87bkjta6jv.fsf@posteo.net> References: <87a5zj2vfo.fsf@gmail.com> <87wn2modrm.fsf@posteo.net> <87ile6o2ov.fsf@posteo.net> <87y1mz38rl.fsf@posteo.net> <87ile2n0kn.fsf@gmail.com> <83r0sp8xih.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40889"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 62720@debbugs.gnu.org, Stefan Monnier , joaotavora@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 12 09:45:42 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 1pmVAi-000APN-8D for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Apr 2023 09:45:40 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pmVAA-0004oz-5p; Wed, 12 Apr 2023 03:45:06 -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 1pmVA7-0004oT-6n for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 03:45: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 1pmVA6-00009e-SZ for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 03:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pmVA6-0002CV-IW for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 03:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Apr 2023 07:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62720 X-GNU-PR-Package: emacs Original-Received: via spool by 62720-submit@debbugs.gnu.org id=B62720.16812854738385 (code B ref 62720); Wed, 12 Apr 2023 07:45:02 +0000 Original-Received: (at 62720) by debbugs.gnu.org; 12 Apr 2023 07:44:33 +0000 Original-Received: from localhost ([127.0.0.1]:38943 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmV9d-0002B5-3a for submit@debbugs.gnu.org; Wed, 12 Apr 2023 03:44:33 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:34003) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmV9a-0002AQ-OS for 62720@debbugs.gnu.org; Wed, 12 Apr 2023 03:44:31 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 3B71B240207 for <62720@debbugs.gnu.org>; Wed, 12 Apr 2023 09:44:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1681285465; bh=+AWVZmh7xn1p1VbOibk4yPY+ZduapnSr0hHy4XMI3VE=; h=From:To:Cc:Subject:Date:Autocrypt:From; b=ReI5F8pRx85lWAquauw7Eg84fE/eBPDWsIq5HCqhgjPbuufW5mtZPZAiOM8rYl43i p5kDXNrjQZQIynDTLXBpZwQt3viJt5cHoX+OdAMjyIZbf3oHng8QE6ya0uOjEoJu32 yqp3N9SxbZlMUadcIQYnsPlNYQuV99bVw2jMQHSN8RRo/Ka4UP47muhWLbowV0q3xZ yTfXzDxSG8KhKdMGf3loCQ/UwQWx6zYBzs5aOw6jvZ/FY3PGaPs9FsmRaL85dAWecu qeGXqxEvn8SSZCTUhwrPGTQGeHXnQ0TYiiQjAipBiw2MqhmE+AoXFw9g2XXCcJEHZj zxPiU9lG78fwA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PxF8l1x0yz9rxW; Wed, 12 Apr 2023 09:44:23 +0200 (CEST) In-Reply-To: <83r0sp8xih.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 12 Apr 2023 08:44:54 +0300") Autocrypt: addr=philipk@posteo.net; keydata= mDMEZBBQQhYJKwYBBAHaRw8BAQdAHJuofBrfqFh12uQu0Yi7mrl525F28eTmwUDflFNmdui0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiWBBMWCAA+FiEEDg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwMFCQHhM4AFCwkI BwIGFQoJCAsCBBYCAwECHgECF4AACgkQ8xYDWXahwulikAEA77hloUiSrXgFkUVJhlKBpLCHUjA0 mWZ9j9w5d08+jVwBAK6c4iGP7j+/PhbkxaEKa4V3MzIl7zJkcNNjHCXmvFcEuDgEZBBQQhIKKwYB BAGXVQEFAQEHQI5NLiLRjZy3OfSt1dhCmFyn+fN/QKELUYQetiaoe+MMAwEIB4h+BBgWCAAmFiEE Dg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwwFCQHhM4AACgkQ8xYDWXahwukm+wEA8cml4JpK NeAu65rg+auKrPOP6TP/4YWRCTIvuYDm0joBALw98AMz7/qMHvSCeU/hw9PL6u6R2EScxtpKnWof z4oM 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:259707 Archived-At: Eli Zaretskii writes: >> From: Stefan Monnier >> Cc: Philip Kaludercic , eliz@gnu.org, >> 62720@debbugs.gnu.org, Lars Ingebrigtsen >> Date: Tue, 11 Apr 2023 15:44:22 -0400 >> >> > Thanks. I've just tested 'M-x package-update-all' with my patch. It >> > updates the built-in and the manually installed packages that can be >> > updated. It _doesn't_ install any packages that weren't installed yet, >> > of course. >> >> Hmm... it might make sense to treat builtins specially in this respect. >> Of course, maybe it's OK, but for some reason I feel a bit uncomfortable >> with the idea that `M-x package-update-all` would update all the >> `:core` packages. >> >> I'm not sure why, admittedly, but I think it comes down to the fact that >> the first upgrade of a `:core` package from GNU ELPA feels to me more >> like an "install" than an "upgrade". > > Which means my proposal of adding a new command > package-update-core-package makes more and more sense: I am not sure that "core package" is necessarily a term or concept that users would be familiar with. Or at least I have seen users confused about the concept online, not realising that a core package can be updated via ELPA. How about something along the lines of `package-update-from-built-in'? > we will > probably need to handle such packages specially for any number of > reasons, more so as we go with our plan to have them only on ELPA and > "bundle" them when the release is tarred. Could you elaborate on this plan. Or perhaps I just lack the background to see how these issues are related? > So having such a command > now will be a good investment for the future. > > Philip, if this makes sense, would you please add such a command on > the emacs-29 branch? If the exact purpose and effects of the command > are not clear yet, let's talk about it and finalize that. Can do. This would prompt the user for a core package that hasn't been installed from ELPA yet, and would make sure the package instead of the core code is loaded? If there is no difference in version between the ELPA and the core package, should we say anything? > Thanks.