From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id KBJ8EmhiWGYiagAAqHPOHw:P1 (envelope-from ) for ; Thu, 30 May 2024 13:26:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id KBJ8EmhiWGYiagAAqHPOHw (envelope-from ) for ; Thu, 30 May 2024 13:26:32 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ifi.uio.no header.s=key2309 header.b=s06ol3dM; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1717068392; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=4ZYoJOO0DASHX4Rhr7p1UGIvPovThD8G6yzFs1u28ZA=; b=eXvszCsjYYgI6dV8sAM1DiFpTHYEeJFY3YGGfzUsLf5z9XQ+o86++l6mLP/mUipUjIgDqX nYkTyARW0KrJoMj86D4XR487mOXF2djdsezvasHqT271K6ubgLpgPC3JSgZ0wjNvG1myBg xJq/aCFivPLgB8y2eMWocuVhu8Zfs3ckBtBZ1t8jVgUCKB0xhldMkDZo07ZHZ0r1IApfa0 V/oSfFzVazECEsA6LTKW8Dyxp9ytQkC25A8w48km8EKDrIQLE2h4fA1zdUyqKAuHej8057 fE6wc5vZ+y1sYZoHTCvz1KogW3DpmAQq5t6Qgddo5mp1rr856Ay6KwZLMxbWDg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ifi.uio.no header.s=key2309 header.b=s06ol3dM; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1717068392; a=rsa-sha256; cv=none; b=EtoBXafVyD5zHxQLQZ7hvn9VQdSh+upB0C67mRAfmWJuGZu4dZ//6HKifl+q1UBFpesMrK yB80Tba4LUS+CcasVbAH/mHoDFm4FozXtuegscqIq5zgI0JfqjmlwNaOKui/gTmzE2hXc6 oYe56S9NQjIOqAokjg91Soyrs84/u+FKBXpf5NoFuNMrgjtC0LbUbVq+rl90lu7UFlSCzA sII/Fzt6PC5qNpeYBVZcoVJ7MNcqiC/EIa5pKA04uaGM/zcoYMmlugmjNQi50xuF/Ca3ch IpwsPcYJTdM9S5teBD0jwR0tZ9ZRpi9u9FFA4k23InHC8vgoP9Yh/7BEmmQLnQ== 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 DDFF3CA58 for ; Thu, 30 May 2024 13:26:31 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sCdul-00058X-Hv; Thu, 30 May 2024 07:25:48 -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 1sCduj-00054a-8v for emacs-orgmode@gnu.org; Thu, 30 May 2024 07:25:45 -0400 Received: from mail-out02.uio.no ([2001:700:100:8210::71]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sCduf-0003MP-5l for emacs-orgmode@gnu.org; Thu, 30 May 2024 07:25:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ifi.uio.no; s=key2309; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References :Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=4ZYoJOO0DASHX4Rhr7p1UGIvPovThD8G6yzFs1u28ZA=; b=s06ol3dM4EVoDhSR4em/Rix2qY 5NAV6a/8TyHN1/ZJ80Aq/QxNu/L3vIcWqBCK7hYnUz7nZlXSyDNBWgV0SVT7LV6Cc2YYlNH0qyHsC 1A7tyKIaEoLKFlqswdRyf0ZinfsXmsL9kmXvD+6TT8Bs5uLxfTXpMgY9WDQk3wb7/7B8u/845XOWx cL7J7UC7ukpxwuN8LL9gfbHQlO0LzPsdG4i0FNADfRXKpEg8NTYiJYwR4ROBWvY1mg6XmgT42AVJ2 mikKnALX4o3H36m0yTmOjTzx1dVh8v9+GyLIv04nIMaEHs+o8eHMhUt2qnK/jrMZsLA2d9ZsNrk+t W6x5ZGTg==; Received: from mail-mx12.uio.no ([129.240.10.84]) by mail-out02.uio.no with esmtps (TLS1.2) tls TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1sCdua-00BnH3-0F for emacs-orgmode@gnu.org; Thu, 30 May 2024 13:25:36 +0200 Received: from galneryus.ifi.uio.no ([129.240.137.34] helo=galneryus.ifi.uio.no.shmi.ifi.uio.no) by mail-mx12.uio.no with esmtps (TLS1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256) (Exim 4.96.2) (envelope-from ) id 1sCduZ-000G1u-25; Thu, 30 May 2024 13:25:35 +0200 From: Martin Steffen To: Org Mode List Subject: Re: question about links, macros + org-publish and "parametrization" References: <877cfdovmb.fsf@ucl.ac.uk> <878qzrofpy.fsf@ucl.ac.uk> Date: Thu, 30 May 2024 13:25:29 +0200 In-Reply-To: <878qzrofpy.fsf@ucl.ac.uk> (Eric Fraga's message of "Thu, 30 May 2024 08:40:18 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-UiO-SPF-Received: Received-SPF: neutral (mail-mx12.uio.no: 129.240.137.34 is neither permitted nor denied by domain of ifi.uio.no) client-ip=129.240.137.34; envelope-from=msteffen@ifi.uio.no; helo=galneryus.ifi.uio.no.shmi.ifi.uio.no; X-UiO-Spam-info: not spam, SpamAssassin (score=-5.0, required=5.0, autolearn=disabled, T_SCC_BODY_TEXT_LINE=-0.01, UIO_MAIL_IS_INTERNAL=-5) X-UiO-Scanned: 0638854D982659F935C6D690A5AC82A78BC87261 X-UiOonly: D3DD3F69B27643B717BF9918BB772ED02E61857B Received-SPF: pass client-ip=2001:700:100:8210::71; envelope-from=msteffen@ifi.uio.no; helo=mail-out02.uio.no 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, DKIM_VALID_AU=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_CSS=0.1 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-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -2.35 X-Migadu-Queue-Id: DDFF3CA58 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -2.35 X-TUID: 0368IXG0CT4G >>>>> "Fraga," == Fraga, Eric writes: Fraga,> On Thursday, 30 May 2024 at 07:03, Martin Steffen wrote: >> [...] #+macro: target {{{source({{{year}}})}}} Fraga,> So, the problem you are running into is that you cannot Fraga,> evaluate a macro with arguments that require evaluating a Fraga,> macro. Unless you can change the order in which you Fraga,> evaluate these macros, the only solution I can suggest is Fraga,> that you define elisp macros. See the info manual, Fraga,> specifically the second example in the macro replacement Fraga,> section. thanks, fair enough, I look into the elisp-option. Martin Fraga,> #+macro: complicated (eval ...) Fraga,> -- : Eric S Fraga, with org release_9.6.19-1230-g407a55 in Fraga,> Emacs 30.0.50