From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id bmjmE7HT3GSaeQAASxT56A (envelope-from ) for ; Wed, 16 Aug 2023 15:48:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id aH/sErHT3GRucgAA9RJhRA (envelope-from ) for ; Wed, 16 Aug 2023 15:48:33 +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 250063035B for ; Wed, 16 Aug 2023 15:48:33 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=iro.umontreal.ca header.s=mail header.b=e6sxcfe+; dmarc=pass (policy=quarantine) header.from=iro.umontreal.ca; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692193713; 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=ZCUdFC6R280HpSoJd3nBX7J/1UUdh07KiUDlJ4OvoMo=; b=lBT5DGj79pXw43pQe3kb+dnI5HZG6Akw7KUdv/Dv3KQgeEQR5HQYwGY5e6J1dfg1khTdY0 ccC9cPWXzhDw/u6x9/jeYVJ0qdQUKZlOyM2NjuQP/BZq/SG/NXG9RqdAJdUS6NFIX1w2rC C7fW5DH3UlNWAWQHSOihudc5qjs+DOk9tT2Nmc7oxmvffkrz/u/OcaJfv8DuRavUDsIPuJ /fonr+Ni5v94gCBVB7QyDWyOipfS/icRBt68stV0p0hvqr2ljhPmSC3nBmb6AzctUiXO8W RkjBkq8I3BpGSHboijAB2JrT/REthmQe+TZpCRgHKWlgZTD6jucWwPqKVdu/ZA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=iro.umontreal.ca header.s=mail header.b=e6sxcfe+; dmarc=pass (policy=quarantine) header.from=iro.umontreal.ca; 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=1692193713; a=rsa-sha256; cv=none; b=mEb7vGMvJTch0/6fgitzQsPIAl0BwhogHFXIuM/noNSg8YugLkaE4YvaYkz1nBZ9pZ3z5/ kN55OPyZ1iTj/aPxorf/xHWdBqN8dZ3ud8jEr4Zus3oY0ObXrVFZTnAGePvhS4d9V8Yqgq N0xhaTKZZoYmfBP7wZj+WiWsSgfCTacXusMKzm6tuX2v2NFQP7YE3IwrBR/2YfXbHzlmqJ HdlcdkUTX4S/suKR2+QnAVSFvJ3tX3M4nn77gSvhLKI21q0An8dM13N9nQ8JwnXrlQs5NB NwduG6EzG3Il5RGTZG2YN+Z4JC/ENEJWop84xFafm8zvJ/2/owdi2cGuAE3n6Q== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qWGml-0006tr-50; Wed, 16 Aug 2023 09:42:07 -0400 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 1qWGmi-0006rO-9c for emacs-orgmode@gnu.org; Wed, 16 Aug 2023 09:42:04 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qWGmf-0001ND-P9; Wed, 16 Aug 2023 09:42:04 -0400 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 7BFAF806F8; Wed, 16 Aug 2023 09:41:59 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1692193318; bh=WqCbVf2/VRbL513pKnnbQnT5xPGEJFbERf/PDSxcU0Y=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=e6sxcfe+1RbOwei0f3yHleeJCdPI/JArptGn80RpzOneA9rKspr5hPYZDPn84IdR0 +ea02jSWsXHBZltpJfMcrXEOMoyxMUdHBp70PxvaaFpciXNPdxi77vJ4h8xBV6YpwT z1IW2pAOmwSspeMpV/Boyxb72Cd7bPClic+dCYPSnySiPPcLIqz3x+rzfw3sKvsuXj XkwCXYNae1uZYxnK9PeLhmqiASIsYjLdyDiB5LdqK1DJkGIrJrdE++ULbw9w0lgWBK kPDi7/vk+ftdeqZFMNAA2LDbsv2J9REpBRplA6wIZlm3ZdczKjrPilNlFD4TTAT4H8 KtMJch6n9gaow== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 09312802CE; Wed, 16 Aug 2023 09:41:58 -0400 (EDT) Received: from pastel (unknown [45.72.228.154]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id D13D31202A1; Wed, 16 Aug 2023 09:41:57 -0400 (EDT) From: Stefan Monnier To: Ihor Radchenko Cc: Tom Gillespie , "emacs-orgmode@gnu.org" , Bastien Subject: Re: org-assert-version considered harmful In-Reply-To: <87r0o3p3bv.fsf@localhost> (Ihor Radchenko's message of "Wed, 16 Aug 2023 12:41:08 +0000") Message-ID: References: <87tu5bbajh.fsf@localhost> <87r10ey8ov.fsf@localhost> <87o7v4dvon.fsf@gnu.org> <87pmfijrvw.fsf@localhost> <87y1u4ec18.fsf@gnu.org> <871qqnjjdw.fsf@localhost> <87zgd85vc9.fsf@localhost> <87359yl2w5.fsf@localhost> <877cz7jucs.fsf@localhost> <87h6oznt28.fsf@localhost> <87r0o3p3bv.fsf@localhost> Date: Wed, 16 Aug 2023 09:41:57 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, 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 X-Migadu-Spam-Score: -11.22 X-Spam-Score: -11.22 X-Migadu-Queue-Id: 250063035B X-Migadu-Scanner: mx2.migadu.com X-TUID: p8ENA7rQPQMC > My attempt to use shadowcheck idea you proposed failed with some very > strange errors and I gave up. > See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62762#311 For this one I can see the problem. You define: (defmacro org-require-with-shadowcheck (feature) [...] `(eval-and-compile ...)) so it will behave like a function, except that it's also executed during macroexpansion, so the (require 'org-element) within `org-set-modules` will be eagerly executed while loading `org.el` :-( You should define `org-require-with-shadowcheck` as a function (just like `require`). > Although, part of the problem was > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=65286 which does not seem > to be reproducible by others. Haven't tried to look into this one yet. Stefan