Date: Mon, 22 Sep 1997 11:37:11 -0400
From: Richard Kelsey <kelsey@research.nj.nec.com>
Date: Mon, 22 Sep 1997 02:17:02 -0400
From: Alan Bawden <Alan@lcs.mit.edu>
OK, I'm stumped. Here's the story:
[Synopsis: adding stuff to Scheme for some users]
Would it work to make your package the user package?
The command
,user-package-is <package>
changes the user package, which is the default package
for `load', among other things.
OK, I just tried this and it doesn't work in a really weird way, before I
dump out the image everything works fine, but after I dump out the image,
my extensions are gone:
layout-language> (do-layout-command-line '("foo" "-makeh" "ip.h" "ip.ldb"))
; ("foo" "-makeh" "ip.h" "ip.ldb")
; Load: "ip.ldb"
layout-language> (dump-scsh-program do-layout-command-line "layout.image")
Writing layout.image
#t
layout-language>
Exit the Scheme Shell (y/n)? y
oolong:mklayout> ./layout -makeh ip.h ip.ldb
; ("scsh" "-makeh" "ip.h" "ip.ldb")
; Load: "ip.ldb"
Error: undefined variable
define-rcs-info
(package initial-system)
(A call to `define-rcs-info' is the very first thing in "ip.ldb".)
What the hell? Since I'm calling `dump-scsh-program' perhaps I'm really
reporting a scsh bug here?
Error: exception
(record-ref #f 3)
I have been unable to reproduce this. Dumping an image and
reloading it should have no effect on `get-package, and as far
as I can tell it doesn't.
Crud. I was hoping you guys would just know what the problem was. Is it
possible that scsh fools with something that makes this happen?
Can you send me the code?
Unfortunately I can't. I'll see about making a minimal example that I can
send you.
|