[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#52841: show-paren paring error in org-mode source blocks
From: |
Lars Ingebrigtsen |
Subject: |
bug#52841: show-paren paring error in org-mode source blocks |
Date: |
Wed, 29 Dec 2021 18:14:17 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Eli Zaretskii <eliz@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