Python Emacs Mode and fontification

Adam Ruth aruth at intercation.com
Tue May 9 10:48:02 EDT 2000


The line you need in your .emacs file is:

(add-hook 'python-mode-hook 'turn-on-font-lock)

--
Adam Ruth
InterCation, Inc.
www.intercation.com
"Timothy Grant" <tjg at exceptionalminds.com> wrote in message
news:3918407E.C95C72B5 at exceptionalminds.com...
> I recently converted to Xemacs (though I have yet to be confirmed or
> baptised) solely due to its excellent python mode. However, I am now
> faced with a really weird fontification problem. I have a source file
> that doesn't appear any different from any of the other source files I
> have created, however, everytime I add new code to the file, Xemacs
> fontifies it as a """string""". If I save the file exit and reload it,
> all the fontification is correct, but the minute I make any changes it
> gets out of whack again.
>
> Perchance would anyone have some guiding light for an Xemacs neophyte?
>
> Thanks.
>
> --
> Stand Fast,
>     tjg.
>
> Timothy Grant                         tjg at exceptionalminds.com
> Chief Technology Officer              www.exceptionalminds.com
> Red Hat Certified Engineer                      (503) 246-3630
> Avalon Technology Group, Inc.              fax  (503) 246-3124
> >>>>>>>>>>>>Linux...Because rebooting isn't normal<<<<<<<<<<<<
>





More information about the Python-list mailing list