I have the following OS ...

WindowsXP ServicePack2 (Media Center edition)

F:\Python243 is in the PATH.
I can type python from any directory anywhere and get ...

C:\>python
Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)] on 
win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

I have the USER ENVIRONMENT variable set to
HOME=F:\emacs\

I have the following directories ...

F:\emacs\emacs-21.3
F:\emacs\.emacs.d

I have the following file ...

F:\emacs\_emacs.txt

_emacs.txt contains ...

;; Load the C++ and C editing modes and specify which file extensions
;; correspond to which modes.
(autoload 'python-mode "python-mode" "Python editing mode." t)
    (setq auto-mode-alist
           (cons '("\\.py$" . python-mode) auto-mode-alist))
     (setq interpreter-mode-alist
           (cons '("python" . python-mode) interpreter-mode-alist))


I also have the following file.

F:\emacs\emacs-21.3\site-lisp\python-mode.el

When I run emacs the following behavior is expected ...

"
This should enable python-mode whenever you open a file named *.py.
To start python from emacs, run the command M-x py-shell.
That is, hit Alt-X (or press ESC, then X) and type
the command "py-shell" and press enter.
"

Instead, when I load a .py file my python keywords are NOT highlighted.
When, I type ALT+X, I get the response back ...
M-x py-shell [NO MATCH]

What am I doing wrong?

Thank you very much,
Andre Mikulec
[EMAIL PROTECTED]


_______________________________________________
Python-mode mailing list
Python-mode@python.org
http://mail.python.org/mailman/listinfo/python-mode

Reply via email to