From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.devel Subject: Re: Binding a command to the down-event of a toolbar button Date: Fri, 31 Mar 2006 17:55:46 -0700 Message-ID: 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-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1143853037 17678 80.91.229.2 (1 Apr 2006 00:57:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 1 Apr 2006 00:57:17 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 01 02:57:16 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 1FPUQQ-0003Vy-4A for ged-emacs-devel@m.gmane.org; Sat, 01 Apr 2006 02:57:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FPUQP-0004yy-O5 for ged-emacs-devel@m.gmane.org; Fri, 31 Mar 2006 19:57:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FPUQD-0004yt-L1 for emacs-devel@gnu.org; Fri, 31 Mar 2006 19:56:57 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FPUQC-0004yh-Og for emacs-devel@gnu.org; Fri, 31 Mar 2006 19:56:57 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FPUQC-0004ye-LJ for emacs-devel@gnu.org; Fri, 31 Mar 2006 19:56:56 -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 1FPUSh-0007RR-Rr for emacs-devel@gnu.org; Fri, 31 Mar 2006 19:59:32 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FPUQ0-0003SZ-LL for emacs-devel@gnu.org; Sat, 01 Apr 2006 02:56:44 +0200 Original-Received: from 207.167.42.60 ([207.167.42.60]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 Apr 2006 02:56:44 +0200 Original-Received: from ihs_4664 by 207.167.42.60 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 Apr 2006 02:56:44 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 22 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 207.167.42.60 User-Agent: Mozilla Thunderbird 0.9 (X11/20041105) X-Accept-Language: en-us, en 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:52269 Archived-At: Richard Stallman wrote: > I have never seen such a functionality in a *tool-bar*. But buttons > like these are common in "media players" of all kinds, where the > buttons are often part of some "cool" or "groovy" GUI. I would not > expect a tool-bar button to do that, but that's just me. > > When Emacs has a media-player mode, we want it to have such buttons. > > So, is it better for these buttons to appear in the buffer itself, > or in the tool bar? Better from a UI standpoint, that is. If they were in the buffer itself, then they wouldn't depend on which buffer was selected -- they would always be displayed, so the user could always click on them, even while working in another buffer. The tool bar changes according to which buffer is selected, just like the menu bar changes, because they are defined as keymaps. If the buffer happened to display a long playlist, the header line would be a good place to put the control buttons. -- Kevin Rodgers