From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: mouse clicks on tool-bar -- why not recognize different mouse buttons? Date: Thu, 14 Oct 2004 23:03:26 -0700 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1097820238 25206 80.91.229.6 (15 Oct 2004 06:03:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Oct 2004 06:03:58 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 15 08:03:48 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CILBr-0001YE-00 for ; Fri, 15 Oct 2004 08:03:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CILIz-0004TU-II for ged-emacs-devel@m.gmane.org; Fri, 15 Oct 2004 02:11:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CILIr-0004TM-SO for emacs-devel@gnu.org; Fri, 15 Oct 2004 02:11:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CILIr-0004TA-Fw for emacs-devel@gnu.org; Fri, 15 Oct 2004 02:11:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CILIr-0004T7-EK for emacs-devel@gnu.org; Fri, 15 Oct 2004 02:11:01 -0400 Original-Received: from [141.146.126.229] (helo=agminet02.oracle.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CILBb-0006ZX-13 for emacs-devel@gnu.org; Fri, 15 Oct 2004 02:03:31 -0400 Original-Received: from rgmgw2.us.oracle.com (rgmgw2.us.oracle.com [138.1.191.11]) by agminet02.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id i9F63Tx3026731 for ; Thu, 14 Oct 2004 23:03:29 -0700 Original-Received: from rgmgw2.us.oracle.com (localhost [127.0.0.1]) by rgmgw2.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id i9F63SxZ013024 for ; Fri, 15 Oct 2004 00:03:28 -0600 Original-Received: from dradamslap (dhcp-amer-csvpn-gw2-141-144-80-167.vpn.oracle.com [141.144.80.167]) by rgmgw2.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with SMTP id i9F63SrJ013006 for ; Fri, 15 Oct 2004 00:03:28 -0600 Original-To: "Emacs-Devel" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:28416 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28416 It looks like all mouse click events on tool-bar items have the same effect. Or, rather, it looks like keyboard modifiers are taken into account, but all mouse buttons are treated alike. Except for the keyboard modifiers, this is like the treatment of menus in the menu-bar (which doesn't recognize keyboard modifiers). This is standard for menus -- you generally want a menu item to mean the same thing (what the item says), regardless of keyboard modifiers or which mouse button was used. However, since a tool-bar item is just a graphic (not a specific name, like a menu item), why not treat tool-bar items more like we treat portions of the mode-line: why not recognize different mouse button events on tool-bar items? Why not, say, be able to have mouse-3 on a given tool-bar button do something different from mouse-1 on the same item?