Menu

#18 emacs cvs has it's own python mode

open
nobody
None
5
2004-06-18
2004-06-18
No

I can't get rid of the emacs cvs python mode to use
this python-mode
I followed the install instructions at
http://www.python.org/emacs/python-mode/installation.html
but it's not working. it's still loading the other
python mode

Library is file ~/python-mode/python-mode.elc
Library is file
/usr/local/share/emacs/21.3.50/lisp/progmodes/python.elc

my .emacs has:

;; python mode
(setq load-path (cons "~/python-mode/" load-path))
(setq auto-mode-alist
(cons '("\\.py$" . python-mode) auto-mode-alist))
(setq interpreter-mode-alist
(cons '("python" . python-mode)
interpreter-mode-alist))

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.