From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OLxkAXsbq2MaIgAAbAwnHQ (envelope-from ) for ; Tue, 27 Dec 2022 17:21:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id WB+mAHsbq2O8UAEAG6o9tA (envelope-from ) for ; Tue, 27 Dec 2022 17:21:15 +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 AB71A3A63B for ; Tue, 27 Dec 2022 17:21:14 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pACgr-0002a0-0G; Tue, 27 Dec 2022 11:20:33 -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 1pACgm-0002Zj-2K for emacs-orgmode@gnu.org; Tue, 27 Dec 2022 11:20:28 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pACgj-00040V-CK for emacs-orgmode@gnu.org; Tue, 27 Dec 2022 11:20:27 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id BE56B24005B for ; Tue, 27 Dec 2022 17:20:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1672158022; bh=2qetXHjQrGVJwgRpkHfUlTFgFwpModNfJwk+u2XqA8s=; h=From:To:Cc:Subject:Date:From; b=WBr5F8O8Yiq6VsdBfZI35/cW9JsH8o9Evt4oK1XjoSxNkmQfFdIpfNA0aXp1ItUBT IzXVudp7oZXT1nkbfnSMACFQr8R6bHfAb/l/cWWjnfNLQ09UWHwly1uHAxJ537NMEd U+J9SzJptKl2HfftjEeifgcFAsaNK0SqfF8ZLbgeF+Aj3JNvzcWz7u0zLJfQghYF5I JEsi+WnFp+x23yPRleb+gPH/3SO1rstM3E5Efud7E6C8q/V4uTHHzGrndwVszgRMMH QhDOU6UBs2ldmgRYT0eG6sBNOJkRjS2K1WhpJ1e1TN+2wrpkEl13xcl7zrTtKjHz5w 5geEPCGpqz3lg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NhKcy6CTrz9rxR; Tue, 27 Dec 2022 17:20:18 +0100 (CET) From: Ihor Radchenko To: Michael Dauer Cc: emacs-orgmode@gnu.org Subject: Re: Expand macros in links In-Reply-To: References: <87o7ro27ap.fsf@localhost> <87lems26cl.fsf@localhost> Date: Tue, 27 Dec 2022 16:20:03 +0000 Message-ID: <87ilhw24zw.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, 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-Seal: i=1; s=key1; d=yhetil.org; t=1672158074; a=rsa-sha256; cv=none; b=YVNsQPOU1IZ1J+2w/HxHXiUNd5xMsFLGUHRKcR7dY7Rps9Q98wsdjnmra4ZbxuNFMg89yK g/Frq5ltwG0GnnBcUUGJV2+PS/bAayUSfD+4ynaSKW7JkALYvakDXN2F9TWQeM2n2s/ZK1 itfsmL7ReF/VMEx/hsX4gz/X3vvhAKQKScDoiFxcZcFHaRnhASx1Ag5+TQPfvfYKt7BHMB 3pqT+PG+1qzXHArLpuorUq+9fKwxyU+MBAJkUmtWcp+ITg/n9XPm2diloAWB0EyJd3Z4R9 xW/M1E2B1TB/1V/uIKNmztwNdO6Eh5vleHJfSzS7DG8xveyzFikRwlZsgQPobA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=WBr5F8O8; 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=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672158074; 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=7NM033cbckNwsR6DHtai6LGWNX1B4ZS9Q5XMhlaKX+U=; b=N4CUP0zjB4axg6DIt1T8wBTWR6Rtd0TQlcqxGuw4mj4QA6iPP6S46dLSYRfybdgsyoGk4G 3Bi+X+KioBvx1D5Tri3Hy3moXkU5rslN8dcqmi7z2H5vDx/3YitHDupztylz7jtX89ki9z a7lguSYmw4KkwCqHAiakGR1nbNku9xi0k1FYs4n+PtWsTU9nAmM4/Vx2h/paCD01WA+tjb usZYRZElg+0JogHboBconEYGXnShAUmAtTypeM587nEwcyKneH2l3YZjW7qPnjesn1+qLz 6QuIx8BZRjBQwLK0aDsVHmjRJLkC6sy9YWf0HyTGLP/fDrblIjUrmddvbHexcA== X-Spam-Score: -9.37 X-Migadu-Queue-Id: AB71A3A63B Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=WBr5F8O8; 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=posteo.net X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -9.37 X-TUID: iCre3e80e7eW Michael Dauer writes: > I'm aware of this theoretical conflict. But I see the risk as very low > compared to the value of not having to make a lot of customizations for > export and internal link handling. It should just work out of the box. Even low risk does not justify impossible-to-use links when such problem occurs. > If you deem necessary there would still be the possibility to define a > global switch for this. This could then still have the 100% save default, > while still being easy to "configure". > If you want to go so far you could mitigate the risk of a conflict by > "escaping" the macro brackets. {{{{{{not-a-macro}}}}}} would be treated as > {{{not-a-marco}}} without expansion. Or any other escape sequence to bring > the conflict probability to 0.0000001. This is all indeed possible. The main question if whether it is justified to introduce all these complexities given the provided alternatives. Basically, we need more votes in favour to consider such feature. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at