emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: Kaushal Modi <kaushal.modi@gmail.com>
Cc: emacs-org list <emacs-orgmode@gnu.org>
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	[thread overview]
Message-ID: <87tuad6zdp.fsf@localhost> (raw)
In-Reply-To: <CAFyQvY1Y3PZtoS0uE+aUG+Hhzi0RMojTbcxz8SqAPSzC0qqCcQ@mail.gmail.com>

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	other threads:[~2022-04-28 15:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-27 15:45 Kaushal Modi
2022-04-28 14:44 ` Ihor Radchenko [this message]
2022-04-28 15:06   ` Kaushal Modi
2022-04-29  9:25     ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tuad6zdp.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=kaushal.modi@gmail.com \
    --subject='Re: [BUG] org-fold-core-style '\''text-properties interprets Org link syntax in code blocks too' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).