Font lock mode for python...

powell1@uiuc.edu
8 Jan 1995 18:44:12 GMT

I don't know if anyone has added a set of font-lock keywords and
expressions already, but since the task is relatively easy i went
ahead and did one. If you are interested in this code mail me at
powell1@uiuc.edu, if no one else has already done an official version
I guess I'll go ahead and submit it to the proper authorities:)

Font-lock mode in Xemacs (formerly know as lucid emacs), allows for
highlighting code based upon a combination of regular expressions and
a syntax table. You can use alternate fonts (italic, bold, etc)
and/or color to emphasize portions of the code. In terms of Python
code the, result is that all class names and function names are
highlighted. Comments and keywords are also highlighted, but in a
different manner from the class and functions.

Kevin