From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Newsgroups: gmane.emacs.bugs Subject: bug#62720: 29.0.60; Not easy at all to upgrade :core packages like Eglot Date: Sat, 15 Apr 2023 23:16:54 +0200 Message-ID: <87edokyhfd.fsf@gmail.com> References: <87a5zj2vfo.fsf@gmail.com> <871qknllkj.fsf@posteo.net> <83fs934pjf.fsf@gnu.org> <87wn2fk47y.fsf@posteo.net> <83sfd2g2ek.fsf@gnu.org> <875y9yfxrr.fsf@gmail.com> <87y1muefks.fsf@gmail.com> <834jpifizy.fsf@gnu.org> <83y1mue1qi.fsf@gnu.org> <83sfd2e01f.fsf@gnu.org> <835y9xecvp.fsf@gnu.org> <87mt391lzq.fsf@gmail.com> <87o7nppf3y.fsf@gmail.com> <87h6th1d3d.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7291"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 62720@debbugs.gnu.org, rpluim@gmail.com, philipk@posteo.net, dmitry@gutov.dev, monnier@iro.umontreal.ca, Eli Zaretskii , larsi@gnus.org 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 Sat Apr 15 23:18:19 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 1pnnHl-0001ix-Mr for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Apr 2023 23:18:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pnnHb-0007rr-4T; Sat, 15 Apr 2023 17:18:07 -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 1pnnHW-0007rb-Nc for bug-gnu-emacs@gnu.org; Sat, 15 Apr 2023 17:18: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 1pnnHW-0006Kq-Fe for bug-gnu-emacs@gnu.org; Sat, 15 Apr 2023 17:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pnnHV-0005op-PO for bug-gnu-emacs@gnu.org; Sat, 15 Apr 2023 17:18:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Apr 2023 21:18: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.168159342422306 (code B ref 62720); Sat, 15 Apr 2023 21:18:01 +0000 Original-Received: (at 62720) by debbugs.gnu.org; 15 Apr 2023 21:17:04 +0000 Original-Received: from localhost ([127.0.0.1]:50227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pnnGa-0005ni-79 for submit@debbugs.gnu.org; Sat, 15 Apr 2023 17:17:04 -0400 Original-Received: from mail-wm1-f44.google.com ([209.85.128.44]:59533) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pnnGY-0005nB-MK for 62720@debbugs.gnu.org; Sat, 15 Apr 2023 17:17:03 -0400 Original-Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-3f086770a50so3641215e9.2 for <62720@debbugs.gnu.org>; Sat, 15 Apr 2023 14:17:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681593417; x=1684185417; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=TPDzR3s28wWQifoXRV6kdo6Ak++l2H0y97My/6eKkG8=; b=SxsPl6nFx8/c66+WozrsZo4xFR7puGD4zhbJhOKBQUYMubcsKMOa43zVg+R8LSMUoM WYTkGEOnrfE4/zQxlytovLWnVqScaM+8wSF3JHB4vTHfDE5nYcgIvyqctLBPBpqS14C+ OXXznbvzp7ysHgarzQdAConpempS6BKDK7LIbmyRy3xlyvQrLJ2iKKKF5f53O4y/NuFs T7AbxVFjIZ2bS7DuaZPwLgmhivJ4Mn6rPSvb7KbOpmzmzBh0tCxmmU6C9gliSU7WVAqA S9eBE0/jKfIdrRFgHD+Dg8fkrHnE1U7DSPr6BnByOxjRmVtzQg9FF8AYSQXF642Y8yBV IFEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681593417; x=1684185417; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=TPDzR3s28wWQifoXRV6kdo6Ak++l2H0y97My/6eKkG8=; b=Snx3fg1e72BdsqWLZUkjaneyzBZUIVE3AHtUTSFMAEBVJDu/yfq7ZcmhN24wr9/574 NKQA2Xwru//ig52Np6Y688X/gVusIVupsmNsEO3xFp6Tdl4nGga0ze/0hJff3uqQuWrx YWVIL342N94gDJzSzQnPV17f8Q+lZPBMwxTKvfohElyldtqFS0M54haVEjb/esBzNhmO 06KeE0NTUljxwzPheg2KGLYEVOYbeDTkF4SMien3YFzXN6KkzxqrEMiDdIwKOpuYEQKM 1bbUmSAj6ZIyVOlqzjRIJPhYo1XkwAvqQbniU2/X/sqMPxLPRBupBWCVF+UfNO6smCi3 Cpxw== X-Gm-Message-State: AAQBX9f+ntwDJDqCe9Msj9/D9xm04yftdFStPBRSW+Kb43RteUaHfgNw HJReV5aXXUyF76qyY2th/SY= X-Google-Smtp-Source: AKy350aDNH82IOymWxuloYlNfy7Skt2w7sbR3K1/ohgEfAu8mn5cZajmsX74dwODMtXzl3WaGjbSYg== X-Received: by 2002:a05:6000:1242:b0:2f9:95b4:450a with SMTP id j2-20020a056000124200b002f995b4450amr142797wrx.25.1681593416530; Sat, 15 Apr 2023 14:16:56 -0700 (PDT) Original-Received: from amdahl30 ([2a01:e0a:253:fe0:2ef0:5dff:fed2:7b49]) by smtp.gmail.com with ESMTPSA id l11-20020a5d480b000000b002f2783ba25asm6495837wrq.65.2023.04.15.14.16.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Apr 2023 14:16:55 -0700 (PDT) In-Reply-To: <87h6th1d3d.fsf@gmail.com> ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Sat, 15 Apr 2023 14:36:54 +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:260078 Archived-At: Jo=C3=A3o T=C3=A1vora writes: >> between Eli & Philip re. changing package-install or package-update >> makes me unsure what "U x" will actually do with eglot in Emacs 29, so >> my previous parenthesized digression might be moot. > > Alas U x in the package menu _also_ doesn't upgrade Eglot. And neither > does M-x package-update-all. I don't see any plans for doing so. Interesting; thank you and Dmitry for confirming my impression. This was perhaps the most surprising aspect of the equation IMO, although now it does not sound so bad since, IIUC from reading package.el, _once_ users manage to install eglot from ELPA (using Philip's pending user option), _then_ either method should let them fetch future upgrades transparently. ( Took me a couple of minutes to reach that conclusion; found it mildly confusing that package-update-all and package-menu-mark-upgrades each have their own heuristics for enumerating candidates. IIUC the former iterates through package-alist; the latter looks at all *Packages* lines with status =E2=88=88 '("installed" "dependency" "unsigned" "extern= al"). So once eglot becomes "installed" under package-user-dir, both methods should allow users to stay on top of new versions=E2=80=A6 ? Hope that's not my optimism skewing my reading of the code. ) ( Neither here nor there, but this whole discussion reminds me of bug#59005, where another :core package (transient) gets silently updated from ELPA if it's a dependency of a package that the user asks to install (magit). Assuming (a) I correctly understand what that other bug report is about (b) I correctly understand what Philip's patch does, ISTM that it will cause a behaviour change in that situation too? Not wholly sure about (a) nor (b) though, and even then, not wholly sure that the change would be for the worse, especially since there would now be a user option to make the desired behaviour explicit. )