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: Proposal: Forwards-Compatibility Library for Emacs Date: Tue, 21 Sep 2021 23:24:10 +0100 Message-ID: References: <877dfavmzw.fsf@posteo.net> <87czp2c6qd.fsf@gnus.org> <874kady4l1.fsf@gnus.org> <87zgs5wp5r.fsf@gnus.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="26739"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Philip Kaludercic , Stefan Monnier , emacs-devel To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Sep 22 00:25:04 2021 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 1mSoCG-0006iR-3s for ged-emacs-devel@m.gmane-mx.org; Wed, 22 Sep 2021 00:25:04 +0200 Original-Received: from localhost ([::1]:39916 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSoCE-0000cu-Hs for ged-emacs-devel@m.gmane-mx.org; Tue, 21 Sep 2021 18:25:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38300) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSoBc-0008Na-Dc for emacs-devel@gnu.org; Tue, 21 Sep 2021 18:24:24 -0400 Original-Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]:44790) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mSoBa-0003iJ-Va for emacs-devel@gnu.org; Tue, 21 Sep 2021 18:24:24 -0400 Original-Received: by mail-pl1-x629.google.com with SMTP id t11so391872plq.11 for ; Tue, 21 Sep 2021 15:24:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=EffQu63EQf7E4W4n/JHOpNU6FYDtOj+76wmRTNSro+U=; b=aH8ROun0SIlthhPgvUIr5Yw6K7dG02EtRp0BC62hXkyEbbYnPKW/Nk7cgv0rHumnae ARvzR7Nn7n6BYFFqte/3cQye1hGgoU0hIJhwaqD0fObblmaA/85orNrwlBdco5K3rHKj alUkVBuIbMkjsIl3mpG5oTmPHMMTDFh+gYFxVymknfhR5HRUWsARfN0G2GgeAXHPlECp wQYVjsFjKHRNoyMm9//a3YEXnGMvd0oYdH/JWE3KkMW0JR2992Y4/03p8dpBIFOa9m8t 9tO/NaVWWrPkTWYz65sZrV9zyC54pS05UG8l0FPBelpX9Jde4xj7aXT7paIPfwZUpsZt ewBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=EffQu63EQf7E4W4n/JHOpNU6FYDtOj+76wmRTNSro+U=; b=YyK8z3BC9pfxx/UjH4BC4N0EiH2rWhmCGppKHy1FIVbuIb6uXNAumG4ikA0oJHHjyx +2CSeAka1hgY6yMiB4a7lo8Z8nN8se8mJ75jUihVjjdCQBvS/ZAHM6MmlAJAY2aYBF8K bKgPXmh48TaPs6TyyhnhyjciPXYuNWBNLeNiSqbce5l5jTEAPJaht4rbNg/JMdBxWBYE K1y1V7THI4ox2QIZEJICgyeq04DFugZt1g8knUVhwQ2qfTmuueP7FK48rbQybRhG94Hi qXNBlPaClvBDwesIE4ZZlkpD+C6MY81OS7K5eXvIALNd2JGtIiScNz21cX2gFdFWBI/Q yjdA== X-Gm-Message-State: AOAM533Km87gMFzbMzAsc9zQtj+zJLSo/I2P/OPz8WYfXOKdVqualWeb mD2HTQvswPjbGoBOsOMbtVReQZz0qyS+NzKcHlg= X-Google-Smtp-Source: ABdhPJwwZgTMlnlGEW24afd4RI3gWLMKklXzrrNx6NxWFjV2TcRqVEgLpgC7RwqZRQmWdp1fifbBrK7mnnGFLZiktnY= X-Received: by 2002:a17:90a:5889:: with SMTP id j9mr7701910pji.91.1632263061453; Tue, 21 Sep 2021 15:24:21 -0700 (PDT) In-Reply-To: <87zgs5wp5r.fsf@gnus.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::629; envelope-from=joaotavora@gmail.com; helo=mail-pl1-x629.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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:275278 Archived-At: On Tue, Sep 21, 2021 at 11:16 PM Lars Ingebrigtsen wrote: > > Jo=C3=A3o T=C3=A1vora writes: > > > Right. And so if this is the goal (and given that I also agree to > > "start slow"), why not have more :core ELPA packages? > > Say subr-x.el, as an example. It has no dependencies. Why > > not make it a :core package right now? > > If you overwrite the subr-x functions from, say, Emacs 25.1 with the > ones in Emacs 28, you'll likely end up with an Emacs that doesn't work. Curious. Which functions in particular are you thinking about? That's the aforementioned forward-compatibility problem (or backward, depending on the perspective) that the compat.e library would also have, right? > (And we certainly don't want to take on the maintenance burden of > writing subr-x in such a way that it's backwards-compatible.) Then the same problem will happen when you copy these functions into compat.el. Unless you do what Stefan says, and rename them. Jo=C3=A3o