Hi.
I have in .emacs file:
(add-to-list 'load-path "c:/lisp/clisp/") (add-to-list 'load-path "c:/lisp/slime/") (setq inferior-lisp-program "clisp -K full") (require 'slime) (slime-setup) (slime)
and Emacs allways says polling, there is no inferior lisp buffder and all Slime menu options are greyed out ?
Thanks
* Haris Bogdanovich [2011-12-05 19:11] writes:
Hi.
I have in .emacs file:
(add-to-list 'load-path "c:/lisp/clisp/")
Emacs only cares about Emacs-Lisp code, so adding the clisp directory has probably not much effect. Doesn't hurt much either.
(add-to-list 'load-path "c:/lisp/slime/") (setq inferior-lisp-program "clisp -K full") (require 'slime) (slime-setup)
Looks good so far.
(slime)
Usually slime is started manually with M-x slime but it should also work this way.
and Emacs allways says polling, there is no inferior lisp buffder and all Slime menu options are greyed out ?
If Emacs stays polling then there is almost certainly a buffer called "*inferior-lisp*". The standard output of the Lisp process goes there so it would be interesting to see what that buffer contains.
Another problem could be that clisp is not the path (the path used to search for executable programs, not Emacs's load-path). But in that case Emacs should not poll.
Helmut
I changed .emacs to:
(add-to-list 'load-path "c:/lisp/slime") (setq inferior-lisp-program "c:/lisp/clisp/clisp -K full") (require 'slime) (slime-setup) (slime)
Now I get inferior-lisp buffer but slime menu options are still greyed out and emacs is still polling like this:
Polling "c:/DOCUME~1/h/LOCALS~1/Temp/slime.9068".. (Abort with `M-x slime-abort-connection'.)
Your problem may be that you're not actually linking to CLISP. The actual .exe is usually found as "...\clisp\full\lisp.exe" You might want to try changing the
(setq inferior-lisp-program "c:/lisp/clisp/clisp -K full")
to the full path of the lisp program. Mine is:
(setq inferior-lisp-program "C:/home/bin/clisp/full/lisp.exe -B C:/home/bin/clisp/full -M C:/home/bin/clisp/full/lispinit.mem -K full -ansi -q")
Good luck,
Shawn
* Haris Bogdanovich [2011-12-06 19:39] writes:
I changed .emacs to:
(add-to-list 'load-path "c:/lisp/slime") (setq inferior-lisp-program "c:/lisp/clisp/clisp -K full") (require 'slime) (slime-setup) (slime)
Now I get inferior-lisp buffer but slime menu options are still greyed out and emacs is still polling like this:
Polling "c:/DOCUME~1/h/LOCALS~1/Temp/slime.9068".. (Abort with `M-x slime-abort-connection'.)
Can CLISP parse that filename correctly? What's the content of the *inferior-lisp* buffer?
Helmut