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 11:19:52 +0300 Message-ID: <8335558qc7.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> 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="14674"; 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 10:20:27 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 1pmViN-0003c3-8A for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Apr 2023 10:20:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pmVi0-0003E4-9R; Wed, 12 Apr 2023 04:20:04 -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 1pmVhz-0003Du-A6 for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 04:20: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 1pmVhy-000841-VN for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 04:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pmVhy-0003Hl-50 for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 04:20: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 08:20: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.168128755812569 (code B ref 62720); Wed, 12 Apr 2023 08:20:02 +0000 Original-Received: (at 62720) by debbugs.gnu.org; 12 Apr 2023 08:19:18 +0000 Original-Received: from localhost ([127.0.0.1]:38985 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmVhG-0003Ge-DW for submit@debbugs.gnu.org; Wed, 12 Apr 2023 04:19:18 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmVhE-0003GR-BR for 62720@debbugs.gnu.org; Wed, 12 Apr 2023 04:19:17 -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 1pmVh7-0007uw-1c; Wed, 12 Apr 2023 04:19:09 -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=B59uZMorFRppbMOI/iWn6j/xWNNoCbsZ9uKkAC5Uj/A=; b=f5iOc5kn0JS2YbNoCZMO yd731hOQjfPMOz79GE+FYs6M/Oy9BPZKyLGP872hThaMSXvBxJA8gOcgPTD5DriWhUqWdFItaJAQA pI52ugjwUgLR2NFR4a+gsFjpeWtlBylhTw9jmWBsVGAiZ0kNyi7fKqkYCyzgP9AW1T+54wb30eifu fW3dsnfn4wj9INNBT5LrE+Q3R6Hbiz+8oYZHTzD7tIMEZ4ATe+Rq1q6BRTKf8lgJdRIPHqE70jE/4 Q/pKwuE7LACAHRwOjQ4bIdxfJ/HTIIzgkzDoW7cNWcIf1rBqFGunWIqh4R7naM2+r8CkLG79SreBS PnPJ5Wdz3wJkjg==; 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 1pmVh6-0002iG-5B; Wed, 12 Apr 2023 04:19:08 -0400 In-Reply-To: <87h6tlleg0.fsf@gmail.com> (message from =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= on Wed, 12 Apr 2023 08:58:23 +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:259711 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 08:58:23 +0100 > > > From your POV of the Eglot maintainer, it might make sense. But from > > my POV, it doesn't: the problem here is general, and a solution is at > > hand that will give you what you want and also support all the other > > core packages. > > Your solution doesn't "give me what I want". If I add 'eglot-update' it > will work as a single command on every Emacs version from Emacs 26.3 > onwards. This new command you're proposing is for Emacs 29 only (and > will presumably be deprecated soon). Since you started by proposing a patch to package.el, that solution had the same issues with older Emacsen. IOW, that is a separate problem. In particular, Eglot is not bundled in those older Emacsen, so package.el should support updating Eglot just fine for those older versions. > So this is "what I want": smooth user experience with no new commands or > at least simple ones that don't require understanding emacs dev > concepts. If we want the solution be general, rather than having a separate update command for each core package, then there's a limit to what we can do to give this smooth user experience to users of older Emacsen. However, I don't think in this case there's a problem, see above. > I think 'package-update-core-package' is just unfortunate, because the > regular user doesn't care what the heck is core, and can you blame her? I disagree with your assessment. Moreover, I think such a command is needed anyway, for reasons other than the ones which prompted this bug report. > I can't stop you from adding it, of course. Have you thought how it > should behave when the package is no longer a core package, i.e. has > already updated? Yes, see my other messages. > I have to ask (though I can guess the answer): may I add 'eglot-update' > anyway to emacs-29 as a no-brainer shortcut in the meantime? I'd prefer not to have package-specific upgrade commands. I hope we will soon add to package.el on emacs-29 a new command that will allow users to update core packages, including Eglot, and that will solve the problem for users of Emacs 29 and later, where Eglot is bundled.