From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#62720: 29.0.60; Not easy at all to upgrade :core packages like Eglot Date: Sat, 22 Apr 2023 14:38:59 +0300 Message-ID: <624a26af-0c96-8d48-129f-79bc6a547ede@gutov.dev> References: <87a5zj2vfo.fsf@gmail.com> <87a5z3izst.fsf@web.de> <83v8hr7qk9.fsf@gnu.org> <83pm7z7nkc.fsf@gnu.org> <4b63ef62-5e1c-3dcf-ec7b-06b69e79133b@gutov.dev> <83o7nj7mfn.fsf@gnu.org> <556e0fbb-215e-c11d-0e8b-73e97441abbb@gutov.dev> <83pm7y6fdo.fsf@gnu.org> <47140c27-ba63-ca7b-8b9e-cc38a6f9a866@gutov.dev> <838rem636a.fsf@gnu.org> <83leil4u63.fsf@gnu.org> <8a9d0e2b-6ae2-bcdc-efd0-52a44ac862bb@gutov.dev> <83h6t94hru.fsf@gnu.org> <7676c8d2-1324-31e7-38b3-de167ecf683a@gutov.dev> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13788"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Cc: jporterbugs@gmail.com, philipk@posteo.net, 62720@debbugs.gnu.org, 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 22 13:40:18 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 1pqBbE-0003LR-DG for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 22 Apr 2023 13:40:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pqBb2-0003nW-PX; Sat, 22 Apr 2023 07:40: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 1pqBb1-0003nL-HY for bug-gnu-emacs@gnu.org; Sat, 22 Apr 2023 07:40: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 1pqBb0-000543-Ty for bug-gnu-emacs@gnu.org; Sat, 22 Apr 2023 07:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pqBb0-0007mB-Eh for bug-gnu-emacs@gnu.org; Sat, 22 Apr 2023 07:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Apr 2023 11:40: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.168216355129821 (code B ref 62720); Sat, 22 Apr 2023 11:40:02 +0000 Original-Received: (at 62720) by debbugs.gnu.org; 22 Apr 2023 11:39:11 +0000 Original-Received: from localhost ([127.0.0.1]:41993 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqBaA-0007kv-Ib for submit@debbugs.gnu.org; Sat, 22 Apr 2023 07:39:10 -0400 Original-Received: from new2-smtp.messagingengine.com ([66.111.4.224]:43483) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqBa9-0007kk-K2 for 62720@debbugs.gnu.org; Sat, 22 Apr 2023 07:39:10 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 7014B58219D; Sat, 22 Apr 2023 07:39:04 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sat, 22 Apr 2023 07:39:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1682163544; x=1682167144; bh=0Qt8PNKXXOxQ0A1mWk2H5Q0MGa3x3EJhMrx NwBiUG3c=; b=G/Tps/ixZ2ZQed1R2I9SRKI5wG7J41BUXtuRkrtPYqFIexLx4HJ l981OFW0zy+58iSXPY76nQkP83/3Sp4kWf4rtM8q23I6TxYEfd3v8Fe22ekYpZH9 YutwE1O4DXu+9xUw8gcpg2CD2iu6IBr4lasobhHo8u4S/H0G/HE7lcHOScuDEQTK xoDybvomCo/kLHupBY/W1Z/Jn+MtfL8a76GRjfPxQL4KPW9n2WOljlX5Cz+UPKtX HGKO5MSE1DBpYuYK2JV3eo8zkTapWfU0iQ/CgDzgTYU7f5gaXOv5/i4Pt+MuT7B5 mGHuUCNmOM9K5Ro6q46W8gJOj4SgQ+az7hQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1682163544; x=1682167144; bh=0Qt8PNKXXOxQ0A1mWk2H5Q0MGa3x3EJhMrx NwBiUG3c=; b=GhgPEwrBpvY+hjtJ6cToNTolO3OwocvPky9T2adPGaxAUKzmrnl cTqfWZlvw2PbkCWUy7ifycmvKehHE96GMLogoP5QGc+EpjyRxAix6oMClMKowHID dRXUgAkmF2e1GSMQMSaQFiohfceMG8ZbgizO3YM1eCNCG7MQTB8MUfhdVtySxzJ5 JfjGp04JOMPmH8YMv2mrzAHS8bOzyo59rDPsv4nr5M8j4t0U6DfF4v/3QLVr+3pn hRuBRZdowvcrffluRi82azBRtWeo2lOrE9IGihVBZslG82EVfGHadxrA1D6Jw9D8 FwPI+UfIW2bNYVGIbV1YdNw2Y4KW58Vjnwg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfedtiedggeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhephfffheeljeffgeffueeghfekkedtfffgheejvdegjeettdduheeufffggfef jeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 22 Apr 2023 07:39:01 -0400 (EDT) Content-Language: en-US In-Reply-To: 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:260463 Archived-At: On 22/04/2023 03:57, João Távora wrote: > Then there are the things I can't change, like users trying out > a new init.el file, a very common operation -- be it for bug > reproduction or just to try something out. Also note that > package-delete + package-install interactively is a pretty good way > to update packages in Emacs 28: no need to nuke the home directory. It's as good a workaround for ignorance as any, but if we think it's okay for a user to do that (a relatively large manual operation), perhaps we can guide them to do a 'package-install' from list-packages instead. But the difference from Emacs 28 is indeed unfortunate, no argument there. Or if the new option stays around, I guess you could be recommending they customize it first? > If you "dont buy this", that's OK :-) I'm not trying to sell it to you > specifically. I don't think we'll have torches and pitchforks either, > but we're not really talking about "spacebar overheating" here. > > Note that I also don't really buy, personally, the "furtive update of > :core packages" argument either. My reasoning is that that cat has > been out of the bag for a long long, just because of dependencies which > are absolutely liberally by package.el and the fact tha I've never seen > a bug reported about this. I don't have a strong opinion one way or the other, but this part seems to be worth treating conservatively, I think. This close to release, etc. We might as well switch to the "update all the cores!" model later, but hopefully by that time we have a good CI setup that tests the compatibility of all core packages with all Emacs versions they are supposed to support. > I buy even less that people using M-x package-update in Emacs 29 > don't want to update :core packages just because it doesn't do > that right now. For me, it's obvious people weren't using to > update :core packages because that command lived in master > for the large part of its short life and in master :core packages > don't need any updating, by definition. But of course fact that I > don't buy it shouldn't mean that it should be disregarded (and > noone is advocating for that). This one I'm trying to fix, currently. > The last two patches I provided aim to aid Eglot users (lightly, > as you've discovered, since the use-package use case is not well > covered in the first one, and there's still the error behaviour > to ponde). But, more importantly they are designed so that no > cats that weren't previously out of the bag make it outside > the bag Do you prefer that package-install-upgrade-built-in (together with the behavior of package-install it enables) stays around? One possible alternative I mentioned, is package-install could grow another programmatic parameter which would mean "install the very latest version". The users will then need to evaluate (package-install 'eglot nil t) for that to happen. Also a breaking change in instructions, though, since in Emacs 28 this will error. Another gotcha with the latter, is that if some version from ELPA is already installed, they will get two versions installed as a result.