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

2022-07-26 Thread Max Nikulin
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 boundaries. Ihor, I have realized that you did not address another use case: zero width spaces may be added to suppress

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

2022-07-26 Thread Max Nikulin
On 26/07/2022 19:59, Ihor Radchenko wrote: This is a bug. While escape symbols do not affect export in most common scenarios, your report is adding yet another case when zero-width space is actually altering the export result. I agree is zero-width space used as an escape character is too int

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

2022-07-26 Thread András Simonyi
Dear All, this might be a very stupid question as I'm not familiar with the internals of the Org export engine, but couldn't this change lead to problems with the Org-to-Org export of documents containing these "semantic separators"? thanks and best wishes, András On Tue, 26 Jul 2022 at 16:52, T

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

2022-07-26 Thread Timothy
Hi Ihor, > I am attaching a tentative patch that will make Org export remove > zero-width spaces when those spaces actually separate the object > boundaries. > > Any objections? IMO this is an immanently sensible idea. I added an export filter like this to my config basically as soon as I found o

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

2022-07-26 Thread Ihor Radchenko
..@gmail.com> From: Ihor Radchenko Date: Tue, 26 Jul 2022 20:50:47 +0800 Subject: [PATCH] org-export: Remove zero-width space escapes during export * lisp/ox.el (org-export--remove-escaped): New function removing zero-width spaces when they separate object boundaries. (org-export-as): Call `or