From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uE4yHEzH3WA6MAAAgWs5BA (envelope-from ) for ; Thu, 01 Jul 2021 15:46:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id ECftF0zH3WCDYwAA1q6Kng (envelope-from ) for ; Thu, 01 Jul 2021 13:46:52 +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 A8CF011D84 for ; Thu, 1 Jul 2021 15:46:51 +0200 (CEST) Received: from localhost ([::1]:35794 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyx1m-0002mg-Ow for larch@yhetil.org; Thu, 01 Jul 2021 09:46:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54878) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyx12-0002mT-26 for emacs-orgmode@gnu.org; Thu, 01 Jul 2021 09:46:04 -0400 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]:42828) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lyx10-0002mJ-Mc for emacs-orgmode@gnu.org; Thu, 01 Jul 2021 09:46:03 -0400 Received: by mail-pf1-x42e.google.com with SMTP id y4so5938080pfi.9 for ; Thu, 01 Jul 2021 06:46:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:message-id :date:mime-version; bh=g4IvF+AxV8uNd3tz11eM+hX0ro6WwEBEvegZJrPRIgg=; b=ryEFJEMLWc51KgXDgUyjsv01EtMKdXXkIi24SJxbtVg8t9D1KxA/3KlmadxNrCV/Wu cQECdVckuvl9fxpKN32/R8GI6ObAcmNGiIfrK/c+i39iKdEpHPx/yq2o5yvMLhP61jBG cU99Uu3bGWUpG71LlywUKpjp+Jdw7EPm3yq35zr1Kq0lYAmLL6YD9kuxZ8SjqUdYVDQz BWil420fJEZJoVy3Wb3TzBXUXSzNcyu6UULl6tnjHJMBFn2ZR1arVvrz8WtE4Tx5XOfQ tWWZ3eqE6c9Du19fkgg4oQlNHLBCN759a91zOA9eLAt15gKoL5o42Jp1VYqNzS4X10Bn dizw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:message-id:date:mime-version; bh=g4IvF+AxV8uNd3tz11eM+hX0ro6WwEBEvegZJrPRIgg=; b=OLzvQ1o9MdWZE367vhQGjWJxmdh5s/OuyvjYC/hx7xnOSyBUE+apCX4HmspyJPL0cC vg+8Ii3ITtsyb+5Jehx5Jy9sdQFuPJqrtCOxymwaxl9uTgBkrHSlS/Zeky63vyqj+uUj 5sX7aMey2H6B7J3OSniGOYO5GZyatHQKhVbnoLe7NeJWhszO2FnCJHUQIHt5UI9fBz1t N0sOQKcCfLxLDV5TKwix12jQANDplfhIt5OGPBlc5w845hSqqOauVHstQzGPCym6AZzk uhpLt7Co6++CfGpemXnuHhRoY/iSYAZni4WcDpLLU0zCxgc0CwLbB2bnUIEt0BN3n19F eEoQ== X-Gm-Message-State: AOAM533ATAgWxGsbETODv7/91kIoDhnqTSmbmlj1sO1jG7JyXj8nCQoH xp8jqWdSeZawLs5dsoR18E4= X-Google-Smtp-Source: ABdhPJzbPb6ocyB3jZUqSH+HQFPBGNwdcJBDtsTLLDK/kCziVETfDOnvdaP6miLv2q6nkhDlNgCINw== X-Received: by 2002:a05:6a00:85:b029:309:afcf:7919 with SMTP id c5-20020a056a000085b0290309afcf7919mr84817pfj.1.1625147161062; Thu, 01 Jul 2021 06:46:01 -0700 (PDT) Received: from localhost (180-150-91-8.b4965b.per.nbn.aussiebb.net. [180.150.91.8]) by smtp.gmail.com with ESMTPSA id j22sm26690787pgb.62.2021.07.01.06.46.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jul 2021 06:46:00 -0700 (PDT) References: User-agent: mu4e 1.4.15; emacs 28.0.50 From: Timothy To: Michael Dauer Subject: Re: BUG: org-lint reports macros defined in org-export-global-macros as undefined In-reply-to: Message-ID: <87eecii1uy.fsf@gmail.com> Date: Thu, 01 Jul 2021 21:45:57 +0800 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::42e; envelope-from=tecosaur@gmail.com; helo=mail-pf1-x42e.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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org 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=1625147211; 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=g4IvF+AxV8uNd3tz11eM+hX0ro6WwEBEvegZJrPRIgg=; b=s5u4HH7FmSQKSsk+DWuSmEDkHsWeDK7hdAV58iuyotNN480c9VkZMjcTKxh3+axfyTiAJq JiuViwji7zU32RFcup5fmc7e7vkfjqSDZw7iOtDa1cVNIuuoA+p+a9nJ99JV4h2Lei76Nc taFeYeWDWo5yphhvD6MeeJk2+MWnnUqEslmL/l2NKjVBGh8mQo+aGWSvHkrSI1UxeoOLtp 5sEsxAvFHagaAI8eSOwuDKFowFSHdJQVEM23ROTHZVTqS/AyNLsRQPurYG0TqaFhPHNFrP igg5Ic+mPCMWCjkB+/sblKGDq/Ky2DxP/vCqwdL1b/yKPSlIM3alPv2WyDXH9g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625147211; a=rsa-sha256; cv=none; b=q/FcA1GYQKXHXjc7DafF/rVviwMMiipttAlq7sYQdOlC7AtwUbNIfIOZX/q3IcJMgdrzxq j0qTmk4ts4cZnG9Xc7JhuPcbPjKtXsWerxhhIUrCNbaHVT6J9sgaDoqiWfL5n/53ZbFVCl I9wG/TBEJ+eEhWvbHAKw+g/WfwMjGKSf6GPHH93m3j/fKDRLbysUDtIasuNk81uFXp3cYX sTi0PURFnLV8/am+M22cx0ytWxjhv1/v4O74en4zjijWBSQUnIydHh1qd+MG+iwyxUjpEm Qv/tJU9bL05tKlicWncykgG546/Lq1uWBXGHyDlNTNk+vKABTeaq8SJOLQlKcA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=ryEFJEML; dmarc=pass (policy=none) header.from=gmail.com; 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: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=ryEFJEML; dmarc=pass (policy=none) header.from=gmail.com; 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: A8CF011D84 X-Spam-Score: -3.12 X-Migadu-Scanner: scn1.migadu.com X-TUID: LhBQtwz6iX90 Hi Michael, > I have a lot of global macros defined in org-export-global-macros. Wherever > they are used in my org files org-lint reports them as undefined. > > It seems that org-lint just checks against org-macro-templates (collected > with (org-macro-initialize-templates)) and a few default macros. Unfortunately I have yet to look at the internals of org-lint, so I can't provide any particular insight, but this does seem like something which should be supported. Hopefully someone else will have time to look into this :) -- Timothy