GNU bug report logs - #58814
Python.el major mode syntax highlighting not working

Previous Next

Package: emacs;

Reported by: Stan Staykov <id <at> stanstaykov.com>

Date: Thu, 27 Oct 2022 08:32:02 UTC

Severity: normal

Tags: moreinfo

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stan Staykov <id <at> stanstaykov.com>
Subject: bug#58814: closed (Re: bug#58814: Python.el major mode syntax
 highlighting not working)
Date: Thu, 24 Nov 2022 19:57:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#58814: Python.el major mode syntax highlighting not working

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 58814 <at> debbugs.gnu.org.

-- 
58814: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58814
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefan Kangas <stefankangas <at> gmail.com>
To: Stan Staykov <id <at> stanstaykov.com>
Cc: Laurence Warne <laurencewarne <at> gmail.com>, 58814-done <at> debbugs.gnu.org
Subject: Re: bug#58814: Python.el major mode syntax highlighting not working
Date: Thu, 24 Nov 2022 11:51:03 -0800
Stan Staykov <id <at> stanstaykov.com> writes:

> Hello,
> Sorry for the late reply.
> Yes that seems fine.
> Alternatively you can leave variables completely unstyled.

Thanks, I'm therefore closing this bug report.

[Message part 3 (message/rfc822, inline)]
From: Stan Staykov <id <at> stanstaykov.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Python.el major mode syntax highlighting not working
Date: Thu, 27 Oct 2022 09:18:13 +0300
[Message part 4 (text/plain, inline)]
Using emacs 28.2 on Arch Linux.
Syntax highlighting using the default python-mode (python.el) is 
inconsistent.
Multiple users in the #emacs channel who all tested this with the -Q 
option all report the same results.

Please see attached image for the first example.

Notice how the variable 'money' for example is randomly highlighted.

Full code here: Paste.rs <https://paste.rs/K2r.py>

For the above code, when opened in emacs -Q if you go to the last 
instance of 'money' where it says 'money += bet * 2' and press RETURN 
after the end of that line, suddenly it gets highlighted, and then if 
you go to the previous instance of that and do the same, the 
highlighting of the one below disappears.

The same was confirmed by multiple users from the #emacs channel.

Please advise.

Best regards,
Stan
[Message part 5 (text/html, inline)]
[Screenshot from 2022-10-26 17-28-42.png (image/png, attachment)]

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

Previous Next


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