GNU bug report logs - #52841
show-paren paring error in org-mode source blocks

Previous Next

Package: emacs;

Reported by: Yilkal Argaw <yilkalargawworkneh <at> gmail.com>

Date: Tue, 28 Dec 2021 04:03:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: yilkalargawworkneh <at> gmail.com, 52841 <at> debbugs.gnu.org
Subject: bug#52841: show-paren paring error in org-mode source blocks
Date: Wed, 29 Dec 2021 18:14:17 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

>> I can reproduce the problem in Gnus, too, but I'm not that familiar with
>> how show-paren works -- does it just use the syntax properties in the
>> buffer?
>
> Yes, it does.

Hm...  but the parentheses machines has the concept of matching pairs,
right?  Let's see...

    (modify-syntax-entry ?> ")<" table)
    (modify-syntax-entry ?< "(>" table)

Right.  So why does it think that < is the opening char for )?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 165 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.