From ... From: Erik Naggum Subject: Re: Interned Symbols and GC Date: 2000/02/09 Message-ID: <3159121393908428@naggum.no>#1/1 X-Deja-AN: 583861019 References: <14709548.3158918965@pc34763.psy.cmu.edu> mail-copies-to: never Content-Type: text/plain; charset=us-ascii X-Complaints-To: newsmaster@eunet.no X-Trace: oslo-nntp.eunet.no 950135659 9210 195.0.192.66 (9 Feb 2000 22:34:19 GMT) Organization: Naggum Software; +47 8800 8879 or +1 510 435 8604; fax: +47 2210 9077; http://www.naggum.no User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.5 Mime-Version: 1.0 NNTP-Posting-Date: 9 Feb 2000 22:34:19 GMT Newsgroups: comp.lang.lisp * Sam Steingold | when foo:bar (which calls read) is called from the package zot, it | internes in zot. I wish I could control where the symbols are | interned. (e.g., with *read-intern* which can be NIL for no interning, | T for interning in *package* and a package to intern in that package). this makes _zero_ sense. you're not calling functions "from" any packages in Common Lisp. the default package used by INTERN is the value of *PACKAGE*, and READ doesn't do anything magical in the absence of a package specification, so if you want to control the package into which INTERN interns symbols, justbind *PACKAGE* to that package. what more control do you want? #:Erik