From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id aI2uFXDsVmYWWgAAe85BDQ:P1 (envelope-from ) for ; Wed, 29 May 2024 10:50:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id aI2uFXDsVmYWWgAAe85BDQ (envelope-from ) for ; Wed, 29 May 2024 10:50:56 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ucl.ac.uk header.s=selector1 header.b=AHitaaiM; dmarc=pass (policy=none) header.from=ucl.ac.uk; arc=pass ("microsoft.com:s=arcselector9901:i=1"); 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=2; s=key1; d=yhetil.org; t=1716972656; a=rsa-sha256; cv=pass; b=PIcxkwnzykmA2IenJ9Khq8DyQBm1jZkozPnaxUbzOhGz7omfl/lrrGAKPF1D+kdGnNSkjB h9fPE7XKizfid0bKXN3d0BNw5ndg7fVz6kLReY0QQ6c1d16MUjDi05T99BbPIZ/yWx/ej5 kU1Vvd631oW/f8+VXwrz9Htfe5bcor/dVKSYsZQ6fRI7ScDyKgu1ptnQ2SWV60waa5J3LQ bInwye/bff1urDy5fQGLoEr+SEH2EKqhzg4hZhWW7NBZJTks7W+0Vuk4JUISxEqvNZiNta 9CDHjvEUhVhg7cDt7kcaIJ/1Ics/tqsbPfVC8OMVh60r/p7Fx2yWWus9MTRurA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=ucl.ac.uk header.s=selector1 header.b=AHitaaiM; dmarc=pass (policy=none) header.from=ucl.ac.uk; arc=pass ("microsoft.com:s=arcselector9901:i=1"); 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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1716972656; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=jrTctZ4GOCYCDSDjPrDLyPCYrQzIfNBQ2/IyUfGFWiM=; b=afUAjZMmztD4KlJDxH6FTy/aW4Os90fGnPg06LjDz0lCRV70LM9FEx0hrEjOOwACEx7pH0 L6/U3HPz19ohc9Xo9OkRDkM1/Ww/e+lWmigF2gDO45xB+AgdSphp+5LT7V3ekTpRtDIDeo HqJEGnghssL3Q+CBcIiy3WcMjLzR7RQd1TPVxmYudyAmXDzb2WVid15KkwW2wKjiAR9Kck kJLo+N47euo1ab/2ANbXdlnkn/OBpVETSIKjYvCzMUug4jwkLTYRRphJY8Zf9EWrQWaoHu yY4F68MGxqzohCX2UoX3qLJowPj2/UvjdYzaGU7vNzCbX1rj5tcJr38rwpszZA== 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 DE83E10683 for ; Wed, 29 May 2024 10:50:55 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sCF0H-00083P-FN; Wed, 29 May 2024 04:49:49 -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 1sCF0E-00082U-Eu for emacs-orgmode@gnu.org; Wed, 29 May 2024 04:49:46 -0400 Received: from mail-vi1eur04on20700.outbound.protection.outlook.com ([2a01:111:f403:2611::700] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sCF0B-0000OG-P1 for emacs-orgmode@gnu.org; Wed, 29 May 2024 04:49:46 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NPpr7b7KnEtOaU/KRunVGJmtiq+bbWFX0fq9cRR9nxti7660PS7dkC/K4VQaPhwsS4FwCW54ln2SjuzYlJKeBJeLlk1tO595clvcVP/jQgSNGx3mUKYN8gRcTJYvPZTm7Rb669+syqE0VZjZFefC/RBCohel85Vzzfk/hIpDvbaG1CPR55wG652KByxhaaKuKseLadxyYMGYVEQFjn8/LnKIkmbFmBiMHC3de+Qr5jJBVnyZzGNimGV1Q9tHUmcC4mbwBWppp+D4L9Mi355UQGYqdJ7HyeIy7NGJCzvJAY8hV0gSFJi8g1oklyMmEicKSsLt0jwDK6uSj+oK2/d8PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=jrTctZ4GOCYCDSDjPrDLyPCYrQzIfNBQ2/IyUfGFWiM=; b=MLTy0+Tw6TRgQ5mrL8o0/Zt4y/OMviV0V3CB1XNmhJkJ5xgbDqWvWEgt2PtEJTbhFjVnByq8lC0ysLvnphgTUL4zPuxJHD8oqAdtxSoTW/MScJewrFyw71sYfRU2T955nATPLWWycD82B40sN++zKrpyzys+6xURCcDWypGuGTxKYeJbTaQvThyka+AnEwU0VUpMWoAy51d9hB1bu+RN1ujTW2OASQCi/fg63GuYyNlGwayKscrpzZ9aSOH+DcgoZrCxd01TRhf2K/k/nWw1U5cNUK08G76dYwyPC/aLnBPQSDp1FXw0wZ2P3psTnOLVWV13bM7kzppddfvUSwSssg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ucl.ac.uk; dmarc=pass action=none header.from=ucl.ac.uk; dkim=pass header.d=ucl.ac.uk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucl.ac.uk; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jrTctZ4GOCYCDSDjPrDLyPCYrQzIfNBQ2/IyUfGFWiM=; b=AHitaaiM9zgefNDA+a3j8rSIplw81fFcd+vnrYIYZW/ZlgQUglACCcmRlk8FF1XgbeBehL2Wv+OIQkzUwC+72/KYRn10F0QdWOu811S3yUFWmF1YdjabGzY0/RiUvqCB2x1Kau7ej+Vf7L8SBf+j+nHb2ydGBZbSoLMsk8j3COU= Received: from AS4PR01MB10249.eurprd01.prod.exchangelabs.com (2603:10a6:20b:4fa::21) by PR3PR01MB7939.eurprd01.prod.exchangelabs.com (2603:10a6:102:172::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.30; Wed, 29 May 2024 08:44:36 +0000 Received: from AS4PR01MB10249.eurprd01.prod.exchangelabs.com ([fe80::6b8e:d43:e0fc:22e]) by AS4PR01MB10249.eurprd01.prod.exchangelabs.com ([fe80::6b8e:d43:e0fc:22e%6]) with mapi id 15.20.7633.018; Wed, 29 May 2024 08:44:36 +0000 From: "Fraga, Eric" To: Martin Steffen CC: "emacs-orgmode@gnu.org" Subject: Re: question about links, macros + org-publish and "parametrization" Thread-Topic: question about links, macros + org-publish and "parametrization" Thread-Index: AQHasOaoV9UEaqqF1UOS3hg2mQ6SBQ== Date: Wed, 29 May 2024 08:44:36 +0000 Message-ID: <877cfdovmb.fsf@ucl.ac.uk> References: In-Reply-To: (Martin Steffen's message of "Tue, 28 May 2024 12:02:56 +0200") Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: gnus (Emacs 30.0.50) x-url: http://www.ucl.ac.uk/~ucecesf/ mail-followup-to: Org Mode List x-ms-publictraffictype: Email x-ms-traffictypediagnostic: AS4PR01MB10249:EE_|PR3PR01MB7939:EE_ x-ms-office365-filtering-correlation-id: 94c218ab-6dcb-4be1-937d-08dc7fbb91c0 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230031|376005|1800799015|366007|38070700009; x-microsoft-antispam-message-info: =?iso-8859-1?Q?TaNvWMghHZAH9Tx9QCpF0Esz8XheRj2v8kPikDEZazeHj2JmjQSvXBQGNQ?= =?iso-8859-1?Q?rz6gfQBcRx9SI4jh3kax2E4ndNOJ991tV1bgMgs4wF8U5UH9Po8p727Syv?= =?iso-8859-1?Q?iAOQLQeIIpI42NWw6Ci4txIGPMhojIYr1gZDCba0S1US8vknhQa85azHNo?= =?iso-8859-1?Q?xT3JKQP1gEE0f1aFkZq620PZ1I2bGcHfs/tp/cS1z2kjwbn+SxDiOdpC/c?= =?iso-8859-1?Q?jrQmvdNC1MhjFLUJwFQeJQ0F5kXQ51yFtzR6+9Lzp62MuR7Rz7lXoVlnDz?= =?iso-8859-1?Q?iXQy5FWa7fWJg4vm9tXEgF8q9u4RtwVlM7DyiNVNzR7+zjGJ+kKYXRwSPb?= =?iso-8859-1?Q?Az5lFWd/iihm+qKe3ey+YC/Vosyv+XHGs3UBouW95Lj9TpRfdIY3RzzJYs?= =?iso-8859-1?Q?jjLpb2LAygtVAd7BXHGWVfEt/AWgDd1A8XQtnrmo3sadhKv67D4v2+AimF?= =?iso-8859-1?Q?rxPmECGbXdJYESs2xDUqr322cDzyB42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5IrQ0o7LZ8aO17KRWyHOIEBQhxA=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS4PR01MB10249.eurprd01.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(13230031)(376005)(1800799015)(366007)(38070700009); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?6/28G4ieNmxcwI5Xk41ZbhaiHw2rDGhGGakmigBAF7Vsiz/nZERwXtZY7x?= =?iso-8859-1?Q?1i3U/KVlP4XeAZHMmUeGU68M587P3b3t8SbLYoMy7V+EWX0lwtWeU2iTx4?= =?iso-8859-1?Q?FP+ix2PaAb8T8x0+9rpPrTjLs4yKo9crV7Twwpu/fVTOzUCydTW492VZnh?= =?iso-8859-1?Q?71ElE2i65bihlAPPfbO6wB4Db7jsFtlSN2Wi+HkU2i81wl/L8EzMItyTwu?= =?iso-8859-1?Q?6LgGGdzX0A6etwJNztGDwWvhiz/dT5ogcZaQszSGqS87Ag6FknQNrv8Hib?= =?iso-8859-1?Q?g+vstdXQB1lUvehs1S98EQmcxEIcpwByPKo1TUzYVTij07Fr+3AqFvZyF4?= =?iso-8859-1?Q?pSd4C0h6Wm/XDwJBS6X9ihENRDm/wym7nC5H65re5SHIl8AzYLkhfMe2sS?= =?iso-8859-1?Q?GKM+mKHQmtYZsuj5o2zsrw3rRow9dWj5TI+DUQqE4URIYYwalUmAEtWP+l?= =?iso-8859-1?Q?GRxZL5QVwyPfBx5e6JkRjVA30moQUzz4/R7mIV2CcuCRG3HIkgCaQHmHq7?= =?iso-8859-1?Q?XZwxAZCvBbtof0waZYVba44ox5QIvc+aIgSffHToogbF8m5SBMRwWreC7C?= =?iso-8859-1?Q?4gjmlAOfBcianfNZ8jAIw9kQDrRcAchaFmcDcEWtvgduglBZwIav0j7qeL?= =?iso-8859-1?Q?gbqkjH7kSL7FtHPU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=?iso-8859-1?Q?atoOq0rR5pVa1bypKrW/Qp/5dyaolupnLrvXLFDS7XEmZ9jwEu2ufPzbNR?= =?iso-8859-1?Q?T9iRJ8yLPxSecHgvVfjzZa2JS5c1TI1xVP?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: ucl.ac.uk X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AS4PR01MB10249.eurprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 94c218ab-6dcb-4be1-937d-08dc7fbb91c0 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 May 2024 08:44:36.0353 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 1faf88fe-a998-4c5b-93c9-210a11d9a5c2 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: VSbAH6iOul/RBcApR30otbNvyfj1ZwsVVQioRXEiPuyg/l+SnmO+WeickLlyAfWEsUi6S4CCdMIl254+X8NroA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR01MB7939 Received-SPF: pass client-ip=2a01:111:f403:2611::700; envelope-from=e.fraga@ucl.ac.uk; helo=EUR04-VI1-obe.outbound.protection.outlook.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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-Migadu-Queue-Id: DE83E10683 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -11.85 X-Spam-Score: -11.85 X-TUID: bw09BOAYh8yQ Hello, I'm not entirely sure if I am missing something but, in case it helps, macros can themselves invoke other macros and macros can make use of [[target][desc]] syntax directly. Can you not build up a hierarchy of macros that would achieve what you want, along these lines: --8<---------------cut here---------------start------------->8--- #+macro: link [[file:t.org][$1]] #+macro: target {{{link($1)}}} This is some text where I can look at {{{target(blah)}}} --8<---------------cut here---------------end--------------->8--- HTH, eric --=20 : Eric S Fraga, with org release_9.6.19-1230-g407a55 in Emacs 30.0.50=