Hi all,
if you are all looking for making emacs scrolling horizontally by
sliding with one finger in the lower part of the trackpad (or with some
2 finger special move [dunno what Mac users like]), that shouldn't be
any different from any other keybinding.
For example, the syntaptics trackpad on my Lenovo Thinkpad emacs
mouse-6/7 events when sliding left/right in the lower trackpad corner.
So I can easily use that to make emacs scroll horizontally like it's the
common behavior in most web browsers:
--8<---------------cut here---------------start------------->8---
(global-set-key (kbd "<mouse-7>") (lambda ()
(interactive)
(scroll-left 1)))
(global-set-key (kbd "<mouse-6>") (lambda ()
(interactive)
(scroll-right 1)))
--8<---------------cut here---------------end--------------->8---
Bye,
Tassilo
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode