[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Add new entity \-- serving as markup separator/escape symbol

From: Max Nikulin
Subject: Re: [PATCH] Add new entity \-- serving as markup separator/escape symbol
Date: Thu, 28 Jul 2022 22:34:08 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0

On 28/07/2022 20:17, Ihor Radchenko wrote:

Therefore, I am proposing a different approach for shielding
fontification: introducing a special entity.

The new entity is \--, which is a valid boundary between emphasis
markup. It will be removed during export (replaced by "").

I like your idea more than my similar attempt:
Max Nikulin to emacs-orgmode. [PATCH] Intra-word markup: \relax. Fri, 28 Jan 2022 19:12:51 +0700.

The good point in your patch is that \- is still work as shy hyphen (that, by the way, may be used in some cases instead of zero width space: *intra*\-word). On the other hand I have managed to find a case when your approach is not ideal:



"\--" are added with hope to suppress bold text and keep asterisks.

I expected possible problem at the border of "-" and "$", but fortunately the following works well


reply via email to

[Prev in Thread] Current Thread [Next in Thread]