Sent from my iPad
On 12 Mar 2014, at 23:39, Faré fahree@gmail.com wrote:
On Wed, Mar 12, 2014 at 6:07 PM, Pascal Costanza pc@p-cos.net wrote: Can I set CL_SOURCE_REGISTRY to a value that deactivates all "default" paths? Then I don't care what the default is...
Yes, the example I gave you did that:
export CL_SOURCE_REGISTRY=~/lisp//
As you can see with (asdf::parse-source-registry-string "/home/tunes/lisp//"), it expands to: (:SOURCE-REGISTRY (:TREE "/home/tunes/lisp") (:IGNORE-INHERITED-CONFIGURATION))
The double-slash "//" is significative: it means recurse through the directory.
Erm what? Do you or do you not recur with this syntax?
Those readers who do want to inherit the configuration should just add a colon ":" at the end — or a semi-colon, if using Windows: export CL_SOURCE_REGISTRY=~/lisp//:
What does "inheriting a configuration" mean?
Alternatively, you can put this in your ~/.config/common-lisp/source-registry.conf: (:source-registry (:tree (:home "lisp")) :ignore-inherited-configuration)
I'm confused. Which of those options does what I want?
Why can't I just say something like this?
export CL_SOURCE_REGISTRY=
or something similar, which just leaves this setting empty?
Pascal