From ... From: Erik Naggum Subject: Re: EVAL-WHEN question (and maybe a bug in clisp/cmucl) Date: 2000/07/03 Message-ID: <3171635287685623@naggum.net>#1/1 X-Deja-AN: 641911301 References: mail-copies-to: never Content-Type: text/plain; charset=us-ascii X-Complaints-To: newsmaster@eunet.no X-Trace: oslo-nntp.eunet.no 962646519 5035 195.0.192.66 (3 Jul 2000 17:48:39 GMT) Organization: Naggum Software; vox: +47 8800 8879; fax: +47 8800 8601; http://naggum.no; http://naggum.net User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7 Mime-Version: 1.0 NNTP-Posting-Date: 3 Jul 2000 17:48:39 GMT Newsgroups: comp.lang.lisp * Tim Bradshaw | Wrapping it in (eval-when (:load-toplevel) ...) is not enough, because | the body of the eval-when is processed by the compiler as a toplevel | form, and since this form says to actually evaluate it I lose. This seems _really_ bogus to me. Once you exclude :compile-toplevel and especially :execute from the eval-when situations, the compiler should only cause the form to be evaluated/executed at load-time. #:Erik -- If this is not what you expected, please alter your expectations.