Hi!
I am a new user to slime 2.0. I want some help to connect slime to clisp 2.38. I have attempted and steps are below. Thanks in advance.
1. Installation of slime 2.0 (Windows XP)
I have downloaded slime 2.0 (compressed zipped file) and extracted all the file into /Deb/slime/slime-2.0
2. Installation of clisp 2.38 (Windows XP)
I have downloaded clisp-2.38-win32-with-readline-and-gettext which is a compressed (zipped) file. I have unzipped it and put all the files into the directory Deb//clisp/clisp-2.38.
3. Try
As per the quick setup instructions of slime in README file, I have created a text file with the following four lines.
(add-to-list 'load-path "~/Deb/slime/slime-2.0/") ; your SLIME directory (setq inferior-lisp-program "/Deb/clisp/clisp-2.38") ; your Lisp system (require 'slime) (slime-setup)
[Note: I could not follow the line: Add this to your ~/.emacs file and fill in the appropriate filenames:]
Where do I get ~/.emacs file? And how can I use the above four lines of commands to connect slime to clisp? I have cut the first line and tried to put it at the command line of clisp, but it does not accept. I have typed manually the first aline at the command line of clisp. It does not work (error: UNDEFINED FUNCTION ADD-TO-LIST). Where as, it accepts the second line.
May I request you where am I going wrong? What's the best way of doing it?
I am looking forward for your response.
Regards
Deb
--------------------------------- Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.
Howdy!
Deb Midya debmidya@yahoo.com writes:
- Try
As per the quick setup instructions of slime in README file, I have created a text file with the following four lines.
(add-to-list 'load-path "~/Deb/slime/slime-2.0/") ; your SLIME directory (setq inferior-lisp-program "/Deb/clisp/clisp-2.38") ; your Lisp system (require 'slime) (slime-setup)
[Note: I could not follow the line: Add this to your ~/.emacs file and fill in the appropriate filenames:]
The name ~/.emacs is a Unixism: it means a text file called ".emacs" in your home directory. On Unix the home directory is well-defined but on Windows there is not normally such a concept so Emacs will have to improvise somewhere to call home (aka ~).
The .emacs file contains Emacs Lisp code for Emacs (not CLISP) to run during startup. This is how you customize Emacs.
I would expect that Emacs starts in the home directory. If that's the case then you could create the .emacs file with these steps:
1. Start Emacs 2. C-x C-f .emacs RET (to open .emacs file) 3. Paste in those four lines. 4. C-x C-s (to save) 5. Restart Emacs (now it should load .emacs)
Alternatively you can probably say `C-x C-f ~/.emacs RET' to load the .emacs file of the home directory.
Where do I get ~/.emacs file? And how can I use the above four lines of commands to connect slime to clisp? I have cut the first line and tried to put it at the command line of clisp, but it does not accept. I have typed manually the first aline at the command line of clisp. It does not work (error: UNDEFINED FUNCTION ADD-TO-LIST). Where as, it accepts the second line.
NB: This is because add-to-list is an Emacs Lisp function that doesn't exist in Common Lisp.
Cheers, -Luke
Deb Midya debmidya@yahoo.com writes:
Hi!
I am a new user to slime 2.0. I want some help to connect slime to clisp 2.38. I have attempted and steps are below. Thanks in advance.
- Installation of slime 2.0 (Windows XP)
I have downloaded slime 2.0 (compressed zipped file) and extracted all the file into /Deb/slime/slime-2.0
- Installation of clisp 2.38 (Windows XP)
I have downloaded clisp-2.38-win32-with-readline-and-gettext which is a compressed (zipped) file. I have unzipped it and put all the files into the directory Deb//clisp/clisp-2.38.
- Try
As per the quick setup instructions of slime in README file, I have created a text file with the following four lines.
(add-to-list 'load-path "~/Deb/slime/slime-2.0/") ; your SLIME directory (setq inferior-lisp-program "/Deb/clisp/clisp-2.38") ; your Lisp system (require 'slime) (slime-setup)
I am using the following on Windows XP (I have removed some personal preference settings):
(add-to-list 'load-path "C:/elisp/slime/") (require 'slime) (slime-setup)
(setq inferior-lisp-program "C:/Other/clisp-2.38/clisp -I -q -K full" lisp-indent-function 'common-lisp-indent-function)
[Note: I could not follow the line: Add this to your ~/.emacs file and fill in the appropriate filenames:]
Where do I get ~/.emacs file?
You can just open it in Emacs by typing ~/.emacs at the prompt C-x C-f gives you, there's a fat chance it'll be nonexistant or nearly empty, so no need to worry about that.
And how can I use the above four lines of commands to connect slime to clisp?
Once Emacs has started type M-x slime this should start slime. To quit the running lisp use M-x slime-quit-lisp.
I have cut the first line and tried to put it at the command line of clisp, but it does not accept. I have typed manually the first aline at the command line of clisp. It does not work (error: UNDEFINED FUNCTION ADD-TO-LIST). Where as, it accepts the second line.
May I request you where am I going wrong? What's the best way of doing it?
I am looking forward for your response.
I hope this helps :-)
Cheers
Bert
Regards
Deb
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1-c-/min.
+ Bert 'theBlackDragon' Geens bert@lair.be:
| To quit the running lisp use M-x slime-quit-lisp.
Or even quicker: ,quit (comma, then quit).
There are lots of handy things you can do after a comma: ASDF-load a system, change package, and so forth. Type ,? for a list.
- Harald