[OS X Emacs] scrolling in Aquamacs 3.4 preview
Jamie Taylor
Jamie.Taylor at pobox.com
Mon May 21 20:14:10 EDT 2018
Thanks for the pointer, David. I didn't manage to find any way to
get true OS-native scrolling behavior, but I think I got closer.
I'm not sure I'd go so far as to say this works *well*, but to me,
at least, it feels *better*. Your milage may vary.
(defvar progressive-scroll-decelerator 4)
(defun my-scroll-down (&optional amt)
(if amt
(scroll-down (/ amt progressive-scroll-decelerator))
(scroll-down)))
(defun my-scroll-up (&optional amt)
(if amt
(scroll-up (/ amt progressive-scroll-decelerator))
(scroll-up)))
(setq mwheel-scroll-down-function 'my-scroll-down)
(setq mwheel-scroll-up-function 'my-scroll-up)
(setq mouse-wheel-progressive-speed t)
Jamie
On Mon, May 21, 2018 at 06:47:55PM -0400, David Reitter wrote:
> Jamie,
> If there was (or I knew) an easy way to configure it, I would have done it.
> There are some Emacs settings for progressive scrolling that you could look up and try out. If you find something that works well, why not post it here!
> David
>
>
> --
> http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
> http://aquamacs.org/donate -- Could we help you? Return the favor and support the Aquamacs Project!
>
>
>
>
> > On May 16, 2018, at 10:33 AM, Jamie Taylor <Jamie.Taylor at pobox.com> wrote:
> >
> > I've been using the 3.4 preview for the past couple of months with
> > only one minor annoyance:
> >
> > The new smoother scrolling when using the scroll gesture (i.e., mouse
> > wheel or two finger drag, depending on the input device) is great at
> > slow speeds, but it seems to _only_ do slow speeds. In contrast, OS
> > native scrolling is variable depending on how fast you swipe on the
> > trackpad.
> >
> > Is there any way to configure (or otherwise change) this behavior
> > to be closer to the OS native behavior?
> >
> > Thanks,
> > Jamie Taylor
> >
> > _____________________________________________________________
> > MacOSX-Emacs mailing list
> > MacOSX-Emacs at email.esm.psu.edu
> > https://email.esm.psu.edu/mailman/listinfo/macosx-emacs
> > List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx
>
>
> _____________________________________________________________
> MacOSX-Emacs mailing list
> MacOSX-Emacs at email.esm.psu.edu
> https://email.esm.psu.edu/mailman/listinfo/macosx-emacs
> List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx
More information about the MacOSX-Emacs
mailing list