<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 19, 2013 at 11:39 AM, Robert P. Goldman <span dir="ltr"><<a href="mailto:rpgoldman@sift.info" target="_blank">rpgoldman@sift.info</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">Mirko Vukovic wrote:<br>
> This is a follow-up to my previous post regarding asdf searching for a<br>
> system in the current working directory.<br>
><br>
> I resolved this to my satisfaction with something like this:<br>
> (let ((asdf:*central-registry*<br>
>      (push directory asdf:*central-registry*)))<br>
>     (apply #'asdf:load-system system keys)))<br>
><br>
> My question here is two-fold:<br>
> - Am I misusing ASDF if I have asdf files for local projects sprinkled<br>
> around, in addition to having them under centralized locations specified<br>
> in the configuration file?<br>
> - What about adding a :CWD keyword to the configuration file DSL to<br>
> specify the current working directory?<br>
><br>
> The new keyword seems to require a minor modification to<br>
> ``resolve-absolute-location''.<br>
><br>
> I don't know if this would conflict with output translations as it uses<br>
> the same DSL and presumably code.<br>
<br>
</div></div>The problem with CWD is that as far as I know there is no notion of<br>
"working directory" in ANSI common lisp.<br>
<br>
This means that implementing CWD would require writing<br>
implementation-specific code for every CL implementation we support.<br>
<br>
Also, how should we interpret :CWD when we are reading the DSL from<br>
environment variables, configuration files, etc.?<br>
<br>
There is a :HERE directive.  Is that not sufficient to you?<br>
<br>
Best,<br>
r<br>
<br>
<br>
</blockquote></div>I could not get :here to work some time ago.  That was what prompted me<br>to write a two weeks back and now again.  I'll give it another shot.<br><br>Mirko<br></div></div>