-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when trying to start emacs in daemon mode #16
Comments
Thanks for the report! I'll take a look soon. |
I haven't had much luck reproducing this error, does it reproduce if you only have poet installed without anything else? |
Got the same issue. Steps to reproduce: ;; Somewhere in the init.el
(use-package poet-theme) #!/bin/sh -eu
echo "Attempting startup..."
EMACS=${EMACS:-emacs}
tpl='(let ((debug-on-error t)
(url-show-status nil)
(user-emacs-directory default-directory)
(user-init-file (expand-file-name "init.el"))
(load-path (delq default-directory load-path)))
(load-file user-init-file)
(run-hooks (quote after-init-hook)))'
${EMACS} \
--no-window-system \
--batch \
--eval "$tpl" Logs:
|
Does I can always force-fix this by making sure poet-theme--height always returns an integer |
I think this is problematic under daemon mode: (defvar poet-theme-monospace-height
(face-attribute 'fixed-pitch :height nil 'default)
"The original height stored as a defvar to stay constant across reloads.") In my case (I use daemon mode exclusively) if I start up poet-theme first in daemon mode this results in As a hackaround I just re-evaluate a bit later: (add-hook
'window-setup-hook
(lambda ()
(setq poet-theme-monospace-height
(face-attribute 'fixed-pitch :height nil 'default)))) |
Dear,
I faced follow issue when trying to start emacs in daemon mode
It works find when trying
emacs -Q --daemon
Could it be some issue related to this theme?
Here are the software version and error information:
Thanks :)
The text was updated successfully, but these errors were encountered: