From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id uCwVBj7FRF8QZwAA0tVLHw (envelope-from ) for ; Tue, 25 Aug 2020 08:01:02 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id YMHmAT7FRF9mSgAA1q6Kng (envelope-from ) for ; Tue, 25 Aug 2020 08:01:02 +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 2895F9408DC for ; Tue, 25 Aug 2020 08:01:01 +0000 (UTC) Received: from localhost ([::1]:44800 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kATt4-00012R-OT for larch@yhetil.org; Tue, 25 Aug 2020 04:00:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kATsL-0000zl-UN for emacs-orgmode@gnu.org; Tue, 25 Aug 2020 04:00:14 -0400 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]:45607) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kATsI-0005FD-TD for emacs-orgmode@gnu.org; Tue, 25 Aug 2020 04:00:13 -0400 Received: by mail-ej1-x62a.google.com with SMTP id si26so15306067ejb.12 for ; Tue, 25 Aug 2020 01:00:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zzamboni-org.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=9X36bgtR50Hf0C5uio4n6Xfzwa8WJvTOW8/z8Ux7FJ4=; b=PbFTnc55SCm3j1QB3xoPbuZIyxoDIEE9BKxv8eozJvUa2f6GdU6kzXMJnl9A0l4FRw Jhirr/KgF655rqXWgpxGmAlVk2sRpWSTCtsy/4t/+AoqjRMNetaXGwK6YT5USFFeoSra dcfGdwaR++mcagGhjpKKsPPrB3UpXe5YLh3V7ayUL0cClMXEaDjCvAtp0YaoPYXhS3ca lwNVvwyR5d6Xy0NK85EWarve3A0cL+fpz0T9BlxM4tY97TCA6h37sKE2nCiRK9POoY7G Jdvs88JYizyvURMzGYIXrzB4iUZ6XC8SBxd6IPBywHGjRgSToRWEg0nY7l2YJPQwniJX 2Xww== 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=9X36bgtR50Hf0C5uio4n6Xfzwa8WJvTOW8/z8Ux7FJ4=; b=p9I4aC2gkppW8Lp6jFIv7wa4uk884uU0O0f/Y6nV9y+AJ4tndsfJVTrvNKiLnx56Hi mllcYT7aAbXj+qiIYuDKk1L/qKtn+UR5AYOWK0oCO3/2xORGEwdSKIBNdaDWihhX3Pym Su8HPTRCWreZCasJ+JOpMrimdqdTT2u5MwgHszBwtu5IazN1Zu+IZ4R8kyxxjTzbMenu 9jc5pEaO6d2s+wHGKzhCh4f2xBHrdPANZ2rCOnXsqy/nqLwUp5H/Qk5q71gAp0F5LFCz IwtYowRDWcKokCMNyH+1UIi95vkAXgn9rQ9HgVooEJYrzJ5pARULh8jxUmS24jO8+Xzz AmzQ== X-Gm-Message-State: AOAM531ylSlk/B2KpmQGM3W3ZtfqW8vfjC5xAQ/NPh45ABfWmk4MMyer QD0XGYNYYYSnRhEFlRQxYlgm8L0BkicxblBO0YG7ACcPUMDx3fcm X-Google-Smtp-Source: ABdhPJwDsnCxU2F8lzmDYuWHo547+YRQ40XLA6KLspFidpBtG9+EePWo0gDaQhiFFTZY6Ry29P4HyOZ44V9Gl/9KCew= X-Received: by 2002:a17:906:560d:: with SMTP id f13mr9228946ejq.102.1598342405720; Tue, 25 Aug 2020 01:00:05 -0700 (PDT) MIME-Version: 1.0 From: Diego Zamboni Date: Tue, 25 Aug 2020 09:59:55 +0200 Message-ID: Subject: How to expand macros in tangled code blocks? To: Org-mode Content-Type: multipart/alternative; boundary="000000000000529fcd05adaf17b0" Received-SPF: none client-ip=2a00:1450:4864:20::62a; envelope-from=diego@zzamboni.org; helo=mail-ej1-x62a.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=zzamboni-org.20150623.gappssmtp.com header.s=20150623 header.b=PbFTnc55; dmarc=none; 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-Spam-Score: -0.21 X-TUID: ReeMzoaODXjo --000000000000529fcd05adaf17b0 Content-Type: text/plain; charset="UTF-8" Hi everyone, Is it possible to expand Org macros in tangled code blocks? I found this old message: https://lists.gnu.org/archive/html/emacs-orgmode/2011-03/msg00857.html, but the mentioned org-export-preprocess-apply-macros doesn't seem to exist anymore. Thanks for any tips, --Diego --000000000000529fcd05adaf17b0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi everyone,

Is it pos= sible to expand Org macros in tangled code blocks? I found this old message= : https://lists.gnu.org/archive/html/emacs-orgmode/2011-03/msg00857= .html, but the mentioned org-export-preprocess-apply-macros doesn't= seem to exist anymore.

Thanks for any tips,
--Diego

--000000000000529fcd05adaf17b0--