emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tim Loderhose <tim@loderhose.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: [BUG] Erroneous link highlighting in src blocks (9.5.5-geeae6e)
Date: Fri, 07 Oct 2022 15:46:55 +0000	[thread overview]
Message-ID: <XdWFnN3XCJ67x3SvoiVo_itGGYfboKmuWp7OxQxRZ_SGA5vgb72oWBoqTmOUUtiqUR890-kIXjI7uhlse-HFYqNVJTyVlc15zAzbP8qHVdo=@loderhose.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 764 bytes --]

Hi,

In recent org, org-highlight-links including 'bracket' will hide content
with double brackets inside src blocks.
A vanilla config loading 9.5.5 org (I did this through straight.el) can reproduce this with a
minimal org file including just:

#+begin_src python
[[a]]
#+end_src

The brackets will be hidden.

I can only confirm that this does not happen with org 9.5.2 - I did not
check other versions in between, but know this has been the case for a
couple of weeks at least. I don't know much of the internals, but
thought that perhaps the issue was introduced around this commit (as this touches link folding and is not included in 9.5.2):
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=67275f4664ce00b5263c75398d78816e7dc2ffa6

Cheers,
Tim

[-- Attachment #2: Type: text/html, Size: 1554 bytes --]

             reply	other threads:[~2022-10-08 10:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-07 15:46 Tim Loderhose [this message]
2022-10-09  3:48 ` [BUG] Erroneous link highlighting in src blocks (9.5.5-geeae6e) 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='XdWFnN3XCJ67x3SvoiVo_itGGYfboKmuWp7OxQxRZ_SGA5vgb72oWBoqTmOUUtiqUR890-kIXjI7uhlse-HFYqNVJTyVlc15zAzbP8qHVdo=@loderhose.com' \
    --to=tim@loderhose.com \
    --cc=emacs-orgmode@gnu.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public 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).