GNU bug report logs - #7641
use more familiar left-mouse... names

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Tue, 14 Dec 2010 23:37:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 7641 <at> debbugs.gnu.org (full text, mbox):

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: 7641 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Cc: jidanni <at> jidanni.org
Subject: Re: bug#7641: use more familiar names for mouse events
Date: Mon, 27 Dec 2010 13:51:40 +0100
>> 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




This bug report was last modified 14 years and 149 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.