[Top][All Lists]

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

Re: [PATCH] org-export: Remove zero-width space escapes during export

From: Max Nikulin
Subject: Re: [PATCH] org-export: Remove zero-width space escapes during export
Date: Wed, 27 Jul 2022 10:30:42 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0

On 26/07/2022 19:59, Ihor Radchenko wrote:

I am attaching a tentative patch that will make Org export remove
zero-width spaces when those spaces actually separate the object

Ihor, I have realized that you did not address another use case: zero width spaces may be added to suppress activation of markup. In such cases they are in the middle of text objects, but they should be removed.

    Switch to the *​scratch​* buffer.

I consider zero width spaces as a workaround that is acceptable in some cases but awkward in others. It is tricky to deal with it in some general way.

I do not agree with the stance "just maintain status quo" expressed in response to Juan Manuel Macías. On zero width spaces and Org syntax. Fri, 03 Dec 2021 12:48:16 +0000 https://list.orgmode.org/orgmode/87ilw5yhv3.fsf@posteo.net/

An idea. At certain moment I was surprised that markup markers are not activated at the borders of export snippets:


It is not really lightweight markup but at least it is purely ASCII and visible by default. It might be breaking change in some edge cases. I am unsure concerning increasing complexity of the parser. Macro markers {{{macro}}} have similar behavior.

reply via email to

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