From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.bugs Subject: bug#7641: use more familiar names for mouse events Date: Mon, 27 Dec 2010 13:51:40 +0100 Message-ID: References: <87zks7vs3c.fsf@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1293454538 1721 80.91.229.12 (27 Dec 2010 12:55:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 27 Dec 2010 12:55:38 +0000 (UTC) Cc: jidanni@jidanni.org To: 7641@debbugs.gnu.org, Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 27 13:55:34 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PXCbs-0008Gb-Ng for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Dec 2010 13:55:34 +0100 Original-Received: from localhost ([127.0.0.1]:42348 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PXCbq-0003ws-Ta for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Dec 2010 07:55:30 -0500 Original-Received: from [140.186.70.92] (port=44007 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PXCZj-0003Bz-5f for bug-gnu-emacs@gnu.org; Mon, 27 Dec 2010 07:53:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PXCZh-0005Fw-QZ for bug-gnu-emacs@gnu.org; Mon, 27 Dec 2010 07:53:19 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53280) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PXCZh-0005Fr-Nc for bug-gnu-emacs@gnu.org; Mon, 27 Dec 2010 07:53:17 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PXCRi-00086p-Mx; Mon, 27 Dec 2010 07:45:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87zks7vs3c.fsf@jidanni.org> Resent-From: Dani Moncayo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Dec 2010 12:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7641 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7641-submit@debbugs.gnu.org id=B7641.129345389731148 (code B ref 7641); Mon, 27 Dec 2010 12:45:02 +0000 Original-Received: (at 7641) by debbugs.gnu.org; 27 Dec 2010 12:44:57 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PXCRb-00086L-Lg for submit@debbugs.gnu.org; Mon, 27 Dec 2010 07:44:56 -0500 Original-Received: from mail-yx0-f172.google.com ([209.85.213.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PXCRZ-000868-Dy for 7641@debbugs.gnu.org; Mon, 27 Dec 2010 07:44:53 -0500 Original-Received: by yxt33 with SMTP id 33so3688511yxt.3 for <7641@debbugs.gnu.org>; Mon, 27 Dec 2010 04:51:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:cc:content-type; bh=gjE9zNLtvKRFPhSIRgp0+/ba0rdfCxd/oXc4qnWPFKg=; b=tSSsSZgFiIkGRd+PV9e8OPXXv2xzfDSHrc4Mer4i9BgoB+Z6eG35PObhomtuWAFHjg HgYcgfH59dMTCzyyZkMflx0EhqOqBPlwGtSqjUiyq/yUXhVch1TLMI+qC+PLRq28IxK6 RL4hyTEVCS3KX4uAxQgxAo1DUd6TeKrcn+90c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=ThT/DBC6S/L4m2e0IJklDr1sPKLY7nEJ6EhvzoytcnGrrVqi5VH6stA62/9Yprh7li M+1G9V20LaV984spMSlhdu7KNF/vMmWl4JQ4vazqVEy4RR8h0l5XI7ky23HXYl/30Aeo 3cdH7o0bnc/0hN97A+poBH84Zphj1/+jh0wBE= Original-Received: by 10.90.2.26 with SMTP id 26mr3219962agb.148.1293454300943; Mon, 27 Dec 2010 04:51:40 -0800 (PST) Original-Received: by 10.90.227.16 with HTTP; Mon, 27 Dec 2010 04:51:40 -0800 (PST) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 27 Dec 2010 07:45:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:42872 Archived-At: >> 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