Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!dsg.csc.ti.com!wilensky From: wilensky@dsg.csc.ti.com Newsgroups: gnu.emacs Subject: Modifying mouse clicks in X Message-ID: <2811536549-55195@TM> Date: 3 Feb 89 22:22:29 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 19 I am running Emacs 18.50 under X Windows version 11, revision 2 on a Sun 386i. I want to modify the meanings of the mouse clicks as defined in x-mouse.el. To do that, I included the following lines in my .emacs file. In fact, my .emacs file contains nothing else. (define-key mouse-map x-button-left 'x-mouse-set-point) (define-key mouse-map x-button-middle 'x-mouse-set-mark) However, when initializing emacs I get a message indicating an error in the init file. If I then explicitly load the .emacs file or evaluate it in a buffer, it doesn't complain and the button clicks change as desired. What's going on here? Something in the environment must be changing after .emacs is loaded. I thought .emacs was the last thing loaded. Does anyone know what is happening here? Please respond to Harold Wilensky at wilensky@dsg.ti.com rather than the return address in the mail header.