-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
emacs --daemon weird behaviour #1894
Comments
Could you reproduce with stock Spacemacs? |
No I can't ;; which means...I'm the problem right? dayum ;; |
Not necessary. To find out, you can remove your personal config and private layer, and only leave the pre-configured layers active. Maybe there's a problem with a layer. If not, then, you now know where to look at :) |
:) ye, I'm gonna disable all my layers. then I'll se what's up with that. |
This is very weird, so I disable all my layers and just stay with spacemacs' ones, and then the problem rises again D: I know it stops after
|
@CestDiego what does the screenshot show ? |
@syl20bnr normally I would be able to have the numbers in black background, what I feel here, is that when I make a new frame after running as a daemon, none of the graphical features work, (spacemacs logo doesn't show, nyancat, etc) |
Affected by this -- just wanna be included |
my spacemacs when running as daemon can't find source code pro, and the mode-line doesn't have fancy graphic. Same as @CestDiego I think. |
@mistnim unfortunately, running emacs as daemon spawns it as a service, and so all the loading is done as service of that :( So no GUI loading features. |
WORK IN PROGRESS. NEEDS TESTING. NEEDS TO USE THIS THROUGHOUT THE REST OF SPACEMACS INITIALIZATION. Will push a clean commit when everything is working satisfactorily. Add macro to wrap things that depend on the display being initialized (and a frame active), such as getting the font. Advise the `server-create-window-system-frame` function which is called by emacsclient when creating a window-system frame. This is only run the first time a frame is created, so the advice removes itself. Fixes: syl20bnr#299 and syl20bnr#1894 (Among others)
WORK IN PROGRESS. NEEDS TESTING. NEEDS TO USE THIS THROUGHOUT THE REST OF SPACEMACS INITIALIZATION. Will push a clean commit when everything is working satisfactorily. Add macro to wrap things that depend on the display being initialized (and a frame active), such as getting the font. Advise the `server-create-window-system-frame` function which is called by emacsclient when creating a window-system frame. This is only run the first time a frame is created, so the advice removes itself. Fixes: syl20bnr#299 and syl20bnr#1894 (Among others)
WORK IN PROGRESS. NEEDS TESTING. NEEDS TO USE THIS THROUGHOUT THE REST OF SPACEMACS INITIALIZATION. Will push a clean commit when everything is working satisfactorily. Add macro to wrap things that depend on the display being initialized (and a frame active), such as getting the font. Advise the `server-create-window-system-frame` function which is called by emacsclient when creating a window-system frame. This is only run the first time a frame is created, so the advice removes itself. Fixes: syl20bnr#299 and syl20bnr#1894 (Among others)
WORK IN PROGRESS. NEEDS TESTING. NEEDS TO USE THIS THROUGHOUT THE REST OF SPACEMACS INITIALIZATION. Will push a clean commit when everything is working satisfactorily. Add macro to wrap things that depend on the display being initialized (and a frame active), such as getting the font. Advise the `server-create-window-system-frame` function which is called by emacsclient when creating a window-system frame. This is only run the first time a frame is created, so the advice removes itself. Fixes: syl20bnr#299 and syl20bnr#1894 (Among others)
Add macro to wrap things that depend on the display being initialized (and a frame active), such as getting the font. Advise the `server-create-window-system-frame` function which is called by emacsclient when creating a window-system frame. This is only run the first time a frame is created, so the advice removes itself. Fixes: syl20bnr#299 and syl20bnr#1894 (Among others)
Add macro to wrap things that depend on the display being initialized (and a frame active), such as getting the font. Advise the `server-create-window-system-frame` function which is called by emacsclient when creating a window-system frame. This is only run the first time a frame is created, so the advice removes itself. Fixes: syl20bnr#299 and syl20bnr#1894 (Among others)
Add macro to wrap things that depend on the display being initialized (and a frame active), such as getting the font. Advise the `server-create-window-system-frame` function which is called by emacsclient when creating a window-system frame. This is only run the first time a frame is created, so the advice removes itself. Fixes: syl20bnr#299 and syl20bnr#1894 (Among others)
Add macro to wrap things that depend on the display being initialized (and a frame active), such as getting the font. Advise the `server-create-window-system-frame` function which is called by emacsclient when creating a window-system frame. This is only run the first time a frame is created, so the advice removes itself. Fixes: syl20bnr#299 and syl20bnr#1894 (Among others)
Add macro to wrap things that depend on the display being initialized (and a frame active), such as getting the font. Advise the `server-create-window-system-frame` function which is called by emacsclient when creating a window-system frame. This is only run the first time a frame is created, so the advice removes itself. Fixes: #299 and #1894 (Among others)
Ok should be good for the cat, remove the code that disable the cat and relaunch a daemon with a GUI and/or terminal client. |
Basically I only re-enable the cat for the first GUI client... don't know if it will be robust enough. |
There are still some issues with italic and some colors (helm for instance) but maybe we cannot do much about it... EDIT: Actually the missing italic font may be an issue on my config. |
I don't mind having no logo in terminal client. If one use both GUI and terminal client, chances are that terminal ones are for quick edit so a missing banner is not such a big deal :-) |
:) I'm so happy with this.. the only problem I have is the number color, and also I haven't really used terminal Emacs before, is the color of the evilified state cursor supposed to have trouble? it looks just the same as the normal state one |
Yes the cursor color is always the same, we had a package to change the shape of the cursor but it was buggy so we had to remove it. |
Me too, thanks again @travisbhartwell :-) |
I say after the number thing is fixed we can close this issue. But great job on this! :) |
What problem is in helm with italics? |
I have underlines, but this is also the case with regular emacs GUI so I guess this is my emacs build/font. |
Well, first we need to find out which code needs to be run post-GUI. I'm sure that setting those variables won't change anything, since they are set in a hook that runs every time the modeline updates, and so should be even more up to date than they strictly speaking need to be. |
Hi, |
Add macro to wrap things that depend on the display being initialized (and a frame active), such as getting the font. Advise the `server-create-window-system-frame` function which is called by emacsclient when creating a window-system frame. This is only run the first time a frame is created, so the advice removes itself. Fixes: syl20bnr#299 and syl20bnr#1894 (Among others)
It's not definite but since there has been a wide variety of issues reported here, and since many of them have been fixed in develop now, I am labeling as such. If there are still problems please open more specific issues. |
Fixed with released of Spacemacs v0.200. Let us know if you still have any problems with this issue. |
Hello, I share this to know if other people are having the same issue:
when running emacs as daemon I get this:
And when opening an emacsclient sth feels off (note the coloring on the window numbers)
And then when running something that takes input (such as helm-projectile) I get the prompt at the terminal where the daemon is running >very weird:
Also,
SPC :
doesn't seem to be defined, etc, etc I don't know if this is a problem with spacemacs but it looks as if spacemacs is not fully loading while being called as a daemon.The text was updated successfully, but these errors were encountered: