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 20:15:20 +0100 Message-ID: References: <87a5zj2vfo.fsf@gmail.com> <83fs934pjf.fsf@gnu.org> <87wn2fk47y.fsf@posteo.net> <83sfd2g2ek.fsf@gnu.org> <875y9yfxrr.fsf@gmail.com> <87y1muefks.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> 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="36488"; mail-complaints-to="usenet@ciao.gmane.io" Cc: arne_bab@web.de, jporterbugs@gmail.com, dmitry@gutov.dev, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Apr 19 21:16:19 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 1ppDHv-0009HA-0j for ged-emacs-devel@m.gmane-mx.org; Wed, 19 Apr 2023 21:16:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ppDHE-0004Bq-I8; Wed, 19 Apr 2023 15:15:36 -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 1ppDHD-0004Bf-O6 for emacs-devel@gnu.org; Wed, 19 Apr 2023 15:15:35 -0400 Original-Received: from mail-oo1-xc2a.google.com ([2607:f8b0:4864:20::c2a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ppDHC-0002Fq-2s; Wed, 19 Apr 2023 15:15:35 -0400 Original-Received: by mail-oo1-xc2a.google.com with SMTP id 006d021491bc7-5427422a17eso26084eaf.3; Wed, 19 Apr 2023 12:15:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681931732; x=1684523732; 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=+v9jyeW3095uQbico0rS3RL9atK7zvqko9k2JeROu4U=; b=ExxF+wfjPfh/txacp5Wan92XPYyWe5k6sn9mVpz+4fxx5DooYuJiJ+IiTSOISgOjC8 HunqNUpzdIqqCqxjNmjT+y6oodpizi2ebC8MUqWsG0fNC2dYkPZqFBqcQZ4nj/hu49fg ZnQZgCTb2p58ji5CkGcwamIIftksG0X7ioVWMnvnsVYEmF4I3+j0diie0d3N2ZUFY9vl xiF2jnZrnDK+KIlvVAhNodxVsjAbAX3e5TYLqkPwE9oSOAuOpbPy+WdTTXfHJb412yE3 g2NrJHfxKj1+V0nPpdhgcYhkShbFD3Avohw9zdIxpLfrTfGScGUNM+uGyVBgK/jIWRVG 7Nvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681931732; x=1684523732; 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=+v9jyeW3095uQbico0rS3RL9atK7zvqko9k2JeROu4U=; b=FK32QIDJlf56OgK28+WHmpzWOWFXXUoYJzD24DeRIKmQNy6fdPVMCb1BJK74aVTaD3 dHwr8PlkLzXnsRVn5KUvi6DyXQQdITSWAX4SMNb0YnPj/0duyOvoh4xqS5V/rfBdvfKj ERAiELBqyFpMX9/kdppx3wtP9ujyf9m2ifc8o3JcN+27FLihP8TbHkPuVOtdhXBA0uog Vr9epcDkGxKNbyu1jszmWAhs2iAbdOxTtaTdQAfT2I2snUg9w0/kgQTv4r9Cn0NhTW1n f3Nxf6WRZJpcAbN7i4hKekj1lpvzJkZkwYEnQWaIDPe8/FfWgttKglNYaxzWWLqDEx04 JZ8w== X-Gm-Message-State: AAQBX9d/b8pmSJsBP8TLCn2GRZnKi0dQFknAz0cPWafKIZPvMe9i9saw xYiP5c/8WrfXoDi6SO3KiVWNvtbf4x1/6lDL+/QiCt4klwM= X-Google-Smtp-Source: AKy350ZWbEwl1AhJe3GNeM5BV859hnh64Yt6bxfG5JO+4KsvnAccDfQ0U+YpjtmIYqNbppJoXLQyru13E19hvyNxf0M= X-Received: by 2002:a05:6808:1395:b0:38b:bed1:8a35 with SMTP id c21-20020a056808139500b0038bbed18a35mr2744322oiw.33.1681931732052; Wed, 19 Apr 2023 12:15:32 -0700 (PDT) In-Reply-To: <83pm7z7nkc.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::c2a; envelope-from=joaotavora@gmail.com; helo=mail-oo1-xc2a.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:305456 Archived-At: On Wed, Apr 19, 2023 at 7:07=E2=80=AFPM Eli Zaretskii wrote: > It has similar problems: it will automatically update packages > mentioned in package--safely-upgradeable-builtins, which might not be > what users want for built-in packages. It is what they want, by definition, this is why I named it "safely-upgradeable-builtins". These are the users: Specifically, users of Emacs 28 and older, who had Eglot installed, and expect Eglot to be automatically updated upon Emacs startup whenever a new Eglot version is available, will now have their expectations broken after they upgrade to Emacs 29, because Eglot is now a built-in package, and package.el won't by default upgrade a built-in package. Recognize this writing? It is yours! > You assume that everyone will > want Eglot and use-package automatically updated, but this assumption > has no real basis. First, of course it has real statistical basis! Didn't I send you links to tens and tens of issues were users reported their configurations and one can actually see what users are doing to install Eglot? Secondly, it has the theoretical basis of what you wrote yourself barely 1 hour ago! It shows you understand the problem that is new in Emacs 29. Using your language, we want to not "break those user's expectations". if we can. And we can, if you want to. You want to, right? You want to break as few user's expectations as possible, ideally 0. And the code does exactly that! It avoids bothering that set of users while also avoiding bothering the other set of users that you mentioned. And, for good measure, the set of users who had Eglot installed and expect Eglot NOT to be updated when package-install is found is the empty set. Surely this is evident. So there's no "dilemma". There is rather some kind of spectacular misunderstanding here. There has to be, because I'm drawing these conclusions from nothing more than elementary facts from set theory > Plus, it adds to the maintenance burden of maintaining this > (internal? not a defcustom??) variable for good. We can make it a defcustom if you want. That's exactly Jim's idea. I was just trying to make the simplest thing possible. This is just for Emacs 29. You asked for little code and this is much less code (less cyclomatic complexity, etc) than what you eventually accepted. So I was just trying to cover that front too. Jo=C3=A3o