jonathanchu / emacs-powerline

Powerline for Emacs
497 stars 37 forks source link

Using powerline causes "lag" in the text editor #36

Open SpecialBomb opened 4 years ago

SpecialBomb commented 4 years ago

I have only used emacs-powerline so much for a couple of days, and I noticed that Emacs oddly starts dropping frames when the default theme is enabled. I'm unsure whether this is a problem with my computer's performance, but it was noticeable enough to have me stop using it.

To test this, enable powerline with powerline-default-theme, and hold down a key in an empty buffer (assuming you have keyrepeat on). Compare how many frames skip with powerline disabled and you may be able to tell the difference.

I'm unsure what may be causing this, but it may be caused by calls to redraw-display to update the file buffer location graphic, but I haven't looked at the code to confirm that.