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

the call to redisplay makes startup unresponsive for few seconds during startup #48

Open
Luis-Henriquez-Perez opened this issue Dec 9, 2020 · 2 comments

Comments

@Luis-Henriquez-Perez
Copy link

I was wondering why during startup there was a noticeable pause just after enabling modeline-mode. Typically when I startup my emacs it's immediately responsive. I realized that the function mini-modeline--enable calls redisplay and I believe this causes this delay.

After advising the modeline-mode, temporarily setting redisplay to ignore during its evaluation, the problem was gone.

@kiennq
Copy link
Owner

kiennq commented Dec 9, 2020

Would you like to provide a PR for that?

@Luis-Henriquez-Perez
Copy link
Author

@kiennq sure. However, what was the original intent of redisplay? I'm concerned that removing it might have unintended side-effects.

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