From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id UEfXLDhFhGVqrwAAkFu2QA (envelope-from ) for ; Thu, 21 Dec 2023 15:01:28 +0100 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 YEzXJjhFhGXIEAEAe85BDQ (envelope-from ) for ; Thu, 21 Dec 2023 15:01:28 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=DHLZs8Ho; 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=1703167288; 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=ihCUoPHilVwIK5mOmuKQoNgIa/ux/H2m6R5zWu89PXk=; b=cCbe+AGOthA+w3phMSy8ZzkvZHvyD6OlvVKyZ51r5GyWrl623QNDLfkMOelncdpkgIfJmE 2x5z0IZhIfKvU3Mh/BiV42VrgBJyhND4PhE5SoL1WXgRLoWdZOEJTyRDUyJCL0Uv8Wdyli J7PR06BRhQ7Nb23pKvX1Ee9jjGSVBBHwnPm/+8PEhzNcm20Jes8XZlAoZqOYwnLCS8mXup 4eqw1DD8fGTfiJTEiqAmseIqmrteeRgFcb5VSrw0HtnQUUb4N5Uxr+hmgeys04RNKtSkpg dt5YzRkQQVF4ntlEU9M6/osoZZD/m5eLneEDtZoGhYPeSxAF4pKyJE+Ht5zhcQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1703167288; a=rsa-sha256; cv=none; b=ctnbLW0JiGOTTEOYqWvYOGxdPKJJLbo4OHjJc+UMab1G/jQanOOBXyRxHlT222I+0V74qp rFSc7QAVWcJqQg7w9Heh5FK0Lgm1ICNmZhFqmFk6P+rn997N6jLLJOdgYIH0IiY1tDWrhM CSB6LgOO7RoH1Qk+IBLXbznoGfwJFl5eYck8bGnQW/07SVCrG1GGnrhLACGT+ChkR0AOPS Tfw/P26psbJajldX+c/T2FrvsC+B//womq1fRm5JFshUi0g9j/uIMNWmTmp0vRP9YJm6NQ oe8mA0Z81FQAq+FjZ/laDJC5xVhN1mwf4IiduuepLHfUNGJAloIqRbJSvsSQLg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=DHLZs8Ho; 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 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 7F3EB15FDC for ; Thu, 21 Dec 2023 15:01:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rGJaw-0004lZ-2g; Thu, 21 Dec 2023 09:00:14 -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 1rGJas-0004lE-Qq for emacs-orgmode@gnu.org; Thu, 21 Dec 2023 09:00:10 -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 1rGJao-0005Mc-0j for emacs-orgmode@gnu.org; Thu, 21 Dec 2023 09:00:10 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id B4DC0240027 for ; Thu, 21 Dec 2023 15:00:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1703167203; bh=sXXvLN1vIc8GxDXShCLsPlWHu5KjdWL1E3birQVIrEM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=DHLZs8HoDd1XNc9wGH8rI2C6IaEcyntJwX/faTcX6QserXMv05sr/GVpx2hjaWIgX P6IpZKOxAqC38vPHZGwPuguQsYqyqu3odX6+RJhtGUvCUGwfzBwxC0iTOX5L2fidNo I8MZzdIH0bqX7SfaDyD3CnEaz4wWZaSb1u13w1gQHGXU1fBJKRokbs8LJ24VfHkRKx en8NQe2BbW+aVSlx/nCZ93W2PDK7K7PMVXGu0oEwz3UZwU/b5221HvmQ0DE85wB6tC rkMVdTEof9rpC8upo8igfRfIzFazMW5KPCqoQP96IuMsmuvWGcvn1u1pbN4As77T3d TkLgBS2TNEKCg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SwsWR0zK8z9rxH; Thu, 21 Dec 2023 15:00:03 +0100 (CET) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: Links & images with different attributes in the same paragraph In-Reply-To: References: <87lea8vk1i.fsf@localhost> <871qbr7e5s.fsf@localhost> <878r5wq03g.fsf@localhost> <878r5ucill.fsf@localhost> Date: Thu, 21 Dec 2023 14:03:15 +0000 Message-ID: <871qbfmz4s.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, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.44 X-Spam-Score: -6.44 X-Migadu-Queue-Id: 7F3EB15FDC X-Migadu-Scanner: mx12.migadu.com X-TUID: QXUm3gxxEu4B Max Nikulin writes: >> No, not zero-width space. Literally, {{...}}. The idea is to define >> delimiters as "[{]+" the matching number of "}". This way, we do not >> need to worry about escaping "}" inside and can get nested markup for >> free. It is more or less how Org parser works for special block: >> the opening delimiter is #+begin_whatever is matched against >> #+end_. > > I am afraid, there is an issue if wrapped content is surrounded by > braces. An ambiguity arises for > > @wrap{{{content}}} > > it may be @wrap{{{ content }}}, @wrap{{ {content} }}, > or @wrap{ {{content}} }. It seems, some escape character is unavoidable. For such tricky cases, yes. Either escape character or another suggested approach with "empty" joiner entity like \-- -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at