Open vale46 opened 2 years ago
Interesting find! I see that if I remove fast-scroll-mode from the equation (disable or uninstall it) and run your scenario as such:
M-x font-lock-mode
) off, and then on againAs such, I believe this issue would be in font-lock-mode, or org-mode, as all this package is doing (for the most part) is toggling this font-lock-mode (and some others like minibuffer modelines) off/on with some timers.
If you could raise this issue to font-lock-mode (Emacs mailing list?) or the Org team, I wonder if we would see a fix?
In the meantime is there an easy way to disable fast-scroll in OrgMode buffers?
No, if you wanted to extend the package to have an "ignored-modes" defcustom, I would be fine with that though.
Hello - I recently came across this package to improve scrolling lag when editing large files in Emacs.
However, noticing this issue when editing an org mode buffer with
fast-scroll-mode
. When I stop scrolling in/around a source code block when the#+begin_src emacs-lisp
is not visible, font lock won't turn back on in the code block. To get it to turn back on, I need to scroll up to make#+begin_src ...
line visible. Furthermore, withfast-scroll-mode
off, buffer contents are rendered as expected.My setup is
doom-themes
(doom-dracula
theme) along withdoom-modeline
. If needed, I can share more setup details.Thanks again for sharing this useful functionality.