python mode for emacs
syver-en+usenet at online.no
Wed Jun 26 21:33:08 EDT 2002
Alberto Griggio <albgrig at tiscalinet.it> writes:
> On Fri, 21 Jun 2002 18:02:14 +0200, Syver Enstad wrote:
>> Is there a straight forward way of deciding how the
>> should look?
> (defun my-py-mode-hook ()
> (set-face-foreground 'py-pseudo-keyword-face "CadetBlue")
> ;; ... and anything else you want
> (add-hook 'python-mode-hook 'my-py-mode-hook)
Thanks, I changed it to "Black" and (make-face-italic
Very nice, just gives self and the other pseudo
keywords a little emphasis without being too "loud".
More information about the Python-list