-
Notifications
You must be signed in to change notification settings - Fork 129
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
Dashboad breaks emacsclient when used in conjuction --with-native-compilation #334
Comments
If started from the command line via Waiting for Emacs... Not loading Dashboard produces no error and Emacsclient starts the server and opens a window as expected. |
The body of your lambda expression lacks parentheses. It should look like this: (setq initial-buffer-choice (lambda () (get-buffer-create "*dashboard*"))) Omit the last closing parenthesis if you're going to just copy and paste this line of code in place of yours. |
exactly same issue here as well
relevant part of the config (use-package dashboard :ensure t)
(require 'dashboard)
(dashboard-setup-startup-hook)
;; Or if you use use-package
(use-package dashboard
:ensure t
:config
(dashboard-setup-startup-hook))
(setq initial-buffer-choice (lambda () (get-buffer "*dashboard*"))) |
I got the same issue. Dashboard causing the emacs daemon to freeze. Changing this: (setq initial-buffer-choice (lambda () (get-buffer "*dashboard*"))) To: (setq initial-buffer-choice (lambda () (get-buffer-create "*dashboard*"))) Fixed the issue for me. |
When started with the below rather minimal
init.el
, the following will start an emacs server, but no window is created:emacsclient -c -a ''
Proper behavior should be that a server is started and a window is created.
If I recompile emacs without the --with-native-compilation flag, Emacsclient starts. So it appears to have something to do with native-compilation.
The text was updated successfully, but these errors were encountered: