problem starting python interpreter in emacs (win98)
Anand B Pillai
abpillai at lycos.com
Fri Apr 25 08:08:12 EDT 2003
More information about the Python-list mailing list
Fri Apr 25 08:08:12 EDT 2003
- Previous message (by thread): problem starting python interpreter in emacs (win98)
- Next message (by thread): looping and deleting
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I think you got it wrong there. Emacs uses 'load-path' for looking up lisp packages only. For setting the path to executables like python.exe, you need to set the 'exec-path' variable. ;; in your .emacs file (add-to-list 'exec-path "C:\\Python22") If you do this, you need not modify the PATH variable also. ABP selwyn <selwyn at home.net.nz> wrote in message news:<Kq8pa.4362$AB5.585892 at news02.tsnz.net>... > Lexy Zhitenev wrote: > > "selwyn" <selwyn at home.net.nz> wrote in message: > > news:V65pa.4289$AB5.573029 at news02.tsnz.net... > > > >>system: win98 > >>python version 2.2.2 > >>emacs 21.2.1 > >>.......... > >>hi all, > > > > > > <snip> > > > >>My .emacs file is as follows: > >> > >>(setq load-path (cons "C:\Python22" load-path)) > > > > > > > > Not sure about ELisp, but try to use escaped backslash: > > > > (setq load-path (cons "C:\\Python22" load-path)) > > > > > > Regards, Lexy > > > > > > cheers for the advice. > however it doesn't seem to help my problem- Emacs seems to be able to > find the python-mode.elc ok, as evidenced by the syntax highlighting > working... > > cheers again, > Selwyn
- Previous message (by thread): problem starting python interpreter in emacs (win98)
- Next message (by thread): looping and deleting
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list