Hi,
I'd like to thank Robert Goldman, Faré, and 73budden for replying to my message. Robert brought my attention to XDG-CONFIG-HOME in uiop.lisp. After taking a look at it and XDG-CONFIG-DIRS, I realized the following 3 directories (I don't think they would ever evaluate to NIL and (NIL NIL) on a Micros*t Windows machine): (get-folder-path :local-appdata) (mapcar 'get-folder-path '(:appdata :common-appdata)) would always take precedence over "config/", which means ASDF3 would never see $HOME/config/common-lisp/asdf-output-translations.conf.d/. The source code of XDG-CONFIG-DIRS also points out an easy way to globally disable output translations on Windows: Define an environment variable, XDG_CONFIG_DIRS, that points to whatever config directory you use.
As a side note, on Windows, if (get-folder-path :local-appdata) is ever nil, and XDG_DATA_HOME is not defined, (xdg-data-home "config/") in XDG-CONFIG-HOME will explode in you face.
the filesystem. I believe "XDG" stands for "Easter Egg Hunt" in some language....
Quite fitting. What happens to the good, old, dot-files (such as .emacs, .gnus, .cshrc, ...etc.)? Why this convoluted way?
In both transitions from ASDF to ASDF2 and from ASDF2 to ASDF3, I had to spend time to make object files stay where I want them to stay.
Loooooooong Live ASDF3!
Best wishes,
-9nauuk
On Tue, Mar 8, 2016 at 3:59 PM, 9nauuk 9nauuk@hmamail.com wrote:
As a side note, on Windows, if (get-folder-path :local-appdata) is ever nil, and XDG_DATA_HOME is not defined, (xdg-data-home "config/") in XDG-CONFIG-HOME will explode in you face.
Wait, shouldn't local-appdata *always* be defined by Windows?
the filesystem. I believe "XDG" stands for "Easter Egg Hunt" in some language....
Quite fitting. What happens to the good, old, dot-files (such as .emacs, .gnus, .cshrc, ...etc.)? Why this convoluted way?
I was recently bitten by Emacs and Clojure not agreeing on where the $HOME for placing those files would be (Emacs deciding to put it under .../Roaming/... so it would be shared between machines or some such).
Plus, under Windows, it isn't so nice multiplying Unix-style config files in the HOME directory (wherever it be).
In both transitions from ASDF to ASDF2 and from ASDF2 to ASDF3, I had to spend time to make object files stay where I want them to stay.
Apologies about that. We try to pander to the common case first while enabling people like you to customize, but I admit we don't test customizations as often, especially not on Windows.
Loooooooong Live ASDF3!
May it die in peace and soon leave place to ASDF4. (No, I don't know that anyone is working on an ASDF4.)
—♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• http://fare.tunes.org A man is usually more careful of his money than he is of his principles. — Edgar Watson Howe