GNU bug report logs - #44465
28.0.50; tcl-mode mismatched parenthesis for nested [strings]

Previous Next

Package: emacs;

Reported by: mvar <mvar.40k <at> gmail.com>

Date: Thu, 5 Nov 2020 12:36:02 UTC

Severity: minor

Found in version 28.0.50

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: mvar <mvar.40k <at> gmail.com>
Cc: 44465 <at> debbugs.gnu.org
Subject: bug#44465: 28.0.50; tcl-mode mismatched parenthesis for nested [strings]
Date: Sat, 14 Aug 2021 19:51:20 -0400
> @Stefan i've added you to cc: in case you can help a bit and provide
> some tips.
> In the fix for #39277 you've added tcl--syntax-of-quote and also this comment:
>
> (defconst tcl-syntax-propertize-function
>   ;; FIXME: Handle the [...] commands nested inside "..." strings.
>
> so my question, is the problem described in this bug report supposed
> to be fixed as a regexp in the tcl-syntax-propertize-function rules
> list or should i try to extend tcl--syntax-of-quote to cover this case
> too?

Good question.
My gut tells me not to try and make the regexp more complex.


        Stefan





This bug report was last modified 4 years ago.

Previous Next


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