From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 2AT5BreaeWUqKAAAkFu2QA (envelope-from ) for ; Wed, 13 Dec 2023 12:51:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id yF7DAbeaeWVQMQAA62LTzQ (envelope-from ) for ; Wed, 13 Dec 2023 12:51:19 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; 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=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1702468278; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=+fsl8yFZkLuAYVvWHNolIy2n55wlWGULiioyhIBq7U8=; b=NzBgmXrvTGewu9NWBiWPABvS2ZCeoFQ7O2fCiL1pabOqxTM/yNZq/5kRxKHPHUsJyj4tdq AmDJ3aPSV1RcM3WvzmxtU0DC71OopOw7iyvcfuYHRcgqc/Vjknspr4Ecuv5fkoLLNzbr4u ZU6Y3Eab25gZqfQ4EehB89sfPL5koIILboSQMHMbALqt/STo7wICoPb7f/UTmbX58Wc5ai TGPgZeOgmsT3v+iU5R8HsR6CixWPWiuWMszM0gILHmA8AclPv6CWkulqLexJfCpnBbDCAQ aG66nu2KlBdf92YFVHG9HYvFK6XhxWhiFkPbviRCU3w6Frr8rX/LCTEEsEKByA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1702468278; a=rsa-sha256; cv=none; b=VVx5MkKT4vTyzZOnxrxIA6hkn5GVDDl+UfTSQSPOclfwbMRDSpGM1CPcICD9w+BoSM3JBd UW81/UhnSkcPK6U0GMnRyDfG4S/my0Trzi4MlW9XDWdLxEK8XIUuog9aqiXzVq8Q6NiUPr OG02CK3H16y7y0Fx9SS3FliY+rNlRR9abdphhNQxfVU5A959136npjNnhi5uCnyq1y9Xob FKF0p/GSYj2LsFH1Za9dvUchLdjwipaD/bnc/RKUvU9AQ36pymGupHr3HAe3qexGQj2sbp HN2ir1EHnjhz+n7TEowO//HWtMbm/CdPfX74qHuuD9r1graUV0X31/Xgnzaz6Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none) 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 BB6D510D71 for ; Wed, 13 Dec 2023 12:51:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rDNl7-00029N-GZ; Wed, 13 Dec 2023 06:50:37 -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 1rDNl5-00029B-Hp for emacs-orgmode@gnu.org; Wed, 13 Dec 2023 06:50:36 -0500 Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rDNl3-0000vE-PY for emacs-orgmode@gnu.org; Wed, 13 Dec 2023 06:50:35 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1rDNky-000704-3X for emacs-orgmode@gnu.org; Wed, 13 Dec 2023 12:50:28 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Max Nikulin Subject: Re: Links & images with different attributes in the same paragraph Date: Wed, 13 Dec 2023 18:50:16 +0700 Message-ID: References: <87lea8vk1i.fsf@localhost> <871qbr7e5s.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla Thunderbird Content-Language: en-US, ru-RU In-Reply-To: <871qbr7e5s.fsf@localhost> Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 28 X-Spam_score: 2.8 X-Spam_bar: ++ X-Spam_report: (2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: -0.80 X-Spam-Score: -0.80 X-Migadu-Queue-Id: BB6D510D71 X-Migadu-Scanner: mx11.migadu.com X-TUID: Mht3n+LsvpHA On 12/12/2023 20:18, Ihor Radchenko wrote: > Max Nikulin writes: > >> It is limitation of top-down parser that object of the same time can not >> be nested, so I am unsure if special blocks would be solution in all cases. > > Nested objects of the same type are not really a limitation of top-down > parser. It is the syntax of objects that might but does not have to be. > We might come up with a syntax that allow nesting. I would be glad to learn that I am wrong. The current parser picks first terminating token ignoring other opening tokens in between. The only way I see is unique identifiers for opening and closing tokens to allow match them in pairs. It would be tedious to type and to copy fragments from similar text. A similar problem is importing and exporting fragments of mail messages having multilevel quotes. #+begin_quote is not enough, it is necessary to use something else for inner citations, e.g. #+begin_quote1. Moreover I would prefer to have links as links even when they need some special treatment.