I keep scrolling a 200 lines file by C-n
and see CPU 50%, and by trackpad and see CPU 80%, is it normal?
Emacs
A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!
Get Emacs
Rules
- Posts should be emacs related
- Be kind please
- Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.
Emacs Resources
Emacs Tutorials
- Beginner’s Guide to Emacs
- Absolute Beginner's Guide to Emacs
- How to Learn Emacs: A Hand-drawn One-pager for Beginners
Useful Emacs configuration files and distributions
Quick pain-saver tip
This package does nothing with C-n
. Smooth scrolling at high speed can certainly take some CPU, nothing new there.
I've used any scrolling mode before. When enable ultra-scrol-mac-mode
, scrolling a 200 line buffer by C-n
and CPU costs 50%. Scrolling by trackpad and CPU costs 80%. Is this normal?
Did you manage to get pixel-scroll-precision-mode
to not snag on large images? It's not clear from the README what improvements you're planning to send upstream that are not mac-only.
effectively simulates a feature-complete trackpad driver in elisp, complete with scroll interpolation, a timer-based momentum phase, etc.
I remember reading through this code when I was looking over pixel-scroll-precision and thinking "this is crazy". The event loop is already full to bursting in a typical Emacs session.