-
Notifications
You must be signed in to change notification settings - Fork 20
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
Using use-package to load airline-themes breaks emacsclient #25
Comments
I'm not sure if you can nest (use-package powerline)
(use-package airline-themes
:after powerline
:config
(if (daemonp)
(add-hook 'after-make-frame-functions
(lambda (frame)
(select-frame frame)
(load-theme 'airline-solarized-alternate-gui)))
(load-theme 'airline-solarized-alternate-gui))) For what it's worth I am using almost the same in my config but without using the |
Doing that I get the same error on terminal when trying to start the client, which is *ERROR*: Unable to find theme file for `airline-solarized-alternate-gui' No problem with the just emacs thou, only problem is the client works for the first time, then if we close it and start the client again, it spits out the error and vanishes. |
Hmm, I'm not sure what's going on. I tried your use-package invocation exactly as is within my config and am not getting that error. I launch Why is the I'll try cloning your dotfiles and see if I can reproduce it. |
Thanks, I am not that good with elisp, this is a solution I found somewhere when I first started using emacsclient , and that worked. When I recently migrated to use-package it stopped working again.
Yes, that is the behavior I am used to too. But now its not working anymore. |
@AnthonyDiGirolamo '(custom-theme-load-path
(quote
("~/.emacs.d/elpa/airline-themes-20170425.1646"
"~/.emacs.d/elpa/solarized-theme-1.2.2" custom-theme-directory t))) but the directory I was referring had the old version number. I corrected that and the theme loads like it is supposed to even in emacsclient. Thanks But I should ask you, is there any way to completely remove this Thank you very much for sticking around anyways. |
I fixed this long time ago...why is this still open ..lol |
This is what I have in my config
In the past when I was not using use package this is what I used and this cleared all problems with emacsclient failing
Any clue how to fix this thanks
The text was updated successfully, but these errors were encountered: