From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii 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 18:59:19 +0300 Message-ID: <834jpl6qi0.fsf@gnu.org> References: <87a5zj2vfo.fsf@gmail.com> <87wn2modrm.fsf@posteo.net> <87ile6o2ov.fsf@posteo.net> <87y1mz38rl.fsf@posteo.net> <87ile2n0kn.fsf@gmail.com> <83v8i2abqi.fsf@gnu.org> <87wn2ilgx7.fsf@gmail.com> <83a5ze9uc1.fsf@gnu.org> <831qkq9rpy.fsf@gnu.org> <83pm898xb9.fsf@gnu.org> <87h6tlleg0.fsf@gmail.com> <8335558qc7.fsf@gnu.org> <83sfd5761f.fsf@gnu.org> <87zg7djrgr.fsf@gmail.com> <83o7nt73za.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18904"; mail-complaints-to="usenet@ciao.gmane.io" Cc: philipk@posteo.net, 62720@debbugs.gnu.org, larsi@gnus.org, joaotavora@gmail.com, monnier@iro.umontreal.ca To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 12 17:59:13 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 1pmcsL-0004di-1o for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Apr 2023 17:59:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pmcsC-0005d4-Vo; Wed, 12 Apr 2023 11:59: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 1pmcsB-0005cv-88 for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 11:59: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 1pmcsA-0007GC-To for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 11:59:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pmcsA-00061C-E6 for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 11:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Apr 2023 15:59: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.168131512623102 (code B ref 62720); Wed, 12 Apr 2023 15:59:02 +0000 Original-Received: (at 62720) by debbugs.gnu.org; 12 Apr 2023 15:58:46 +0000 Original-Received: from localhost ([127.0.0.1]:41079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmcrt-00060X-Gj for submit@debbugs.gnu.org; Wed, 12 Apr 2023 11:58:45 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33016) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmcrs-00060F-0h for 62720@debbugs.gnu.org; Wed, 12 Apr 2023 11:58:44 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pmcrk-00078Q-GG; Wed, 12 Apr 2023 11:58:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=XAXRUA6AHbSrwTM9xNh6HW+vwsIhlziCOx1E+XfgRF8=; b=CcJfXKN9nlW8++svVvua gCOs821PsaEujUui0o4fpoIG4dNAdSs2m/6Gg9Fx0xMr9a6+JrynuBtWuakk0O6sqGm2YmMuzUOfg XE3QFYsihmOzYCayE+9Y8kbB5bqh1np3YtN4JLE8hq2G51h6uv4rizUGqI8wXR9hG2jVM6yTfXmvg N+vbhU/XIkXtGzSmWry9SRtoAbgxhcSZOSfefLf7OuBvtKplQxzrlBClhPEhh+YlQ1tNjYLcnTWCj YVxYuH/JwHN8L1qYqTxYreEzGnNtAcs0vco43T7cf6Ke2r1OYaZma0M0/G3tg8FcNVfOZ8Eynd7Sv 5aAPoSHo+QVNAw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pmcrj-0000Zm-Hq; Wed, 12 Apr 2023 11:58:36 -0400 In-Reply-To: (message from Dmitry Gutov on Wed, 12 Apr 2023 18:49:09 +0300) 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:259776 Archived-At: > Date: Wed, 12 Apr 2023 18:49:09 +0300 > Cc: larsi@gnus.org, 62720@debbugs.gnu.org, philipk@posteo.net, > monnier@iro.umontreal.ca > From: Dmitry Gutov > > On 12/04/2023 14:08, Eli Zaretskii wrote: > >> From: João Távora > >> Cc:philipk@posteo.net,monnier@iro.umontreal.ca,62720@debbugs.gnu.org, > >> larsi@gnus.org > >> Date: Wed, 12 Apr 2023 12:00:04 +0100 > >> > >> Had another idea: what about this very tiny patch, then? It makes `M-x > >> package-install` work for installing a :core package. This also rhymes > >> exactly with Stefan's intution/feeling that :core packages need to be > >> "installed" to promote them to installable. The current M-x > >> package-install recommendation could remain flawlessly and then you can > >> do whatever you think is best for M-x package-update & friends. > > This has the same problem: it modifies a function that is called in > > too many places. package-installed-p has half a dozen callers in > > package.el alone. The change is tiny, but what about its > > implications on every use case where it is involved? > > What if we only fix 'package-upgrade' (nee package-update) in emacs-29? I believe that's what João was proposing. I don't mind, but changes in package-update will also need to be safe enough, since this command, while new in Emacs 29, is with us for the last year, so is relatively well tested, and I don't want to risk breaking it by last-minute changes of a non-trivial nature.