Subject: Re: Scope of (in-package) From: Erik Naggum <erik@naggum.no> Date: 28 Sep 2002 22:40:19 +0000 Newsgroups: comp.lang.lisp Message-ID: <3242241619042048@naggum.no> * Henrik Motakef | Could someone please explain (or tell me where to click in the Hyperspec) | the exact semantics of (in-package "foo"), especially the "scope" of this | declaration? Have you looked at the entry for `*package*´ and followed the links out of that page? | It looks like it binds *package* until the next (in-package ...) or the end | of the currently loaded file occurs, and that the current value of *package* | gets passed to (load)ed files, but won't be affected by (in-package) forms | in those files. Is this correct? Where can I find more information? I think you are telling me that you do not quite understand the nature of special variables and dynamic bindings. Therefore, you should read the first 5 chapters of the standard (HyperSpec) or the first several chapters of CLtL 2 which explains this very well. -- Erik Naggum, Oslo, Norway Today, the sum total of the money I would retain from the offers in the more than 7500 Nigerian 419 scam letters received in the past 33 months would have exceeded USD 100,000,000,000. You can stop sending me more offers, now.