[Openmcl-devel] Clozure CL 1.2-rc1 available
gb at clozure.com
Mon Apr 21 11:26:39 PDT 2008
Somebody reported something similar (inapproprate interaction between
the "ccl directory" preference and a running lisp) a week or so ago.
In this case, the "running lisp" (in the late stages of (REQUIRE
"COCOA-APPLICATION") reads the preferences, resets its notion of
the CCL directory, and all of a sudden REQUIRE can't find EASYGUI.
There are other approaches (most of which involve not being so dumb
about it ...), but I wonder if the idea of a persistent/canonical
CCL directory preference makes that much sense.
An alternative (to a persistent preference) would be some scheme
- when the IDE starts up, it assumes that the CCL directory is
the directory that contains its application bundle. (There's been
an alternate proposal - something like "a sibling of the application
bundle that's easily recognizable") Whatever; let's assume that there's
a simple rule or two that works well for the simple case(s) where things
are set up the way they are when the IDE's built/distributed.
- if the simple rule(s) don't work, there's some simple way (a menu
item) that enables you to select the CCL directory, and that setting
persists for the rest of the session (is not remembered as a persistent
That would mean that if you move the IDE from its canonical location,
you either have to use this menu item or some other means (a
"ccl-ide-init.lisp" file) to set the CCL directory. I'm not sure
that that's so bad: I'm not sure that there are real compelling
reasons for moving the IDE from its canonical location, or that
it's unreasonable to require you to jump through an extra hoop or
two if you do.
At the moment, this idea (getting rid of the persistent directory
preference) seems like a good one, if only because being dumb
about it can lead to unexpected behavior. I suspect that even
without being dumb about it we'd find cases where the persistent
preference leads to unintuitive results, and the cost of getting
rid of it seems small.
On Mon, 21 Apr 2008, Raffael Cavallaro wrote:
> On Apr 21, 2008, at 1:29 PM, Raffael Cavallaro wrote:
>> I got this too - you need to update your ccl directory (Preferences
>> Documentation tab) or it can't find easygui.
> sorry, should have also said that this is stored in ~/Library/
> Prefernces/com.clozure.Clozure CL.plist
> Raffael Cavallaro, Ph.D.
> raffaelcavallaro at mac.com
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
More information about the Openmcl-devel