From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id COCNKtINq2NPbAEAbAwnHQ (envelope-from ) for ; Tue, 27 Dec 2022 16:22:58 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id cDK7KdINq2PgRgAAG6o9tA (envelope-from ) for ; Tue, 27 Dec 2022 16:22: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 5DB7C353F1 for ; Tue, 27 Dec 2022 16:22:58 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pABmk-00019A-6C; Tue, 27 Dec 2022 10:22:34 -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 1pABmi-00018p-My for emacs-orgmode@gnu.org; Tue, 27 Dec 2022 10:22:32 -0500 Received: from mail-vk1-xa2d.google.com ([2607:f8b0:4864:20::a2d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pABmh-00027c-Ag for emacs-orgmode@gnu.org; Tue, 27 Dec 2022 10:22:32 -0500 Received: by mail-vk1-xa2d.google.com with SMTP id t4so4942214vkt.7 for ; Tue, 27 Dec 2022 07:22:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=gKAfcu8EbQDzCfjllqPZGy98n1Lny78UfvV3PSW8eYE=; b=qP/cyHaSRCLiq3BUQ/zt3xKd4PVXAkRjXIsRZjwmLeMhrO3T7mXGPphmymviYKDBTq k8Yp7HeJKr+S0wKObZ7d7qqxupJrzGVJ9+owbrvUvhGdKvfTymyJcp513vzgMg3RCcQ8 OmHLQKamI+wMzZ/pcTCHVvvT4rT90N7GGrNrwleu05M08Gs0MNUk2qoJku/+HObCDiw/ ohQ2k72rw33UF5X5h0M1OqA+TRFZyZ0w7+Y8w6AGcnr7hMip7DZJG27J5mkhWVWWBX2J vNhH8u8QHYrdqxEKF9lWmL326Oda+QbqG2IFmzRmF47lT+sp2y/MfskF/GdUwIKP2EGK M7Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=gKAfcu8EbQDzCfjllqPZGy98n1Lny78UfvV3PSW8eYE=; b=caVmIWfWb4IqeNp04NZQ6a3G+7Ppl7lw72VOJiePoqQ6/Jc8VGBQcpXT0HageSfqf5 BimUdNlIjpDIpcnikhh+5nNEZJWri74l7LVwNQc9sU7llZRqZyKpnJq9TRjCRkzT9nII 5j2jzfyl9VkZkkWGL7m+hEQ4OQRa8QLjzMdihVMey1Bb3eHzG/mhuvuWBePeqFZQq0J8 aNejQmMra5h02zRUyTS5i8ogFmkk0Gr0yH3ysgK39UptdohaUT7gG+dAmoSgakE4k22d RLAVLNq6pVhMzvrCruVNUKF3XZrHpteBZ8OKj9ZLbZ9wt3hP8MalfZ7ojFfd8UAkEszO NrqQ== X-Gm-Message-State: AFqh2kqS28FQ9fFCjOQU0AAMfS++qB/t7WyJAdEKaWUK8Hv08HKQV/+U v7xmJniXBee+NeqYaI1XXDQA2PnC8jLzNBmzSGMYQkEfyy8BeA== X-Google-Smtp-Source: AMrXdXtfFCHq8HH7cJEkgcnu6gydOWGKG9fXiH/8V1y+YhZQJvAZ25B18JkCRAPkXSjp4oNgCQnEWp/9/ANO79tpH08= X-Received: by 2002:a1f:1fc2:0:b0:3d1:df04:322c with SMTP id f185-20020a1f1fc2000000b003d1df04322cmr2279011vkf.8.1672154549743; Tue, 27 Dec 2022 07:22:29 -0800 (PST) MIME-Version: 1.0 From: Michael Dauer Date: Tue, 27 Dec 2022 16:22:18 +0100 Message-ID: Subject: Expand macros in links To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="000000000000f274fe05f0d0d1ad" Received-SPF: pass client-ip=2607:f8b0:4864:20::a2d; envelope-from=mick.dauer@gmail.com; helo=mail-vk1-xa2d.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=1672154578; 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=gKAfcu8EbQDzCfjllqPZGy98n1Lny78UfvV3PSW8eYE=; b=R3GzHdnMY5wGUiI5g2zcJwqcZhxNIO2lziK8eK4oo7Rn+JX8usuXdEXtjMxQJnk25nhk+a KNpiTyjKiXTqNwd7QSfQ9cYe+XqbWEr0DfABxCpJkjjvffxnd5ekXO13jKoUoIk9IfPxls rM0mK5+VhKwbeSmXsYecGpYNCrEOEZM2KmrurIYRLx/uaOkJjIAg5IIJXgMF9lVTOb+cte T6trU897vkqfUimoZ8phqOLk4ofVb7bEYca1vHfgajo5HPtrb6HG1F+0Hvuw08NuDBiIUb EV1XkjoAmmp3ZCX9zLuUAenHYduVThK22Qqin+OAZYaqS5RthGZgA1EPaRyWTg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="qP/cyHaS"; 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=1672154578; a=rsa-sha256; cv=none; b=c9o5scv0W7J+pz4aHkfzei3iZeRAWQAxJwc+tcOVz6SHe4Df8sOVPjs5E3FqOXvSusYmQd PIccrUJE3sJT3hOZPofbXtAL3dlhJqckBK2n/AMQ0h7rdQn6JKQMU1jARDN2/kuT5xqndm i48vndfGt5vkDnkxqDJ6WzanQ5S3vpWVohta3s7R4Btt/aJaCorm5i/OwxOflO+FW5545X 3WrT+1+5vEn8acKrJB8pnO2P/SyfWqlnRYOm71Z1+Y/rRoye4LWmIPEMMHWmJAQxI8z4Ux o5TF0aVWoCIABhAggRpDD4Sm1aRU1g4G0b9G2tDFWGll+HGuoxVzi382li7HYQ== X-Spam-Score: -4.60 X-Migadu-Queue-Id: 5DB7C353F1 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="qP/cyHaS"; 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: +OKbMg0ZaO7q --000000000000f274fe05f0d0d1ad Content-Type: text/plain; charset="UTF-8" Hi, I do not understand why links are excluded from macro expansion. I would see it as very valuable to have macros for links too. The change would be as simple as inserting (eq type 'link) into org-macro-replace-all. May I recommend this patch. Thanks, Michael --000000000000f274fe05f0d0d1ad Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I do not understand why links are e= xcluded from macro expansion. I would see it as very valuable=C2=A0to have = macros for links too.

The change would be as simpl= e as inserting
(eq type 'link)
into=C2=A0org-ma= cro-replace-all.

May I recommend this patch.
=

Thanks,
Michael
--000000000000f274fe05f0d0d1ad--