A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/jrblevin/markdown-mode/issues/536 below:

Slowdown (or even error) with files containing a lot of comments · Issue #536 · jrblevin/markdown-mode · GitHub

Expected Behavior

I think markdown-mode should be able to work with files containing arbitrarily many comments (in my case, the comments are automatically generated by giving the flyspell-mode command flyspell-correct-word-before-point followed by the “Accept (buffer)” menu entry).

Actual Behavior

When opening a Markdown file containing a lot of comments, such as the attached test.txt (I renamed it as .txt since I don’t know how to upload an .md file) and editing the text while the comments are visible on screen, there is a long lag before the result of the text-editing commands becomes apparent. This does not seem to happen if the comments are not visible (e.g., if you have to scroll down to see them).

When the number of comments becomes very large, such as in the attached test2.txt file, the problem becomes even worse, with an (error "Lisp nesting exceeds ‘max-lisp-eval-depth’").

Steps to Reproduce

Open test.txt and edit it, or just open test2.txt, after having renamed them to .md.

Backtrace Software Versions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4