[Openmcl-devel] Cocoa-app and ccl-init.lisp -- WTF?
Gary Byers
gb at clozure.com
Sat Dec 1 19:21:29 PST 2007
I few days ago, you noted that ~/ccl-init.lisp doesn't get loaded
in the IDE.
It still doesn't get loaded in the IDE.
I'm not sure how that directory was pushed on *module-search-path*,
but I assume that it was there when (REQUIRE "COCOA-APPLICATION")
built the image.
On Sat, 1 Dec 2007, Ron Garret wrote:
> My ~/ccl-init.lisp file contains the following two lines in the given
> order (the significance of which will shortly become apparent):
>
> (defvar *x* 0)
> (pushnew #P"/Users/ron/Desktop/Lisp code/" *module-search-path*)
>
> When I run ccl from the console I get the following, as expected:
>
> Welcome to Clozure Common Lisp Version 1.1-r7598 (DarwinX8664)!
> ? (first *module-search-path*)
> #P"/Users/ron/Desktop/Lisp code/"
> ? *x*
> 0
>
> But when I try to run the standalone cocoa-app I get this:
>
> Welcome to Clozure Common Lisp Version 1.1-r7598 (DarwinX8664)!
> ? (first *module-search-path*)
> #P"/Users/ron/Desktop/Lisp code/"
> ? *x*
> > Error: Unbound variable: *X*
> > While executing: CCL::TOPLEVEL-EVAL, in process Listener(74).
> > Type :GO to continue, :POP to abort, :R for a list of available
> restarts.
> > If continued: Retry getting the value of *X*.
> > Type :? for other options.
> 1 >
>
> WTF?
>
> rg
>
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel
>
>
More information about the Openmcl-devel
mailing list