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: Sun, 02 Apr 2006 21:14:33 -0700 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 1144037734 10906 80.91.229.2 (3 Apr 2006 04:15:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 3 Apr 2006 04:15:34 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 03 06:15:33 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 1FQGTH-00076y-L7 for ged-emacs-devel@m.gmane.org; Mon, 03 Apr 2006 06:15:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FQGTH-0003r5-2K for ged-emacs-devel@m.gmane.org; Mon, 03 Apr 2006 00:15:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FQGT6-0003qm-83 for emacs-devel@gnu.org; Mon, 03 Apr 2006 00:15:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FQGT4-0003qW-PQ for emacs-devel@gnu.org; Mon, 03 Apr 2006 00:15:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FQGT4-0003qR-GT for emacs-devel@gnu.org; Mon, 03 Apr 2006 00:15:06 -0400 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 1FQGW3-0004AC-BK for emacs-devel@gnu.org; Mon, 03 Apr 2006 00:18:11 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FQGSs-00072q-2t for emacs-devel@gnu.org; Mon, 03 Apr 2006 06:14:54 +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 ; Mon, 03 Apr 2006 06:14:54 +0200 Original-Received: from jared by dsl001-150-235.sfo1.dsl.speakeasy.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Apr 2006 06:14:54 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 31 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:52351 Archived-At: Richard Stallman wrote: > Are you saying you'd want to toolbars to support mouse-1 and > drag-mouse-1 (as well as the same events for other mouse buttons), but > *not* down-mouse-1? > > I don't think I said anything about drag-mouse-1 on toolbars. Now > that you raise the question, I don't see how drag events can make > sense on a tool bar icon. You can't move these icons. And you are against doing the little amount of work to provide the hooks that would allow such functionality to get added? Why? You must have some reason you don't want this to ever get implemented. Here's a few I can think of, along with my rebuttals: It'd take too much time and be too complicated to implement. (I disagree; this should be no more than one day's worth of work.) It'd be difficult to integrate into the existing framework. (I disagree; you'd just have to make the old tool-bar names be aliases for pressing keys *also* be prefix keys in specific functions; especially read-key-sequence.) I don't like it; it's not a proven UI style. (I disagree; many widely used apps do exactly what I have described. Both Firefox and OpenOffice do. It is a good design from a UI design standpoint because it allows direct manipulation of the toolbar.) We're trying to get to a release of Emacs 22. (Then implement it in Emacs 23.) -- MJF