GNU bug report logs - #71093
30.0.50; python: multiple assignments not fontified

Previous Next

Package: emacs;

Reported by: Andreas Röhler <andreas.roehler <at> easy-emacs.de>

Date: Tue, 21 May 2024 10:49:02 UTC

Severity: normal

Merged with 71189

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: kobarity <kobarity <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: andreas.roehler <at> easy-emacs.de, sunlin7.mail <at> gmail.com, 71093 <at> debbugs.gnu.org
Subject: bug#71093: 30.0.50; python: multiple assignments not fontified
Date: Fri, 24 May 2024 22:54:46 +0900
[Message part 1 (text/plain, inline)]
Eli Zaretskii wrote:
> > Date: Fri, 24 May 2024 21:17:39 +0900
> > From: kobarity <kobarity <at> gmail.com>
> > Cc: Andreas Röhler <andreas.roehler <at> easy-emacs.de>,	Lin
> >  Sun <sunlin7.mail <at> gmail.com>,	71093 <at> debbugs.gnu.org
> > 
> > Eli Zaretskii wrote:
> > > 
> > > > Date: Tue, 21 May 2024 12:47:57 +0200
> > > > From: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
> > > > 
> > > > a = b = c = 5
> > > > 
> > > > b and c are not fontified
> > > 
> > > Can someone please look into fixing this?  python-ts-mode does TRT,
> > > btw.
> > 
> > Sorry, this bug was introduced by my commit
> > 4915ca5dd4245a909c046e6691e8d4a1919890c8.  I canceled it in commit
> > 6b2c8dc9050c5c0514fa404733ce1d4a37d00e39 due to a performance issue,
> > but the cancellation was incomplete.  Attached is the patch to fix
> > this in master with an ERT.  Is it better to fix in emacs-29?
> 
> Thanks.  If the regression was in Emacs 29, then yes, it is better to
> fix that on the emacs-29 branch.

Attached is the patch for emacs-29 branch.
[0001-Fix-Python-font-lock-of-chained-assignment-statement.patch (application/octet-stream, attachment)]

This bug report was last modified 364 days ago.

Previous Next


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