New slime user. Running sbcl, emacs 21, FC8
I have a lisp file x.lisp $sbcl --load dovetailCalc.lisp and the program runs fine.
I *think* C-c C-k should execute the program.
From the screen information it is simply compiled.
http://common-lisp.net/project/slime/doc/html/Lisp-Evaluation.html#Lisp-Eval... Tried C-M-x from within the lisp buffer and I get an error report The function SELFTEST is undefined. [Condition of type UNDEFINED-FUNCTION]
Seems it fails to find the top level definition?
I guess I'm doing something silly, but I can't figure out what.
Any help appreciated.
regards
On 12/30/07, Dave Pawson dave.pawson@gmail.com wrote:
New slime user. Running sbcl, emacs 21, FC8
I have a lisp file x.lisp $sbcl --load dovetailCalc.lisp and the program runs fine.
I *think* C-c C-k should execute the program.
From the screen information it is simply compiled.
http://common-lisp.net/project/slime/doc/html/Lisp-Evaluation.html#Lisp-Eval... Tried C-M-x from within the lisp buffer and I get an error report The function SELFTEST is undefined. [Condition of type UNDEFINED-FUNCTION]
Seems it fails to find the top level definition?
I guess I'm doing something silly, but I can't figure out what.
C-c C-k compiles & loads the file. Whatever you have in that file doesn't work equally well compiled.
You can in all probability replicate your error by doing
(load (compile-file "x.lisp"))
in the REPL. (Not a Slime issue.)
Cheers,
-- Nikodemus
On 10/01/2008, Nikodemus Siivola nikodemus@random-state.net wrote:
I guess I'm doing something silly, but I can't figure out what.
C-c C-k compiles & loads the file. Whatever you have in that file doesn't work equally well compiled.
You can in all probability replicate your error by doing
(load (compile-file "x.lisp"))
in the REPL. (Not a Slime issue.)
Yes, it was. thanks Nikodemus.
regards