GNU bug report logs - #78396
[PATCH] Add option for not highlight parens inside comments or strings.

Previous Next

Package: emacs;

Reported by: Elijah Gabe Pérez <eg642616 <at> gmail.com>

Date: Mon, 12 May 2025 18:53:01 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Full log


View this message in rfc822 format

From: Elijah Gabe Pérez <eg642616 <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>, 78396 <at> debbugs.gnu.org
Subject: bug#78396: [PATCH] Add option for not highlight parens inside comments or strings.
Date: Mon, 19 May 2025 20:54:15 -0600
Eli Zaretskii <eliz <at> gnu.org> writes:

>> I've made an option for disable/control this behavior, by default its
>> disabled but I wonder if this should be activated instead.
>
> I'm worried by using syntax-ppss-context here: couldn't it sometimes
> significantly slow down the highlighting of parens?

I've tried it but haven't noticed any slow down (maybe because of the
machine I have(?))

But if syntax-ppss is slow, isn't there a better alternative?

-- 
                                          - E.G via GNU Emacs and Org.




This bug report was last modified 10 days ago.

Previous Next


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