unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#58814: Python.el major mode syntax highlighting not working
@ 2022-10-27  6:18 Stan Staykov
  2022-11-13 14:17 ` Laurence Warne
  0 siblings, 1 reply; 6+ messages in thread
From: Stan Staykov @ 2022-10-27  6:18 UTC (permalink / raw)
  To: 58814


[-- Attachment #1.1: Type: text/plain, Size: 807 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1409 bytes --]

[-- Attachment #2: Screenshot from 2022-10-26 17-28-42.png --]
[-- Type: image/png, Size: 81283 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-11-24 19:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-27  6:18 bug#58814: Python.el major mode syntax highlighting not working Stan Staykov
2022-11-13 14:17 ` Laurence Warne
2022-11-13 15:23   ` Stan Staykov
2022-11-15  4:01     ` Stefan Kangas
2022-11-21 15:17       ` Stan Staykov
2022-11-24 19:51         ` Stefan Kangas

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).