I've had just one single
.emacs since the 1980s (not kidding). I feel like it's finally time to modernize, literatize, and put it in a modern place.
I see that emacs now prefers
~/.emacs.d/init.el. I'd like to go with
~/.config/emacs at least on Linux, to be XDG-compatible and make it simple to source-control all my emacs files.
Emacs creates a lot of temporary/cache/history-type files in
~/.emacs.d; is it possible for me to put my config files (and only those) in
~/.config/emacs and let emacs use
~/.emacs.d for all its other stuff, to not clutter my config's
.gitignore? (straight repos, history, eln-cache, org-roam.db, etc.) If I try putting my init in
~/.config/emacs/init.el but leave my
~/.emacs.d existing (with no init file), I get vanilla emacs. So I assume the mere existence of the
.emacs.d directory causes it to stop looking for
I use emacs on Linux, Windows and Mac, various versions and flavors, so I'd like to be able to keep my config as portable and simple (haha) as possible.
If it's not possible to separate my config from emacs's auto-generated stuff, I can certainly work with that; it'll just be a bigger
.gitignore file I guess. But it would be nice to keep it separate.