org-roam-server: preview doesn't work with emacsclient/emacs --daemon
hello,
I am new to emacs and doom-emacs so perhaps I am missing something.
But it seems that “preview” of org-roam files fails with “404 Not Found” error when I launch org-roam-server from emacsclient (M-x org-roam-server-mode RET) when I use emacs --daemon. Furthermore, when I run M-x org-roam-server-mode RET from emacsclient with emacs daemon, I get one error wrong type argument: listp, sp-text-mode-emoticon-p.
However, if I run M-x org-roam-server-mode RET without daemon mode of emacs, I don’t get the previous error and preview works right.
Regards,
More info:
- using emacs-doom
- using the configuration of org-roam-server proposed in the README file of this repo
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 18 (6 by maintainers)
Recently, I have met this error after I uprade doom-emacs. When I try to disable
smartparenson doom, it works fine again.I guess this error is caused by doom-emacs (not this package) when using a wrong hook somewhere for
smartparens.This might be the solution rather than a workaround
I’m not sure, that I have the same issue. But I had troubles with preview in
doom.I couldn’t figure out reasons, but I found workaround. I add
(org-roam-server-mode)in theconfig.elto startorg-roam-servertogether with emacs. Because when I runorg-roam-serverfrom openedorg-modebuffer, I see the same 404-error.So I think a place where
org-roam-serverwas started makes difference. In total I recommend to check it.