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:34:55 +0100 Message-ID: References: <877dfavmzw.fsf@posteo.net> <87czp2c6qd.fsf@gnus.org> <874kady4l1.fsf@gnus.org> <87zgs5wp5r.fsf@gnus.org> <87lf3pwopa.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="11770"; 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:36:50 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 1mSoNd-0002oZ-MR for ged-emacs-devel@m.gmane-mx.org; Wed, 22 Sep 2021 00:36:49 +0200 Original-Received: from localhost ([::1]:48104 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSoNb-0006gK-Pp for ged-emacs-devel@m.gmane-mx.org; Tue, 21 Sep 2021 18:36:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40068) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSoM3-0005tG-0E for emacs-devel@gnu.org; Tue, 21 Sep 2021 18:35:11 -0400 Original-Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]:50999) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mSoM1-0002sd-It for emacs-devel@gnu.org; Tue, 21 Sep 2021 18:35:10 -0400 Original-Received: by mail-pj1-x1030.google.com with SMTP id k23so676604pji.0 for ; Tue, 21 Sep 2021 15:35:09 -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=G9oql9VVX5DebNkrGnn/6Z55Mv/awG+k+tKbOYsW0Jw=; b=VhE/b+YGuOIr3lFM8C/Oq3T1bL5yC9Z8XTWDH6NgC25KDQx5zkFdxsCspbiXbOTjcI s5NWwibo/pDxiBjj+jaV48XUJwsO+y0R/U6ID85K2EUs0Vjvkuc4ZM+nkPDY0wnIcwvT qNA9h0sR3OCAc1lgVtaQZ1ksgNjxB78JGNFv3jlx2Porry/LzRL/eLNUBsm1OAEcUmR6 FwCdBLhJ/f0z4W6jI3Rh03bFf410aP6sNLqtoLK57bhKN5zEzX25pOsp6O9ZVBhnpWFk 23vuXOg0NN9gqK4p2ea8k27qxYARA/xaHDX+Gbav2cnZ9mB75Q6MBfvw88ivE1ozChAH htxQ== 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=G9oql9VVX5DebNkrGnn/6Z55Mv/awG+k+tKbOYsW0Jw=; b=7aQqtg6rc+VKMrzcfcOC05DvCHFMeb2iRvHJWlfeML+AlQQZGjN0Ez4lGZboBWqLN+ BAOYvaHITn7iRJHUgCgBHKT6QN9s33IWuKH10QThue3oHN1xK5NWCQzSCRloMykoOI88 +RYiuR0NV/n4Oe973og/QLASSFEAkYup/qgBkWhRoNK8Do7XNHeuXBADvZ5d58WT8e3z 7F5/A7AScrySYI/G54pVRl09kmAouS7ysRp/0OXVdNpXijKddcomzWBbKcSZHPY6FH44 ziJuhppqpHfaVkKCpffhifm3Lzt0sbxv2XsCc4ix7aTNMn62WpZMeCwoBSQhZUBZaX4o ki9w== X-Gm-Message-State: AOAM530qmpILBhBcs7NGbz99zVrCKoOVSqzbHJxv4aGvs6Xp5Tm3EKQU gu8GXvVIvmiMx/D1ap6v1u1XdfzU8yPcX3DfUcs= X-Google-Smtp-Source: ABdhPJyJesbJ63V8VH2/pGRsGlDy0VifWQr3d9vShAUjrEPuruGnQyxGCd6c5NTiKls+6JjXGGUOqpt8SAy8DPbNiB4= X-Received: by 2002:a17:90a:5889:: with SMTP id j9mr7739681pji.91.1632263708178; Tue, 21 Sep 2021 15:35:08 -0700 (PDT) In-Reply-To: <87lf3pwopa.fsf@gnus.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::1030; envelope-from=joaotavora@gmail.com; helo=mail-pj1-x1030.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:275281 Archived-At: On Tue, Sep 21, 2021 at 11:26 PM Lars Ingebrigtsen wrote: > > Jo=C3=A3o T=C3=A1vora writes: > > >> (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. > > No, the same problem doesn't exist in compat.el. Philip's package > doesn't redefine functions in that way. I see (I think). Then the :core packages using the subr-x functions must deal with slightly different specifications (if the 25.1 version indee= d isn't the same as the 28.1 version). You called this bug-compatibility a w= hile ago. So is this a lesser-of-two-evils situation? Is it better to break the = ELPA usage this way then to break the libraries in core Emacs 25.1 as in your example? And which functions are we talking about again? Or were you just speculating about possibilities? Jo=C3=A3o