-
Notifications
You must be signed in to change notification settings - Fork 18
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
airline-themes causes a really slow startup on GUI emacs #6
Comments
Hey @ZeR0-Wu, |
Hi, thanks for the great looking theme. I also am having problems on Mac OS X. (require 'powerline) The theme both takes long to load and while sometimes, while editing, theres a few seconds delay where the editor is completely unresponsive. It works perfectly fine both on Windows and Linux. |
I wonder if this is caused by this missing function: I noticed it's not present when I loaded eterm. |
Wow you're right @rymndhng I completely left that function out. I added it now and tagged the fix as version 1.3, see if that helps. |
Try running the Emacs Startup Profiler in gui emacs and see what's slowing it down: https://melpa.org/#/esup |
I'm having the same problem. Esup says that the total startup time is only 0.4 seconds, when it is more like 5 seconds. |
I'm really not sure what's going on. I can't reproduce this with "emacs -Q" on OS X using either of the builds at http://emacsformacosx.com/ and https://github.com/railwaycat/mirror-emacs-mac I have noticed that if emacs tries to display any emoji in files it hangs for a few seconds the first time then doesn't do it again for the remainder of the session. Not sure if that is related. |
Hey @AnthonyDiGirolamo any updates on this one? This thread is pretty old but I'm also having this issue, this is what I have in my init.el:
If I change the theme to the default powerline theme and restart emacs startup time goes back to normal (3-4s less). I'm using emacs 25.1 from http://emacsformacosx.com/ and airline-themes 20170623.958 from melpa. |
try use benchmark-init to analzey startup time.. |
I just ran a benchmark and it doesn't show high require times for airline-themes not sure how benchmark-init works... but if I just run |
Still repro in 2019, any update? |
My current config for theme is
(load-theme 'base16-eighties-dark t)
(require 'powerline)
(powerline-default-theme)
(require 'airline-themes)
(load-theme 'airline-base16-gui-dark)
The emacs startup in terminal takes around 2-3 seconds, which is normal.
But the GUI emacs can take up to 7 seconds to startup, only removing the airline-themes config will solve the problem.
The text was updated successfully, but these errors were encountered: