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.devel Subject: Re: emacs-29 9b775ddc057 1/2: ; * etc/EGLOT-NEWS: Fix wording of last change. Date: Sat, 6 May 2023 18:26:11 +0300 Message-ID: References: <168335548287.8529.4912240840977468283@vcs2.savannah.gnu.org> <20230506064443.56C75C22F15@vcs2.savannah.gnu.org> <59835735-faa0-4096-e491-35ec92964b7a@gutov.dev> <831qjthhm8.fsf@gnu.org> <715cdac6-83f6-6907-2ff8-3b33381f3487@gutov.dev> <83zg6hg29c.fsf@gnu.org> <83ttwpfvcr.fsf@gnu.org> 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="5771"; 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: emacs-devel@gnu.org To: Eli Zaretskii , =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 06 17:26:54 2023 Return-path: Envelope-to: ged-emacs-devel@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 1pvJoB-0001I7-Ss for ged-emacs-devel@m.gmane-mx.org; Sat, 06 May 2023 17:26:52 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pvJng-0001Jk-NI; Sat, 06 May 2023 11:26:20 -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 1pvJnf-0001I4-83 for emacs-devel@gnu.org; Sat, 06 May 2023 11:26:19 -0400 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pvJnc-0006Hu-Sx; Sat, 06 May 2023 11:26:18 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 2E8315C010B; Sat, 6 May 2023 11:26:15 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sat, 06 May 2023 11:26:15 -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= 1683386775; x=1683473175; bh=iHiE0rl0XoVg1jkBbTYuj9OwikbnnYGmb/Y 1tw/Qzbg=; b=BgNvD6UBTyy+4DiL4UfHZiQqooMJZUYP+VxsMsxHkp7H4SBTumm U7bycrsyfQKrdhsR74ePOKvCQKbfUoTTvoMttUcDT8J1zUc4EQOgncoOhPEFFFQD f55oFj8bEbRBuzJB9N5PDJ54XsdjvdpTNQcDEYjMVfzFH9/j7pNqid9TS9ucPvka qNPip0BvDQN3SoweyJoTy7DVNINLG+bvhvohuqLx4BLo7XXz6Q4zEUsl2m/8di0C jbu3/3eGfoKy0X0rqZ2sceoaNG0cW0/drIEVfJNNqRqIjOtNB+/6d2ybiQvDYLxb KHHzKZZ77Qz9ndfE6dsYuZ8qzQEJ6alnCSw== 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= 1683386775; x=1683473175; bh=iHiE0rl0XoVg1jkBbTYuj9OwikbnnYGmb/Y 1tw/Qzbg=; b=UiBI6G/XGzIl1bPcpI8puKWSUcTbZBvDJzPGjKIjI/w6AwOk6q7 kUli0ynJ1mFBt2KEX1/wadr5V6ZqTz3t1XiGbrRhbUhNFvDtRhuDCJUOWGoCcY8f 8jJCJZqsUgcF5Ii7H2vgKaXK/Fj2nlIxI5vAEWE/JdRu9lDVCtTw21kN3pLO2oan xM77hTrPAS7UaClvnTTVkAyofoe3Q/VLUke5YAjV+d6ZNhSbAgPIL5eBWNYKjSsl 03uMFzBnKWk9CtUe4VOyb+kmGKIT2UZXWa5Gi+n2NzvO35MCKaWkLHfItqSiQGfo SEFnV6BFpPrFo2Bs/AZta3vnNknMjYBNQAw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeefgedgieeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhephfffheeljeffgeffueeghfekkedtfffgheejvdegjeettdduheeufffggfef jeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 6 May 2023 11:26:13 -0400 (EDT) Content-Language: en-US In-Reply-To: <83ttwpfvcr.fsf@gnu.org> Received-SPF: pass client-ip=66.111.4.29; envelope-from=dmitry@gutov.dev; helo=out5-smtp.messagingengine.com X-Spam_score_int: -70 X-Spam_score: -7.1 X-Spam_bar: ------- X-Spam_report: (-7.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-4.28, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:305911 Archived-At: On 06/05/2023 16:22, Eli Zaretskii wrote: >> From: João Távora >> Date: Sat, 6 May 2023 14:03:02 +0100 >> Cc: Dmitry Gutov , emacs-devel@gnu.org >> >> On Sat, May 6, 2023 at 11:52 AM Eli Zaretskii wrote: >> >>> I'm surprised, to say the least. To recap: >>> >>> . the entire discussion of bug#62720, of which this is fallout, was >>> about allowing package-install to upgrade Eglot, and according to >>> João, that's what package-install did before Emacs 29. Was this >>> all based on a mistake? if so, why no one has said so in all that >>> long argument?? >> >> >> One more time: in Emacs 28 package-install doesn't upgrade, >> but it installs the latest, which is incompatible behaviour >> if you move to Emacs 29, where that won't happen. > > Is this for Eglot (and use-package), or is this for any package > installed from ELPA? IOW, does Emacs 29's package-install still > install the latest version of a package from ELPA? And does that > happen even if some older version of a package is already installed? Like Joao said: Yes to the first, no to the second. Meaning, 'M-x package-install' will install the latest version (or some available version) from ELPA, if the package is not installed. If some version of it is installed from ELPA (!) already, 'M-x package-install' won't upgrade. >> So if you're used to setting up a brand new Emacs 28 and >> package-install Eglot to get versions with nice features and >> bugfixes, you may be dismayed to find that doing the very >> same thing in Emacs 29 results in what will probably be a >> old version. > > Are you talking about users who didn't update their Eglot, except when > a new Emacs version was released? Or are you talking about users who > updated Eglot from ELPA (using package-install) even between Emacs > releases? Or are you talking about something else entirely? He is mostly talking about users who e.g. wiped their config directory and ~/.emacs.d/elpa and are starting anew. Or just deleted ~/.emacs.d/elpa/eglot-xxxxxx. In that situation, indeed, 'M-x package-install' will install the latest version from ELPA. In Emacs 29, however, it won't. Because one version of Eglot is available already (built-in). I'm pretty sure I have outlined this twice already, not too long ago. Prefacing the first message with an apology, saying I had been previously confused myself.