From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CDBkE2hKZGFyJAAAgWs5BA (envelope-from ) for ; Mon, 11 Oct 2021 16:30:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wPXgDmhKZGH+IgAAB5/wlQ (envelope-from ) for ; Mon, 11 Oct 2021 14:30:00 +0000 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 C2DD26DA3 for ; Mon, 11 Oct 2021 16:29:59 +0200 (CEST) Received: from localhost ([::1]:54742 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mZwJS-0000kY-3M for larch@yhetil.org; Mon, 11 Oct 2021 10:29:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44456) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZwIV-0000gP-EZ for emacs-orgmode@gnu.org; Mon, 11 Oct 2021 10:28:59 -0400 Received: from se08.route25.eu ([2a00:f10:305:0:1c00:d8ff:fe00:461]:39583) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZwIR-0000RG-Sr for emacs-orgmode@gnu.org; Mon, 11 Oct 2021 10:28:58 -0400 Date: Mon, 11 Oct 2021 16:28:31 +0200 From: Russell Adams To: emacs-orgmode@gnu.org Subject: Re: Useful package? Compat.el Message-ID: Mail-Followup-To: emacs-orgmode@gnu.org References: <87sfx7degz.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87sfx7degz.fsf@gmail.com> X-Originating-IP: 2a00:f10:400:2:425:b2ff:fe00:1c1 X-SpamExperts-Domain: out.pcextreme.nl X-SpamExperts-Username: 2a00:f10:400:2:425:b2ff:fe00:1c1 X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.15) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT9WLQux0N3HQm8ltz8rnu+BPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5xiExUbNqvmdkLSOzf1W2Y3z8hkeSqZT0W1YMl0fRDa99cV PSoHm0W/3adFfiYl2ntgwdnZz7RCGMlDJVxxU/6V/T4GcPvCLvSpAEEGy7kYxsD3QRUnhlexiXT3 xXuXeIhevFP+kOiMW3ZJfjMJYMEj+gaXrHkgRC7/tI3CjXmVynNT+qOXWUkdHa3rpzNd9fTHh0cQ L0Ci0sRm4Wh/iZxm6GtiR/ZS57IrkuRfCYlnnsztdQUSqk/AeLi65+4s/LrywTM2yEHEhvC9Izsy /NENTMQ3Kg3hL2oXz5A5E5R/dS4GkJ5hfB+qWugfDEytZYoACfRtBjLzEjgIZNLWhI/Mshn3T8Ox KyIrAogwLlirll+u0Sc2bgjgy6NE5WzPnrJ1fJyKyenPq733oZ8bAyJmHQrtppYmxMktfUX7kfB+ UdezYqxGMqsKjARq8PBC4qgxMmglBiLsgrvXOb7qEGUwgxHIagHkgJmlqPNWnLI1oovhSJcbnX/H QqL/X9rNCJCc6iESJvKm1NV8gkr+Wu8ScVDXinOVyuIpITQ9z3M3DKRYyu3V3HFYBcnRP4AYwep/ j5YYrbryQC7BeYbD8SZG5oyPdqvJbdilYQ3bQuUf0SZD6Tsz9sU2kPXXHNFwYjzD0WsQ0hqTC1K+ uN6PBEijO//0FC8uiskn7aSYNbeQyvBJHk8ADhzinZv9bpdoS3UnmNnGBopB1JwatBv87d2RLOjr OwwGI3kKu05JnDlv7nAKet5ATEVyvcD3zonKMui8c+OUp6hNZ2VhCBZKb+A6iPg8NGrhBSlTYXv+ RODac6CocsqtwwWSo4KqEeBPcbGqLGfzFTB2MyH9CRwc9bs0iNaC014Vy40HEXgl5C8scH0/gH24 cC/XVmH4TU+iDjl5k1c1t3FSvMI7d3CD2zPY9R/2gMGq0KWAzmMf+ibVDgiG9/j5qZW3Uf+gmMUZ GzglarSqmECMkPHOyvTSaWak76WS0gK94wcwLRgYWRwLFAmGZionQ8jFfz1/t0tMyqxPcEm80uax Dm7HyfjBsRHHPEeHyrAUT/s1ZQVvZW+9gG3TxtzLdFtJRh4rDAtZPKA= X-Report-Abuse-To: spam@semaster01.route25.eu Received-SPF: pass client-ip=2a00:f10:305:0:1c00:d8ff:fe00:461; envelope-from=rladams@adamsinfoserv.com; helo=se08.route25.eu X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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.23 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633962599; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=MWWQ0QMK9qWCpHo9nz2AAaSYR/1StSOyxzYGLRSzRA0=; b=VP/Og6Wk2VavOuGmlYCR0eJr0v5a6tqGFBzVT15HMTvAFeV6hEd39KLxf6/yaW9CKqVKsY 9R+Z4uHq+zh5NCIAhkuZPc/KyCRGfvl0kn/PwVSYdBR25zrU1Zf//qzxe10108cj4veqRW X+th6mNl7+eaOjtz13DKWYFqlbFb0iZD8CsXlI+1Hy4Qdw/96VRJl4xx22aYMJc2/MstZb nxocz04aCtFV4PNlHV2JWmcuwUkhmlhbRLFeb67hI00fJzwIQaUGDPWS6ETBAYA2YMONoW Wz+iisLKnfwczA6QccxZb0L9fMAyUwKKV8McpqBNAAorAz2XYE2UWgIiffY5fg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633962599; a=rsa-sha256; cv=none; b=SvIUZ8lP4pw44lyo110c7RBRR23UQBmArgfP9CfUwieEcBnFAWOV+chJnUIGMexGM5T4ke 3UR1ue7cuSY/nuJChs32DCPyG2mtL6akFcCyuPdDnL+ckRHxP/OLKKXwD+4fUzLbU+mbit o1qX9DhPrRSEUA10Ry80sxAdlMA3BDzykunF3usSSE3HIZf/Cum9TQtyf/E6i64+c2l902 TlhvSfgBvUzQWw+daNPCgu9kF0EWdqzbw5MaFNPEq6D6KGhPPWvCuvCZMeaNKKUKzC3cSS BYwCY2MyoEwb2063JeJUVajQ01tcPdc6dy7Yzc39qVESKLBOqmRahHaB9MhTOg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.31 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: C2DD26DA3 X-Spam-Score: -2.31 X-Migadu-Scanner: scn1.migadu.com X-TUID: 8HY912IWC5JZ On Mon, Oct 11, 2021 at 06:36:50PM +0800, Timothy wrote: > I’ve recently come across an interesting looking library available on ELPA, > . I’m thinking in future this could allow us to > both use newer features and also support older versions of Emacs, e.g. > > Org 10.X is developed for Emacs 28.1 and newer, but supports Emacs 24.3 and > newer with compat.el. That's interesting, using a library to wrap new Emacs functionality and implement a common replacement instead of custom work-arounds in local code. Do you have any examples of where this could shorten code in Org? I believe it's a tall order to add a dependency, but if it eliminates large chunks of backward compatibility code then maybe that's something to consider. Thanks. ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3