bug#81150: 31.0.60; eglot: performance issue with markdown-ts-mode
Rahul Martim Juliato <[email protected]> Tue, 04 Aug 2026 23:57:32 -0300
| Newsgroups | gmane.emacs.bugs |
|---|---|
| Message-ID | <[email protected]> |
Eli Zaretskii <[email protected]> writes: >> [...] > > I think any such improvements are better developed on the master > branch. Hi everyone, I'd like to follow up on this issue from the perspective of current Emacs master (Emacs 32 to be). We recently fixed bug#81334 on master. That fix made rendering markdown buffers with many local parsers significantly faster, which is exactly the path Eglot takes when rendering documentation. I took the test_standalone.py file from this report and opened it with: emacs -Q \ test_standalone.py \ --eval "(setq eglot-documentation-renderer 'markdown-ts-view-mode)" With the buffer open, `M-x eglot RET` started the LSP server, as the recipe in this report describes, and then moved the cursor through the call sites where the documentation is rendered with `markdown-ts-view-mode`. On a couple of runs on two different machines I could not notice any lag anymore. To be clear, this is about master only. Nothing here asks to revisit what was decided for emacs-31, where the modes stay experimental and opt-in. Romain, could you please give this recipe another try on master and tell us what you see? -- Rahul Martim Juliato