python mode for emacs

Syver Enstad syver-en+usenet at online.no
Thu Jun 27 03:33:08 CEST 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 
>> py-pseudo-keyword-face
>> 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)
> 
> Bye,
> Alberto

Thanks, I changed it to "Black" and (make-face-italic
'py-pseudo-keyword-face)

Very nice, just gives self and the other pseudo
keywords a little emphasis without being too "loud". 

-- 

Vennlig hilsen 

Syver Enstad



More information about the Python-list mailing list