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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 71093 in the body.
You can then email your comments to 71093 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#71093; Package emacs. (Tue, 21 May 2024 10:49:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Röhler <andreas.roehler <at> easy-emacs.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 21 May 2024 10:49:02 GMT) Full text and rfc822 format available.

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

From: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.50; python: multiple assignments not fontified
Date: Tue, 21 May 2024 12:47:57 +0200
a = b = c = 5

b and c are not fontified

GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, 
cairo version 1.16.0) of 2024-05-21






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#71093; Package emacs. (Thu, 23 May 2024 13:14:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Andreas Röhler <andreas.roehler <at> easy-emacs.de>,
 kobarity <kobarity <at> gmail.com>, Lin Sun <sunlin7.mail <at> gmail.com>
Cc: 71093 <at> debbugs.gnu.org
Subject: Re: bug#71093: 30.0.50; python: multiple assignments not fontified
Date: Thu, 23 May 2024 16:12:57 +0300
> 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#71093; Package emacs. (Fri, 24 May 2024 12:20:02 GMT) Full text and rfc822 format available.

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

From: kobarity <kobarity <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Andreas Röhler <andreas.roehler <at> easy-emacs.de>,
 Lin Sun <sunlin7.mail <at> gmail.com>, 71093 <at> debbugs.gnu.org
Subject: Re: bug#71093: 30.0.50; python: multiple assignments not fontified
Date: Fri, 24 May 2024 21:17:39 +0900
[Message part 1 (text/plain, inline)]
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?
[0001-Fix-Python-font-lock-of-chained-assignment-statement.patch (application/octet-stream, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#71093; Package emacs. (Fri, 24 May 2024 12:50:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: kobarity <kobarity <at> gmail.com>
Cc: andreas.roehler <at> easy-emacs.de, sunlin7.mail <at> gmail.com,
 71093 <at> debbugs.gnu.org
Subject: Re: bug#71093: 30.0.50; python: multiple assignments not fontified
Date: Fri, 24 May 2024 15:46:30 +0300
> 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#71093; Package emacs. (Fri, 24 May 2024 13:57:02 GMT) Full text and rfc822 format available.

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

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: Re: 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)]

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Fri, 24 May 2024 14:55:02 GMT) Full text and rfc822 format available.

Notification sent to Andreas Röhler <andreas.roehler <at> easy-emacs.de>:
bug acknowledged by developer. (Fri, 24 May 2024 14:55:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: kobarity <kobarity <at> gmail.com>
Cc: andreas.roehler <at> easy-emacs.de, sunlin7.mail <at> gmail.com,
 71093-done <at> debbugs.gnu.org
Subject: Re: bug#71093: 30.0.50; python: multiple assignments not fontified
Date: Fri, 24 May 2024 17:54:33 +0300
> Date: Fri, 24 May 2024 22:54:46 +0900
> From: kobarity <kobarity <at> gmail.com>
> Cc: andreas.roehler <at> easy-emacs.de,
> 	sunlin7.mail <at> gmail.com,
> 	71093 <at> debbugs.gnu.org
> 
> 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.

Thanks, installed on the emacs-29 branch, and closing the bug.




Forcibly Merged 71093 71189. Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 25 May 2024 07:04:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 71189 <at> debbugs.gnu.org and Andreas Röhler <andreas.roehler <at> easy-emacs.de> Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 25 May 2024 07:04:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#71093; Package emacs. (Sun, 26 May 2024 01:12:02 GMT) Full text and rfc822 format available.

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

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-done <at> debbugs.gnu.org
Subject: Re: bug#71093: 30.0.50; python: multiple assignments not fontified
Date: Sun, 26 May 2024 10:10:27 +0900
[Message part 1 (text/plain, inline)]
Eli Zaretskii wrote:
> 
> > Date: Fri, 24 May 2024 22:54:46 +0900
> > From: kobarity <kobarity <at> gmail.com>
> > Cc: andreas.roehler <at> easy-emacs.de,
> > 	sunlin7.mail <at> gmail.com,
> > 	71093 <at> debbugs.gnu.org
> > 
> > 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.
> 
> Thanks, installed on the emacs-29 branch, and closing the bug.

Thanks, but there seems to be a problem with the merge to master.
Could you apply the attached patch to master?
[0001-Fix-merge-error.patch (application/octet-stream, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#71093; Package emacs. (Sun, 26 May 2024 08:23:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: kobarity <kobarity <at> gmail.com>
Cc: andreas.roehler <at> easy-emacs.de, sunlin7.mail <at> gmail.com,
 71093-done <at> debbugs.gnu.org
Subject: Re: bug#71093: 30.0.50; python: multiple assignments not fontified
Date: Sun, 26 May 2024 11:21:55 +0300
> Date: Sun, 26 May 2024 10:10:27 +0900
> From: kobarity <kobarity <at> gmail.com>
> Cc: andreas.roehler <at> easy-emacs.de,
> 	sunlin7.mail <at> gmail.com,
> 	71093-done <at> debbugs.gnu.org
> 
> > > Attached is the patch for emacs-29 branch.
> > 
> > Thanks, installed on the emacs-29 branch, and closing the bug.
> 
> Thanks, but there seems to be a problem with the merge to master.
> Could you apply the attached patch to master?

Thanks, done.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 23 Jun 2024 11:24:12 GMT) Full text and rfc822 format available.

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.