[Top][All Lists]

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

Re: Org-syntax: emphasis and not English punctuation

From: Max Nikulin
Subject: Re: Org-syntax: emphasis and not English punctuation
Date: Sat, 4 Dec 2021 20:07:49 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0

On 03/12/2021 02:09, Juan Manuel Macías wrote:

I believe, that emphasis marks are a part of Org that can be very
shocking to new users. I mean, there is a series of behaviors that seem
obvious and trivial in the emphasized text, but that in Org are not
possible out of the box, unless you configure
`org-emphasis-regexp-components'. Three quick examples. This in Org is
not possible out of the box:


Maybe this issue should be considered independently of itra-word emphasis.

Second and third examples looks like they should be supported. Ihor mentioned treating punctuation in a more general way. It requires rich test set to estimate changes in heuristics. I suspect some problems since start and end patterns are not symmetric and I have not found a way to specify in regexp only punctuation marks that normally appears in front of words. Square brackets likely should be excluded somehow as well since they are part of Org syntax. I am unsure if it is possible to use just regexp without additional checks of candidates.

Ihor Radchenko. [PATCH] Re: c47b535bb origin/main org-element: Remove dependency on ‘org-emphasis-regexp-components’
Sun, 21 Nov 2021 17:28:57 +0800.

reply via email to

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