[slime-devel] compiling forms/regions/defuns with (optimize (debug 3) (speed 0) (safety 0))

Attila Lendvai attila.lendvai at gmail.com
Tue Nov 21 18:28:49 UTC 2006


> (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?

this is a good idea. i'm already using a stone-age variant of this:
some of my asdf systems (mostly the test systems) have a :after method
that issue a (declaim ...) to enable debug 3, therefore i don't have
to keep it in mind, and still everything i C-c C-c (and that will most
probably break because of this :) is compiled with debug.

so my suggestion is to make it an alterable state of a swank
connection in one way or another; i would find that more fitting for
my usecases.

-- 
- attila

"- The truth is that I've been too considerate, and so became
unintentionally cruel...
 - I understand.
 - No, you don't understand! We don't speak the same language!"
(Ingmar Bergman - Smultronstället)


More information about the slime-devel mailing list