home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!think.com!barmar
- From: barmar@think.com (Barry Margolin)
- Newsgroups: comp.lang.lisp
- Subject: Re: packages (novice question)
- Date: 13 Nov 1992 17:25:54 GMT
- Organization: Thinking Machines Corporation, Cambridge MA, USA
- Lines: 18
- Message-ID: <1e0of2INNfgh@early-bird.think.com>
- References: <1992Nov12.224056.6064@aau.dk>
- NNTP-Posting-Host: telecaster.think.com
- Keywords: init, package, loading
-
- In article <1992Nov12.224056.6064@aau.dk> psykseth@aau.dk (Seth Chaiklin) writes:
- >Is it possible to write an init file (or use a command-line option)
- >that will execute an (in-package 'package) when lisp is started.
- >I have read friendly manuals, and experimented, but come up blank.
- >(I will not object if the answer comes in a slightly didactic or
- >tutorial form. (-: )
-
- If your goal is to set the package so that it will be the default when you
- enter the read-eval-print loop, this cannot be done portably, and probably
- not at all in most CL implementations (the only one I know how to do it in
- is Symbolics). The reason is that LOAD binds *PACKAGE*, so when Lisp is
- done loading your init file it will restore the package back to its initial
- value.
- --
- Barry Margolin
- System Manager, Thinking Machines Corp.
-
- barmar@think.com {uunet,harvard}!think!barmar
-