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 2CxQKJhGjGKVkQAAbAwnHQ (envelope-from ) for ; Tue, 24 May 2022 04:44:40 +0200 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 0NlqJ5hGjGKRUQEAG6o9tA (envelope-from ) for ; Tue, 24 May 2022 04:44:40 +0200 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 315AB4631C for ; Tue, 24 May 2022 04:44:40 +0200 (CEST) Received: from localhost ([::1]:57344 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ntKXG-0000XU-KF for larch@yhetil.org; Mon, 23 May 2022 22:44:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38026) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntKWP-0000X5-3k for emacs-orgmode@gnu.org; Mon, 23 May 2022 22:43:45 -0400 Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c]:52221) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ntKWM-00011P-H7 for emacs-orgmode@gnu.org; Mon, 23 May 2022 22:43:44 -0400 Received: by mail-pj1-x102c.google.com with SMTP id gg20so15613166pjb.1 for ; Mon, 23 May 2022 19:43:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=z7ijzGUS1p08B6NakwnAFIwpc4kxMAM8GKGxNM1l7S8=; b=pkdC/8hyrVd8TfHqA3cpaKZfg4zVgKtH6eCo+vVR7dJtk7/tlTMPql/trODseAj10d UbFhiBt2teuw/AZ2E43yONWNsfYX0TPeOwY3QxBoIzLL+ud4vBMWz9hA2iqT9IbCapfc zp/78ejD1+ZCuDjubb83UHDUTEprBXKVkO5Ho83CGCoftkvJNEXe1AAyjJQLLK9kbX3m SwpvRevPBzsLPKXS0TD/T7zXLT0NSGuqZBkW4D0XuX4ywB48QNFMLSX9uKLi6iSrCR/9 T1q9zKPQ1PnF6jqVV1SeHlFjpT5D3wd0KCVdltPXocxmB4DblFMmOQEmiTGKXcnp9kCD OsTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version:content-transfer-encoding; bh=z7ijzGUS1p08B6NakwnAFIwpc4kxMAM8GKGxNM1l7S8=; b=AiQ5z/xLJ0sm9sX2tYxf42OxkRhNahJJH8w5ALo8t8xf3pOb0vbB1oGg4oonh45lV0 16V5KPUBlUMNHdtGB4ANWTl/c4eoWIqlyF7lU2tq1dT7kwDPYb1ONQERIhxGJrWRzCEf NY+TAk32h4jUp0eoYuQj4dCblh2AHEXcMMucmW62HvNGc+0Q5u/87MDQfn1HqNQpYAeV /87qcXxq3/I9NXfN5wtSa9IpzLItVuSyJUhLQG/wQnYCa30ud5GX6eYQnHvHmPfcurmV KrGdhWDPKMqhr4Q7gljiqPYrv8S6aF+wAMKkJnFXLepuLqOtswC50CA8WWi9Ftl/rG63 SXCw== X-Gm-Message-State: AOAM531Cnq9L8Hk5ERMnKllN8sAKYmjr8Z29fiE1en87wodeIl1Gbn4i SqnNjUCOx27+bCKkDsDpsu0E0oHBD2c= X-Google-Smtp-Source: ABdhPJygwKovCno6tCE5RsZSR6VfQdBH/+a+o4nfmqrVwCagIXpif5CzrkRtWqTTapnsOnu3208M2Q== X-Received: by 2002:a17:90a:ead5:b0:1df:8229:87b7 with SMTP id ev21-20020a17090aead500b001df822987b7mr2260154pjb.104.1653360219986; Mon, 23 May 2022 19:43:39 -0700 (PDT) Received: from dingbat (220-235-29-41.dyn.iinet.net.au. [220.235.29.41]) by smtp.gmail.com with ESMTPSA id i13-20020a170902c94d00b00161b797fc42sm5839984pla.106.2022.05.23.19.43.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 May 2022 19:43:39 -0700 (PDT) References: <87czg49cwq.fsf@posteo.net> User-agent: mu4e 1.7.23; emacs 28.1.50 From: Tim Cross To: emacs-orgmode@gnu.org Subject: Re: About 'inline special blocks' Date: Tue, 24 May 2022 12:36:07 +1000 In-reply-to: <87czg49cwq.fsf@posteo.net> Message-ID: <87bkvn7iqn.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::102c; envelope-from=theophilusx@gmail.com; helo=mail-pj1-x102c.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, RCVD_IN_DNSWL_NONE=-0.0001, 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653360280; 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:dkim-signature; bh=z7ijzGUS1p08B6NakwnAFIwpc4kxMAM8GKGxNM1l7S8=; b=tYmfVYMa1hZl40YcY+10ioSn4ohNMJlhDC535cXFku1BZj6e+1ISquTYsMIBwDOOh3L33l X5VpyFzz0xMrbkcjCPv4aRwVsPVTbjHrv97VYif+eM5Umo9qJmyQYkjn/uo1UyJqu6bw76 MApxJbRcKEijN+EXk0eRe466plB+KK+xgNmHdwyGraiAlJ14ChuJ66mK5orwHRuq+xp13c yPTqrRhopm+DjLsno2eZf4qODg9An24UwyaI/jqFc97tV//cy6r1vliLoLfdwAnUldzbmO cMLxNU4ivjozWL97XaPyysQNW4atR3zABsQGrKm1THt6dT9cHD4fHZYIFuzc8A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653360280; a=rsa-sha256; cv=none; b=e9/wWoEuAmfqOnmSbBytq/VAYL6dBas27uiMvYAv58OGzJH8vZ2en+hHszUnl3gYI9QUlV VzuhXz7fmhE/Ad4f4V/NqKskm7RTYbuJxNr0eZ2cTtpTqCw8Enl4QQIiZ3bDEnACgMWXuU T+V9Pk2fQnaPFlhhMq/qkJsEk4Di2s5s9ce5jbl6xz97UliYpurzxyhUtYoaxDugeTHapQ hPIHAqkpx1p7nZxCgitmXZqHDhJ2sDv3IV+dwNhn6E1vF/q3YvWWQl7GBS1OGTOpXanQLp riJ/PiB6VOOHVKWXp6v2iYPu7dAG0mOJwj6tHI9MwWsIGMSrdAUuiLgSRzENsg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="pkdC/8hy"; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -2.55 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="pkdC/8hy"; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: 315AB4631C X-Spam-Score: -2.55 X-Migadu-Scanner: scn1.migadu.com X-TUID: TXH8P/jI2aQV I've not got a lot to add here. I'm not against the idea, but Juan makes some points below which I think are particularly important and wanted to add weight to them! Juan Manuel Mac=C3=ADas writes: > Hi, Kaushal, thanks for all your interesting comments, > > Kaushal Modi writes: > >> The challenging part will be deciding the syntax so that there are no >> false matches. >> >> May be reserve "inline_" for inline blocks? >> >> e.g. inline_[options]{text} ? > > It seems to me the most consistent option, if we continue in some way > the syntax of the inline code blocks, which would be the close relatives > of the inline special blocks. Perhaps (to shorten the syntax a bit) > 'inline' could be replaced by some reserved symbol. Something like: > > &_[options]{text} > I agree. Selection of the 'symbol' might be tricky, but the idea is sound. > I think a major issue would also be how to properly compact <[options]> > so as not to result in too overloaded syntax. Maybe something like: > > [latex(list of attributes) html(list of attributes)...] > > ? > > But that is an abuse of direct formatting, which I think should always be > avoided, especially in a format-agnostic environment like Org, which is > more of a logician than a typesetter :-) I think this is a really important point. Whenever we add formatting specific directives, we always end up in a somewhat uncertain situation with respect to the other back ends. I also feel that in-line blocks which support large and complex formatting configuration really defeat the purpose of an in=3Dline block (which I feel should be kept relatively simple). I also find complex constructs of this form really degrades the readability of source documents.=20 > > And, in any case, it is to be expected that the user will not need to > overload that part, since these hypothetical inline blocks would be > intended for short segments of text within the paragraph. I think the > most typical use case would be something like your 'mark' example. > Yes, that was my thinking as well.=20