[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#51362: python font-lock-mode in emacs 28 seems broken
From: |
Kévin Le Gouguec |
Subject: |
bug#51362: python font-lock-mode in emacs 28 seems broken |
Date: |
Sun, 31 Oct 2021 10:34:30 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Stefan Kangas <stefan@marxist.se> writes:
> Do you have an example file or snippet where font-lock fails?
I've tried to come up with a minimal reproducer; see attached file, and
screenshots. In Emacs 28, the second assignment is not fontified until
the user starts editing the buffer.
I glanced at python.el's font-lock rules and tried to revert recent
changes, but tripped over conflicts. I'm speculatively CC'ing Dario, in
case the issue looks obvious to him?
a = foo(x='a')
b = a.bar()
Screenshot_20211031_103332.png
Description: PNG image