I did a C-h v load-path RET. My F:\emacs\emacs-21.3\site-lisp directory shows.
I did a C-h v auto-mode-alist RET. Py mode was not listed. Is this a problem? Thanks Andre Mikulec [EMAIL PROTECTED] >From: "Andre Mikulec" <[EMAIL PROTECTED]> >To: python-mode@python.org >CC: [EMAIL PROTECTED] >Subject: 2 Can't get python/python-mode to work on WindowsXP >Date: Wed, 03 May 2006 00:33:10 -0400 >MIME-Version: 1.0 >X-Originating-IP: [68.169.107.163] >X-Originating-Email: [EMAIL PROTECTED] >X-Sender: [EMAIL PROTECTED] >Received: from omc2-s8.bay6.hotmail.com ([65.54.249.18]) by >bay0-mc4-f7.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 2 >May 2006 21:38:07 -0700 >Received: from hotmail.com ([65.54.174.26]) by omc2-s8.bay6.hotmail.com >with Microsoft SMTPSVC(6.0.3790.211); Tue, 2 May 2006 21:37:40 -0700 >Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; >Tue, 2 May 2006 21:33:14 -0700 >Received: from 65.54.174.200 by by103fd.bay103.hotmail.msn.com with >HTTP;Wed, 03 May 2006 04:33:10 GMT >X-Message-Info: LsUYwwHHNt3660MmjhEvYg2f34OAemlK+3Wz9fWrJ/U= >X-OriginalArrivalTime: 03 May 2006 04:33:14.0442 (UTC) >FILETIME=[B12812A0:01C66E6A] >Return-Path: [EMAIL PROTECTED] > >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