-
Notifications
You must be signed in to change notification settings - Fork 165
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
Markdown mode leads to heavy input lag #799
Comments
I can confirm this issue. Running emacs profiler I get the following results:
|
I suspect you're running into #691 Can you try expanding the profile reports and see if you end up isolating the |
I uninstalled markdown-mode after I posted the comment above as it was getting in the way of whatever it was that I was in the middle of. I've reinstalled it now and tried to look at different Markdown files on my system, but was unable to find the culprit. I will keep Markdown-mode installed and run the report if I come across the issue again. Thanks for your response. I should have thought of expanding the profile reports at the time, my apologies. |
I've downloaded the file suggested by the OP. There is some lag when first loading the file if repeatedly using There was no lag when going somewhere inside the first list of changes and typing. Based on the profiler report it doesn't seem I was able to replicate whatever happened to me on October 6th. |
I can reproduce in any buffer with a lot of
then observe that running The heavy time-takers seem to be |
For some reason I can't explain, the loss-of-interactivity issue can be worked around by turning on |
Same issue here: latest markdown-mode crawls to a near halt on a fast machine when editing inside of lists (e.g. this file). And I can confirm, turning on I profiled. Much of the time is spent in GC, but
|
I can also confirm, turning on
|
It seems like |
True, I hadn't realized that. Oh well, it is still useful to know for when I need to edit markdown files. |
I have to get to something else so I can't bisect to find the right setting, but one of these four
|
Since a recent emacs update, markdown mode leads to heavy input lag when editing inside a list. This makes it basically unusable, I've uninstalled it for now.
Expected Behavior
Everything I type should appear on the screen immediately.
Actual Behavior
There is noticeable input lag, making editing quite painful.
Steps to Reproduce
Software Versions
The text was updated successfully, but these errors were encountered: