From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: M Jared Finder Newsgroups: gmane.emacs.devel Subject: Re: Binding a command to the down-event of a toolbar button Date: Fri, 31 Mar 2006 19:12:51 -0800 Message-ID: References: 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 1143868832 29641 80.91.229.2 (1 Apr 2006 05:20:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 1 Apr 2006 05:20:32 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 01 07:20:31 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 1FPYXF-0001wB-QJ for ged-emacs-devel@m.gmane.org; Sat, 01 Apr 2006 07:20:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FPYXF-0001t8-1m for ged-emacs-devel@m.gmane.org; Sat, 01 Apr 2006 00:20:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FPYX2-0001t2-Pl for emacs-devel@gnu.org; Sat, 01 Apr 2006 00:20:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FPYWx-0001sp-Ax for emacs-devel@gnu.org; Sat, 01 Apr 2006 00:20:15 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FPYWx-0001sm-4w for emacs-devel@gnu.org; Sat, 01 Apr 2006 00:20:11 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FPYZV-0005nn-1s for emacs-devel@gnu.org; Sat, 01 Apr 2006 00:22:49 -0500 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1FPYWo-0001tQ-8o for emacs-devel@gnu.org; Sat, 01 Apr 2006 07:20:02 +0200 Original-Received: from dsl001-150-235.sfo1.dsl.speakeasy.net ([72.1.150.235]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 Apr 2006 07:20:02 +0200 Original-Received: from jared by dsl001-150-235.sfo1.dsl.speakeasy.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 Apr 2006 07:20:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 25 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dsl001-150-235.sfo1.dsl.speakeasy.net User-Agent: Mail/News 1.5 (X11/20060228) 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:52276 Archived-At: Richard Stallman wrote: > >> Is such behavior normal in tool bars in other user interfaces? > >> If not, I think we should not do it. > > Why not? It's often good to stick to "normal", "standard", or common UI > features so that users know what to expect. But what's the harm in providing > functionality where the common UIs have none? > > You're missing the point. You're proposing we implement the capacity > to provide a certain kind of GUI feature. Before we do that, I want > to know whether users expect or want that kind of feature in GUIs. If > they don't, let's save the trouble of writing and maintaining code to > implement it. Yes, click and drag and mouse-2, mouse-3 are used in UIs. Firefox is a good example of different things that are done with this: * mouse-3 brings up a context menu that is used for customization * mouse-2 opens a page in a new tab * click and drag is used to move toolbar items around when in "customize toolbar" mode. In short, yes, it would be useful to distinguish between different button presses in toolbars (and in the menus as well). -- MJF