This guide was moved to https://github.com/doomemacs/doomemacs/tree/master/profiles
-
-
Save hlissner/46d6423a49f19d30e34336eb5bc1a07e to your computer and use it in GitHub Desktop.
@kepl You named the profile doom
, but you're trying to launch it with emacs profile doom-emacs
.
EDIT: But the error message suggests you did emacs --profile doom
, so I'll assume it's a typo. I just tried your exact doom
profile and it seems to work as expected. What commit of Doom are you on?
Yeah, just a typo, it is ok in my configuration. At one moment I was afraid that dash in name is making problem, so I changed it to doom
to be sure.
Anyway I'm on master. First try was I believe yesterday or day before when I discovered this gist with fresh clone to ~/.config/emacs
. I just assumed it is WIP and reverted to chemacs. Today I tried again but getting same result.
Important thing I forgot - I'm on Emacs 29 (git version from Arch linux). I know there is no official support, so if it might be the reason, just let me know and I'll survive with chemacs2 for now (only problem so far is I'm getting errors when using literate reload).
I’m trying this and there is an inconsistency in the doc. It seems you should not have a "." between the symbol denoting the profile and its configuration.
With the following profiles.el (if I put back the dot, doom profiles sync
fails
((plain (user-emacs-directory . "~/.emacs-configs/plain")))
I get the following error when loading:
Warning (initialization): An error occurred while loading ‘/home/schmitta/.emacs-configs/plain/early-init’:
Wrong type argument: stringp, nil
There is no early-init in this emacs configuration.
The same happens if I try to load safe-mode.
I've moved the guide to https://github.com/doomemacs/doomemacs/tree/master/profiles
@brabalan I've pushed a few commits in the past 4 days to address the stringp error issue. Please update and try again.
I confirm I no longer have an error. However, the init.el of my profile is not loaded (I tried doing a doom sync --profile plain
before and it did not change anything).
@brabalan This should've been fixed in doomemacs/doomemacs@7aa87eb.
I confirm profile loading now works. Thanks!
Hi,
switching from Chemacs2, I followed everything in relevant part but no luck so far:
~/.config/emacs/bin/doom sync -profile doom
is working.