-
-
Notifications
You must be signed in to change notification settings - Fork 141
Closed
Labels
Description
When dashboard-center-content
is set to t
the emacsclient hangs on startup, and a frame cannot be opened. However, opening Emacs without using the daemon is just fine. When setting dashboard-center-content
back to nil
, the emacsclient and daemon work as expected. Also, there are no error messages displayed when opening Emacs after setting dashboard-center-content
to t
and opening a normal instance of Emacs.
OS: Ubuntu 18.04
Emacs Version: 26.1
(use-package dashboard
:diminish dashboard-mode
:config
(use-package dashboard-hackernews)
(use-package page-break-lines)
(dashboard-insert-shortcut "h" "Hackernews")
(setq dashboard-page-separator "\n\n"
show-week-agenda-p t
dashboard-center-content nil ;; if set to t, emacsclient no longer works
dashboard-banner-logo-title ""
dashboard-startup-banner "~/Pictures/gnu-logo-green.png"
dashboard-items '((agenda . 10)
(hackernews . 5)
(bookmarks . 7)))
(defun detailed-dashboard-banner ()
"Dashboard banner prints startup time."
(setq dashboard-banner-logo-title
(format "Emacs locked and loaded in %.2f seconds."
(float-time (time-subtract after-init-time before-init-time)))))
(add-hook 'after-init-hook 'dashboard-refresh-buffer)
(add-hook 'dashboard-mode-hook 'detailed-dashboard-banner)
(dashboard-setup-startup-hook))