From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= 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 23:29:50 +0100 Message-ID: References: <87a5zj2vfo.fsf@gmail.com> <834jpifizy.fsf@gnu.org> <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" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35377"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Dmitry Gutov , Eli Zaretskii , arne_bab@web.de, emacs-devel@gnu.org To: Jim Porter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 20 00:30:39 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 1ppGJy-00095C-2r for ged-emacs-devel@m.gmane-mx.org; Thu, 20 Apr 2023 00:30:38 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ppGJW-0006S6-AF; Wed, 19 Apr 2023 18:30:10 -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 1ppGJU-0006Rp-9N for emacs-devel@gnu.org; Wed, 19 Apr 2023 18:30:08 -0400 Original-Received: from mail-oa1-x34.google.com ([2001:4860:4864:20::34]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ppGJP-00029R-Hq; Wed, 19 Apr 2023 18:30:07 -0400 Original-Received: by mail-oa1-x34.google.com with SMTP id 586e51a60fabf-187df75c906so234238fac.3; Wed, 19 Apr 2023 15:30:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681943402; x=1684535402; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=7z0F+RgTfh9uEp7AoT64Rs/yR7aZ5sP3Wk8No6gXtTM=; b=skEC72z7PL4ozRcaARaOiHfCL7d69uhIMoi4nq7FhDwpCO9NjwIOdQRB0rwZp2x24j TNebChBKlFhDBtKRI9qA/vVsGbuw2NbnDuMZgKpUq7GRDgU+xiXOuoNs8EdFcIduHNkc xUVuz3aWjFuEVrN28LteOj3/L+0qroKNzJb7PPeXIaOhOwkkLWmvxtBKerl9GtGl2TCO Y6ZAkWpCmoGg8Tvtm2wTwweyq6TqyXL8FTd3X5IXQvVC5bJykupDtyyoQHSjzLoUZbg7 YIsthTH4/UPi8nC9aYVNCVoUNPdib3fLqaNd7Yp73BXEWltRSBbSJziDMJHRS+4t9FQe JT/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681943402; x=1684535402; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7z0F+RgTfh9uEp7AoT64Rs/yR7aZ5sP3Wk8No6gXtTM=; b=arluh3LapZQeFBoHrFq63BAyD/vUUa24JWaxjyCjYZ0OadYnSxRVFnnPVPGjA+C/82 WhO2GXQWt5LSaHRIPB9jT0D1zbFDtVnXiG+aaJ5Dx1xgJlOAkgddCYDfMOOiLSaBD+rG hPtD/f0wcOWq+MSe62NTp6Vuwj7dHAfA4W/rea+0Kp1GNGBdVqofz3n3WrEe7hKhp+Bi SLWOyYrbPcAH7ZC2+O8RO8RlsYuA1UOk9YFkTWHQSTq9SExJq3nJOxfme1EICKmZiXU/ mfjj/TX+uTerlJpyyoxULGzP7ifiI2viTYwxyfUQwf2LOSo1ktmjIoVrWhaNtdZNkWKI geng== X-Gm-Message-State: AAQBX9c87ryuXz7BPqmcjMe58z1VpwXY58ZUKXVeBLCalcQ0w5272gsp tdUPEeGfiZOkRomFW7+2pQCq3YkeSoz1H4mPS7o= X-Google-Smtp-Source: AKy350YdjvwOAd3j8694k7L+hlP7YSEsxi3C7GmfVbf9HYrZ3o8mryGDK5W0bGYE1Bk52p7j+moCG9EZp3oo9oBifpo= X-Received: by 2002:a05:6870:3109:b0:177:9753:f82c with SMTP id v9-20020a056870310900b001779753f82cmr729527oaa.32.1681943401983; Wed, 19 Apr 2023 15:30:01 -0700 (PDT) In-Reply-To: <54b61415-32d9-ccc6-7709-f1e3dcb8f98f@gmail.com> Received-SPF: pass client-ip=2001:4860:4864:20::34; envelope-from=joaotavora@gmail.com; helo=mail-oa1-x34.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:305472 Archived-At: On Wed, Apr 19, 2023 at 10:58=E2=80=AFPM 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. I can't say what the the most common method is, but M-x package-delete + restart + letting your config run again is the method I use. I didn't know about "U" until recently. And that's because the package menu is a very slow and unreliable command IME. 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. This _also_ deserved a fix, but is IMO, not as important as the simple non-interactice package-install case. And, for good measure, the new M-x package-update and M-x package-update-all in Emacs 29 _also_ won't update Eglot. > (Though now I wonder why we use both "update" and "upgrade"...) There's a separate bug for that. > > Other than that, think CI scripts, dockerfiles, VMs, or just the > > casual user who trashes the packages dir to get a fresh set when > > looking for a bug (like I do, and multiple people I've interacted with)= . > > If a user hasn't done anything to specify the release channel they want, > then I think the current behavior is correct. "(package-install 'eglot)" > just means "make sure I have Eglot". However, if the user pinned Eglot > to GNU ELPA, I think it would make some sense for 'package-install' to > install Eglot from GNU ELPA (i.e. it now means "make sure I have Eglot > *from GNU ELPA*"). 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. Jo=C3=A3o