emacs - SLIME on Windows 7 -
i'm trying set slime on windows 7 box, running m-x slime
gives me error
spawning child process: invalid argument
i have inferior-lisp-program
set "c:\\program files\\ccl\\wx86cl.exe"
(which factually correct, , running (comint-run inferior-lisp-program)
gives me working ccl prompt), , slime
directory added 'load-path
.
what doing wrong?
edit: tried loading same environment through windows edition of lispbox, , runs slime fine. i'd prefer not use 1 because packages older emacs, ccl , slime want.
the message received means there's high chance there syntax problem command given shell. caused having characters in file name, can interpreted doing special. so, looks emacs trying call c:\\program
"program" argument files\\ccl\\wx86cl.exe
.
there several ways address error:
- there has escaping function, like:
(shell-quote-argument "c:\\program files\\ccl\\wx86cl.exe")
but since cannot affect how file name passed function creates process, isn't going work.
you can move program want call directory "safe" name.
you can move executable on system path (
%path%
variable in windows) - through changing environment variables , appending directory executable it.one more option add directory executable
exec-path
variable in emacs. variable holds list of directories looked programs run, if call program name, rather full path. (at least me) makes.emacs
file easier port between different systems.
Comments
Post a Comment