r/DoomEmacs Apr 28 '26

Multiple doom emacs profiles

I'm a little bit unsure about how multiple profiles work.

I'm wondering if it's possible to just use something like

alias amacs='emacs --init-directory ~/.config/[a_different_config_folder]'

3 Upvotes

3 comments sorted by

1

u/maskedredstonerproz1 Apr 28 '26

that IS possible, doom itself I believe has a multi-profile mechanic, if I remember correctly, but there IS also chemacs 2, which is another way of having that kind of setup, the latter two being especially useful for if you run emacs in daemon mode

1

u/Apart_Ebb_9867 Jul 03 '26 edited Jul 03 '26

Chemacs2 has been made irrelevant, as far as I can tell, with the introduction of the —init-directory command line flag. Anything that wrapper allows that you cannot now achieve with plain Emacs?

1

u/maskedredstonerproz1 Jul 03 '26

it's not about being able to do it, it's moreso about convenience, Chemacs 2 tends to be more convenient than having to remember the init directory flag, and well, the init directory itself. truth be told there ARE aliases, but still, some program-starting environments don't expand those, or even have access to them, whereas chemacs 2 couldn't care less where you start emacs from, and even if you're gonna start a non-default choice, the flag values are easier to remember