[slime-devel] Re: compiling forms/regions/defuns with (optimize (debug 3) (speed 0) (safety 0))
Helmut Eller
heller at common-lisp.net
Tue Nov 21 21:21:07 UTC 2006
* Marco Baringer [2006-11-21 18:57+0100] writes:
> what do people think about a varient of slime-compile-defun which
> wrapped the code in
>
> (locally
> (declaim (optimize (speed 0) (safety 3) (debug 3)))
> , at form)
>
> i'd bind this to C-u C-c C-c (and C-u C-c C-k)
>
> good idea? bad idea?
Bad idea, because it will mess up source code locations.
Would something like
(eval `(locally (declaim (optimize (speed 0) (safety 3) (debug 3)))
(compile ,form)))
do the right thing?
Helmut.
More information about the slime-devel
mailing list