On Aug 21, 2006, at 12:32 PM, Scott Leerssen wrote:

> Being a long-time emacs user on X, I'm quite used to mouse-2 being
> bound to the middle mouse button, which is a press of the wheel on  
> most
> wheel-mice mappings.  I'm running 9.0-pre3 and, for me at least,
> mouse-2 is bound to the right most button on my wheel mouse and
> pressing down on the wheel does not appear to create a mouse event of
> any kind.  M-x describe-key confirms that emacs does not appear to see
> the mouse event.  If I run emacs under X11 (fink version), it responds
> as expected.

Hi,

This is a carryover from the early days of the port on the NeXT,  
which had a 2-button mouse and no context menus.  Since all Macs  
these days have either a 3-button or (cough) 1-button mouse, it's  
high time to change it: right button should give mouse-3 (and context  
menus) while the wheel button gives mouse-2 (and paste).

I have not checked, but it is possible that all the code related to  
this is in lisp/ns-win.el.  On the other hand there might be some  
code in src/nsterm.m that does mouse mapping.  Either way, it should  
be an easy patch, if someone wants to have a crack at it..

(Note that "context menus" are also implemented strangely, again for  
historical reasons.  This is a bit harder to fix, but I am working on  
it for the next release.

thanks,
Adrian



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Emacs-app-dev- mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-

Reply via email to