Thanks to everyone for their help.  On Stefan's suggestion I've
submitted a bug report on this.  In the mean time, I'm using
variations on rgb's

  (global-set-key [mouse-4] (lookup-key global-map [mouse-2]))

as workarounds.


[EMAIL PROTECTED] wrote:
> I have a trackball with four buttons which emacs sees as buttons
> mouse-1, mouse-3, mouse-4, and mouse-5.  I would like emacs to
> treat mouse-4 clicks as though they were mouse-2 clicks.
>
> Googling finds suggestions to try
>
> (global-set-key [mouse-4] [mouse-2])
> (define-key key-translation-map [mouse-4] [mouse-2])
> (keyboard-translate 'mouse-4 'mouse-2)
> 
> but none of these work for me.

_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to