Skip to content

Issues with markdown inline #60

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

Closed
rrudakov opened this issue Feb 17, 2025 · 1 comment · Fixed by #80
Closed

Issues with markdown inline #60

rrudakov opened this issue Feb 17, 2025 · 1 comment · Fixed by #80
Labels
bug Something isn't working

Comments

@rrudakov
Copy link
Contributor

Follow up #59

clojure-ts-mode-bug.mp4

The video is probably a bit long, but I wanted to catch the memory leak.

Problems

  1. In some cases markdown syntax highlighting is not limited by the docstring. When I type the opening backtick, the rest of the file is highlighted incorrectly, including Clojure code.
  2. Syntax highlighting is not accurate and not consistent. Sometimes closing backtick has the same color as a variable enclosed into backticks, sometimes not.
  3. I pretty often encounter a memory leak when inline markdown is enabled. It can bee seen on the video, I started a fresh Emacs session, opened a single Clojure file and edited it for a few minutes. After that Emacs freezes and in the Activity monitor I see that memory usage is growing.

Emacs version

GNU Emacs 31.0.50 (build 1, aarch64-apple-darwin24.3.0, NS appkit-2575.40 Version 15.3 (Build 24D60)) of 2025-02-07

I also saw this problem on version 29 and 30

Clojure-ts-mode version

The latest from MELPA.

OS

MacOS 15.3

@bbatsov bbatsov added the bug Something isn't working label Mar 6, 2025
@rrudakov rrudakov mentioned this issue Apr 10, 2025
4 tasks
@rrudakov
Copy link
Contributor Author

Reported to Emacs bug tracker: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77733

Hopefully we will get some help.

rrudakov added a commit to rrudakov/clojure-ts-mode that referenced this issue Apr 14, 2025
…is enabled

Many thanks to Juri Linkov <juri@linkov.net> for his assistance.
rrudakov added a commit to rrudakov/clojure-ts-mode that referenced this issue Apr 14, 2025
…is enabled

Many thanks to Juri Linkov <juri@linkov.net> for his assistance.
bbatsov pushed a commit that referenced this issue Apr 14, 2025
Many thanks to Juri Linkov <juri@linkov.net> for his assistance.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants