[OS X Emacs] Re: Emacs.app 9.0-rc3 released

Rodney Sparapani rsparapa at mcw.edu
Mon Jan 21 11:49:33 EST 2008


Rodney Sparapani wrote:

> 
> Hi Adrian:
> 
> Great work!  I re-discovered one bug and then I found the solution.  See
> http://sourceforge.net/tracker/index.php?func=detail&aid=1867278&group_id=148174&atid=770754 
> 
> 
> The short version is wheel mouse and 2-finger scrolling don't work. 
> However, the solution is simple:
> ;; Enable wheelmouse support by default
> (require 'mwheel)
> 
> ;;Define the mouse scroll wheel
> (defun up-slightly () (interactive) (scroll-up 5))
> (defun down-slightly () (interactive) (scroll-down 5))
> (global-set-key [mouse-4] 'down-slightly)
> (global-set-key [mouse-5] 'up-slightly)
> 
> ;;Support for scrolling Griffin powermate
> (global-set-key [wheel-down] 'up-slightly)
> (global-set-key [wheel-up] 'down-slightly)
> (global-set-key [double-wheel-down] 'up-slightly)
> (global-set-key [double-wheel-up] 'down-slightly)
> (global-set-key [triple-wheel-down] 'up-slightly)
> (global-set-key [triple-wheel-up] 'down-slightly)
> 
> This is courtesy of
> http://www.the-forgotten.org/wp-content/uploads/emacs/dot-emacs
> where other interesting nuggets most likely can be found.
> 
> Rodney
> 

This bug seems to have disappeared from the tracker.  But, in any case, 
Marcus Crestani has posted a much more elegant fix on xemacs-beta:

   (require 'mwheel)
   (mwheel-install)
   (setq mwheel-follow-mouse t)

Rodney




More information about the MacOSX-Emacs mailing list