From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yC+pGABH8GHU8QAAgWs5BA (envelope-from ) for ; Tue, 25 Jan 2022 19:52:48 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id AJ44FQBH8GHDLwEAauVa8A (envelope-from ) for ; Tue, 25 Jan 2022 19:52:48 +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 D0D01B7B0 for ; Tue, 25 Jan 2022 19:52:47 +0100 (CET) Received: from localhost ([::1]:51642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nCQvi-00037t-Lv for larch@yhetil.org; Tue, 25 Jan 2022 13:52:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48082) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCQp2-00033f-Bs for emacs-orgmode@gnu.org; Tue, 25 Jan 2022 13:45:47 -0500 Received: from mail-oln040092075077.outbound.protection.outlook.com ([40.92.75.77]:54390 helo=EUR04-VI1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCQok-0002jV-8h for emacs-orgmode@gnu.org; Tue, 25 Jan 2022 13:45:24 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=APxoabd0/Zvpl29A30KJ9nZkvKG4k6uqnX3XHPHaVlQNCgNdr8WjZNYfmLrkwA6G/cuUtrdEYqpdwXncZTJbKKmmZb9UkfNx+kCF4WHurBNHdJdHALIzWvGZ+FOit5nJ7DC5wUSmOSRNVwOp9WC2AIFByJgAJmrJWkWGydUxmH0Wb7Btjf4Kr2R0nO2E9OvGWXYRq3MS8jK/KnYcYXGucAWj8u9foIsIsviR+aB2MNbMhCFm4f/QtrgtWSS3prXS0nuAYa/w9FEbzH/aekEsdA8rVFjqDtsMccRMVUu+KoWNAt/Rxf/Cd/3YIxgE5mPmc9s8XJkwBfOHqfc23nQpow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=WNRcyAl+9zBYwl/HeK6PTPNRZRYzJ2edvSgQLKqoP08=; b=hzmxfVQ5DSfCz1xz76GEpP+04wtRgNj16fODa1zZffwU6Dn2Lvbg1CU6Pkxw5T6DWsXFpwTL+x1PE0vj/n1rWGqwaTFDExqbxOh7gdWoWzozR15Rp9RVDzcl52o1x6c89zJJZfMJkbSP6FfvoSZSO9x0R1Xm9lAaTOBK25iznGOH+1PB/I/DKmez34Zt0x7p+DCIgZ/H/xIn6P7eihepGo0AbmMr6QtrEm+avA8RZNSjOM+7jKTE2reaO7W854WvOpwQCpjU4c3qIcgOt+16veabV/k9LQcu9HX0OJSJWRljuwrTkvKd34zbnzD5yt7DTyW7Y/OmWAblY/CZ2lvfzA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from PAXPR06MB8093.eurprd06.prod.outlook.com (2603:10a6:102:1a8::14) by DB7PR06MB4332.eurprd06.prod.outlook.com (2603:10a6:5:35::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4909.12; Tue, 25 Jan 2022 18:45:15 +0000 Received: from PAXPR06MB8093.eurprd06.prod.outlook.com ([fe80::b92e:41a9:a3e2:622a]) by PAXPR06MB8093.eurprd06.prod.outlook.com ([fe80::b92e:41a9:a3e2:622a%5]) with mapi id 15.20.4909.017; Tue, 25 Jan 2022 18:45:15 +0000 From: =?iso-8859-1?Q?Vincent_Bela=EFche?= To: =?iso-8859-1?Q?Juan_Manuel_Mac=EDas?= Subject: RE: [RFC] Creole-style / Support for **emphasis**__within__**a word** Thread-Topic: [RFC] Creole-style / Support for **emphasis**__within__**a word** Thread-Index: AQHYEdoYFmd5c1kK2UCxShUDOgGmf6xz8+BJgAAK7QaAABStSg== Date: Tue, 25 Jan 2022 18:45:15 +0000 Message-ID: References: <87zjl6ktu2.fsf@gmail.com> <87mwgimiqm.fsf@gmail.com> <8761n5r56f.fsf@gmail.com> <87fspd72t1.fsf@posteo.net> <87ee4waxud.fsf@nicolasgoaziou.fr> <87sftbrado.fsf@posteo.net> In-Reply-To: <87sftbrado.fsf@posteo.net> Accept-Language: fr-FR, en-US Content-Language: fr-FR X-MS-Has-Attach: X-MS-TNEF-Correlator: suggested_attachment_session_id: ac9f4fd7-3e0b-ddaa-4138-e4b232f737fd x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [e37IZlViAuSYCx/ih4t6qA/QvNpyz6tL] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 65bcfe96-53ae-4194-6a87-08d9e032d38f x-ms-traffictypediagnostic: DB7PR06MB4332:EE_ x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: n/U6ipiY49xvEdgDhHYB7Q6HB12T8U3u7xq8L1uo4Lfnws3A8gX730EV4zv3PoW/YHWhw5cMcn0V22J+vtsukwAWYPNghAEk3GN14domtnzPIfvrGSBNddicdY6A268WurK0ROkt1JPTu92+dDSFX8r4yntVAkh1csFZUDqdH/tGBjH+x1XdduvOjQ8F1FR+8LhrxfTQAvgDhfxUGdC7JU+ohP5/e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wj2AV0H+RyJuX531A0WU/InaVLQ6G5Cn/8gnnwAxrjRYkALENnH2oxTpDp48au51L8ovdk2z8O0ycIJ7vPwLpv5UzkggfJuhUrf0m5qRFGdm6FjMWTdpS7HIIdOnVBFrYYNbK8mljvLTXYOSHhAnvMbA9eEDVeWkpdR90Ft+/kxSyTF6uXT+7/RCbSizI/25C8/cE88NvUXyqoWGVyteWvzoKA/5Co0y/FdOPlazCWr6sZKtdQwzZx1wKU8I6hDYnYhYPvvh4rIBuYX5a1JgGxS/AQpEbjnPkaFlE4YCPvPC2xksmEvojAP Content-Type: multipart/alternative; boundary="_000_PAXPR06MB80931B727C7B2C392FE71DE6845F9PAXPR06MB8093eurp_" MIME-Version: 1.0 X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-6e454.templateTenant X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PAXPR06MB8093.eurprd06.prod.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 65bcfe96-53ae-4194-6a87-08d9e032d38f X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jan 2022 18:45:15.1232 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR06MB4332 Received-SPF: pass client-ip=40.92.75.77; envelope-from=vincent.b.1@hotmail.fr; helo=EUR04-VI1-obe.outbound.protection.outlook.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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: , Cc: orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643136767; 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; bh=WNRcyAl+9zBYwl/HeK6PTPNRZRYzJ2edvSgQLKqoP08=; b=TowsevZmqjsju6arRllb4x9NnQQbkn7ovmpNKt9K8puP2KQbhJ7Dofcmf5Ns2DuaLgIcWU FcQuHaVgBkqmpVQo55uCjiruGcs+wUjkdm7vE1J0qwrk0jeS4ogbQLcsYP4Q7/89rM8st5 PjBISA8z4Mbens5oX3oJMNe1qqFp2ySylhDalfvWtKaVnUPlCC/Cfzdx2gel5n4UsE/ptp 4FnbLNqui1rPVYR1PTUOYToin3o6Rk8Aj46451BhToX9uRcoYs0O+AqhVg2uG8IGtwy7fB cS/wp+O5OPKFvxzj8le8d7AKUjTy257yhZnPhRVH9VEdtx0jp/2NzIzsrOVXBQ== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1643136767; a=rsa-sha256; cv=pass; b=UKEaRJFpNX5G/xgFPDyw5TwAnlEavaFTZaMZY+xCNGIQc085XujZGJOoIfRw8WkMF7ePFy LHAwAqNoPqflDLg4cj+otcVh+IK+z3IYCav+TGsCwgahhlPVaPZD7JURUCYXGFp8mK2s/E xAUfz725N4nclv5SCThGt2iRhmBm1OfUNQurjjH6u/cYuicJ9HxsVr/5zJogQxx02gmAJ0 BSSCIy1EZ0twogWkvmmUS/NTvppU7EsvrH1EKIrBL/ng2lt9SCZ9U3e6deUOhcNFt9tA6p iBBejGR94oQYjJ0WkGwMxKriSix/MY3BQ3iwssJ4BxE84xGIOv97K1e2ANrARw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=none; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=hotmail.fr (policy=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" X-Migadu-Spam-Score: -4.53 Authentication-Results: aspmx1.migadu.com; dkim=none; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=hotmail.fr (policy=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" X-Migadu-Queue-Id: D0D01B7B0 X-Spam-Score: -4.53 X-Migadu-Scanner: scn1.migadu.com X-TUID: NoIhIw4x8MzN --_000_PAXPR06MB80931B727C7B2C392FE71DE6845F9PAXPR06MB8093eurp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thank you so much Juan, I could adapt your filter to my needs, and this wor= ks like a charm ! V. ________________________________ De : Juan Manuel Mac=EDas Envoy=E9 : mardi 25 janvier 2022 18:30 =C0 : Vincent Bela=EFche Cc : orgmode Objet : Re: [RFC] Creole-style / Support for **emphasis**__within__**a word= ** Hi Vincent, Vincent Bela=EFche writes: > My conlcusion is that for what I am after, an evolution of org-mode > would be preferable, maybe I contribute something someday, so that > writing one of the following would make it: > > ~--my-option=3D~\relax{}/option value/ > ~--my-option=3D~@@:@@/option value/ > \left~--my-option=3D\right~/option value/ > \left~--my-option=3D\right~\left/option value\right/ > ~--my-option=3D~\left/option value\right/ Considering that Org's emphasis marks are not compromised by contact with a single quote, I come up with this somewhat dirty solution: you can use some kind of dummy mark (e.g. two single quotes: '') and put it between the two emphasis parts. It would then be removed by a filter. Something like this: #+BIND: org-export-filter-final-output-functions (my-filter) #+begin_src emacs-lisp :exports results :results none (defun my-filter (text backend info) (replace-regexp-in-string "''" "" text)) #+end_src ~some-cli-option=3D~''/some cli argument/ =3D=3D LaTeX =3D=3D> \texttt{some-cli-option=3D}\emph{some cli argument} The solution is tricky and temporary, but at least it's not as text-invasive as other options. Best regards, Juan Manuel --_000_PAXPR06MB80931B727C7B2C392FE71DE6845F9PAXPR06MB8093eurp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Thank you so much Juan, I could adapt your filter to my needs, and this wor= ks like a charm !

  V.

De : Juan Manuel Mac=EDas &= lt;maciaschain@posteo.net>
Envoy=E9 : mardi 25 janvier 2022 18:30
=C0 : Vincent Bela=EFche <vincent.b.1@hotmail.fr>
Cc : orgmode <emacs-orgmode@gnu.org>
Objet : Re: [RFC] Creole-style / Support for **emphasis**__within__*= *a word**
 
Hi Vincent,

Vincent Bela=EFche writes:

> My conlcusion is that for what I am after, an evolution of org-mode > would be preferable, maybe I contribute something someday, so that
> writing one of the following would make it:
>
>    ~--my-option=3D~\relax{}/option value/
>    ~--my-option=3D~@@:@@/option value/
>    \left~--my-option=3D\right~/option value/
>    \left~--my-option=3D\right~\left/option value\right/=
>    ~--my-option=3D~\left/option value\right/

Considering that Org's emphasis marks are not compromised by contact
with a single quote, I come up with this somewhat dirty solution: you
can use some kind of dummy mark (e.g. two single quotes: '') and put it
between the two emphasis parts. It would then be removed by a filter.
Something like this:

#+BIND: org-export-filter-final-output-functions (my-filter)

#+begin_src emacs-lisp :exports results :results none
  (defun my-filter (text backend info)
    (replace-regexp-in-string "''" "" te= xt))
#+end_src


~some-cli-option=3D~''/some cli argument/

=3D=3D LaTeX =3D=3D>

\texttt{some-cli-option=3D}\emph{some cli argument}

The solution is tricky and temporary, but at least it's not as
text-invasive as other options.

Best regards,

Juan Manuel
--_000_PAXPR06MB80931B727C7B2C392FE71DE6845F9PAXPR06MB8093eurp_--