all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dani Moncayo <dmoncayo@gmail.com>
To: 7641@debbugs.gnu.org, Eli Zaretskii <eliz@gnu.org>
Cc: jidanni@jidanni.org
Subject: bug#7641: use more familiar names for mouse events
Date: Mon, 27 Dec 2010 13:51:40 +0100	[thread overview]
Message-ID: <AANLkTimtRkJUJw48TrMSwn24Lwci4RcAji5Eyk8X-iXf@mail.gmail.com> (raw)
In-Reply-To: <87zks7vs3c.fsf@jidanni.org>

>> I think the general public are more familiar with right-mouse
>> center-mouse left-mouse than these names.
>
> Except that in Emacs, they could be remapped (e.g., mouse-3 could be a
> simultaneous click on both left and right buttons).  If we use left,
> right, and center, the manual could be simply wrong for some
> configurations.
>

I don't understand this quite well.

The manual already associates mouse-X events with left, middle and
right buttons [1][2][3], So, if you remap any of these events, the
manual will be wrong anyway.

Am I missing something?.

I any case, I really think that (`mouse-left', `mouse-middle' and
`mouse-right') would be a much clearer/intuitive/simpler interface,
because mouse-1 will refer to left mouse button in most cases. The
manual could describe their normal meanings (as it does now), and also
state that these events can be remapped.

IOW, this level of abstraction in the mouse events names seems like
unnecessary to me.



[1] [(emacs) Mouse Commands].
   The most basic mouse command is `mouse-set-point', which is called
by clicking with the left mouse button, `Mouse-1', in the text area of
a window. [...]

[2] [(emacs) Mouse Commands].
   Clicking with the middle mouse button, `Mouse-2', moves point to the
position [...].

[3] [(emacs) Mouse Commands].
   Clicking with the right mouse button, `Mouse-3', runs the command
`mouse-save-then-kill'.


-- 
Dani Moncayo





  parent reply	other threads:[~2010-12-27 12:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-14 23:43 bug#7641: use more familiar left-mouse... names jidanni
2010-12-15  4:00 ` Eli Zaretskii
2010-12-27 12:51 ` Dani Moncayo [this message]
2010-12-27 15:24   ` bug#7641: use more familiar names for mouse events David De La Harpe Golden
2010-12-27 16:05   ` Stefan Monnier
2010-12-27 17:26     ` Dani Moncayo

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

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

  git send-email \
    --in-reply-to=AANLkTimtRkJUJw48TrMSwn24Lwci4RcAji5Eyk8X-iXf@mail.gmail.com \
    --to=dmoncayo@gmail.com \
    --cc=7641@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=jidanni@jidanni.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 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.