From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Hugo Wolf Newsgroups: gmane.emacs.help Subject: remapping mouse clicks in osx emacs 21.3.50.1? Date: Wed, 16 Oct 2002 11:19:30 GMT Organization: AT&T Broadband Sender: help-gnu-emacs-admin@gnu.org Message-ID: <6Xbr9.50762$gr6.51104@rwcrnsc53> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1034956987 18638 80.91.224.249 (18 Oct 2002 16:03:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 18 Oct 2002 16:03:07 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 182Zaa-0004q5-00 for ; Fri, 18 Oct 2002 18:03:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 182ZZR-0003KB-00; Fri, 18 Oct 2002 12:01:53 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!wn14feed!wn12feed!worldnet.att.net!204.127.198.204!attbi_feed4!attbi.com!rwcrnsc53.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: slrn/0.9.7.4 (Darwin) Original-Lines: 37 Original-NNTP-Posting-Host: 66.31.41.137 Original-X-Complaints-To: abuse@attbi.com Original-X-Trace: rwcrnsc53 1034767170 66.31.41.137 (Wed, 16 Oct 2002 11:19:30 GMT) Original-NNTP-Posting-Date: Wed, 16 Oct 2002 11:19:30 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:106114 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:2664 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2664 I recently started using the osx port of gnu emacs 21.3.50.1: http://members.shaw.ca/akochoi-emacs/ It's quite a nice port but one configuration issue is making it a little tricky to use. When I run emacs an an X11 client, the mouse click bindings for my Logitech 2-button+wheel mouse are quite natural: left click is emacs button1, wheel-click is emacs button2, right-click is emacs button3 (wheel scrolling is emacs button4 and button5). I call this "natural" because logical button2 has always been mouse-middle in emacs and the wheel is physically in the middle position on the Logitech. When I run the emacs port, button2 and button3 are reversed: wheel-click is emacs button3 and right-click is emacs button2. I _could_ learn to get used to this I'm sure -- if I weren't still using X11 emacs from remote hosts on a regular basis. So I need a way to get the more standard button binding to work in osx port. For now I'm using the "USB Overdrive" shareware kext. But I really don't want that installed if I can avoid it. In general I don't want any third-party kexts unless they're absolutely essential. More particularly in this case, I specifically do _not_ want any non-standard mouse behavior in the rest of osx/aqua. Is there another solution? For example is there any global way to do this within emacs itself? Of maybe it's a build-time option? I didn't build this emacs myself, I grabbed it from a co-worker who posted it on a local bboard. Thanks -- -- d f-d