I am trying to get python-mode.el and ipython to work with emacs. I downloaded the newest GNU emacs and python-mode.el, put the files into .emacs.d/python-mode.el-6.1.2 and wrote the following in the emacs init file:
; Python-mode
(setq py-install-directory "~/.emacs.d/python-mode.el-6.1.2")
(add-to-list 'load-path "~/.emacs.d/python-mode.el-6.1.2")
(require 'python-mode)
From here it should be able to recognize python-mode, but I cannot get it to. When I open a .py file, the mode is Python (python.el), not Py (python-mode). What am I doing wrong? Next I would like to be able to execute code from emacs via ipython - I figured just to follow the official site: http://ipython.org/ipython-doc/stable/config/editors.html..
Any help on python-mode and advice on ipython compatibility? I got python and ipython up and running, but I'm all new to emacs.
Thanks in advance!