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 18:29:23 +0100 Message-ID: References: <877dfavmzw.fsf@posteo.net> <87czp2c6qd.fsf@gnus.org> <87bl4lzvwh.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="36528"; 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 Tue Sep 21 19:33:07 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 1mSjdj-0009IP-1A for ged-emacs-devel@m.gmane-mx.org; Tue, 21 Sep 2021 19:33:07 +0200 Original-Received: from localhost ([::1]:48338 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSjdi-0007tS-2O for ged-emacs-devel@m.gmane-mx.org; Tue, 21 Sep 2021 13:33:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36686) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSjaT-0005nM-Ft for emacs-devel@gnu.org; Tue, 21 Sep 2021 13:29:45 -0400 Original-Received: from mail-pg1-x533.google.com ([2607:f8b0:4864:20::533]:41488) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mSjaP-0004Ma-8L for emacs-devel@gnu.org; Tue, 21 Sep 2021 13:29:45 -0400 Original-Received: by mail-pg1-x533.google.com with SMTP id k24so21385057pgh.8 for ; Tue, 21 Sep 2021 10:29:37 -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=bNe4SEZxW0+Q1TbJNzNQKB8a0aXzWr3mMoTIUo2cZas=; b=D9xvrqoOc9hQP23AHh2BJdW7ezQbJNHBwHeVrP63ICVO4hqazdpR5cZBDEtdts1gDr zX752qRwWZNRw60VpDuBtt/h+NcNQ9HEt1GZ613YjzIU3YzShe9xlmwukAPUSldv4poJ 6nxlOwkR3XLXsvFFa2AgLbzH5pSb+P9ND+u+tfb3YObXh94GJ0F3Ij//mg9JA7Q2V6d7 FSm3a9p2TnCxZpb7DuFx2kQB0+vwQ34Ol8v1bYhXPg4zuBbH+zwFQ9UVJmnBm5H7U7LK hlXIzUe1YBUrmFuKHpDtrQ5jVYs9MUwOOPoUernHCBpuVCcDSRNCqypCzAuaoJwckQNL PrUg== 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=bNe4SEZxW0+Q1TbJNzNQKB8a0aXzWr3mMoTIUo2cZas=; b=2ZkVu5/mF4sZnHFTqk8gavPhVpGAL4xPuz7oz6/G2rtImNrWIDm2uunJ/LErIHfOjx 29P2xLUxIs2Y1jLEI1WaXzr4jnmBQx9m7m9419j3qHjVTRq0FgKQZyYmhTa377NuroA/ yluMHWEv0dSbGGzzr2BrWm6B0uZKMEfMAkaSa0WZGPMHtYCxbqAyBUIrBpF97rR22GCq 2bwzoezGtu5HU0vqaRWMq7knkyCLDp78UkObzPrTgDtpEhknDcH5sMJKB1XyFC+RK13+ CD1oy+2Iqq5hawvvBo9OAvT7eseHlgHYo8UEdcJdueHRvdCSJL1qO59ILJOYJIpas3X1 kB8Q== X-Gm-Message-State: AOAM533iNHBSa1fkGS49004quZANvwNG3RDmqW7Y9V6IA6lICLgU8EPY 5U5r8+avbI+paLl2lyA3LO24rDfcMgCqvP6kKmA= X-Google-Smtp-Source: ABdhPJyV9MdnzSBHhpUSHqESIy0DM8j8hdirWAk1989ed0It4wCAo1noeymrF8QzGC1s2kUs6bC+m8VpsJ5Sfw1eQ7Y= X-Received: by 2002:aa7:9a51:0:b0:43d:f0b0:532a with SMTP id x17-20020aa79a51000000b0043df0b0532amr31500741pfj.76.1632245375695; Tue, 21 Sep 2021 10:29:35 -0700 (PDT) In-Reply-To: <87bl4lzvwh.fsf@gnus.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::533; envelope-from=joaotavora@gmail.com; helo=mail-pg1-x533.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:275257 Archived-At: On Tue, Sep 21, 2021 at 6:22 PM Lars Ingebrigtsen wrote: > > Jo=C3=A3o T=C3=A1vora writes: > > > It was Philip who described as "intrusive", "by its very nature", > > since it relies on advice and such. This can be seen as "dirty" in its= elf. > > But say that the contract/promise that a given function in Emacs 28 mak= es > > is different from the promise that the same function in Emacs 24.2 make= s. > > The new ELPA code doesn't have a problem, but you have potential proble= m > > to all the other 24.2 code that expects the "old promise". Right? > > Yes, some compatibility shims may be problematic -- especially if they > aren't bug-compatible. There's some recent prior art to this. cl-lib.el vs cl.el. It worked in principle but making cl.el-expecting things to function just right with the new cl-li= b.el made Stefan sweat a lot, I think. I'm glad that's mostly over (at least in SLY). Jo=C3=A3o