Emacs mode for Python
skip at mojam.com
Thu Nov 2 02:48:16 CET 2000
fritz> Maybe the first question I should ask is: Does anyone here use
fritz> emacs with python?
Yeah, a couple of us do... ;-)
fritz> What text editor (in a text window) is friendliest to python?
Dunno. I was an emacs bigot long before I discovered Python, so there was
no time wasted hunting around for a good editor.
Look at Misc/python-mode.el for a Python mode for Emacs/XEmacs. I have the
following stuff in my (XEmacs) ~/.emacs file:
(add-hook 'python-mode-hook 'turn-on-font-lock)
(setq auto-mode-alist (cons '("\\.py$" . python-mode) auto-mode-alist))
and have python-mode.elc on my load-path.
Skip Montanaro (skip at mojam.com)
More information about the Python-list