With GNU Emacs 26.1 installing either smooth scroll while adding
(require 'smooth-scroll)
(smooth-scroll-mode t)
to my .emacs
, or smooth scrolling with
(require 'smooth-scrolling)
(smooth-scrolling-mode 1)
does turn on the smooth scrolling mode just fine, but two-finger vertical swipes on the trackpad do not deliver the purported smooth scrolling.
Switching to Yamamoto Mitsuharu's Emacs is a bit too much for just this one nice feature. I'd rather stick to a package.
Did you manage to get either of these two packages to smooth scroll with 26.1 or a recent version of Emacs?
By "smooth scroll" here I mean that one would get the scrolling obtained with, say, Safari (with files whose length exceeds that of the window/frame).
Update
The discussions online
- Set scroll-amount for mouse wheel in .emacs
- Can scrolling be smoother than single line in emacs/org-mode?
- How do we achieve real smooth scrolling?
- pixel-scroll-mode is slow
- SmoothScrolling
- emacs OS X smooth scroll
are inherently confused. Missing in the middle of the questions/conversations is a definition of "line" in the expression "smooth scrolling by line". One solution is to qualify that term by replacing it with either "character-line" or "pixel-line". The present question is about the latter.