Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!DART.CS.BYU.EDU!mike From: mike@DART.CS.BYU.EDU (Mike Burbidge) Newsgroups: gnu.emacs.bug Subject: How to rebind mouse buttons under X11R3? Message-ID: <8907051710.AA01042@dart.cs.byu.edu> Date: 5 Jul 89 17:10:18 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 24 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