Open quazgar opened 1 year ago
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 normal-mode
) sometimes, but not always, helps to reset markdown-mode's state.
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:![image](https://user-images.githubusercontent.com/302587/191020705-f7a165e6-f1da-4456-9eb2-ece7baec072e.png)
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.1507