reddit / emacs

Can't launch daemon

thephatmaster · 2022-10-02 22:47
Hello all I was happily using autostart (KDE Neon) to launch emacs `emacs --daemon` and connecting with the client. I reinstalled both emacs and doom to try to get org-roam working properly, and now I've lost daemon mode. If I run `emacs --daemon` in Konsole, I get: ``` Warning: due to a long standing Gtk+ bug https://gitlab.gnome.org/GNOME/gtk/issues/221 Emacs might crash when run in daemon mode and the X11 connection is unexpectedly lost. Using an Emacs configured with --with-x-toolkit=lucid does not have this problem. Starting Emacs daemon. [yas] Check your `yas-snippet-dirs': /home/MYUSER/.doom.d/snippets/ is not a directory [yas] Prepared just-in-time loading of snippets with some errors. Check *Messages*. evil-collection error: (file-missing Opening directory No such file or directory /home/MYUSER/home/MYUSER/roam) ``` I'm unable to connect to the daemon with a client I'm using doom, but this doesn't seem to be a doom-specific issue. I can't see anything in my config that is creating the duplication of `/home/MYUSER/` jk :w
mmaug · 2022-10-03 02:51
The file reference you included would indicate that someplace in your startup of emacs that the leading slash is missing from your road configuration
thephatmaster · 2022-10-03 11:19
Thanks, **EDIT** got it, I had a syntax error in my `config.el` ``` (setq org-directory "~/home/MYUSER/org") ```