unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Steven Tamm <steventamm@mac.com>
Cc: emacs-devel@gnu.org
Subject: Three-button mouse emulation on OSX (was Re: Enhancement for Emacs on Mac OSX)
Date: Thu, 12 Feb 2004 20:29:55 -0800	[thread overview]
Message-ID: <466BEBC8-5DDD-11D8-A1DE-00039390AB82@mac.com> (raw)
In-Reply-To: <wzptctwv1m.fsf@cs.uu.nl>

So I'm getting around to look at this and I have a couple suggestions:

- I don't like the use of positive and negative numbers to represent 
the variable.  I'd much rather have symbols like nil, t, and "reverse" 
(or something like that).  "t" would correspond to the Apple X11 
implementation where option is the middle button and command is the 
right button (what was positive in your implementation).  "reverse" is 
self-explanatory.

- What should happen if both option and command is clicked?  With X11, 
the mouse-3 wins, that should probably be the behavior (in the patch, 
option wins).

- Right now the patch here would require carbon events (i.e. it 
wouldn't work on OS9).  Is anyone out there using OS9 that would like 
3-button emulation?  Is anyone using emacs with OS9?  The change would 
be fairly trivial, but I'd like some testing since I don't even have 
classic installed.

All opinions welcome,
-Steven

On Feb 5, 2004, at 4:49 AM, Piet van Oostrum wrote:

> I have some code in my private emacs copy for emulation a three-button
> mouse on a Mac with a one-button mouse. Basically the same as it is 
> done
> in X11: Alt-mouse for the middle button and Command-mouse for the right
> button, or the other way around, depending on a variable. I would like 
> to
> ask to include this code in CVS. I have no CVS access, but I signed
> copyright papers (how do you call them) centuries ago (Well, the last
> century). Can I post this code here, or gain CVS access?
>
> As I am using this emacs all day, I can also do some debugging.
>
> Regards,
> -- 
> Piet van Oostrum <piet@cs.uu.nl>
> URL: http://www.cs.uu.nl/~piet [PGP]
> Private email: P.van.Oostrum@hccnet.nl

      parent reply	other threads:[~2004-02-13  4:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-05 12:49 Enhancement for Emacs on Mac OSX Piet van Oostrum
2004-02-05 15:14 ` Kim F. Storm
2004-02-05 23:48   ` Piet van Oostrum
2004-02-07  9:01     ` Richard Stallman
2004-02-13  4:29 ` Steven Tamm [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=466BEBC8-5DDD-11D8-A1DE-00039390AB82@mac.com \
    --to=steventamm@mac.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).