Ask questions'No such file or directory' when starting doom on windows
I cloned branch develop again on windows 10. After running doom quickstart (174 packages were downloaded), running emacs throws the following error:
Failed to load deferred package server: (file-missing Cannot open load file No such file or directory ~/EmacsConf/.emacs.d/core/autoload/buffers)
Answer questions Simon-Thompson
(note: I'm new to Emacs and Doom, so more experienced people feel free to bring corrections)
Seems to be a default-directory issue. When running from the windows shortcut for emacs, mine gave
Failed to load deferred package server: (file-missing Cannot open load file No such file or directory ~/AppData/Roaming/.emacs.d/core/autoload/buffers)
When running emacs from a bash shell inside of
"C:\Users\Simon\AppData\Roaming\.emacs.d", Doom opens correctly and runs without error (though it can't seem to find the all-the-icons fonts, even after installing them). This is thanks to emacs setting the default-directory to the directory you're in when starting from the command line.
If you want that behaviour when you start it from anywhere, add this to your
(setq default-directory "C:/Users/YOUR_USER/.emacs.d")
Replacing your_user with your own user, of course.
With this change, I can start Doom Emacs from bash while in any directory =]