Open paxsali opened 2 years ago
Thank you! I didn't think someone would actually try to launch my config. Pretty cool that you made it though.
I've added checks for the problems you had, so Emacs should at least be able to launch, but I'll keep this issue open for now. At least until I decide to document the deployment process.
Hi,
I stumbled over a reddit post about this Emacs config and I was curious to try out and see what I could learn and adapt for my own Emacs configs.
By doing so I identified and overcame some minor obstacles, and I wanted to share this information in case you're interested into making your Emacs config more accessible for people who are trying it out on their systems.
Sources:
Feel free to discuss.
Steps
The following is a series of steps that I have re-done twice, once for getting it done and the second time for the purpose of reproducability and documentation.
preparations
create fake home directory to not interfere with your own Emacs
download SqrtMinusOne Emacs config
change to the fake home environment
tangle the Emacs config into ~/.emacs.d/init.el (inside fake home)
Attempt No.1:
Error message:
issue No.1
my/format-guix-dependencies
apparently only makes sense on systems with GUIX, I assume.workaround for issue No.1
Uncomment the offending lines:
tangle the Emacs config attempt No.2
Output:
Successfully tangled
Emacs.org
into.emacs.d/init.el
.starting Emacs attempt No.1
Error message:
issue No.2
JetBrains Mono
font is configured as per default. On systems without this font, above error message will prevent the start of Emacs.workaround for issue No.2
Either change the font in the
init.el
to an available font or downloadJetBrains Mono
from nerd-fonts.download & extract JetBrains fonts from nerd-fonts (github.com)
starting Emacs attempt No.2
Error message:
issue No.3
Apparently the
Emacs.org
config references a directory without checking first, if it exists, and without creating it silently.workaround for issue No.3
Create the refered directory.
starting Emacs attempt No.3
Error message:
issue No.4
Apparently
init.el
attempts to loadmail.el
without checking if it exists first.workaround for issue No.4
Uncomment the offending line in
init.el
.