Emacs' python-mode buggy?

Greg Green gregory.p.green at boeing.com
Thu Apr 29 16:24:07 EDT 1999


Hey, since I just found out via the current thread that py-mode has 
colorizing, I was wondering why I don't have coloring in mine.  

Using py-version "3.90"

and 

GNU Emacs 20.2.1 (i386-redhat-linux, X toolkit) of Tue Jun  9 1998 
on porky.redhat.com

sneaking a look at the message buffer:

Loading python-mode (compiled)...
Loading python-mode (compiled)...done
Local value of py-indent-offset set to 4
Unhighlighting
Done unhighlighting
highlighting 8: ;.*
highlighting 7: hilit-string-find
highlighting 6: ^\s *(def\(un\|macro\|advice\|alias\|subst\)[ 	
] ... \()\|nil\)
highlighting 5: ^\s *(defvar\s +\S +
highlighting 4: ^\s *(defconst\s +\S +
highlighting 3: ^\s *(\(provide\|require\|\(auto\)?load\).*$
highlighting 2: \s *\&\(rest\|optional\)\s *
highlighting 1: (\(let\*?\|cond\|if\|or\|and\|map\(car\|concat\)\
|prog[n1*]?\|while\|lambda\|function\|set\([qf]\|car\|cdr\)?\|nconc\
|eval-when-compile\|condition-case\|unwind-protect\|catch\|throw\|error\)[ 	
]

Colors work in the Java and C++ modes.

-- 

Greg Green
Boeing IS
http://www.seanet.com/~gpgreen/
work e-mail: gregory.p.green at boeing.com




More information about the Python-list mailing list