[gnu.emacs.bug] How to rebind mouse buttons under X11R3?

mike@DART.CS.BYU.EDU (Mike Burbidge) (07/06/89)

Operating System: SunOS 4.0
Machine: Sun 3/60
Emacs Version: 18.54
Window Manager: X11R3

I would like to rebind the mouse buttons. I have read the document XDOC in
dist-18.54/etc and have tryed putting the following lisp statement in my
.emacs file:

(define-key mouse-map x-button-right 'scroll-up)

Emacs responds with an "error in init file"

I then tryed:

(define-key mouse-map (char-to-string 0) 'scroll-up)

thinking that perhaps the constant x-button-right was not defined. I did not
get the error, but the binding does not work either.

Anyone offer any help on rebinding mouse events?

Mike Burbidge.
mike@cs.byu.edu