Commit Graph

6 Commits

Author SHA1 Message Date
aa6f3903d5 fix(smooth-scroll): potential out-of-bounds error
Wherever an interactive motion command (that good-scroll has advised) is
used programmatically.

This should be addressed upstream. Either by adding
boundary/called-interactively guards to
`good-scroll--point-at-top-fix-a`, or by avoiding interactive motion
commands in ledger-mode.

Fix: #8376
2025-06-02 14:19:26 +02:00
e91a5edd31 fix(smooth-scroll): good-scroll & ultra-scroll interop
Makes these two packages coexist better and more efficiently.

Ref: 5f04b56229
2025-04-03 21:49:59 -04:00
318e630037 feat(smooth-scroll): add +interpolate flag
Adds optional scroll interpolation/animation in #8335 via the
good-scroll package. Command support is light right now, but I plan to
expand on it later, and I welcome PRs to do so in the meantime.

Ref: #8335
2025-04-03 17:40:11 -04:00
061189953d perf(smooth-scroll): suppress hl-todo, diff-hl-flydiff, & jit-lock
While scrolling.
2025-04-02 19:04:11 -04:00
63c29561df fix(smooth-scroll): add Emacs 29 check
This package requires 29+ and will fail otherwise (it depends on
pixel-scroll-precision-mode).
2025-04-02 19:04:11 -04:00
5f04b56229 module: add :ui smooth-scroll
Normally, this would be too small to warrant its own module, but smooth
scrolling is one of those things that can tip large swaths of
fence-sitting beginners into Emacs' camp. I can't help but imagine how
many people get their impression that Emacs is "laggy" or "slow" solely
from the way it scrolls.

Don't get me wrong, there *are* good reasons to call Emacs slow, but
startup and scrolling speed are not it, yet they are easily overblown
because it's the first thing you see. I might even consider enabling
this by default, but I'll make that decision later.

Fix: #8335
2025-04-01 17:58:13 -04:00