From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.devel Subject: Re: Stability of core packages (was: Not easy at all to upgrade :core packages like Eglot) Date: Wed, 19 Apr 2023 15:42:05 -0700 Message-ID: References: <87a5zj2vfo.fsf@gmail.com> <83y1mue1qi.fsf@gnu.org> <83sfd2e01f.fsf@gnu.org> <1a5e5837-513b-84d8-3260-cdbf42b71267@gutov.dev> <83sfcz9rf2.fsf@gnu.org> <09a49ab9-ac72-36a9-3e68-9c633710eba7@gutov.dev> <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> <54b61415-32d9-ccc6-7709-f1e3dcb8f98f@gmail.com> 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="14439"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Dmitry Gutov , Eli Zaretskii , arne_bab@web.de, emacs-devel@gnu.org To: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 20 00:43:04 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 1ppGW0-0003cZ-Fz for ged-emacs-devel@m.gmane-mx.org; Thu, 20 Apr 2023 00:43:04 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ppGVE-00007y-4q; Wed, 19 Apr 2023 18:42:16 -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 1ppGV9-00007I-5E for emacs-devel@gnu.org; Wed, 19 Apr 2023 18:42:11 -0400 Original-Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ppGV6-0006Md-KK; Wed, 19 Apr 2023 18:42:10 -0400 Original-Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1a6817adde4so5608705ad.0; Wed, 19 Apr 2023 15:42:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681944127; x=1684536127; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=cHBlXv1NpVhQCsxAQvC9vOD2vZSDFgjGUSMawwhJy8c=; b=aN/nHV8zVKyDNrmlFShCSAvXc7qzowRN3zB8TKkAoUmQwjHrBFcO2Vx0JHbIFTWnnC 6ObKX1uie8uSJJximCPcm+keDplAr8zBmFsFCu524qGACw8nmS6UwYyEDX6e8BGK1FOl MdHrQIUgOj1TiRhq08QjoGGczhF8kqR4DOlzj2diksNnVNsT0/5qfccSZfX0ZGEBrL7B QvNWH+BjtW9Mv5nt30MyO/6VTZSh54wzpb7Y+CBux9M35Wr/6M5tGpkmes2GepwefkIH l6u2KxL/UtLsibPuL3A+z5s8G04oGX4x4WTXqVSgOcQ0u2uqa3e1sD4kam62txBz7mKp AesQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681944127; x=1684536127; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=cHBlXv1NpVhQCsxAQvC9vOD2vZSDFgjGUSMawwhJy8c=; b=S9TlX77UqX9B0QKgxScwx45KiaxkQLmTWV64wTGkz5+hs01gtB+Qm0Gd+3XFwEYkg+ hhUgtq34F47Q1nPITKUlqwrr+eMjo2iThUanngzcCPPqLll8squyjCqOyJIlGYGydLvc LSg6nf20TJDN42kwOQkUf4zkqsJTFj/rF3jI8hyGtgvan35ltcMXJ4irCXvuxLiClxn2 xmwF76t7yPRGYzk/i0KzK9gd5fzf9cNrVFZHejNg8aXojvaosnQJVX6IvBQM2kV7M0Mv V9WVjFr58KTjcLu2b4z8sLsFpI+7YgGBRew/2Bmk/1Uyy4BuBxAz9QsQeUMhXThqJVmW aR0Q== X-Gm-Message-State: AAQBX9flVYT7zR2YJpcQF17H9z6/c5Gz98x1ZEZOsbk9Zxehec9J0SpR QwEHF1h2Gfhcb+yXUz0SXrY= X-Google-Smtp-Source: AKy350ZOr4BjFZKUY5hgYAUKP613rI/FE0zayuqVZP1zfONvrv04Dp7H6K8DVNesiy9EHlUgvWpHLA== X-Received: by 2002:a17:902:7c8e:b0:1a5:167f:620f with SMTP id y14-20020a1709027c8e00b001a5167f620fmr5916717pll.15.1681944126674; Wed, 19 Apr 2023 15:42:06 -0700 (PDT) Original-Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id s91-20020a17090a2f6400b0023cfa3f7c9fsm40659pjd.10.2023.04.19.15.42.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 19 Apr 2023 15:42:06 -0700 (PDT) Content-Language: en-US In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::630; envelope-from=jporterbugs@gmail.com; helo=mail-pl1-x630.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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:305473 Archived-At: On 4/19/2023 3:29 PM, João Távora wrote: > On Wed, Apr 19, 2023 at 10:58 PM Jim Porter wrote: >> As mentioned elsewhere in this thread, I just use the *Packages* buffer >> and 'package-menu-mark-upgrades' (bound to "U"). That works on older >> Emacsen too. In 29, 'package-update' would make it easier to update a >> single package though, and 'package-update-all' provides a programmatic >> way to do what I do interactively in 28. > > No. Both are absent in Emacs 28. Yes, but the "U" keybinding is in Emacs 28, which is what I meant there. > And besides, "U" _also does different things in Emacs 28 and Emacs 29. > In 28 it _will_ upgrade Eglot to the latest (so they tell me). But > not in Emacs 29. That depends. If I had previously installed Eglot in 28, and then download Emacs 29 and upgrade my packages (without deleting my elpa/ dir), I'll still get new versions of Eglot from GNU ELPA. I think that part works as expected. > By default, Emacs comes with GNU ELPA configured only, I think. > And Eglot has always existed there. I don't know what you mean > by "pin". I do know some users _also_ had Eglot on MELPA to get > an even newer version, but I've never really recommended that. You can "pin" a package (see 'package-pinned-packages' or the ':pin' keyword in use-package) so that you always get updates from a particular archive, which is useful if you use a package that rarely gets releases, among other things. Then you can set the devel archives to a lower priority (see 'package-archive-priorities') and pin that package to the devel archive without having to live on the edge for every other package. This also means that if I wipe out my elpa/ dir, I get my packages from the archive I want. I think this should also work as a way of declaring that you want Eglot from GNU ELPA even if it's built-in, but that part doesn't work right now.