Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!wuarchive!rex!rpg From: rpg@rex.cs.tulane.edu (Robert Goldman) Newsgroups: comp.lang.lisp Subject: stupid package question Message-ID: <6026@rex.cs.tulane.edu> Date: 6 Feb 91 23:46:19 GMT Organization: C.S. Dept, Tulane Univ., New Orleans, LA Lines: 31 Is there a correct way to do the following in a file? 1) make a package, P 2) load a system into this package 3) set some parameters of the system (symbols in the package) I've been trying to do this in compiled lucid code, and find it impossible. The references to the symbols in (3), which were interned in the existing package P, at the time when the file is compiled, now cannot be found. I don't understand why this should be so, since (in step 1), I have created the package, and in step 2 interned the symbols. I even have a hazy understanding of why this might be a difficult thing. Of course, this file works perfectly when evaluated, rather than compiled. HOWEVER, it seems to me that this would be something a lot of people would want to do, particularly in lisp-init files. I suppose I could have my lisp-init file load another file that simply does step 3 above, but that seems inelegant. I'd be happy to have an interpreted lisp-init file, but the interpreter is not so happy about this (lucid's default behavior when asked to load a source file is to hang pending user response -- not very good if one wants to start one's lisp and go get a cup of coffee). I realize that this is not the world's most significant problem, but as is usual, the irritation created by this problem is inversely proportional to its importance. So I'd appreciate any enlightenment. Best, R