From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 0PjgD7jpH2OsmwAAbAwnHQ (envelope-from ) for ; Tue, 13 Sep 2022 04:23:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id sDL6DrjpH2OcHQEAG6o9tA (envelope-from ) for ; Tue, 13 Sep 2022 04:23:52 +0200 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 E31E62F655 for ; Tue, 13 Sep 2022 04:23:50 +0200 (CEST) Received: from localhost ([::1]:41082 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oXvaX-000641-WD for larch@yhetil.org; Mon, 12 Sep 2022 22:23:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59934) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXva0-00061B-0q for emacs-orgmode@gnu.org; Mon, 12 Sep 2022 22:23:16 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:55533) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXvZx-0007J6-OO for emacs-orgmode@gnu.org; Mon, 12 Sep 2022 22:23:15 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id C3E565C01BC; Mon, 12 Sep 2022 22:23:12 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 12 Sep 2022 22:23:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tecosaur.net; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1663035792; x=1663122192; bh=DbFBdw1Abb ltbhkK2+lqYDGQDkADBUImGTnOMvd7EvA=; b=gZ2Ys+XZ2HlyLk3Tb9I17x+YrS TinTn15nH5iZtgMew8NeefrcTrhuJGRcxPqHOIZAJi0qBLUvoNCSubZal+ZUeCoJ nLWSEXbuvbPtIM0Heml1g9VFRoaLdRg1spkOkkoAwhxvjNtXyW3PHRPzIPW0Ulw8 +J+TgbefTlDYdb/9dk31TVkVp9dcXVzkFKS2ciTbYQTIVK6ZoyNZjDCPjMJLTahg iPKbJH4l9zhgLeRbxE0W5nLvkJR/HlGRXvnVAFlZrSHncoHdV91Z7OwQ8ntqHNFp PsJztX1CjkDBSDPyb9fnm6v52iurha4LWl7AHl6/6c+Z/BVywBytM8eZSDmQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1663035792; x=1663122192; bh=DbFBdw1AbbltbhkK2+lqYDGQDkAD BUImGTnOMvd7EvA=; b=CmYRZK/tynfHl7o1EiB0n6ZkCzCjTzEFBjf5uxsQnxh9 TS4z3NkqV1j7PRAYkzmWmnp6tPyFhRLFBFX2uT+7+MQlcHQQNkuntmjxZh0fWPht BnHZQ6RL8PqyPdNhQ5IUOdBqfzgjHrzLRke2gJhkzWxHA1fpb9uZjswGTSN2/Amn cfOEynmqZDuaJlIzmfBJnfjU3qGPqG1clUE9b37Tn9r19X2H/X/KKP/s5jFC3j/H ZoXOwnRK5FoX2tyfFVXCHjgWl+b1cteyizItzMg7PqgIuNp9We7infyumgBozgeK 0k3rVuMKIvt+xzvI65DCyjYHhvSoSxtSaKtIbRMBQg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfedufedgiedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefuffhffggjkfggtgesmhdtreertderjeenucfhrhhomhepvfhimhho thhhhicuoehorhhgmhhouggvsehtvggtrdhtvggtohhsrghurhdrnhgvtheqnecuggftrf grthhtvghrnhepuefguddugfeuteeffeehlefhhfdujedvkeegtefgkeehudfgieekueei hfevleffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epohhrghhmohguvgesthgvtgdrthgvtghoshgruhhrrdhnvght X-ME-Proxy: Feedback-ID: iecf94634:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 12 Sep 2022 22:23:11 -0400 (EDT) From: Timothy To: Ihor Radchenko Cc: Stefan Monnier , emacs-orgmode@gnu.org Subject: Re: org-assert-version considered harmful Date: Tue, 13 Sep 2022 10:16:41 +0800 References: <875yhsujkq.fsf@localhost> User-agent: mu4e 1.8.8; emacs 28.1.50 In-reply-to: <875yhsujkq.fsf@localhost> Message-ID: <87mtb4qagj.fsf@tec.tecosaur.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: none client-ip=66.111.4.28; envelope-from=orgmode@tec.tecosaur.net; helo=out4-smtp.messagingengine.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1663035832; 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=DbFBdw1AbbltbhkK2+lqYDGQDkADBUImGTnOMvd7EvA=; b=USh7JjSKWmeaxyR3vCQskBQDasDR1oR1bAfn7iw0M0yP4ZVWskBJJTyWLuvAvU5CNHytzD fRnUhuNjsbOsLPOnO/PIAIpR9AjdCXu6RQ8sUiUWLonWmG7fqNiETDo31EEZwTJzGuUfGP YIi8df95BPYGUvQ6wCZbB3+kGIjl0UOSCE/4sf+Y6HcIsRByKkZpVb6VudvsSWSkgS96VU BOU9xo+PfghsfxHyjiB6cfEOpu7vwEr2dUdctNyaHV5mFo640Iv6F8FasbjwXlA1VZSlCm yGtvDGlDBumrOJXU9iNSHN9CO3PHR0bAz8cR4DHDTmMWKH0rIe9+ANPc9lKc7g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663035832; a=rsa-sha256; cv=none; b=IZOSwVOkTIzcxS5qBYlnUOz4vceE9KcAg3kWIXyJ9/F3nxn+vUQAn21Gnq5VbNdGuUjZPh tEWyceSOCabAPwkzl6BrCBZgJf4LsEwX2lQKdaHE+61QU4dHgmRJMKAaoYEr+L5/jPUg/w q2E4PBTey7FZUkZJKZDLU6MhZOZSoOBAVj/b9iv/Qmv+MMpeK0RXfPaNJxWVdxadfkwWjn qDZkstf9Eo3sGaYvlyuiNOCc/gyJxByxdS3jHZ8YJ1HS4GRyyA9OPGvwMVLWqTo9j5dis0 fTPpUiSTKUAhVBiIceI8dAuiLZwbh+ZX1FoL0afMIFTlQO5ttcaXRtrTXoy16Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tecosaur.net header.s=fm1 header.b=gZ2Ys+XZ; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b="CmYRZK/t"; dmarc=none; 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: 3.40 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tecosaur.net header.s=fm1 header.b=gZ2Ys+XZ; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b="CmYRZK/t"; dmarc=none; 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: E31E62F655 X-Spam-Score: 3.40 X-Migadu-Scanner: scn0.migadu.com X-TUID: McQtxm4STbfs --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Ihor and Stefan, Considering the separate cases of: =E2=80=A2 Installing an Org version different to the bundled Org =E2=80=A2 Having a development Org version with some slightly-out-of-date c= ache/autoload files. I=E2=80=99d think the second case has a dramatically reduced chance of issu= es. Could it be reasonable to change the `org-assert-version' check to act like so? =E2=80=A2 Check if `org-version' matches, if not error =E2=80=A2 If `org-version' matches, but `org-git-version' does not, show a = warning message. Alternatively, we could create a variable `org-assert-version-allow-git-mis= match' which can be set before loading Org (by people who know what they=E2=80=99r= e doing, e.g. Stefan) to enable this proposed behaviour. What do you think? All the best, Timothy --=-=-=--