From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gAFyB2/E+mGdcQEAgWs5BA (envelope-from ) for ; Wed, 02 Feb 2022 18:50:39 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id EIoWBG/E+mGBlQAAauVa8A (envelope-from ) for ; Wed, 02 Feb 2022 18:50:39 +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 A6AEE3B5CB for ; Wed, 2 Feb 2022 18:50:38 +0100 (CET) Received: from localhost ([::1]:33178 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFJm8-0003tJ-Tv for larch@yhetil.org; Wed, 02 Feb 2022 12:50:36 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52178) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFHlx-0002iG-VY for emacs-orgmode@gnu.org; Wed, 02 Feb 2022 10:42:18 -0500 Received: from ciao.gmane.io ([116.202.254.214]:58764) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFHlw-0003Ox-IM for emacs-orgmode@gnu.org; Wed, 02 Feb 2022 10:42:17 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1nFHlt-0001pW-I4 for emacs-orgmode@gnu.org; Wed, 02 Feb 2022 16:42:13 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Max Nikulin Subject: Re: [PATCH] Intra-word markup: \relax Date: Wed, 2 Feb 2022 22:42:04 +0700 Message-ID: References: <4897bc60-b74f-ccfd-e13e-9b89a1194fdf@mailbox.org> <87pmocuhou.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Content-Language: en-US In-Reply-To: <87pmocuhou.fsf@posteo.net> 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.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-0.001, 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643824238; 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=hHBkJCBwhjFgEFAa66CkU+PS8/2DEa+8y2F9UAtcf5o=; b=q5tpl0ANtJGtm89U1/i+MJ634eFl6w+jlzOCUUKcVVeXLOCx1eDLGpOnN2uZ9HWo55e1o3 aS26adP++0trEtGXFARdMX0Ao3IW1Xsepksrlxp66ztJkHuIBRYVzLJ7DIcC94B2cQE9ur 8Sss/j53wfOgEWim4SdrCd0XyBelYBQd3mmZWu7ga9PTWZO8kTnnmVR/pIOr4pXImfFAlC zVWe3iKLUQU3ZBr9MbJ3St5DQXfV9/tJajwhIiIxe1HTpECkyC6QKJpTlT3+kEGFd5aBR/ obGNG0D5B9IZS9yKaeFdHvUrUxgSLqNHvsa3bjZDPk57G5BfHspgu1dY9LHP6Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643824238; a=rsa-sha256; cv=none; b=IQ9mhQJcxZscoohQCtJdynCvN3Qb8Wv98wB1E9XAO92ec5bhIITBafx2j+tVQfkiWKosAJ gjkldmB+v5Kf07gTe10oIgZ2Q2GYjscxiDErlR9Z6C4ERJJJh+U3yI9dIS4laXxUe5ZWPD H639uW8vhQGjE3R2TTGYcsBMF9n1uOhL63t7w5iKsm/0lB40RhOKXdgGM5nevvhIWR4y0a skTjDI/IbVcfjsB3zULgL24a3ekk1ss3D2OsH0LauMY14EbBEUfbElbz270u2HvxsLjRV+ 38spHqA5ppIQgZuwowsRIBzNgMq1LalEIGWBfzNVeaO/EevYHCXpsrQkZEluSA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (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: -3.03 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (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: A6AEE3B5CB X-Spam-Score: -3.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: a4QUSH1NicPu On 28/01/2022 20:13, Juan Manuel MacĂ­as wrote: > Max Nikulin writes: > >> I have an idea how to implement *intra*/word/ markup with minimal >> change of Org syntax. At first I had a hope that it is enough to >> introduce \relax entity that expands to empty string, but it does not >> work for second part of words: *intra*\relax{}/word/ is exported to >> intra/word/. >> So it is necessary to support consuming spaces after such entity >> similar to TeX commands: >> *intra*\relax /word/ >> In Org "a\_ b" already behaves in the same way. > > Maxim, I find the idea of \relax entity interesting. The only (minor) > drawback I find (in normal use, I mean) is the verbosity it adds. "Relax" is just a name known to TeX users. Certainly another shorter word may be used instead. I am just lazy enough to look through HTML named entities and LaTeX command to avoid conflicts and thus behavior unexpected to some users. > In my case, I have already given up on the problem of marks inside words > :-(. My personal opinion: I think that, unless a completely > 'revolutionary' solution emerges, it is better to leave the matter as it > is, and consider this a feature of Org rather than a bug. I suspect that > a single solution could not satisfy all tastes or all possible > scenarios, so maybe it would be nice to put a list of solutions > (including this one and also the zero space thing, and others that have > arisen or may arise) somewhere (perhaps in the manual?). A day before I posted my current summary why export snippets and macros do not help with intra-word markup (before I expected that they can), only custom links is a workaround (with some limitations, as usual): [RFC] Creole-style / Support for **emphasis**__within__**a word** Tue, 25 Jan 2022 23:27:50 +0700. https://list.orgmode.org/ssp8e7$ah2$1@ciao.gmane.io/ But at that moment I forgot about entities, Another topic served as a reminder, and I spent some time experimenting with them.