Tutorial on how to use Emacs to program Python

Peter Wu peterwu at hotmail.com
Fri Feb 21 08:55:03 EST 2003


Klaus Momberger <klausm0762 at yahoo.de> wrote:

> put this into your _emacs/.emacs :
>
> (setq load-path (cons "c:/emacs-20.7/lisp" load-path))
> (setq auto-mode-alist (append '(("\\.py$"  . python-mode))
> auto-mode-alist))

Thanks. This works. :)

However, I'm wondering why I don't need any lines in .emacs when I do
cc-mode in GNU Emacs. Any hints?

--
Cheers, Peter






More information about the Python-list mailing list