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


Message #26 received at 78396 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: eg642616 <at> gmail.com, 78396 <at> debbugs.gnu.org
Subject: Re: bug#78396: [PATCH] Add option for not highlight parens inside
 comments or strings.
Date: Sat, 31 May 2025 10:57:55 -0400
>> `syntax-ppss` is not cheap, but here it's not used inside a loop and
>> should be called only once per user-interaction so I'm not worried.
>> I see there are two calls, tho, so I'd try to consolidate them so we call
>> it at most once.
>
> Thanks.
>
> Elijah, would you like to update your patch as suggested by Stefan
> above?

Actually, I now see that the two calls can never happen at the same
time, so there's no change necessary.


        Stefan





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.