[asdf-devel] Windows pathnames on ACL

Faré fahree at gmail.com
Tue Mar 16 18:58:39 UTC 2010


I don't have access to a windows machine or a windows lisp
implementation, but in asdf 1.642, I cargo-culted some paths, based on
http://www.lispworks.com/documentation/lw60/LW/html/lw-1316.htm#marker-1026801
and
http://windowsxp.mvps.org/usershellfolders.htm
(which I found by googling for get-folder-path and for common-appdata).

I presume to be correct, one would have to always consult the registry
keys first. I don't know how to do that in any Lisp. I don't even know
if there are actually defined environment variables USERPROFILE and
ALLUSERSPROFILE...

NB: the code is wholly untested. It would be great if some windows
users would test and report any bug, or even better, provide a patch.

PS: 1.643 is released, with a slight API fix to
system-relative-pathname. Although slightly incompatible, the new API
is compatible with what was previously documented, and I'm documenting
more. It was also recent and not too much used, so shouldn't be an
issue.

[ François-René ÐVB Rideau | Reflection&Cybernethics | http://fare.tunes.org ]
The only way for a reporter to look at a politician is down.
                — H.L. Mencken



On 16 March 2010 13:51, Gary King <gwking at metabang.com> wrote:
> Hi Robert,
>
> I am here but not as much as I'd like to be...
>
> Using an environment variable on Windows seems like a good plan to me. We could document which vars to use and then use the get/set env stuff already in AG to be consistent across platforms.
>
> Does anyone know where the Lispworks get-folder-path destinations actually point?




More information about the asdf-devel mailing list