As pointed out in a related question, my installation of Doom is customized so I can also run vanilla Emacs:
$ echo $DOOMDIR
/home/me/.config/doom
$ echo $EMACSDIR
/home/me/.doom
# Vanilla Emacs conf in ~/.config/emacs
With this config I can launch emacs
(and run vanilla Emacs) or doom run
(and run Doom).
The problem I can’t figure out is how to run Doom Emacs and run it as a daemon, so that I can connect to it with emacsclient
.
This would allow me to also use the script org-capture
that Doom provides
Currently: After I launch doom run
if I launch emacsclient
it start emacs --daemon
but then opens vanilla Emacs.
Any suggestion? Thanks