GNU bug report logs - #39277
26.3; Tcl font lock does not understand quoting

Previous Next

Package: emacs;

Reported by: Hadrien Lacour <hadrien.lacour <at> posteo.net>

Date: Sat, 25 Jan 2020 10:01:02 UTC

Severity: normal

Tags: fixed

Found in version 26.3

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: mvar <mvar.40k <at> gmail.com>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 39277-done <at> debbugs.gnu.org
Subject: bug#39277: 26.3; Tcl font lock does not understand quoting
Date: Tue, 03 Nov 2020 16:45:44 -0500
> i stumbled upon a not-so-rare case where this fix breaks a previously
> valid syntax locking. Example:
>
> set a "Testing: [split "192.168.1.1/24" "/"] address"
>
> the closing ] is marked as unmatched (no matching parenthesis found)

Oh, right, that's like the `...` inside "..." in sh.
I had completely forgotten about it.

> i still consider the previously applied fix as an overall improvement,
> so perhaps i should open a new bug report for this problem?

I think so, yes (but if so, please send me the bugnb).

The old code handled it differently but not correctly either (in this
case the breakage was less annoying, and maybe it's even the case in
general, but it's largely by accident), so it's really a separate issue.


        Stefan





This bug report was last modified 4 years and 259 days ago.

Previous Next


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