Re: [asdf-devel] how to add one more directory to an initialized registry?

2014-02-17 Thread Faré
On Mon, Feb 17, 2014 at 12:07 PM, Robert P. Goldman wrote: > Faré wrote: You must be confusing *source-registry* and *source-registry-parameter*. The former is the cache after searching the various paths, and is private. The latter is the parameter provided to initialize-source-regi

Re: [asdf-devel] how to add one more directory to an initialized registry?

2014-02-17 Thread Robert P. Goldman
Faré wrote: >>> You must be confusing *source-registry* and *source-registry-parameter*. >>> The former is the cache after searching the various paths, and is private. >>> The latter is the parameter provided to initialize-source-registry, >>> and is exported specifically so that users may introspe

Re: [asdf-devel] how to add one more directory to an initialized registry?

2014-02-17 Thread Faré
>> You must be confusing *source-registry* and *source-registry-parameter*. >> The former is the cache after searching the various paths, and is private. >> The latter is the parameter provided to initialize-source-registry, >> and is exported specifically so that users may introspect what a anothe

Re: [asdf-devel] how to add one more directory to an initialized registry?

2014-02-17 Thread Robert P. Goldman
Faré wrote: >> Faré, why is it that *source-registry-parameter* is exported? It seems >> > like a cache, and I don't understand why the user would need access to it. >> > > You must be confusing *source-registry* and *source-registry-parameter*. > The former is the cache after searching the variou

Re: [asdf-devel] how to add one more directory to an initialized registry?

2014-02-17 Thread Faré
On Mon, Feb 17, 2014 at 9:47 AM, Robert P. Goldman wrote: > Attila Lendvai wrote: >> so, let's say i have an already initialized source registry, and from >> my .sbclrc i want to add one more directory to it. >> >> currently this is what i kludged together, but it stinks: >> >> (asdf:initialize-so

Re: [asdf-devel] how to add one more directory to an initialized registry?

2014-02-17 Thread Attila Lendvai
> Sorry, why is it that you put in the line with > *source-registry-parameter* instead of simply adding the new directory? reading your answer makes me think i was unclear, sorry! my situation is that i have a piece of code that collects directories and then initializes the registry by calling i

Re: [asdf-devel] how to add one more directory to an initialized registry?

2014-02-17 Thread Robert P. Goldman
Attila Lendvai wrote: > so, let's say i have an already initialized source registry, and from > my .sbclrc i want to add one more directory to it. > > currently this is what i kludged together, but it stinks: > > (asdf:initialize-source-registry > (append > '(:source-registry) > (butlast asd

[asdf-devel] how to add one more directory to an initialized registry?

2014-02-17 Thread Attila Lendvai
so, let's say i have an already initialized source registry, and from my .sbclrc i want to add one more directory to it. currently this is what i kludged together, but it stinks: (asdf:initialize-source-registry (append '(:source-registry) (butlast asdf:*source-registry-parameter*) `((:dir