Eric Gorelik <[email protected]> writes: > With org-hide-emphasis-markers enabled, I am running into a > number of situations where characters inside inline code and verbatim > strings are made invisible. > > The one I am hitting constantly is when a code string contains "~" > before a letter or other significant character. > ... > ... > I have also occasionally seen this happening to other characters inside > code/verbatim strings. In the example I was able to reproduce, I can > type > ... > Exporting to text again reveals the true content with the missing > characters.
Thanks for reporting! What you are seeing it yet another deficiency of our approximate fontification that is regexp-based. There are numerous similar issues lurking around. The ultimate solution will be rewriting the fontification to use the parser: https://orgmode.org/list/87ee7c9quk.fsf@localhost However, that requires improved parser cache, which is yet to be implemented. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>
