emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [BUG] org-fold-core-style 'text-properties interprets Org link synta


From: Ihor Radchenko
Subject: Re: [BUG] org-fold-core-style 'text-properties interprets Org link syntax in code blocks too
Date: Thu, 28 Apr 2022 22:44:50 +0800

Kaushal Modi <kaushal.modi@gmail.com> writes:

> With the default value of the new org-fold-core-style, if I have a
> snippet like below:
>
> #+begin_src toml
> [[asdf]]
> #+end_src
>
> The brackets around asdf get hidden. ([[asdf]] is TOML syntax for maps
> or array of tables: https://toml.io/en/v1.0.0#array-of-tables)
>
> If I change org-fold-core-style to overlays, and refresh that Org
> buffer, I see the square brackets around asdf in the src block (as
> expected).

Confirmed.
The same problem also did exist in the past, but it was shadowed by
re-fontification.

I am not going to fix this just yet unless it is critical. It does not
look like this bug is common.

This and other fontification issues will be solved by new parser-based
fontification engine I am working on now.

Best,
Ihor



reply via email to

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