From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Binding a command to the down-event of a toolbar button Date: Sat, 01 Apr 2006 15:28:52 -0500 Message-ID: References: <87slp5lrx2.fsf-monnier+emacs@gnu.org> <7dbe73ed0603300156k46cae26dhe01f5ddf3309a3a3@mail.gmail.com> <87wteakl1n.fsf-monnier+emacs@gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1143923401 11635 80.91.229.2 (1 Apr 2006 20:30:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 1 Apr 2006 20:30:01 +0000 (UTC) Cc: ihs_4664@yahoo.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 01 22:29:57 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 1FPmjJ-0005tZ-CE for ged-emacs-devel@m.gmane.org; Sat, 01 Apr 2006 22:29:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FPmjI-0003Ue-SI for ged-emacs-devel@m.gmane.org; Sat, 01 Apr 2006 15:29:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FPmiM-00032B-Bu for emacs-devel@gnu.org; Sat, 01 Apr 2006 15:28:54 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FPmiL-00031V-PQ for emacs-devel@gnu.org; Sat, 01 Apr 2006 15:28:53 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FPmiL-00031M-8h for emacs-devel@gnu.org; Sat, 01 Apr 2006 15:28:53 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FPml1-0002qY-VW for emacs-devel@gnu.org; Sat, 01 Apr 2006 15:31:40 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1FPmiK-00081O-EP; Sat, 01 Apr 2006 15:28:52 -0500 Original-To: Stefan Monnier In-reply-to: <87wteakl1n.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Fri, 31 Mar 2006 22:59:24 -0500) 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:52303 Archived-At: That's true, but if you check my snapshot (at http://www.iro.umontreal.ca/~monnier/elisp/mpc.png), you'll see that my MPC.el uses several buffers in several windows and the toolbar is a very natural location to put those player buttons. Is it the only suitable location for them? If it would also be natural to put them in a buffer, then by doing so, we would avoid the need to implement such detection for the toolbar. It is easy to put icons in a buffer and put keymaps on them.