Ihor Radchenko <yanta...@gmail.com> writes: > After second thought, I am not sure anymore if using XDG is a good idea. > Emacs itself only recently started supporting XDG and the support is > somewhat limited. Similar to the described case with non-existing .cache > directory, Emacs ignores non-existing .config/emacs folder for init.el. > Emacs never creates .config directory.
Some more data: xdg.el is not (yet?) supported by Aquamacs [1]. While we do not officially support Aquamacs, it is probably best to avoid xdg.el if we can. Also, there is an ongoing discussion at emacs-devel about Emacs support for XDG specs and similar [2]. If the new user-directory library gets merged to Emacs, it may be the way to go (with proper back-compatibility aliases). [1] https://list.orgmode.org/cafqubhf+wpuneeapkcg94wjhfcrxvsf+j-7ut3b_romfkqc...@mail.gmail.com/T/#m99c63439a745c07fd7c30cde0b49b3d5bd1757f0 [2] https://lists.gnu.org/archive/html/emacs-devel/2021-11/msg00469.html Best, Ihor