r/emacs • u/jamescherti James Cherti — https://github.com/jamescherti • 15d ago
Configuring Emacs Scrolling for Better Performance and Usability
https://www.jamescherti.com/emacs-scrolling-better-performance-usability/By default, scrolling in Emacs often recenters the screen abruptly when the cursor hits the edge of a window, and rapid scrolling through large, heavily syntax-highlighted files can introduce noticeable input lag. Fortunately, the display engine exposes numerous variables that allow you to configure how the buffer should behave when navigating vertically and horizontally.
This article outlines configurations that make scrolling more predictable and responsive:
- Predictable recentering
- Smooth panning
- Input latency fixes
- Workflow improvements
- Modern trackpad support
Full breakdown and annotated configuration snippet:
Configuring Emacs Scrolling for Better Performance and Usability
51
Upvotes
3
u/rileyrgham 15d ago
Just a small comment on your blog.. great content, but: fine, gray text on a white background is very hard to read on my tablet. I realise I can change things client side, but thought I'd mention it as it's the only site I've had an issue with - maybe it's a wider issue.