From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id qEzzIe9d1mVIBwEAqHPOHw:P1 (envelope-from ) for ; Wed, 21 Feb 2024 21:32:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id qEzzIe9d1mVIBwEAqHPOHw (envelope-from ) for ; Wed, 21 Feb 2024 21:32:47 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Pmuj6GeW; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708529917; 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: 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=MkJjJDJQbo1jix8HIK2tMP7KM5A8mB6/kPfxsDztTng=; b=P15GHRuOKauezph8DD5p9NwxCS45vkqSBYNej8DUg6m0ehHumtTXDs3cIaA6jeaITS8IuL bVAdFyvIozdw1zv/8elK2KMMsulevNo/+QY6DbXtxP/YZvKtLK0gAnaPhhn9KQBKVUdndr mGN22+FcQmsfcn0GZnJ/+TapkO6wvXUkovb33dHjPSABS+ylgSWNdfnYYmLv1XjIpcyvSf FB220Wli/yF/CLklm6LTi0s1pSSJNW4h727zCuqtjXc+Z8XftTSepMc/QsrFdZNUbVHqB0 b3bRWVqWXN1L/PLGBP0TPo81aMVh8gjcLlmgfkPxcys6+YzNOi5d39GlpALMng== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Pmuj6GeW; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708529917; a=rsa-sha256; cv=none; b=nPwad856ro0CHQ1pEzQOdMD7MLK2NwBVpIlCBBWaN7xHA9i5wtm/r6TiJVzZ8mPtSdozL4 rqmBTbOyu3hvWsg3mcS6wXrWVDXrVqlj+bnFfs+xnjX00v/idUJ8Vfog57m5/6IIG0LJFC Qxv5+SOnlZW8P8W8py7TKjL+X8dBaYOLQzrRBi3D7P/Ec5D2sQYFBJrmsW021xaHlKsZkt qcVyrCHIHbifY5B9TtL/0hYVh4ulHJpmjMrhy7Z+sA7e0D1WozcdkekM7dsqsAu6aDys3Z te7NZHRvZmywpkPzXuMiYdEM+eJqRo307KsLabmlZHVM31bUJF37lkcdINcVYw== 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 2F45E399F2 for ; Wed, 21 Feb 2024 16:38:37 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rcoSx-00052R-K3; Wed, 21 Feb 2024 10:24:59 -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 1rcoM9-0003Wj-1f for emacs-orgmode@gnu.org; Wed, 21 Feb 2024 10:17:57 -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 1rcnMB-0007lh-E6 for emacs-orgmode@gnu.org; Wed, 21 Feb 2024 09:13:57 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 4A871240028 for ; Wed, 21 Feb 2024 15:13:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1708524833; bh=MkJjJDJQbo1jix8HIK2tMP7KM5A8mB6/kPfxsDztTng=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=Pmuj6GeW7zLSArfVfZnp5IxieNui0QNkKo6hdJ/XEqvLB1TjA6sn9zF7YHR/M+bk7 TAdxG0BS62l+ZGG+gf2BGUiuY9LNnIlmaot0A580V7gQmvm4VtI3h6z9GBx0caCWf3 WIbZ4vIcJog9d0hGF++1JQrxgpg3YM7oSL0Rg/vuX8VLFk++R44c4VPiO4cs68vEBA 4BU4ttAXMsyJvrwDNUUiW9qvaOEtSrruEonC3xzccq8AvJIw5FQyEBTA1qsuZnReSG cs/Pq9xaZFt+giJV6j6iyWCTgydu2sTk7VyvbjlpZtdKecydiu0yrMcOWi0Q32jl49 PCs7D5lLZAPuw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Tfytm4q1rz9rxD; Wed, 21 Feb 2024 15:13:52 +0100 (CET) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Ihor Radchenko Cc: orgmode Subject: Re: [proof of concept] inline language blocks In-Reply-To: <87frxmrmjb.fsf@localhost> (Ihor Radchenko's message of "Wed, 21 Feb 2024 13:10:00 +0000") References: <87msrudgcn.fsf@posteo.net> <8734tmmcnv.fsf@localhost> <87edd6ytiy.fsf@posteo.net> <87sf1mrpr6.fsf@localhost> <87a5nuyo4w.fsf@posteo.net> <87frxmrmjb.fsf@localhost> Date: Wed, 21 Feb 2024 14:13:50 +0000 Message-ID: <875xyhzyzl.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=maciaschain@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_H3=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: -7.82 X-Spam-Score: -7.82 X-Migadu-Queue-Id: 2F45E399F2 X-Migadu-Scanner: mx13.migadu.com X-TUID: rFAb8DzRL3PN Ihor Radchenko writes: > Juan Manuel Mac=C3=ADas writes: > >>> We need to finalize inline special block syntax first, and then talk >>> about special cases like inline language markup you propose. >> >> As I already said, in my local branch I have both elements created, >> based on the same syntax: >> >> - language block: :lang{text} >> >> - special block &type{text} >> >> the latter would be exported, for example, to html as text or to LaTeX as \type{text} >> >> I like the syntax because it is minimalist and not verbose at all. That >> could serve as a basis (at least it is good to have a starting point, >> because otherwise everything will be diluted in discussions). Then we >> can start thinking about whether to add options and how to add them. > > We do not need to design the inline special block markup fully to > introduce it. However, we do need to make sure that whatever simple > version of inline markup we introduce does not prevent further planned > extensions. My proposed syntax could be: &type[options]{content} > My main concern is the possibility to introduce multi-argument markup. > Like @abbrev{EA}{example abbreviation}. This will be necessary to > achieve parity with Texinfo markup. > However, it is not yet clear about the best syntax to pass multiple > arguments. I imagine multiple arguments would depend on each backend, right? Because I don't quite see much sense in html, for example. However, it occurs to me to reuse content, and add some separator character: &type[options]{arg1::arg2::etc} or better: &type[options and aditional args]{content} to maintain a certain parallelism with the large blocks. --=20 Juan Manuel Mac=C3=ADas -- Composici=C3=B3n tipogr=C3=A1fica, tratamiento d= e datos, dise=C3=B1o editorial y ortotipograf=C3=ADa