From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#62720: 29.0.60; Not easy at all to upgrade :core packages like Eglot Date: Fri, 14 Apr 2023 15:52:35 +0200 Message-ID: <87y1muefks.fsf@gmail.com> References: <87a5zj2vfo.fsf@gmail.com> <875ya1tdwf.fsf@posteo.net> <83edop6sdy.fsf@gnu.org> <831qkp6o0i.fsf@gnu.org> <83wn2h5825.fsf@gnu.org> <87wn2gkhzr.fsf@posteo.net> <83cz485oxi.fsf@gnu.org> <87leiwdyff.fsf@posteo.net> <834jpk5hih.fsf@gnu.org> <871qkom3fj.fsf@posteo.net> <83mt3b4yfc.fsf@gnu.org> <87edonlsxi.fsf@posteo.net> <83jzyf4vzb.fsf@gnu.org> <871qknllkj.fsf@posteo.net> <83fs934pjf.fsf@gnu.org> <87wn2fk47y.fsf@posteo.net> <83sfd2g2ek.fsf@gnu.org> <875y9yfxrr.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="7590"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Philip Kaludercic , 62720@debbugs.gnu.org, Eli Zaretskii , larsi@gnus.org, 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 Fri Apr 14 15:53:25 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 1pnJrh-0001pw-6U for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Apr 2023 15:53:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pnJrR-00067i-43; Fri, 14 Apr 2023 09:53:09 -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 1pnJrM-00065Q-Ct for bug-gnu-emacs@gnu.org; Fri, 14 Apr 2023 09:53:04 -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 1pnJrK-0001VE-Ju for bug-gnu-emacs@gnu.org; Fri, 14 Apr 2023 09:53:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pnJrK-0003kx-Eh for bug-gnu-emacs@gnu.org; Fri, 14 Apr 2023 09:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Apr 2023 13:53: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.168148036514415 (code B ref 62720); Fri, 14 Apr 2023 13:53:02 +0000 Original-Received: (at 62720) by debbugs.gnu.org; 14 Apr 2023 13:52:45 +0000 Original-Received: from localhost ([127.0.0.1]:45854 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pnJr3-0003kQ-GO for submit@debbugs.gnu.org; Fri, 14 Apr 2023 09:52:45 -0400 Original-Received: from mail-wm1-f47.google.com ([209.85.128.47]:55268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pnJr1-0003k9-Ab for 62720@debbugs.gnu.org; Fri, 14 Apr 2023 09:52:43 -0400 Original-Received: by mail-wm1-f47.google.com with SMTP id q5so10366158wmo.4 for <62720@debbugs.gnu.org>; Fri, 14 Apr 2023 06:52:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681480357; x=1684072357; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=PqZ6G7BtgUxe8hfbZTIV1nq6fzMloe4tSOVtA3J2Q7Y=; b=eLov9zzyX2Zd2b/MqBJ2Ytn0CWe8ySDrFAH5Gkf7WSho5EnOwdmHEYsgD1Z8d314cK dM/ZgReYXmxxkdB0cCunfj6+zKgebPEZdSh8zcwe6JWC4z9OEjTIi5kwFz9SYdD42MF+ djKRJBCg0V3TnoRTLjohszV0zgvICpvKXz6YxLL+M034rVWrHU0w8RQ/nLBMnspsILsP DvySaO829px+tb6OCUz2o9aW8Uvm0pp7EVsVFC0fW/eoSQNOsN8Nr0FgUR7bN91i/OeE zU13r8KlCSWjCI453XlJSbUcpQGJdAYykqMZEQFJaq6C5CWPs+KXqDNXjMGAPcU8OSEt McNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681480357; x=1684072357; h=content-transfer-encoding:mime-version: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=PqZ6G7BtgUxe8hfbZTIV1nq6fzMloe4tSOVtA3J2Q7Y=; b=JH+pfe37sGN0v7JL2Fb5zghTGglshvvL4AfuWFVtpxuQLYbaUPRRn3rBLcONnnhNUd sdELtzab+KW0ogp3/1LTegGT3X1oBm5Byy4Evqxv/ll9/IfFT4yxSqDMwN0kYQJRxw6O axRazzTj5EqBMflxFNVaAtGmeVQSqT/lanvJK8XG3DodRgzPpt+yJvePB0YihlWf7ZxH grAEUQrhWKbZ+m6ggWLcijMRioYVjZnyoFQGE2FcJH0+Vz8OIfv0ZDUZVbw5THk1LK2k xiFPySj9qf7GbIVtrm017vK9etTYP0PJW+UagyaYsNO8Ufzx0R/RjBqkCk9m/34RaboC tgEw== X-Gm-Message-State: AAQBX9eCf2P4ZFh2Zxyoh1vORBpTN/hisxAVfqeNFpHNwNhN8y9duGZo 1XGkOc7TDv85bgurmSYkMi4= X-Google-Smtp-Source: AKy350ZrmKDNkbjfuIzieL93tVvO0oXTEuaHrkjFjLrkV0855J1fnpHKiR8MoGD7z2uYF4RnaTb6Dw== X-Received: by 2002:a7b:ce19:0:b0:3f0:7dd1:8e4b with SMTP id m25-20020a7bce19000000b003f07dd18e4bmr4344761wmc.6.1681480356845; Fri, 14 Apr 2023 06:52:36 -0700 (PDT) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id m9-20020a05600c160900b003f0b1c4f229sm1289418wmn.28.2023.04.14.06.52.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Apr 2023 06:52:36 -0700 (PDT) In-Reply-To: ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Fri, 14 Apr 2023 13:56:05 +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:259916 Archived-At: >>>>> On Fri, 14 Apr 2023 13:56:05 +0100, Jo=C3=A3o T=C3=A1vora said: Jo=C3=A3o> On Fri, Apr 14, 2023 at 1:34=E2=80=AFPM Robert Pluim wrote: >> So on master if I upgrade all packages, ':core' packages would be >> automatically upgraded as well? Jo=C3=A3o> By definition, all :core packages in master are already at t= heir Jo=C3=A3o> newest version. >> I strongly object to that as a >> default; just because there=CA=BCs a newer version on elpa of a :core Jo=C3=A3o> I really planned to sit this one out, but I'd like to make Jo=C3=A3o> sure people understand the implications of what they're aski= ng for. Jo=C3=A3o> On Emacs 26, 27, 28 if the user has Jo=C3=A3o> (package-install 'some-package-now-in-core) Jo=C3=A3o> in her configuration, it gets upgraded to the most recent ve= rsion Jo=C3=A3o> there is. In subsequent forms, the config can start doing s= tuff with Jo=C3=A3o> the variables and definitions in 'some-package-now-in-core',= etc. Jo=C3=A3o> And the user can enjoy the newest features and bugfixes. Jo=C3=A3o> On Emacs 29 and later, the very same config will do nothing Jo=C3=A3o> and even probably/possibly break with an error. Jo=C3=A3o> Furthermore, the subtle problem will grow more serious and Jo=C3=A3o> bizarre as time goes on and "some-package-now-in-core" evolv= es. Jo=C3=A3o> It might not break for users who upgrade to 29 next month Jo=C3=A3o> and break for users who upgrade to 29 in 6 months' time, bec= ause Jo=C3=A3o> "some-package-now-in-core" will have evolved significantly. >> package doesn=CA=BCt mean emacs should upgrade to it unless *explici= tly* >> told to do so. I have no objection to catering to people who have already asked for the installation of a package that is now :core. But one that wasn=CA=BCt installed explicitly (ie it=CA=BCs only there because Emacs now ships it) shouldn=CA=BCt be upgraded. Jo=C3=A3o> I really don't understand why M-x package-install RET Jo=C3=A3o> RET isn't explicit enough. But I gu= ess a Jo=C3=A3o> a confirmation prompt could be logical. I haven't followed Jo=C3=A3o> all mails, maybe someone has proposed that? I don=CA=BCt know. I=CA=BCd be fine with that. Jo=C3=A3o> As for non-interactive package-install, I guess that finding= an Jo=C3=A3o> explicit `package-install` somewhere in the configuration is= reason Jo=C3=A3o> enough to assume that the user meant for it to have the mean= ing Jo=C3=A3o> and effect it has always had before she upgraded to a version Jo=C3=A3o> where the same package happens to be in :core, and that mean= ing is Jo=C3=A3o> "upgrade to the newest". I think we=CA=BCre pretty much in agreement :-) Robert --=20