From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OEqmDkA83GDTPQAAgWs5BA (envelope-from ) for ; Wed, 30 Jun 2021 11:41:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id uHxDCkA83GDzLwAAbx9fmQ (envelope-from ) for ; Wed, 30 Jun 2021 09:41:20 +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 A27D31025A for ; Wed, 30 Jun 2021 11:41:19 +0200 (CEST) Received: from localhost ([::1]:43166 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyWia-0008Dk-O4 for larch@yhetil.org; Wed, 30 Jun 2021 05:41:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38282) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyWhv-0008DS-Nr for emacs-orgmode@gnu.org; Wed, 30 Jun 2021 05:40:35 -0400 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]:35617) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lyWhs-0000iL-NB for emacs-orgmode@gnu.org; Wed, 30 Jun 2021 05:40:35 -0400 Received: by mail-lf1-x12f.google.com with SMTP id u13so3980016lfk.2 for ; Wed, 30 Jun 2021 02:40:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=2Cv3bhR2Uc/l/rUgzofN/qieucdYwmpHnrnEFb6SoX0=; b=RHZ1Sk69eFAboS4AFuWu0jW+Zebd/1r8MrAW5t7IQf92TL8qNcSTCMN5brfFLNGEKh px6eKKkjL3fcPDnMSDsMlIBiuxxWwWAYFTG7OISiuw5biAj3lkIcxeG6ewIl5HCDQAoP nEb7EpRR99uFchn9LEjYkNPNgHxfjjgcpRu152JJW2JYpCcZVvVpOZxmaZqvN0+4c56t 33WzssZplrYz9ulqAtexfy9lpH0D33ha2jXP4pVR+5zhqeXK7hVaOaH06bc6QY5EgVZw ma+KJDRcjA/T2h5f+qDflnzM74V6+EwmWxGGxvmy1JExmP7g8n1cviQuvh+r9hnUwUU1 OS5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=2Cv3bhR2Uc/l/rUgzofN/qieucdYwmpHnrnEFb6SoX0=; b=Im1RTkEVN59WSkcn+W64dydxQAQPVN9yBwhi3UaKNjDVvpP8+GkjyZ3XDRchN3FJCP Aem/oaoriurCEFbOBNmxfvrhI5b7opunkt+RWr7RFWnbzrdAMdaSU72MKrwIWSOPxmFx W1MAXcAPt7g4Xdjc0cU8u8oPKX6E1C6qtwhm61WT3WZ4GOQNMarq/9drzmpFsi2aReZ8 agnhk/yrK3XM1mT1Q6xP6FqsT4AQ5EqcYgArI8+CLZZU8Ook6pXNi9Dl+vV1zeVgzijt cpk194gGySVMVi6wKgqmvFDNZPVH9cmqBa6dxAL5ZNGwyqnDcexhAOQjQZPMBoyjhbL3 Pv/g== X-Gm-Message-State: AOAM530SwXU/cnB7kRsvQfM+ciJi/UAu/+KFUGje+HeH4PBHbNq7eP24 6dARfaNAV1gOwXrTrHjcABsTDlbToCvLlawsWLeDrEPqaXbwxA== X-Google-Smtp-Source: ABdhPJw/3mrDoF1EKAHAEC/G+NNb9OyCd2uAz5BGce5YQoFEMPdKJSIYuy06jzATHWjDS6yFfm6DGzxjbZLSg6T1Ycc= X-Received: by 2002:a19:c50c:: with SMTP id w12mr25924968lfe.397.1625046028598; Wed, 30 Jun 2021 02:40:28 -0700 (PDT) MIME-Version: 1.0 From: Michael Dauer Date: Wed, 30 Jun 2021 11:40:17 +0200 Message-ID: Subject: BUG: org-lint reports macros defined in org-export-global-macros as undefined To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="0000000000004740a205c5f883ab" Received-SPF: pass client-ip=2a00:1450:4864:20::12f; envelope-from=mick.dauer@gmail.com; helo=mail-lf1-x12f.google.com X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=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: , 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=1625046080; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=2Cv3bhR2Uc/l/rUgzofN/qieucdYwmpHnrnEFb6SoX0=; b=dorqPAA9icqNdTxRNtq/WOk0YvYy04Zkn7OP5QNM67e3W0P+yDfnQMoEPD6/eEA0GXRAEE lB9nJ5vbdm5M87VqhrSHg5dt5e0c3q4PgNjFRzQc46srvRNMr7hCbQKWU9oQkYHPj3lPUk L+HIMSTmHBEme8AosCN59SzRd3IGVwH+rTMxk4fQXtlUFNzc0swdr6+xt4pdLfQFxR+9PZ CTv5heDgNNoJZeln9FTCYWw+dt7ZVhxxHi/dl5aqDmJU2nMm7xosgx8jMrNiGFrXkGygX4 OJ2Q7yzCWLd782uK/r55W9KHEcWlrx/0WZVptg6cKpDgchjk6PK77CcZFilvnQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625046080; a=rsa-sha256; cv=none; b=N0WkVpZNXu7+GEiu+SlVZn72GcjRrrwwFk3WmKWXl1XH+PSjplYSX8WoDsisUeh1yRgZMy 3xKeJoFIuzm/FYc0hA9EeERnGk2ro/HszRet2Jks2qipiTC+7aZIOPaXqCUMqd4zujq3A+ 9FOlK7z08q4wBx4H7rttshcAo3C20Ua2AMTOwEYDEsMh+idoq364zTTlenZKebjJ1Sw5Zw yqTFj6iId6YlAsn+ViWnxI/g79WLIz8DyuaUftDkY8LJ3aP8wsVDCvxaOQi1VO03t75lwC PBHURmWa4w9doohWzhULxOiKsw6hvShMVdwJqUlQlOeNt/7bVnQZM00e9nrNDA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=RHZ1Sk69; 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=RHZ1Sk69; 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: A27D31025A X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: /Ywc7wDuAFBG --0000000000004740a205c5f883ab Content-Type: text/plain; charset="UTF-8" Hi, 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. I'm going to work around this with a temporary advice filter-return on (org-macro-initialize-templates). Any better ideas or even a fix? thx m --0000000000004740a205c5f883ab Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I have a lot of global macros defin= ed 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-ini= tialize-templates)) and a few default macros.

I= 9;m going to work around this with a temporary advice filter-return on (org= -macro-initialize-templates). Any better ideas or even a fix?
thx
m
--0000000000004740a205c5f883ab--