Skip to content
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

Changing theme takes too long #84

Closed
CestDiego opened this issue Oct 15, 2015 · 12 comments
Closed

Changing theme takes too long #84

CestDiego opened this issue Oct 15, 2015 · 12 comments

Comments

@CestDiego
Copy link

I have been experiencing this since day one but I always thought it was an Spacemacs issue, but after using an ubuntu machine with my same configuration I think it is EXWM the one it's doing something to the loading time for changing themes.

@ch11ng
Copy link
Owner

ch11ng commented Oct 16, 2015

I don't quite get it. How do you change the theme? With load-theme? Have you tried to put it at the beginning of .emacs?

@CestDiego
Copy link
Author

No. Evaluate loads theme from within emacs with another theme.

@ch11ng
Copy link
Owner

ch11ng commented Oct 16, 2015

This seems to be caused by the extra frames (workspaces) created by EXWM. Can you confirm it?

@CestDiego
Copy link
Author

How could I? ehmmm shall I like just use one workspace?

@CestDiego
Copy link
Author

@ch11ng I just tried using only one workspace, indeed it's that what is causing the delay, I was using 10 workspaces. How can this be solved? D: is this an emacs issue more than EXWM?

@ch11ng
Copy link
Owner

ch11ng commented Oct 17, 2015

I don't quite understand the mechanism of changing color theme in Emacs, but it seems load-theme will eventually call custom-theme-recalc-face which loops over (frame-list). So this issue seems inevitable.

@CestDiego
Copy link
Author

I guess using EXWM with only one frame and some kind of perspectives then would be a more fitting solution for work spaces for me.

@ch11ng
Copy link
Owner

ch11ng commented Oct 18, 2015

I'm just curious how often you change the color theme. I think one usually select a color theme an stick to it for months or even years. Besides, loading the color theme should probably always be done at startup since changing the color theme at runtime may cause some side effects.

Now that this issue is not related to EXWM, I'm closing it.

@ch11ng ch11ng closed this as completed Oct 18, 2015
@CestDiego
Copy link
Author

It's also very slow when opening Magit Status...I now reverted to having only one workspace and magit status loads very quickly.

@ch11ng
Copy link
Owner

ch11ng commented Oct 18, 2015

Perhaps hiding unused workspaces would help, but I'm not sure.

@CestDiego
Copy link
Author

can you replicate the magit status delay though?

@ch11ng
Copy link
Owner

ch11ng commented Oct 18, 2015

No, at least unnoticeable with even 10 workspaces.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants