Replies: 4 comments 6 replies
-
|
Hi! I don't observe such issues in my own workflow, but such performance problems with collapsed text have been reported before. See in particular the discussion: #156 (comment) The performance could be improved if Jinx would use a more efficient tracking of pending/unchecked regions. It should use a separate data structure instead of relying on text properties in the buffer. Patches implementing this are welcome. |
Beta Was this translation helpful? Give feedback.
-
|
@jams2 @Thaodan were you guys able to solve the issue? my org mode file is unusable when i call "consult-outline" - it freezes, but if i remove jinx, and replace it with flyspell - everything is perfect.
Update: same situation here - if cycle visability to "SHOW ALL" then issue dissapears, "consult-outline" is blazing fast with jinx-mode enabled. If i make it "OVERVIEW" - it's unusable (5+ seconds freezes), disabling jinx-mode fixes the issues. |
Beta Was this translation helpful? Give feedback.
-
|
I pushed a potential fix: bbda659 |
Beta Was this translation helpful? Give feedback.
-
|
I haven't tested the fix but today I noticed some behavior which I had
behavior but within the Circe buffers where read-only text, images and
the content that Jinx interacts with meet.
I noticed that the poor performance or "freezes" happens whenever
a popup from the text suggestions was about to draw over a TODO status
of an item.
The text properties I use for those are:
(:inherit ((:inverse-video t :weight semibold :height 1.0 :inherit (org-todo)) org-modern-label))
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, thanks for the package, I've been enjoying it!
One issue I've come across is that in my main org-mode file, which is about 4000 lines long (378 headings), navigation can become very laggy when the headings are collapsed.
move-beginning-of-line,next-line, etc. all become very slow. Max heading depth in my file is currently 3. The same issue doesn't appear when navigating over expanded trees.Emacs info: GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw scroll bars) of 2024-06-19
Jinx version: 1.7 e48f333
The CPU profiler shows it's spending a lot of time in a few of jinx's functions (I'll attach the full report).
profile.txt
Beta Was this translation helpful? Give feedback.
All reactions