-
Notifications
You must be signed in to change notification settings - Fork 162
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
Fontification gets irritated for long texts #728
Comments
Could you give us the long markdown text which occurs this issue ? |
I am sorry, that specific file is too confidential. But I will post the next example that I can give to the public. More importantly, I will try to find a way to reproduce the behavior. It does not show on loading the file, but only after some editing. Actually reloading the file (M-x |
In the issue description, when you say "without and special characters in the vicinity" do you mean "without any special characters?" Just not quite sure what you're trying to say there - maybe just a typo. |
Sorry for the long delay. Yes, it was just a type, I meant "any". As the screenshot shows, there are no special characters in the word "processes", for example. This is what I meant, the fontification changes from one character to another, without any special characters in between. |
For longer markdown documents, markdown-mode sometimes (hard to reproduce) switches the highlighting in the middle of some texts, without and special characters in the vicinity.
See the following image for an example screenshot:
Expected Behavior
The highlighting should only change at special characters.
Actual Behavior
The highlighting sometimes appears to be a bit random, with long range interactions: If this bug appears and I change text further up the documents, the errors may seem to move around, sometimes disappear, sometimes reappear again.
Steps to Reproduce
I was not able to reproduce this issue reliably. It only happened for long documents, and sometimes restarting Emacs helps.
M-x normal-mode
typically only helps for a short time.Backtrace
Software Versions
markdown-mode, version 2.5-dev
, from Melpa, version: 20210831.1507The text was updated successfully, but these errors were encountered: