From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uNIoGqfliWNyMQAAbAwnHQ (envelope-from ) for ; Fri, 02 Dec 2022 12:46:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id ENRcGafliWNDmQAAG6o9tA (envelope-from ) for ; Fri, 02 Dec 2022 12:46:47 +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 14D751C1C3 for ; Fri, 2 Dec 2022 12:46:46 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p14US-0007J7-HU; Fri, 02 Dec 2022 06:46:00 -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 1p14UQ-0007IS-Tq for emacs-orgmode@gnu.org; Fri, 02 Dec 2022 06:45:59 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p14UO-0001JI-QQ for emacs-orgmode@gnu.org; Fri, 02 Dec 2022 06:45:58 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 20CC8240105 for ; Fri, 2 Dec 2022 12:45:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1669981554; bh=5Zw4aWe0KnfiJ2ADbC6gwraUzeTTUh22EFDHIov1VsU=; h=From:To:Cc:Subject:Date:From; b=VXRciaoD9VGdIXpMS3kuVOik5yf0zgnKbeJJ3PjXzxoei3H/OUw6RxeJsSU7LJL8a QubSmTHW4n2gLVnmyZkLgftoINVd7qZ5bWo9KHIB0Y7c9MOvlP7OikMhH79MBRQgwL TebPtbqAU6qEL6dh6hFwkTORJFZSk/i0eKCFRyHYMYvz1bcLUxteWEMKelJXGYuL9l s5NPmoO3BAdpJotbGbz6OfNjKXbQfyr/5BNPL1td91xl2ajE8OOQ3ZxHhsqjGdw3mX QKo61WiJuGeYS/T+PpYL8B802Pcku0SeErP0qTkp3hRXyXYMGUfDJTTH6owrc9gSNG GyR0iDhEFmovA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NNrjm06ppz9rxY; Fri, 2 Dec 2022 12:45:47 +0100 (CET) From: Ihor Radchenko To: Tom Gillespie Cc: "emacs-orgmode@gnu.org" , Bastien , Ihor Radchenko , Stefan Monnier Subject: Re: org-assert-version considered harmful In-Reply-To: References: <875yhsujkq.fsf@localhost> <87h71ct10n.fsf@localhost> <87tu5bbajh.fsf@localhost> <87r10ey8ov.fsf@localhost> <87o7v4dvon.fsf@gnu.org> <87pmfijrvw.fsf@localhost> <87y1u4ec18.fsf@gnu.org> <871qqnjjdw.fsf@localhost> <87zgd85vc9.fsf@localhost> Date: Fri, 02 Dec 2022 06:45:46 +0000 Message-ID: <87359yl2w5.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_03_06=1.592, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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=1669981606; 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=j4TJCpQ0PKWcV31g6p3FuIHDYHXqI64yjhzO95sXmeU=; b=hniyXVMgDgksZ1jIVLuhOUv8dcrlsFSXCxIC56uzUNSOiDUnC4Pwvv0FIvFyoMdJylsVok KuJIk5E7XqQWcxXdwPRjDK1OebMBDT0tbPnubzDZWaQad8S68iQg589ulB15aEBIwoEiz8 wSuRQpajpXzN0Mywori5zXNEpV4J1hmfhyzpUb18GVx8pPnL5TxLIc47ZOSuu6LCN0qBLh QTzlUet1tgbBMuL9x4E8Gbb6O+oNyZ7T4E0xNEfXb/cIBEKc1mscNYeEd4zyakTjBqQ5W2 ZKWE9qiGWwEp3qwq3B5ze12q4hKl7aJuuYNoqr5LQqdxJtS3nRkSE9fBso3nfQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669981606; a=rsa-sha256; cv=none; b=mD0W7HfUVRCJ2dsURIgEXyygMZVGqEVRDhodDwExeeTsRnBHpcdpGW/KODSuo2WWGms2Iu 8ukSskyse6KRhDg+eVDJeNxh2KbvgOJmfuoStaDsTNG0W6Rnh0JWSzWVAwYUaGwNGRWy5K 4yHnafaINvfqz8f2JgV8ISI8Vfefi3pN8CmRK1UAvdxrqYrKDpHSyHLuUuDiKNONhfqBp8 1FoXq+nC73adrE4siwOCHJkXxwt8s1nW8VSOwYEl2ke642f6Cdb2ty0J91OdUgHsWf2Kjy BYQT+PjAN8LOXlYjMZ6VokoJjdeAkrIG242OX8UNSeH2URQHdhmjhs5Y6FiIZg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=VXRciaoD; dmarc=pass (policy=none) header.from=posteo.net; 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-Spam-Score: -4.27 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=VXRciaoD; dmarc=pass (policy=none) header.from=posteo.net; 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-Queue-Id: 14D751C1C3 X-Spam-Score: -4.27 X-Migadu-Scanner: scn0.migadu.com X-TUID: kabWnzwBcaao Tom Gillespie writes: > Without going into too much detail, an orgstrap shebang block is > forced to use the system installed version of org because it is > intended to work in the absence of an init.el file, or before an > init.el file can ever be loaded. Once you load built-in Org partially, attempting to load libraries from newer Org version is a recipe for a disaster (random failures due to changes in the newer Org). > This means that if a newer version of org is installed then no code > can ever run again after that package is visible on the load path > because loading the newer version of org will immediately cause an > error when something (e.g. ob-python) tries to require org-macs, > terminating the execution of the orgstrap block prematurely. There is > no simple workaround, and there is no guaranteed workaround aside from > going to great lengths to only ever use the builtin version of org. If you absolutely need to load older version of Org without affecting user's choice to use newer version, you may consider unloading Org first. See `unload-feature'. Ideally, Emacs itself should provide ways to deal with multiple package versions. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at