<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font size="4">I seem to have forgotten to send this to the
asdf-devel list, in case anyone is interested:<br>
</font><br>
<font size="4"><font size="4">In the meantime, Robert's suggestion
of looking at<br>
<br>
(uiop:xdg-data-dirs "config/")<br>
<br>
yielded a list containing
C:\\Users\\Greg\\AppData\\Roaming\\config\ and
C:\\ProgramData\\Application Data\\config\<br>
<br>
On the basis of no hard evidence, I took it that the latter is
where applications rather than humans would put things.<br>
I worked my way down the former, creating directories and files
as needed. I had to do some of this in a terminal<br>
since my W11 would not show hidden directories or files (despite
having set them to be shown in the Views menu).<br>
<br>
The result is that gb-source.conf as described below now lives
in<br>
<br>
C:\\Users\\Greg\\AppData\\Roaming\\config\\common-lisp\\source-registry.conf.d\<br>
<br>
In a brand new Allegro, with (require :asdf) I can now issue
(asdf:load-system "gb-a") and have<br>
it run correctly.<br>
<br>
I have not tried the other possibility, being satisfied, and
relieved, that one works!<br>
<br>
Thanks Robert for your time, patience and suggestion, and Marco
for the pointer to CL-FAD which I have used<br>
in other circumstances.<br>
<br>
Cheers<br>
Greg<br>
</font></font>
<div class="moz-cite-prefix">On 2023-06-03 11:57, Marco Antoniotti
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAG0Nw2n8MY5-57Bpk_h_rYQby6oQpyjKY8iQei0p02JRFjRgiQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Ahem. Shameless plug: <a
href="https://gitlab.common-lisp.net/mantoniotti/CLAD"
moz-do-not-send="true" class="moz-txt-link-freetext">https://gitlab.common-lisp.net/mantoniotti/CLAD</a></div>
<div><br>
</div>
<div>Cheers</div>
<div><br>
</div>
<div>MA</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sat, Jun 3, 2023 at 5:28 PM
Robert Goldman <<a href="mailto:rpgoldman@sift.info"
moz-do-not-send="true" class="moz-txt-link-freetext">rpgoldman@sift.info</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div style="font-family:sans-serif">
<div style="white-space:normal">
<p dir="auto">Dear Greg,</p>
<p dir="auto">Thanks for the kind words! I am not sure
why I didn't see your post on ASDF-devel, but I
didn't. And I have seen several requests for
moderation, so the list seems live. In case my
response is interesting to the group, I am responding
to the list as well.</p>
<p dir="auto">A couple of disclaimers: (1) I haven't
used Windows in more than a decade, and (2) I don't
use these configuration files. I find I'm happier to
keep all of my lisp configuration in lisp
configuration files (<code
style="margin:0px;padding:0px
0.25em;border-radius:3px;background-color:rgb(247,247,247)"><a
href="http://clinit.cl" target="_blank"
moz-do-not-send="true">clinit.cl</a></code>, <code
style="margin:0px;padding:0px
0.25em;border-radius:3px;background-color:rgb(247,247,247)">.sbclrc</code>,
etc. -- indeed I point all of those at one single <code
style="margin:0px;padding:0px
0.25em;border-radius:3px;background-color:rgb(247,247,247)">lisp-config.lisp</code>
file), instead of having to hunt through multiple
files in multiple locations for this information. So
take anything I say with more than a grain of salt
(given your cardiologist approves!).</p>
<p dir="auto">That said, these config files are placed
according to the XDG standard which... as far as I can
tell only applies to linux, and not to either Windows
or MacOS. So there's code in ASDF/UIOP that extends
XDG to other platforms. ASDF documentation about XDG
can be found <a
href="https://asdf.common-lisp.dev/asdf.html#XDG-base-directory"
style="color:rgb(57,131,196)" target="_blank"
moz-do-not-send="true">here</a>.</p>
<p dir="auto">I don't understand Windows enough to
understand this piece of text from the ASDF manual:</p>
</div>
<div style="white-space:normal">
<blockquote style="margin:0px 0px
5px;padding-left:5px;border-left:2px solid
rgb(119,119,119);color:rgb(119,119,119)">
<p dir="auto">Since support for querying the Windows
registry is not possible to do in reasonable amounts
of portable Common Lisp code, ASDF 3 relies on the
environment variables that Windows usually exports,
and are hopefully in synch with the Windows
registry. If you care about the details, see
uiop/configuration.lisp and don’t hesitate to
suggest improvements.</p>
</blockquote>
</div>
<div style="white-space:normal">
<p dir="auto">The relevant code may be found in <a
href="https://gitlab.common-lisp.net/asdf/asdf/-/blob/release/uiop/configuration.lisp"
style="color:rgb(57,131,196)" target="_blank"
moz-do-not-send="true">uiop/configuration.lisp</a>.
It looks like invoking the functions <code
style="margin:0px;padding:0px
0.25em;border-radius:3px;background-color:rgb(247,247,247)">uiop:xdg-config-home</code>
and <code style="margin:0px;padding:0px
0.25em;border-radius:3px;background-color:rgb(247,247,247)">uiop:xdg-config-pathnames</code>
might help you figure out where ASDF is looking. But I
don't really understand the discussion about the
registry above. I do see a bit of code that says that
UIOP (and thus ASDF) look for configs in the value of
<code style="margin:0px;padding:0px
0.25em;border-radius:3px;background-color:rgb(247,247,247)">(uiop:xdg-data-dirs
"config/")</code> -- maybe see what that evaluates
to on your Windows box?</p>
<p dir="auto">I hope that these snippets have been
helpful, and if you find the answers you seek, please
send to me and ASDF-devel, so that the information
will be available to others.</p>
<p dir="auto">It might be a good thing if someone with
the resources would gift a Windows resource to the CL
Foundation to hook into <code
style="margin:0px;padding:0px
0.25em;border-radius:3px;background-color:rgb(247,247,247)"><a
href="http://common-lisp.net" target="_blank"
moz-do-not-send="true">common-lisp.net</a></code>
so that the community doesn't have to rely on this
kind of guesswork. I note that ASDF is no longer
tested on Windows at all, since I don't have access to
a Windows VM and even if I did, I wouldn't know how to
use it (nor do I have the time to learn).</p>
<p dir="auto">Good luck!<br>
R</p>
<p dir="auto">On 2 Jun 2023, at 19:40, Greg Bennett
wrote:</p>
</div>
<div style="white-space:normal">
<blockquote style="margin:0px 0px
5px;padding-left:5px;border-left:2px solid
rgb(119,119,119);color:rgb(119,119,119)">
<p dir="auto">Good evening Robert,</p>
<p dir="auto">Some longish time ago you were kind
enough to help me with ASDF matters.
<br>
I posted recently to asdf-devel, largely in the hope
that you might see it, I confess.</p>
<p dir="auto">Web search has, so far, not been
helpful, I'm afraid.</p>
<p dir="auto">I shall quite understand if you do not
reply; your inbox must receive lots of this sort of
thing.</p>
<p dir="auto">I have a test system in
c:/ASDF/asdf-tests/ copied from the linux directory
/home/gwbennett/ASDF/asdf-tests/</p>
<p dir="auto">Under Linux in my source-registry.conf.d
directory I have the file gb-source.conf
<br>
with the one line (:tree
"/home/gwbennett/ASDF/asdf-tests/")</p>
<p dir="auto">Then in sbcl I can issue
(asdf:load-system "gb-a") and all is well.</p>
<p dir="auto">I have tried various spots for
gb-source.conf under Windows, all without success:</p>
<p dir="auto">c:\Users\Greg\AppData\Local\config\common-lisp\source-registry.conf.d\</p>
<p dir="auto">c:\Users\Greg\</p>
<p dir="auto">c:\Users\Greg\AppData\</p>
<p dir="auto">c:\Users\Greg\AppData\Local\</p>
<p dir="auto">If I issue, old style, (push
"c:/ASDF/asdf-tests/" asdf:*central-registry*) then
all is well.</p>
<p dir="auto">Perhaps there is no place for a config
file under W!</p>
<p dir="auto">Cheers</p>
<p dir="auto">Greg</p>
</blockquote>
</div>
<div style="white-space:normal">
</div>
</div>
</div>
</blockquote>
</div>
</blockquote>
<br>
</body>
</html>