I'm new to Lisp. I've been playing with clisp and emacs (+slime). I follow The Land of Lisp. It's a bit annoying to start emacs, load slime and then load my file game.lisp each time. I'm sure it can be automated either in shell (bash) or on the emacs level (.emacs). Ideally, as I said, I'd start emacs, load slime and load that particular file into slime automatically. How would I go about doing it?
On a separate note, I have noticed that I can only load a file into slime (load "game.lisp") if I start emacs from that particular directory. Obviously it makes sense, but when I try to:
- Code: Select all
It complains that the file isn't found.