Re:$Home, Not So Sweet $Home
by INGSOCIALITE on Wednesday August 16, 2023 @07:38PM
(#37155321)
Everyone should do what emacs does (and a lot of software does): first look for .emacs for a config … not there? Check .emacs.d … still not there? .config/emacs …
[ Parent
| on HN ]
Re:$Home, Not So Sweet $Home
by tsimionescu on Thursday August 17, 2023 @07:56AM
(#37160253)
That's not exactly what emacs does: if ~/.config/emacs isn't there, then it will default to creating ~/.emacs.d/ and ~/.emacs, even if the XDG env vars are set. Basically, emacs supports XDG config if you really want it to, but it's not the default way of using emacs. And of course, it only uses ~/.config/emacs, none of the other XDG folders. If you download a package from MELPA, that's still going to .config/emacs, as far as I know.