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: Yilkal Argaw <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 16:41:09 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

>> #+begin_src emacs-lisp
>> 
>>   (if (not (version< emacs-version "27.0"))
>>       (progn
>>     (if (fboundp 'native-comp-available-p) (setq comp-deferred-compilation t))
>>     (setq warning-suppress-types '((flycheck syntax-checker) (comp))))
>>     )
>> 
>> #+end_src
>
> Isn't this a problem specific to Org?  If so, please report it to the
> Org bug address first.

Well, you see it in any mode that displays code blocks, like in Gnus.
Doesn't rmail fontify that block of code for you?

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?  In which case I don't know how to fix this, because in Gnus
article buffers, <> have parenthesis syntax.

-- 
(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.