Prev: dpANS copyright status (again)
Next: linux .emacs file
From: .Martin. on 19 Apr 2010 05:57 "Captain Obvious" <udodenko(a)users.sourceforge.net> writes: > M> I've got a newbie question: What is slime-mode? > > slime-mode is a mode for editing Lisp files, it enables SLIME > keybindings and stuff like that. > > M> I mean I normally start slime by M-x slime. > > This starts SLIME REPL -- a thing where you type commands. When you > start it, it starts a new Lisp instance and connects to it, so REPL is > associated with a running Lisp instance. > > Usually, you have SLIME REPL and some Lisp files you edit, and you do > development interactively -- after you've done editing some function, > you press C-c C-c while cursor is inside that function, and it will be > compiled by the Lisp instance. Then you can try this function in REPL. > > But you can have SLIME REPL without files to edit, or you can edit > files without REPL. > So they are like two independent features of SLIME, but usually they > are used together. > > M> Do I have to do enable it? > > No, it is enabled automatically for .lisp files. E.g. if you open > foo.lisp, it will automatically use lisp-mode and slime-mode, so you > can use keys like C-c C-c, C-M-x and so on. > > M> (slime-setup '(slime-fancy)) > > This command makes slime-mode loading automatically for lisp files > (among other things). > Thanks guys - It's made things clearer for me. -- regards ..Martin. |