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 09:50:12 +0100 Message-ID: References: <87a5zj2vfo.fsf@gmail.com> <87leiwdyff.fsf@posteo.net> <834jpk5hih.fsf@gnu.org> <871qkom3fj.fsf@posteo.net> <83mt3b4yfc.fsf@gnu.org> <87edonlsxi.fsf@posteo.net> <83jzyf4vzb.fsf@gnu.org> <871qknllkj.fsf@posteo.net> <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> 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="1061"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , Dmitry Gutov , emacs-devel@gnu.org To: Jim Porter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Apr 19 10:51:38 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 1pp3XN-00006S-QD for ged-emacs-devel@m.gmane-mx.org; Wed, 19 Apr 2023 10:51:37 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pp3WY-0004Bb-Mq; Wed, 19 Apr 2023 04:50:46 -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 1pp3WP-0004Au-2T for emacs-devel@gnu.org; Wed, 19 Apr 2023 04:50:37 -0400 Original-Received: from mail-oo1-xc34.google.com ([2607:f8b0:4864:20::c34]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pp3WJ-0005wW-Lg; Wed, 19 Apr 2023 04:50:36 -0400 Original-Received: by mail-oo1-xc34.google.com with SMTP id 006d021491bc7-546ee6030e5so835587eaf.3; Wed, 19 Apr 2023 01:50:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681894226; x=1684486226; 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=lBMS7xWTpIOxHTg8AC21IT+3NpY6Hjnak0CbVWXuf40=; b=BIZP8nu0aWiwhMeUHy6MeNK98QxNzcqOaWDLmorU0eioDQcEJbn8wGXUFHBaOKDkus aOwY4AgBMcN5scKWw3fXKtULhvl0ziwL8cQ/kFGQ7gJ5vVd4K8hhyIQQgPJfU43SJCCv JuwaydU3sYbl+updYDuIbMraacXOWvJwve/SNDjkiA+yqgw2k0ZBIWq7zU237e9GLcM4 X/Z+GMYy534/SrSMX71FXM77Xyp4ZYBw70uPozQWJolR+t7N49DJWok2D+8zUIPmDVFd jip/3ZSTOTwEg6m0o6pPkA63T54JLbtjgK8c/VCNdr/oHpwzSR6+g9RfBb/FsSDrv4OX b2FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681894226; x=1684486226; 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=lBMS7xWTpIOxHTg8AC21IT+3NpY6Hjnak0CbVWXuf40=; b=SLN6/0IBK8gOmUTqpZiMbAORBCUJAidlV3d+XI+9eZggjB0U5SM/qW6GGkfi1BQanT 6ydpZ9KgP3bRZgKGQuJwed327we3f0Nr9XFL+1rErIVPu8w14KznqBsBf6vDC294P3Vd jbCreuf+MP0Y2MR76iH/NG8kaVTh/cnme32sSlxeYnJBLLMuxAPCp9nNTlv6kxOUpbQg lRY1SSnhafCOtt+KRyoBLzIN3QQ+egx6L4g5bw1RmHMjCz7IMYY050zQ7smGoOQow+uS IQgw8JvSjhp/3dF8/irlP/XpxFAEvY/KkmuaQ1nM/3kmaiS10U6FfB0O9/j4S6b8vn3E WzGA== X-Gm-Message-State: AAQBX9dRWOOzXbcEfyAxv9voCUwcLlctnMRsdfL9Nj8wtqVpk5+V7LfV PKd1fVaGlzvEbaneJFHIl+i7rfcHRuvMNhy0/p4= X-Google-Smtp-Source: AKy350ZnxaRqf0JFaiDMhlzgVrGlwnGDE1WEOK/B3FwZw3IifxzhWFu4gaNmfjn71TSDCqH4t72OFtKoNK6EtsE1jC4= X-Received: by 2002:a05:6808:24f:b0:38e:2804:4bfb with SMTP id m15-20020a056808024f00b0038e28044bfbmr2384410oie.5.1681894224579; Wed, 19 Apr 2023 01:50:24 -0700 (PDT) In-Reply-To: <35638c9d-e13f-fad8-5f95-ea03d65d4aa2@gmail.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::c34; envelope-from=joaotavora@gmail.com; helo=mail-oo1-xc34.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:305430 Archived-At: On Tue, Apr 18, 2023 at 7:57=E2=80=AFPM Jim Porter = wrote: > > On 4/18/2023 5:57 AM, Eli Zaretskii wrote: > > So this again goes back to the main issue: how should the stability > > considerations affect development of core packages and their > > "stability gradation"? > > It sounds to me like there are 3 or 4 levels (depending on how you count)= : > > * Stable: the version of a package included in the latest Emacs tarball > * Latest: the latest version on GNU ELPA (etc) > * Devel: the latest version on GNU-devel ELPA (etc) > > You could possibly add: > > * Core(?): the version of a package included in the tarball of the > user's *current* Emacs installation These are interesting levels, but I was under the impression that the goal is to partition the set of :core packages according to some kind of gradation, what Eli called "stability gradation". The set can be found in the variable package--builtins. In contrast, you seem to be proposing to partition the much larger set of pairs (CORE-PACKAGE . VERSION) (where VERSION is the version of CORE-PACKAGE, not Emacs). These two exercises are potentially interesting, but merely as academic exercises they are not particularly useful. For the first exercise, the useful thing that can be extracted from it is the optimal behaviour w.r.t to stability of our existing tools when confronted with an argument from that set. Such existing tools include package-install, use-package, package-update, etc. For example. A. The effects of the form (package-install 'eglot) moving from Emacs 26,27,28 to Emacs 29 are drastically different. That's bad stability. B. The effects of, say, the form (package-install 'xref) moving from Emacs 28 to Emacs 29 are the same. That's good stability. What I'd like to know if anyone else thinks, like me, that this is a problem. We can discuss how bad of a problem (I think it's moderately serious). But, more importantly, am I the only one that sees an easy fix to this we can fix case A and keep case B untouched? Jo=C3=A3o