From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cNRUDHRQ1GPbqgAAbAwnHQ (envelope-from ) for ; Fri, 27 Jan 2023 23:30:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sLQgDHRQ1GOpmgAAauVa8A (envelope-from ) for ; Fri, 27 Jan 2023 23:30:12 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E3B8815EBC for ; Fri, 27 Jan 2023 23:30:11 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pLXDv-0005zS-5O; Fri, 27 Jan 2023 17:29:31 -0500 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 1pLXDt-0005zF-9H for emacs-orgmode@gnu.org; Fri, 27 Jan 2023 17:29:29 -0500 Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pLXDr-0005Oa-8c; Fri, 27 Jan 2023 17:29:28 -0500 Received: by mail-lf1-x12b.google.com with SMTP id o20so10374034lfk.5; Fri, 27 Jan 2023 14:29:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=qY4a9pEXJQ8FCZOlFGyjscSwrv6IwlaQGKDCrWtb1zc=; b=BD3qj3/nJtsV5TvZEaYb1LR44HPTy4abANS8+ldFVepMCCMuUEXPK4rYT0gRHuhSFb IvqXKVo8IJqFG3kST/6aHcd79EY4uU1CIiTKv9z2YlhwFRXRQEZUSr+fd9PlqBAeMiJ/ g6QqKg9SdFmtXEFbQJ5yiQ4FqOwRd9JOGmVhoj2YFwOzUl+ce2UmRLh1cnDGOrI9iQn1 br9oleFrY9zxMY5FcFZt00nAmBXJCOffAQVbAGYNPekraQwLzXbOBdPrG+ufiy4y0kKt hS1oQexPFg7HkrGL9Gkfh4qsdOjuBnE9boPEAUjLutcqAEqov41bQV9l5atAUTs4DMIv FAXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=qY4a9pEXJQ8FCZOlFGyjscSwrv6IwlaQGKDCrWtb1zc=; b=ebGDsODq1NJpCILOpzwpMN9ixCG9C4Xf75X/hNNONuivBCCjLZjaGF++qHxbAI35d9 GdVuj4ePxQwdTMMTZ4T+NARBjqmhG/XOUd1W3gLYa0KxoggKK4KS5MLc9UF8rffJ3q9J F7hmhzed3ziU4gDD/sye39ElP1XIUvKaXxcG76rPHgvA3xOKfxA/aMZlOK7epN9HdxQs tt4XwTtvvV2sYgZQgNzYRK7asFc4X4xCNx/QFGAXHJ+FpaPD4OkMpU3i/wQKtjSdP2U0 6CfezeGqEYYs+z/uYgeQiZPqpe1l7PHVNimfKbiSHhZO/1Ujn10tl158Ki3vMRuyXOZO S9mw== X-Gm-Message-State: AFqh2krp4RSgH1nD6aJeiKFbR3aBs+GMcED/gnyyCvpmfEYX3wbBT0l1 nUvgopn1Vj1/CSCzEeKMOZR2md7MaDnocrxkkh4= X-Google-Smtp-Source: AMrXdXvJtoH+yEwScDKwha6VNGWqwX9kOfOkAw5jgIgf9CGZwshWl+nceUtY73iA8ktYhwaBTKob1Rzxzs95+FUZ6j0= X-Received: by 2002:a05:6512:398f:b0:4ca:fd72:bf83 with SMTP id j15-20020a056512398f00b004cafd72bf83mr2138832lfu.389.1674858564281; Fri, 27 Jan 2023 14:29:24 -0800 (PST) MIME-Version: 1.0 Received: by 2002:aa6:c266:0:b0:23b:5e81:46ba with HTTP; Fri, 27 Jan 2023 14:29:23 -0800 (PST) In-Reply-To: References: <87sfx7degz.fsf@gmail.com> <87v8ks6rhf.fsf@localhost> <87h6wc6qzy.fsf@gnu.org> <63d4380e.630a0220.d390c.472f@mx.google.com> From: Samuel Wales Date: Fri, 27 Jan 2023 15:29:23 -0700 Message-ID: Subject: Re: [POLL] Use compat.el in Org? To: Daniel Mendler Cc: Tim Cross , Bastien Guerry , Ihor Radchenko , Timothy , Kyle Meyer , emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::12b; envelope-from=samologist@gmail.com; helo=mail-lf1-x12b.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-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674858611; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=qY4a9pEXJQ8FCZOlFGyjscSwrv6IwlaQGKDCrWtb1zc=; b=MVMwkc/rDIe032eJzvoeclBnRsLat4vEAmMbZpCVZU5pMghGhsglZmcykfCVNF2ThLU5Aa IHRpNMvQjXGfK6yyVp8oO033/mATt+BD1+uYGeukoC72SmfUmsQuG1iiauGculAuznBt8I 68RH8q2ekN6qdMKR48rL/wWi0P/+evXXa+O3e8XVAWqZAm7H04f3euWy0r0Jalcd+WB42N 02TgrRpKLKY/g/5izyl2Og9Vyqouyzhro9EMEkykH7ZUv4p0yk5nsMDVzbibC9qUL8opXZ fOR0oXECPyCQ8ql/5o9uAEXbqO/cSweY2ndM03she/glN1WIUfWzDrG+xwFRHw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="BD3qj3/n"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674858611; a=rsa-sha256; cv=none; b=fucDln8vX4icqK3Qg8cH3tzeZ1XYcBHMC0RhfAQ5tTea3nmxjh/3fqrHvMBzLXt919667x P6JTOxKHQ4GIWMdwzjM6VSSICN8JzoTplgNaDRBQGFAI9z4h6fRnmZ9PBDKHBqcwG/j7g6 ZqNNR7QTvUiimLAlzKm6omL2n2CD4dD2AjoUaoPumpxOs/4gQMotjyl7egqsSt4BsZJ2ei JahWdxNTbsFgQdQrOcllfQTdpnFU6PixcN817AGuFOQRlkzajSKlaH1K0IP+bOHyvgK70K HtQgeioEG93l0dhsTc0kOcofqzmmW4JJO0EtUQ47wJr2Vu9mFwi608udk/tm3Q== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="BD3qj3/n"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -5.25 X-Spam-Score: -5.25 X-Migadu-Queue-Id: E3B8815EBC X-TUID: EMKI70JTtFVF what daniel said sgtm On 1/27/23, Daniel Mendler wrote: > On 1/27/23 21:38, Tim Cross wrote: >>> As long as we keep our promise in terms of backward compatibility with >>> older Emacs versions, I'm all for it. >> >> I would agree. I would also add that even with the use of this package, >> I don't think we should use it to increase the number of versions we >> support as support is not as simple as dropping in a compatibility >> library. > > True. The Compat package cannot fix bugs below the Elisp level or > provide APIs which cannot be backported, e.g., big integer support. If > Org relies on behavior of the Emacs display engine or the C core of a > certain Emacs version, Compat cannot help. > > The advantage would be that the maintenance burden of org-compat would > be reduced. Many packages can share the backported functions by > depending on Compat, which will increase robustness and reduce the risk > of unexpected bugs. The community only has to maintain a single set of > backported functions in a single package, instead of scattering > compatibility code across many packages. > >> These libraries come with a cost. Often, compatibility code >> does not perform as well and/or is much more complicated and more likely >> to have bugs. The more a version of emacs needs to rely on this library >> to run org-mode, the higher the likelihood performance will be degraded >> or unexpected new bugs are found. > > To give some context about the stability aspect - many backported > compatibility functions are copied verbatim from newer Emacs versions. > Every compatibility function provided by Compat is covered by tests, > which are executed via CI on all supported Emacs versions (>= 24.4). I > make sure that no functions are backported which perform much worse such > that they would introduce performance bugs. > > Daniel > > -- The Kafka Pandemic A blog about science, health, human rights, and misopathy: https://thekafkapandemic.blogspot.com