From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UKdKLPoSq2MLMgEAbAwnHQ (envelope-from ) for ; Tue, 27 Dec 2022 16:44:58 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WChYLPoSq2NmOQEA9RJhRA (envelope-from ) for ; Tue, 27 Dec 2022 16:44:58 +0100 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 58410132B4 for ; Tue, 27 Dec 2022 16:44:58 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pAC7n-0000t2-Eq; Tue, 27 Dec 2022 10:44:19 -0500 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 1pAC7m-0000sl-Ab for emacs-orgmode@gnu.org; Tue, 27 Dec 2022 10:44:18 -0500 Received: from mail-vk1-xa36.google.com ([2607:f8b0:4864:20::a36]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pAC7k-00060d-K0 for emacs-orgmode@gnu.org; Tue, 27 Dec 2022 10:44:18 -0500 Received: by mail-vk1-xa36.google.com with SMTP id 7so2194955vks.11 for ; Tue, 27 Dec 2022 07:44:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=dFFfiCwG5aMwRMfekmaX1Q6rTReptqgPnIdnpXGr+9Y=; b=G52BgrX3pZIFRAyOycb4VlE3T0zy/JRKZ5k2gEXJF+UdYXnz19byMSAbh9otyXGLRL bh8PEhcL7ZKEOKwyoDQAocklvC130AS5QDuR43vVIirv3BeM4lHObaRUmWRJ7n+ytlf7 7hhvzno24Pp9f0bMZzvWMfzkPAJuSdMLKYfWh5kU+u6cZluiqjqLtvdb8cNyr4npB7by HHom736n22AlBlG5N6rd9znxoT090Acyx7TYFQFwpz7LRKdz9YBBaFdb92lcLUtgge3v 9juaCjP4Z5GkHr1Z0d2/SRsOYjCmKFFByfuXYckA6NAnM8sKGNlp4nPO74UOhrw6LWOr TeTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dFFfiCwG5aMwRMfekmaX1Q6rTReptqgPnIdnpXGr+9Y=; b=0rVPPWnxaXi+mP3BLx4ZxW6f2QbSOkknBNrMY1FAVR4t3OPwcv3CcViGrYKrB9CP/t YkmRBVOc+yMdM/N3tV5iKlXpGjj3hMLLuD3gWS5xfbdSgeACkWr0E3ij1cn+y8FdlJJc cyMJrZ5Z0lBNOkkK0Cvl8TOSuQEU75UABb+ZxQ69V9U/Pna4JwzLfEZhehq7SCtpE4rN 9KBHRHA4QOAC603XFQzTY9r6V/3lKr7zVUNs4rBkhF6/eV5xYXtuvHw28XdRA0Qb8jhU DxnD8/91ypnC41/tZN5YoaJXT2aMWB15GpMkVZR3Hys2vgrhT9ARPts/y2t75MOZKt6B Q/xQ== X-Gm-Message-State: AFqh2kriFAGgDq2621N3jHRrQkrFVfZypYccSFh3F3782C/BswJRwfWU Zn7LL9OiHWJmr5EfMFqL0Ok99ti9YWG19AHyFmk= X-Google-Smtp-Source: AMrXdXs6U0ycutCtWd8FVCn2hgH4TF9JdpjrMAIrts46Cq2IslWzb/SQmi7eQaCm/KBHQnZ72d8k0BIDggltlsgPj7E= X-Received: by 2002:ac5:cb6f:0:b0:39f:c1eb:85fe with SMTP id l15-20020ac5cb6f000000b0039fc1eb85femr2301586vkn.32.1672155855508; Tue, 27 Dec 2022 07:44:15 -0800 (PST) MIME-Version: 1.0 References: <87o7ro27ap.fsf@localhost> In-Reply-To: <87o7ro27ap.fsf@localhost> From: Michael Dauer Date: Tue, 27 Dec 2022 16:44:04 +0100 Message-ID: Subject: Re: Expand macros in links To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="000000000000c6d97605f0d11ff7" Received-SPF: pass client-ip=2607:f8b0:4864:20::a36; envelope-from=mick.dauer@gmail.com; helo=mail-vk1-xa36.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, 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.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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672155898; 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=dFFfiCwG5aMwRMfekmaX1Q6rTReptqgPnIdnpXGr+9Y=; b=fafcum8zr+osXhc+W+GTs2EgYhLnQHjg2HJkLtwavGYgyTW9waujsL7wRErSpfq/05tqu8 Wpv3xMj9OEqCpDSGy/IPA+jPMAaoNfk0nc0aPkJZTxz6enH4lXRaPAtEQHia60MpS3cFju tMYPriNIH4AAZLjnvpVU6LSBjkyQ9d5KIKryWcN0ILC5sYE+JZJsSzMTTqtRNPfK6VhuHG QKbtsAB4iPRshZ/xVoS0uIPt9sqGfo2mM/BbuISBVsnyko98uRdiGCJaBJllp2lOtLd+0V yO2biy2Hbsshe8m/3YTKzkHdVTCl3Dkh4XCEB0LjOpoOc+EXaFW3b+o0EJPYkg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=G52BgrX3; 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=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672155898; a=rsa-sha256; cv=none; b=upsIFDfqyXfyZieTXV2oPPfv4erYjUzp0y5Q8P+fPHDBurtr8q9krmZjtncflkklF8XwRY rgl8jxCUgylwXxYucDmfbpp9F5OEVwtj/9z6Cmid7nMriH1DKn51Kx+2bz6HSyvKipySdE F6Dyb6xJhskO6fdrv520R/8/y1yHgVBUtzbd9DXvHXHqO1F9cnsZT1hq0QS4hC/3MFWDEp y6UIFSjQndraRFmVxTJuHgEavkOV5lMDESZuwZcCEVJAL8qumzuRdj9bTM0z4OKK5Mvx0n pMoW6/pWuXwryW/ETTYxNEgMhJPweAmUYqORiGyEYvViGYBmLQIQXJi0CbNWZQ== X-Spam-Score: -4.60 X-Migadu-Queue-Id: 58410132B4 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=G52BgrX3; 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=pass (policy=none) header.from=gmail.com X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -4.60 X-TUID: R3zboIpPzREM --000000000000c6d97605f0d11ff7 Content-Type: text/plain; charset="UTF-8" I mean something like: * Heading [[http:abc{{{input-file}}}] When exporting it to html then the link is not replaced. I'm talking about expansion when exporting. But I also implemented macro expansion for following links within emacs quite a while ago. Different story but also very powerful especially for action links and deep links into other applications. Am Di., 27. Dez. 2022 um 16:30 Uhr schrieb Ihor Radchenko < yantar92@posteo.net>: > Michael Dauer writes: > > > I do not understand why links are excluded from macro expansion. I would > > see it as very valuable to have macros for links too. > > Are they? Could you please provide an example? > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at > --000000000000c6d97605f0d11ff7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I mean something like:
* Heading
[[http:abc{= {{input-file}}}]

When exporting it to html then th= e link is not replaced.

I'm talking about expa= nsion when exporting.

But I also implemented macro= expansion for following links within emacs quite a while ago. Different st= ory but also very powerful especially for action links and deep links into = other applications.


Am Di., 27. Dez. 2022 um 16:30=C2= =A0Uhr schrieb Ihor Radchenko <ya= ntar92@posteo.net>:
Michael Dauer <mick.dauer@gmail.com> writes:

> I do not understand why links are excluded from macro expansion. I wou= ld
> see it as very valuable to have macros for links too.

Are they? Could you please provide an example?

--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,=
or support my work at <https://liberapay.com/yantar92>
--000000000000c6d97605f0d11ff7--