python version 2.2.2
I am having diffculty getting the python interpreter to run under emacs,
either from the menu or with C-c ! Syntax highlighting and .py file
recognition works fine.
When I try strating the interpreter with the above Emacs complains:
"Searching for program: No such file or directory, python"
I have set the environment variable HOME to C:\ which is where .emacs
resides, and I have byte compiled python-mode.el which sits in C:\Python22
My .emacs file is as follows:
(setq load-path (cons "C:\Python22" load-path))
(cons '("\\.py$" . python-mode) auto-mode-alist))
(cons '("python" . python-mode)
(autoload 'python-mode "python-mode" "Python editing mode." t)
(setq font-lock-maximum-decoration t)
I guessed that (setq interpreter-mode-alist...etc is telling Emacs where
the interpreter is located, and so I tried adjusting the value of
"python" to "C:\Python22\python" and "C:\Python22\python.exe".
However I am slightly confused about when Emacs reloads .emacs. Do I
have to restart windows everytime I make a change, or is there a method
for reloading while Emacs is running?
Any help greatly appreciated.