all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* remapping mouse clicks in osx emacs 21.3.50.1?
@ 2002-10-16 11:19 Hugo Wolf
  2002-10-16 13:26 ` Stefan Monnier <foo@acm.com>
  2002-10-16 15:45 ` Andrew Choi
  0 siblings, 2 replies; 5+ messages in thread
From: Hugo Wolf @ 2002-10-16 11:19 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: remapping mouse clicks in osx emacs 21.3.50.1?
  2002-10-16 11:19 remapping mouse clicks in osx emacs 21.3.50.1? Hugo Wolf
@ 2002-10-16 13:26 ` Stefan Monnier <foo@acm.com>
  2002-10-16 15:00   ` Schone Mullerin
  2002-10-16 15:45 ` Andrew Choi
  1 sibling, 1 reply; 5+ messages in thread
From: Stefan Monnier <foo@acm.com> @ 2002-10-16 13:26 UTC (permalink / raw)


>>>>> "Hugo" == Hugo Wolf <hwolf@deutsches.lieder.net> writes:
> I recently started using the osx port of gnu emacs 21.3.50.1:
> http://members.shaw.ca/akochoi-emacs/

This is not just a port: it *is* 21.3.50.

> When I run the emacs port, button2 and button3 are reversed:

I've seen changes in this area very recently, so I suspect it's now fixed
in the latest version of the code.  Can you try it with today's code ?


        Stefan

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: remapping mouse clicks in osx emacs 21.3.50.1?
  2002-10-16 13:26 ` Stefan Monnier <foo@acm.com>
@ 2002-10-16 15:00   ` Schone Mullerin
  0 siblings, 0 replies; 5+ messages in thread
From: Schone Mullerin @ 2002-10-16 15:00 UTC (permalink / raw)


In article <5lvg42bjkx.fsf@rum.cs.yale.edu>, Stefan Monnier
<foo@acm.com> wrote: 
> This is not just a port: it *is* 21.3.50.

Ported to a different windowing substrate ...



>> When I run the emacs port, button2 and button3 are reversed:
> 
> I've seen changes in this area very recently, so I suspect it's now fixed
> in the latest version of the code.  Can you try it with today's code ?

The mouse behavior is unchanged.  But the revert-buffer bug is now
fixed.

-- 
d f-d

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: remapping mouse clicks in osx emacs 21.3.50.1?
  2002-10-16 11:19 remapping mouse clicks in osx emacs 21.3.50.1? Hugo Wolf
  2002-10-16 13:26 ` Stefan Monnier <foo@acm.com>
@ 2002-10-16 15:45 ` Andrew Choi
  2002-10-16 15:53   ` Schone Mullerin
  1 sibling, 1 reply; 5+ messages in thread
From: Andrew Choi @ 2002-10-16 15:45 UTC (permalink / raw)


Hugo Wolf <hwolf@deutsches.lieder.net> writes:

> [...]  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.
>
> Is there another solution?  [...]

Try

  (setq mac-wheel-button-is-mouse-2 t)

I know the logic of the variable name is reversed.  It will be fixed
soon (if not already).

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: remapping mouse clicks in osx emacs 21.3.50.1?
  2002-10-16 15:45 ` Andrew Choi
@ 2002-10-16 15:53   ` Schone Mullerin
  0 siblings, 0 replies; 5+ messages in thread
From: Schone Mullerin @ 2002-10-16 15:53 UTC (permalink / raw)


In article <m2fzv675g9.fsf@owlbear.local>, Andrew Choi wrote:
> Try
> 
>   (setq mac-wheel-button-is-mouse-2 t)

Outstanding!  Many thanks.



-- 
d f-d

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-10-16 15:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-16 11:19 remapping mouse clicks in osx emacs 21.3.50.1? Hugo Wolf
2002-10-16 13:26 ` Stefan Monnier <foo@acm.com>
2002-10-16 15:00   ` Schone Mullerin
2002-10-16 15:45 ` Andrew Choi
2002-10-16 15:53   ` Schone Mullerin

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.