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

Use idle-timer for increased performance #57

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andersjohansson
Copy link
Contributor

I’ve been using this for some weeks now, and find it perfectly tolerable. The modeline is sometimes not updated directly instantly, but in most cases it is.

Fixes #53

But maybe mini-modeline-display could be added to some suitable hooks (maybe focus events, I have a recollection of it not working perfectly when emacs is out of focus for some reason).

May need to add some extra hooks perhaps?
@andersjohansson
Copy link
Contributor Author

Does this mirror your experiences @oscarfv?

@oscarfv
Copy link

oscarfv commented Dec 14, 2021

I'm using a modification identical to your PR since July. Constant CPU usage is no longer a problem. It is true that sometimes the modeline is not updated, mostly for certain movements of the cursor (however, I don't see that effect on the development version of Emacs) I think that's a reasonable trade-off, but that's just my personal opinion.

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

Successfully merging this pull request may close these issues.

Emacs uses CPU when this mode is enabled
2 participants