From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: Binding a command to the down-event of a toolbar button Date: Fri, 31 Mar 2006 11:18:46 +0100 Message-ID: <442D0206.3000609@gnu.org> References: <87slp5lrx2.fsf-monnier+emacs@gnu.org> <7dbe73ed0603300156k46cae26dhe01f5ddf3309a3a3@mail.gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1143800453 29160 80.91.229.2 (31 Mar 2006 10:20:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 31 Mar 2006 10:20:53 +0000 (UTC) Cc: emacs-devel@gnu.org, rms@gnu.org, Mathias Dahl Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 31 12:20:50 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FPGij-00020W-0A for ged-emacs-devel@m.gmane.org; Fri, 31 Mar 2006 12:19:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FPGii-0003jf-AE for ged-emacs-devel@m.gmane.org; Fri, 31 Mar 2006 05:19:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FPGiW-0003jQ-HS for emacs-devel@gnu.org; Fri, 31 Mar 2006 05:18:56 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FPGiU-0003hx-KF for emacs-devel@gnu.org; Fri, 31 Mar 2006 05:18:56 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FPGiU-0003hj-AH for emacs-devel@gnu.org; Fri, 31 Mar 2006 05:18:54 -0500 Original-Received: from [213.86.207.50] (helo=exchange.integrasp.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FPGkp-00068b-L9; Fri, 31 Mar 2006 05:21:19 -0500 Original-Received: from ASSP-nospam (localhost [127.0.0.1]) by exchange.integrasp.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id H9J1BG72; Fri, 31 Mar 2006 11:12:16 +0100 Original-Received: from 192.168.111.70 ([192.168.111.70] helo=[192.168.111.70]) by ASSP-nospam ; 31 Mar 06 10:12:15 -0000 User-Agent: Thunderbird 1.5 (Windows/20051201) Original-To: Stefan Monnier In-Reply-To: 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: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:52247 Archived-At: Stefan Monnier wrote: > I think my request for down-events on the tool-bar is related to some other > people's requests to be able to bind different actions for mouse-1, mouse-2, > mouse-3. > Another interface I have seen that having a down-event would enable is to execute a common action on normal clicking of the button, but if the mouse button is held down for around 1 - 2 seconds, then a menu appears with less common related actions.