Ok so i am trying to get started with lisp and slime and i am running into some problems. I have correctly installed emacs and slime and SBCL but i run into problems when trying to edit files. I am doing this all on mac osx lion though i dont think that makes a difference. So this maybe stupid but when i first enter the terminal i enter
$ emacs <myfile.lisp>
and then it opens up my file but then slime is not running so i do..
M-x: slime
but when i do that is now gone and all i see is the "REPL" (i think) anyway it just shows me
*
and then i can enter things like
*15
15
but now i can't get back to my file so that i can compile it. Could somone please hlep me through this? Thank you!
C-h t
and go through it – it's worth it, then make sure Slime is configured correctly (you might want to use(slime-setup '(slime-fancy))
in your.emacs
), and useC-c C-k
in a lisp buffer to compile the file, orC-c C-c
to compile toplevel forms. Also, most Emacs users (unlike, say, Vi users) leave Emacs running and open files withC-x C-f
rather than opening a new session for each file. – danlei