GNU bug report logs - #56757
29.0.50; Python f-string font-lock logic is incomplete

Previous Next

Package: emacs;

Reported by: Dima Kogan <dima <at> secretsauce.net>

Date: Mon, 25 Jul 2022 09:07:02 UTC

Severity: wishlist

Tags: moreinfo, patch

Found in version 29.0.50

Fixed in version 29.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: Laurence Warne <laurencewarne <at> gmail.com>
To: 56757 <at> debbugs.gnu.org
Subject: bug#56757: Python f-string font-lock logic is incomplete
Date: Sat, 30 Jul 2022 15:58:00 +0100
[Message part 1 (text/plain, inline)]
Hi, I've attached a patch which looks good to me locally using the above
examples and others.

In addition to the above, mixed capitalizations are also covered:
https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals
.

Thanks!
[Message part 2 (text/html, inline)]
[0001-Apply-syntax-highlighting-for-all-python-f-strings.patch (text/x-patch, attachment)]

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

Previous Next


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