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?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= 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 17:29:37 +0100 Message-ID: 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> <834jpl6qi0.fsf@gnu.org> 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="33018"; mail-complaints-to="usenet@ciao.gmane.io" Cc: philipk@posteo.net, Dmitry Gutov , larsi@gnus.org, 62720@debbugs.gnu.org, monnier@iro.umontreal.ca To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 12 18:30:30 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 1pmdMc-0008Pm-DK for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Apr 2023 18:30:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pmdMF-0004Az-3l; Wed, 12 Apr 2023 12:30: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 1pmdMB-0004AP-Mt for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 12:30: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 1pmdMB-0005g2-6z for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 12:30:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pmdMB-0000zT-2B for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 12:30:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Apr 2023 16:30: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.16813169963767 (code B ref 62720); Wed, 12 Apr 2023 16:30:02 +0000 Original-Received: (at 62720) by debbugs.gnu.org; 12 Apr 2023 16:29:56 +0000 Original-Received: from localhost ([127.0.0.1]:41581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmdM3-0000yg-Md for submit@debbugs.gnu.org; Wed, 12 Apr 2023 12:29:55 -0400 Original-Received: from mail-oa1-f53.google.com ([209.85.160.53]:46744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmdM2-0000yR-AN for 62720@debbugs.gnu.org; Wed, 12 Apr 2023 12:29:54 -0400 Original-Received: by mail-oa1-f53.google.com with SMTP id 586e51a60fabf-1842e8a8825so14349159fac.13 for <62720@debbugs.gnu.org>; Wed, 12 Apr 2023 09:29:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681316988; x=1683908988; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=XUDLoiLczHUd3MoF+s7SaqCh23S/U2uysDyue+jTl/Q=; b=Y+z+M0S75MEt9mIOPWN/VyLrADLfo9eDzz3GHVFp1zCS1BuG+x88oWRo03Zk5z/APt 7pHwvd5g8wIQfpVPdn2lDaTg9NXxEbD1YBgEh09y/1jw05qQL9TBp3z0ot59UY2nQbxO Z95ISD45EC+qq4wz1cpa+hawbMONeClheKaBtmCuGF/IuURisqMXfkyt/ID0lD0PgJNn U8jZcBEXsfhAjXhKkVf2gevfSWgJrkRwAmFIpO9JkS6cOfa9Av+9ClxUy3Gr7oFW/PJV P4qGNvaNSGWdBdZkWIpaYLbqRBXYSxC9Ff4nIot1SuWXz5e/JlyfgMUZCxY4opH9IIlC lF+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681316988; x=1683908988; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XUDLoiLczHUd3MoF+s7SaqCh23S/U2uysDyue+jTl/Q=; b=UmkBd2qgfOOYbPi4w65s2T2hABYAftFJ5sF/UJjdV0HtQn4LNKBl3sQSpMI/qvmqYU KkXxB84kDJThQfCGT98sON+gW7iUeWMWVzQYh+OsfinAVRcia6JV+q+W4UGgyLyan4HG SOeG8ND6pAMJH9DKcvHkEsXs5g1K+dAN/UFdq9dRWcU7Vpoxgz3QHeJkXajtl2RWbpFg cD61rtlBrpSrSYLfJ4EvaMnWe6wfAGqU2fDpptiX3M0nNd+J9G+rso8zLGC59p4jVV2H udhPNND4zdHL2rpEX65rzH2ungalpS25z/7C6LS7FIebuUJmjy45TYJoGBsXhiBt/Xdz lb8A== X-Gm-Message-State: AAQBX9fTvB2l9SruF5OHIHXgvPWA1RIoCS31FSOXI+8QM111W5xfzYGt sqZMqchvduif9H3mLw3gatUa7luOqDkzoDev4As= X-Google-Smtp-Source: AKy350Yxiz/se7Rs+aTUECUZ6vediD8K9hTMkjOyahRk86CPa9/+SBN5NxMVe56LKJ+AYWKJSKZd96g+gtsUxNz5Vs0= X-Received: by 2002:a05:6870:524b:b0:186:d9e3:e279 with SMTP id o11-20020a056870524b00b00186d9e3e279mr1051447oai.5.1681316988550; Wed, 12 Apr 2023 09:29:48 -0700 (PDT) In-Reply-To: <834jpl6qi0.fsf@gnu.org> 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:259781 Archived-At: On Wed, Apr 12, 2023 at 4:58=E2=80=AFPM Eli Zaretskii wrote: > > >> Had another idea: what about this very tiny patch, then? It makes `= M-x > > >> package-install` work for installing a :core package. This also rhy= mes > > >> exactly with Stefan's intution/feeling that :core packages need to b= e > > >> "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=C3=A3o was proposing. AFAICT, Dmitry was asking only for package-update, not package-update-all. Stefan was also inclined for that. In my changes, I changed both. But it is not hard for me to touch only package-update and to do it with the utmost care for separation and stability. For the moment, I'm focusing on M-x package-install, like Philip is. There seems to be more consensus there that it should offer to update builtin packages that have never been updated. I do believe there is high demand for a "upgrade/update" mechanism that just "updates whatever there is to update, don't care if core or whatnot" and people looking at package-update-all and package-menu--mark-upgrades (the "U" command Dmitry brought up) will eventually be disappointed. Jo=C3=A3o