[plt-scheme] complete word

From: John Clements (clements at brinckerhoff.org)
Date: Fri Sep 21 13:00:04 EDT 2007

On Sep 21, 2007, at 9:08 AM, Jens Axel Søgaard wrote:

> Robert Nikander wrote:
>> On Sep 21, 2007, at 8:48 AM, Jens Axel Søgaard wrote:
>>>>> Just checking: What is the value of the environment
>>>>> variable PLTCOLLECTS ?
>>>> /Users/rob/Projects/schemelibs:
>>>
>>> That looks wrong (95% sure). PLTCOLLECTS should point
>>> to the collects folder - and it is important it points
>>> to where you downloaded the SVN-version of collects
>>> (and not the standard location).
>> My understanding is that adding the colon makes it prepend  
>> PLTCOLLECTS to the default collections path list.  It has worked  
>> for months -- within DrScheme I can require the standard  
>> collections, as well as those in my 'schemelibs' directory.  When  
>> I set PLTCOLLECTS to nothing and restarted, still no completions.
>> Here is (current-library-collection-paths) with PLTCOLLECTS set to  
>> nothing:
>> (#<path:/Users/rob/Library/PLT Scheme/371.3/collects> #<path:/usr/ 
>> local/plt/collects>)
> >
>> and with my original setting:
>> (#<path:/Users/rob/Projects/schemelibs> #<path:/Users/rob/Library/ 
>> PLT Scheme/371.3/collects> #<path:/usr/local/plt/collects>)
>> When I built from SVN I did:
>> configure --prefix=/usr/local/plt
>> make
>> sudo make install
>
> Okay, that implies the collections from the SVN version
> is installed in /usr/local/plt/collects . What troubles me is the
> /Users/rob/Library/PLT Scheme/371.3/collects. If the collections
> in there stem from a distribution different from the SVN version
> then you risk DrScheme uses the wrong one.
>
> Unless of course /Users/rob/Projects/schemelibs is a symbolic
> link to /Users/rob/Library/PLT Scheme/371.3/collects ?
>
> But I'll leave it to the Mac users to tell you whether it
> okay or not.

No, no, that all looks normal to me.  E.G.:

computer:~/plt clements$ echo $PLTCOLLECTS
/Users/clements/svn/clements/collects:/Users/clements/clements/ 
matthias/collects:
computer:~/plt clements$ mzscheme
Welcome to MzScheme v371.3 [3m], Copyright (c) 2004-2007 PLT Scheme Inc.
 > (current-library-collection-paths)
(#<path:/Users/clements/svn/clements/collects> #<path:/Users/clements/ 
clements/matthias/collects> #<path:/Users/clements/Library/PLT Scheme/ 
371.3/collects> #<path:/Users/clements/plt/collects>)
 >

... and my auto-complete seems to be working fine.

John

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2223 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20070921/063af90c/attachment.p7s>

Posted on the users mailing list.