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: Stability of core packages (was: Not easy at all to upgrade :core packages like Eglot) Date: Thu, 20 Apr 2023 05:04:23 +0300 Message-ID: References: <87a5zj2vfo.fsf@gmail.com> <83r0sh8i1q.fsf@gnu.org> <35638c9d-e13f-fad8-5f95-ea03d65d4aa2@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> 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="10098"; 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: Eli Zaretskii , arne_bab@web.de, jporterbugs@gmail.com, emacs-devel To: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 20 04:05:20 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 1ppJfj-0002N6-V9 for ged-emacs-devel@m.gmane-mx.org; Thu, 20 Apr 2023 04:05:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ppJez-0000vt-M3; Wed, 19 Apr 2023 22:04:33 -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 1ppJex-0000vK-Hh for emacs-devel@gnu.org; Wed, 19 Apr 2023 22:04:31 -0400 Original-Received: from new3-smtp.messagingengine.com ([66.111.4.229]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ppJeu-0007JJ-JM; Wed, 19 Apr 2023 22:04:31 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.nyi.internal (Postfix) with ESMTP id 118035823A6; Wed, 19 Apr 2023 22:04:27 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Wed, 19 Apr 2023 22:04:27 -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= 1681956267; x=1681959867; bh=CqsZtSoU9d4WRVPMsYQBmKwrQSCAPVCJTbV 7R989lUM=; b=Bbc/wbXhOUpISaMp2IMRF4n4N/9JJQX8V6+wNH7352h1iGGQzTj 8DKFq9F6sjiPax+cYX37aJjsF511jUQvobFE4Z6cD7t+ayk43Xne9T/1IcbKL7U3 AsmeoJz8ITVFHH43ddML6NMmw0ltGfjdZnNIpufLG5ynJUCR+9HaYShRxfi7xkls JmxRNjwT6tA8xsVd5bRFDRDkq2wGSStAgMrArfaMW+7E+5aS6qtV1uEofFDV2qAg Kb3BSxha0OMJ5otZCMrd7Mw3EOUjbYlBYUisi0wIjj4UIcVTyMRfAdRwGysH/TgX KyK0k/oegbkNoMgvf2aRpYpQNBmID9Mf1VQ== 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= 1681956267; x=1681959867; bh=CqsZtSoU9d4WRVPMsYQBmKwrQSCAPVCJTbV 7R989lUM=; b=JAV/cLBbr2aSFjJk6DZfx8Y7ugI7uaJxPvtapknQaXJJMS4eLVh 9QKk6SyveGG6BqGILPbMDpheWHNB1+gBetSNjWFA1SkblXJCTr/WWDxhzZ86Mbjy kXfwTBeVSuCryeXAlCBYlWrqqPsNk2+OVowuv19wHVT6Y+RlLc8BDogV6sHuCA1n sO/US2X+/CUvAVHG77vvp+d7cSrxq3ee+1mxBTExPRu7u9Yn9VGBrmPw3a7aBo6J dg46rmcnXAdxJt1PRH++snp/yH2Y7P+xJ4cvte7oL/D5BItG050FVpSAEfJwNid4 Nxvadf+e614X2UixZLV2MmAJD/+qMcy5+xQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfedtuddgheegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhephfffheeljeffgeffueeghfekkedtfffgheejvdegjeettdduheeufffggfef jeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 19 Apr 2023 22:04:25 -0400 (EDT) Content-Language: en-US In-Reply-To: Received-SPF: pass client-ip=66.111.4.229; envelope-from=dmitry@gutov.dev; helo=new3-smtp.messagingengine.com X-Spam_score_int: -53 X-Spam_score: -5.4 X-Spam_bar: ----- X-Spam_report: (-5.4 / 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=-2.597, 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:305481 Archived-At: On 20/04/2023 04:49, João Távora wrote: >> Not to say it's a bad project (I'll try to migrate my authored packages >> to it one day, since it seems to make that natural), but for an average >> user? I don't think so. > > I don't know. I see a lot of people using it, and have seen that > for a long time. The average user googles things and lands on reddits > hits. ChatGPT teaches you "straight.el" too (if you ask it). I've had problems reported because of outdated straight recipes on users' machines. It seems like a fine tool for a hacker, though. >> I would suggest to start recommending ways to perform an upgrade >> explicitly (somewhere in the README, in the manual, and so on). Like >> 'M-x package-upgrade', if we manage to get it fixed in Emacs 29. > > That's a big if. My worry here is how to clearly control this > messaging, especially when dealing with cleanly deterministic > bug reports. I have to know exactly the version that he user > is running. Recently, I've become adept at doing: > > HOME=`mktemp -d` emacs -l recipe.el > > It's a very good way to establish sanity. And until now recipe.el > could have just `(package-install 'eglot)` and I would know exactly > what packages the user has installed. The answer will now > be different in Emacs 28 vs Emacs 29. Mind you, I will still > know, of course, but the thing installed on Emacs 28 will be > wildly different than the one installed on Emacs 29. And, > as I said before and everybody understands, it will get worse with > time. So what form to give users?? If we go for the pinning approach, as Jim suggested, and the fix for that one makes it in in time, the form could like like (use-package eglot :ensure t :pin gnu) and hopefully work across 28, 29 and later. >> To name an example: 'package-install' will upgrade Eglot even though >> (package-installed-p 'eglot) already returns t. > > Even with today's patch in Emacs 29 that already happens if you tweak > the new "heavy-handed" variable. So I guess that isn't a problem. I'm not sure I like that one either.