From ... Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.algonet.se!algonet!newsfeed1.bredband.com!bredband!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail From: Erik Naggum Newsgroups: comp.lang.lisp Subject: Re: Scope of (in-package) Date: 28 Sep 2002 22:40:19 +0000 Organization: Naggum Software, Oslo, Norway Lines: 23 Message-ID: <3242241619042048@naggum.no> References: <87heg9u6gy.fsf@pokey.henrik-motakef.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: maud.ifi.uio.no 1033252819 8671 129.240.65.5 (28 Sep 2002 22:40:19 GMT) X-Complaints-To: abuse@ifi.uio.no NNTP-Posting-Date: 28 Sep 2002 22:40:19 GMT Mail-Copies-To: never User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.lisp:42362 * 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.