From ... Path: archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!btnet-peer0!btnet-peer!btnet!newspeer.clara.net!news.clara.net!colt.net!newsfeed.esat.net!nslave.kpnqwest.net!nloc2.kpnqwest.net!nmaster.kpnqwest.net!nreader1.kpnqwest.net.POSTED!not-for-mail Newsgroups: comp.lang.lisp Subject: Re: packages References: <1uqq7.7$VG1.374872@newnews.cc.stevens-tech.edu> <87snd8udg0.fsf@orion.bln.pmsf.de> <3210592018171463@naggum.net> Mail-Copies-To: never From: Erik Naggum Message-ID: <3210601755072507@naggum.net> Organization: Naggum Software, Oslo, Norway Lines: 46 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 27 Sep 2001 17:49:18 GMT X-Complaints-To: newsmaster@Norway.EU.net X-Trace: nreader1.kpnqwest.net 1001612958 193.71.66.49 (Thu, 27 Sep 2001 19:49:18 MET DST) NNTP-Posting-Date: Thu, 27 Sep 2001 19:49:18 MET DST Xref: archiver1.google.com comp.lang.lisp:17045 * Vojin Jovanovic > Of course I am hopelessly confused since CLISP documentation is not > helping me. But this is really about making a new package that picks and chooses symbols from another package than of using or unusing some packages wholesale. > I tried what Kent suggested but as you know I can't get to be in the > automatically in the package that I defined in the file (I still have to > study your initialization file to see what you do). My initialization file is for Allegro CL 5, actually, but you might be able to find something fairly similar in CLISP. I have no idea, though. > However, the following I don't understand. > > In the CLISP implementation notes it says > > Classes [CLHS-4.3] > The CLOS symbols are EXPORTed from the package "CLOS" and thus normally > visible in all user packages. If you do not want them (for example, if you > want to use the PCL implementation of CLOS instead of the native one), do > (UNUSE-PACKAGE "CLOS"). The symbols you talk about are not "CLOS symbols". defclass, for instance, is in the common-lisp package. Whether it came from a CLOS package is quite immaterial when you use the common-lisp package. > I thought that defclass is defined in CLOS. Isn't that a part of object > oriented system? I think you may confuse packages with something else. Try to evaluate (symbol-package 'defclass) and see what you get. > I would try that if I knew how to do that. If you can be a little more > specific it would be appreciated. I suggest you start with reading up on defpackage. /// -- Why did that stupid George W. Bush turn to Christian fundamentalism to fight Islamic fundamentalism? Why use terms like "crusade", which only invokes fear of a repetition of that disgraceful period of Christianity with its _sustained_ terrorist attacks on Islam? He is _such_ an idiot.