Article View: gnu.emacs.help
Article #189050binding mouse buttons
From: F. Jay Bourland 382P
Date: Thu, 09 May 1991 21:17
Date: Thu, 09 May 1991 21:17
13 lines
1045 bytes
1045 bytes
I couldn't find this in the FAQ (maybe it should be added?). How do you bind the mouse buttons to new functions. I tried "(define-key mouse-map x-button-s-right 'x-find-file)", but it didn't work. I tried preceeding with (provide 'x-mouse) but that didn't help. I'm guessing I have to set some hook here (ie when the x-mouse.el file is read) but I don't know which one. Thanks in advance, -- Jay Bourland jayb@leland.stanford.edu
Technical Details
Message-ID:
<JAY_B.91May9231725@cauchy.leland.stanford.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!decwrl!stanford.edu!morrow.stanford.edu!morrow!jay_bShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103b8b,c2723366479bb879,start X-Google-Attributes: gid103b8b,public X-Google-ArrivalTime: 1991-05-10 07:24:38 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!decwrl!stanford.edu!morrow.stanford.edu!morrow!jay_b From: jay_b@cauchy.leland.stanford.edu (F. Jay Bourland 382P) Newsgroups: gnu.emacs.help Subject: binding mouse buttons Message-ID: <JAY_B.91May9231725@cauchy.leland.stanford.edu> Date: 9 May 91 21:17:25 GMT Sender: news@morrow.stanford.edu (News Service) Distribution: gnu.emacs.help Organization: Stanford University Lines: 13