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


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

From: mvar <mvar.40k <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: mvar <mvar.40k <at> gmail.com>, Lars Ingebrigtsen <larsi <at> gnus.org>,
 39277 <at> debbugs.gnu.org, Hadrien Lacour <hadrien.lacour <at> posteo.net>
Subject: Re: bug#39277: 26.3; Tcl font lock does not understand quoting
Date: Sat, 31 Oct 2020 13:01:08 +0200
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

>> How 'bout the patch below?
>
> Pushed to `master`,
>
>
>         Stefan


hi Stefan,

apologies for late reply, i needed a couple of days to work with the
patched tcl.el in my (disgustingly large) tcl codebase to be sure
nothing breaks & can confirm now. The original case is solved
(although the enclosed {"string} is not font-locked as string but i
wouldn't consider it an error) plus it fixes the following:

    proc foo4 () {
       puts "hello}"
    }

this was marked as valid before your changes but tclsh won't accept it
as such - the bracket } inside the string needs to be escaped when inside a proc
context (but as a plain statement there's no such requirement).

many thanks,
Michalis





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.