[fluxus] paths ideas and tips [Was: fluxus 0.8 osx default path location]

Artem Baguinski femistofel at gmail.com
Wed Feb 22 07:42:44 PST 2006


On 22 Feb 2006, at 11:17, Artem Baguinski wrote:

> i'd like "edit" function to search these paths as well (using  
> scm_sys_search_load_path). i'm not sure it cares at the moment, but  
> i'll fix that.

is in the CVS HEAD

as for the following:


> (set! %load-path "."                ;; CWD
>                  "/Users/artm/"
>                  "/Users/artm/Desktop"
>                  "/Users/artm/fluxus"
>                  "/usr/local/src/fluxus/examples")

should really be

(set! %load-path (append %load-path '("/Users/artm"
                                       ...)))

1. for one i missed the '(...)

2. this way guile still can find its libraries

3. adding "." isn't necessary because it's already in the %load-path  
by default

> (set! %load-extensions "scm")

4. == 1.

5. this isn't necessary either because the default value is '("scm" "")

> {adjust it to your environment of course}





More information about the Fluxus mailing list