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: Drew Adams <drew.adams <at> oracle.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>, Eli Zaretskii <eliz <at> gnu.org>
Cc: Elijah Gabe Pérez <eg642616 <at> gmail.com>, "78396 <at> debbugs.gnu.org" <78396 <at> debbugs.gnu.org>
Subject: bug#78396: [PATCH] Add option for not highlight parens inside comments or strings.
Date: Tue, 27 May 2025 23:07:05 +0000
> Ideally, we'd want to match closing-parens-in-comments with
> opening-parens-in-comments.

We would?  A comment can contain anything.  A paren in
a comment isn't necessarily a delimiter.  "Parsing"
comments in an a priori way is misguided, on the whole.

What we'd really want is a way _to be able_ to match
closing parens (or other closing delimiters, per the
major mode) within comments.  IOW, this should be an
option (and preferably opt-in, not out).

Just one opinion.  And caveat: I'm not following this
thread - piping up in ignorance of context, including
knowing what might be important for this bug report. 




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.