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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 7641 in the body.
You can then email your comments to 7641 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7641; Package emacs. (Tue, 14 Dec 2010 23:37:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to jidanni <at> jidanni.org:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 14 Dec 2010 23:37:02 GMT) Full text and rfc822 format available.

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

From: jidanni <at> jidanni.org
To: bug-gnu-emacs <at> gnu.org
Subject: use more familiar left-mouse... names
Date: Wed, 15 Dec 2010 07:43:03 +0800
I think the general public are more familiar with right-mouse
center-mouse left-mouse than these names.

Maybe the could be made into aliases to show the public.

Maybe it would work no matter if the user has configured the mouse for
right handers or left.

      Click <mouse-2> on a completion to select it.
      In this buffer, type RET to select the completion near point.





Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Wed, 15 Dec 2010 03:55:02 GMT) Full text and rfc822 format available.

Notification sent to jidanni <at> jidanni.org:
bug acknowledged by developer. (Wed, 15 Dec 2010 03:55:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: jidanni <at> jidanni.org
Cc: 7641-done <at> debbugs.gnu.org
Subject: Re: bug#7641: use more familiar left-mouse... names
Date: Wed, 15 Dec 2010 06:00:37 +0200
> From: jidanni <at> jidanni.org
> Date: Wed, 15 Dec 2010 07:43:03 +0800
> Cc: 
> 
> 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'm closing the bug report.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7641; Package emacs. (Mon, 27 Dec 2010 12:45:02 GMT) Full text and rfc822 format available.

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




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7641; Package emacs. (Mon, 27 Dec 2010 15:18:02 GMT) Full text and rfc822 format available.

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

From: David De La Harpe Golden <david <at> harpegolden.net>
To: Dani Moncayo <dmoncayo <at> gmail.com>
Cc: 7641 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, jidanni <at> jidanni.org
Subject: Re: bug#7641: use more familiar names for mouse events
Date: Mon, 27 Dec 2010 15:24:07 +0000
On 27/12/10 12:51, Dani Moncayo wrote:

> Am I missing something?.

Probably that the numbering comes from X11 where it's conventional, it's 
not something emacs just made up.  And there's potentially
4,5,6,7...








Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7641; Package emacs. (Mon, 27 Dec 2010 15:59:01 GMT) Full text and rfc822 format available.

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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Dani Moncayo <dmoncayo <at> gmail.com>
Cc: 7641 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, jidanni <at> jidanni.org
Subject: Re: bug#7641: use more familiar names for mouse events
Date: Mon, 27 Dec 2010 11:05:20 -0500
>>> 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.

Simple: mouse-3 is the button which X-windows defines as the button
number 3.  Depending on your configuration and on the kind of input
device you're using, it may be the right mouse button or it could be
... anything else.

So it's OK for the manual to say that mouse-1 is usually the left mouse
button, but it would be wrong for Emacs and its manual to always use
mouse-left in place of mouse-1.


        Stefan




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7641; Package emacs. (Mon, 27 Dec 2010 17:21:01 GMT) Full text and rfc822 format available.

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

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 7641 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, jidanni <at> jidanni.org
Subject: Re: bug#7641: use more familiar names for mouse events
Date: Mon, 27 Dec 2010 18:26:55 +0100
On Mon, Dec 27, 2010 at 17:05, Stefan Monnier <monnier <at> iro.umontreal.ca> wrote:
>>>> 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.
>
> Simple: mouse-3 is the button which X-windows defines as the button
> number 3.  Depending on your configuration and on the kind of input
> device you're using, it may be the right mouse button or it could be
> ... anything else.
>
> So it's OK for the manual to say that mouse-1 is usually the left mouse
> button, but it would be wrong for Emacs and its manual to always use
> mouse-left in place of mouse-1.
>
I didn't know it. Thanks


-- 
Dani Moncayo




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 25 Jan 2011 12:24:03 GMT) Full text and rfc822 format available.

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.