[plt-scheme] modifying preferences from a collection .plt

From: Arjun Guha (arjun at cs.brown.edu)
Date: Tue Aug 21 01:31:57 EDT 2007

Ah, sorry, I didn't realize that I needed to set defaults and  
marshalling procedures myself when using (lib "preferences.ss"  
"framework").  Apparently, (lib "framework.ss" "framework") sets that  
up itself. (There was also a logical bug in the code I'd posted, but  
that's something else.)

Arjun

On Aug 20, 2007, at 22:45 , Robby Findler wrote:

> Oh, right. Now read the docs.
>
> Robby
>
> On 8/20/07, Arjun Guha <arjun at cs.brown.edu> wrote:
>>
>> On Aug 20, 2007, at 20:59 , Robby Findler wrote:
>>
>>> Try (require (lib "preferences.ss" "framework")) instead.
>>
>> I'd tried that earlier.  That gives me a different error during  
>> setup-
>> plt:
>>
>> setup-plt: Post-Installing PLAI
>> preferences:get: tried to get a preference but no default set for
>> framework:tabify
>>
>>   === context ===
>> /Applications/PLT/collects/framework/preferences.ss:170:2: raise-
>> unknown-preference-error
>> preferences:get
>> /Users/arjun/Library/PLT Scheme/371/collects/plai/private/post-
>> installer.ss:18:4: post-installer
>>
>> Arjun
>>



Posted on the users mailing list.