GNU bug report logs - #61796
30.0.50; tree-sitter + python: string fontification does not handle nested strings

Previous Next

Package: emacs;

Reported by: Mickey Petersen <mickey <at> masteringemacs.org>

Date: Sat, 25 Feb 2023 22:36:01 UTC

Severity: normal

Found in version 30.0.50

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 61796-done <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Mickey Petersen <mickey <at> masteringemacs.org>, 61796-done <at> debbugs.gnu.org
Subject: Re: bug#61796: 30.0.50; tree-sitter + python: string fontification
 does not handle nested strings
Date: Sun, 26 Feb 2023 03:13:13 +0200
Hi! Thanks for the report.

On 26/02/2023 00:30, Mickey Petersen wrote:
> I think the query and/or the way fontification is applied is causing a
> problem when you nested double quotes inside single quotes:
> 
> # not right
> A = 'before "inside" after'
> 
> # right
> B = "before 'inside' after"

Should be fixed in emacs-29 with commit 3cae0e3d96a.




This bug report was last modified 2 years and 81 days ago.

Previous Next


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