[slim-vim] Compile/load file bug

Brad Beveridge brad.beveridge at gmail.com
Tue Jul 18 21:58:37 CDT 2006


So I added compile file to Slim-vim, the signature is
(defun slime-compile-file (&optional load)

So you can also load the current file by calling (slime-compile-file
t).  But there is a weird bug.
Assuming you have a valid file open in a buffer, calling
(slime-compile-file) works fine, and you see compiler notes come back from SBCL.
However, if your compiled file happens to contain something that will
output to *standard-io*.... hmm, that's not true either.  Lemme see
here...

OK, this will break
(defun test () (format t "hello from test2%"))
(test)

I don't know why, so for right now the solution is "don't do that!"

Cheers
Brad

-- 
Go and see "An Inconvenient Truth"
http://www.climatecrisis.net/


More information about the slim-vim mailing list