slime-compile-and-load-file compiles and displays the compiler notes, but doesn't load the file.
I can't find anything around slime-compilation-finished-continuation that would actually load the file.
I'm puzzled now -- doesn't anyone use C-c C-k, except me? :-)
--J.
Jan Rychter jan@rychter.com writes:
slime-compile-and-load-file compiles and displays the compiler notes, but doesn't load the file.
I can't find anything around slime-compilation-finished-continuation that would actually load the file.
I'm puzzled now -- doesn't anyone use C-c C-k, except me? :-)
The fasl file is only loaded if the compilation was successful, i.e., the third return value of COMPILE-FILE is nil. The problem goes usually away as soon I remove all warnings in my code :-)
Loading the fasl file even if the third return value is not nil, causes often load time errors. Reader errors at loadtime are especially annoying. Not sure which alternative is better.
Helmut.
"Helmut" == Helmut Eller e9626484@stud3.tuwien.ac.at writes:
Helmut> Jan Rychter jan@rychter.com writes:
slime-compile-and-load-file compiles and displays the compiler notes, but doesn't load the file.
I can't find anything around slime-compilation-finished-continuation that would actually load the file.
I'm puzzled now -- doesn't anyone use C-c C-k, except me? :-)
Helmut> The fasl file is only loaded if the compilation was successful, Helmut> i.e., the third return value of COMPILE-FILE is nil. The Helmut> problem goes usually away as soon I remove all warnings in my Helmut> code :-)
Hmm, that's not too useful. I use SERIES, which gives me a bunch of warnings that SLIME isn't even able to show. What's worse, some of the warnings I can't really fix and some of them I don't even understand :)
--J.
Helmut Eller e9626484@student.tuwien.ac.at writes:
Loading the fasl file even if the third return value is not nil, causes often load time errors. Reader errors at loadtime are especially annoying. Not sure which alternative is better.
SLIME now loads fasl file even if there where errors. Ideally CMUCL should abort on reader errors, like SBCL does, but for now we have to live with reader errors at load time.
Helmut.