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 21:57:48 +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> 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="25532"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , arne_bab@web.de, jporterbugs@gmail.com, emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Apr 19 22:58:47 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 1ppEt5-0006R2-1c for ged-emacs-devel@m.gmane-mx.org; Wed, 19 Apr 2023 22:58:47 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ppEsO-0004Fs-Pb; Wed, 19 Apr 2023 16:58: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 1ppEsN-0004FL-6F for emacs-devel@gnu.org; Wed, 19 Apr 2023 16:58:03 -0400 Original-Received: from mail-oi1-x22f.google.com ([2607:f8b0:4864:20::22f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ppEsL-0006KQ-Ew; Wed, 19 Apr 2023 16:58:02 -0400 Original-Received: by mail-oi1-x22f.google.com with SMTP id 5614622812f47-38de3338abeso169432b6e.1; Wed, 19 Apr 2023 13:58:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681937880; x=1684529880; 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=EeqhEwahx6WDbNQ+WZ494fzqPGgzmYA5fmyWDTMQs1M=; b=rcgpLy4GE2zjCNvPrZb3x7jqvs44ZbK5+0YKlr+r6f6UaQWFle8FZPVjNJ0MLB7pr0 pcBJniqmEtvfqWHAYgQZfrDFe3PsxaQAW0ysxXjvoE7JpIjCId6DR7s1zgYVz15KB2eA VWn/ckQenhS0ouSyR0Yg8S/IYk7YFxhIEWwG+frZ9vmjUBaVvzZD0u0wzrOShRM7Cp+v QAXuntdft7B+OVJCfT63Ta1p2CI1SvfU9w6Sr5cNySAIw97ULXG1GMh4vbJP9JCY9r4G rWs3vktCPaEemoDbDB7kVwkh4QciKOboc8U2gnKoy8jThOOZqglp72B7GkSo8RUMejFj /lDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681937880; x=1684529880; 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=EeqhEwahx6WDbNQ+WZ494fzqPGgzmYA5fmyWDTMQs1M=; b=bTC6zPIc3PKWG5eAMsmb7J9JzxFQicHJtw4R7d2rjtDEt6ppytZLV0Uht0xYt6eOyt 4FFEu/A0dr+ycmktGmojShhsBZsPqmnZ3lR+ppFWP+c7vcvz7nbo9qVPhCIlvemfoToc n4T6Kzh1h58HF4b05dt7AHczEE1tExjIvfRUp2D8ncqYmWsWmuAAtzkeby1YO42eKOUO 51DotSCAPAzVvuCdhHQTeUDc+rLxg7Dp2afnN5Va4nR8aXVfu0Fa0V2N9l6SFWVzbb+Z Gbj7pjpbTRotPfH7ePDxxh7/9F34nwiBqQxKgmu3IqRcSWXx7xZ3tZ1GWPvnqZOGLwRz 9mDw== X-Gm-Message-State: AAQBX9c1VcjzSBD/XoGJkg2o3kS9K/ub2yIBaSiDUUm+Ee1wlRYWx8SZ LyE/rTKqq5T1nWREg75Yzh9Z0T49GJAS5OxuLbY= X-Google-Smtp-Source: AKy350bogV6+Rg0LR9SMw5848gccaQfIxZan7Vfy9/1qSjgJvuvNmQJvvCYs+Dt4nB38tvV14Po3OfSw7UhuP+0ji9o= X-Received: by 2002:aca:2411:0:b0:38e:54da:9173 with SMTP id n17-20020aca2411000000b0038e54da9173mr1263039oic.29.1681937880040; Wed, 19 Apr 2023 13:58:00 -0700 (PDT) In-Reply-To: <556e0fbb-215e-c11d-0e8b-73e97441abbb@gutov.dev> Received-SPF: pass client-ip=2607:f8b0:4864:20::22f; envelope-from=joaotavora@gmail.com; helo=mail-oi1-x22f.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:305466 Archived-At: On Wed, Apr 19, 2023 at 9:50=E2=80=AFPM Dmitry Gutov wro= te: > So... are you sure that (use-package 'eglot :ensure t) upgrades/upgraded > the package? > > From what I'm reading in use-package-ensure-elpa, all 'package-install' > calls are wrapped in > > (unless (package-installed-p package) > ... > > That seems to mean that, as long as the package is installed already > (whether by being bundled, or because of a previous manual > installation), it shouldn't get upgraded when this form is executed. That's true. Exactly the same as package-install. It will not reinstall over another one. But that doesn't change anything. In Emacs 26/27/28 from scratch package-install and use-package _will_ rev up Eglot to whatever is the newest version. In Emacs 29 it won't. In fact deleting Eglot and restarting Emacs the config run again is what I suppose the most common upgrade method (since there is no package-update in Emacs 28). 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). Jo=C3=A3o