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 14:08:09 +0300 Message-ID: <83o7nt73za.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> 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="5255"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 62720@debbugs.gnu.org, philipk@posteo.net, monnier@iro.umontreal.ca To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 12 13:08:24 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 1pmYKt-0001DR-AC for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Apr 2023 13:08:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pmYKZ-0004Dr-JJ; Wed, 12 Apr 2023 07:08:03 -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 1pmYKY-0004DV-3J for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 07:08:02 -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 1pmYKX-00034F-On for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 07:08:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pmYKX-0002jl-Iv for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 07:08:01 -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 11:08:01 +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.168129766510494 (code B ref 62720); Wed, 12 Apr 2023 11:08:01 +0000 Original-Received: (at 62720) by debbugs.gnu.org; 12 Apr 2023 11:07:45 +0000 Original-Received: from localhost ([127.0.0.1]:39185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmYKG-0002jC-JR for submit@debbugs.gnu.org; Wed, 12 Apr 2023 07:07:44 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmYKD-0002iy-Ro for 62720@debbugs.gnu.org; Wed, 12 Apr 2023 07:07:43 -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 1pmYJx-0002wR-6y; Wed, 12 Apr 2023 07:07:35 -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=iINLrJb1MrLaubF6wPEdw39gh4gVJ5M7qdxUEg6knE8=; b=JObqdUBtTtch2NzDjtJR TCtReXKRIH/SYYrfLzsW+9LmbMlVFaETU3rfwlNS7Fl6fpmTzUVHfdm5DzQxBDUM6crywX0EkPLG3 ZdfrqHTWhjA+r+TAfXOaOYwxJ5aJLlsTtDSP9kUuThC/e+P4sIcTY9yR80tj464lL6oUqse4e7InB 89/8ksl04/wVo0E+zns8bgSb8NRexcRUUpnM98YjPtCsqj0iKzecbg4eew51C/cK3aGxgDJW2o8vX YyZREv7qTJNvmWnnzV20i2wXbNEbJ52KNcdGBI5+lboUGx3IRaC5GKj0Bcc665/bWBUiLVVrvwXwx EFm3NLKtvjoyZA==; 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 1pmYJw-00084V-Gw; Wed, 12 Apr 2023 07:07:24 -0400 In-Reply-To: <87zg7djrgr.fsf@gmail.com> (message from =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= on Wed, 12 Apr 2023 12:00:04 +0100) 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:259724 Archived-At: > 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? So I still think a special command for updating a core package will be a better, safer solution, and the reasons for that are more than just this one, as mentioned up-thread.