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: Tue, 28 Mar 2006 14:33:35 -0500 Message-ID: References: <87slp5lrx2.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 1143574460 791 80.91.229.2 (28 Mar 2006 19:34:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 28 Mar 2006 19:34:20 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 28 21:34:20 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 1FOJxB-0007L0-Ia for ged-emacs-devel@m.gmane.org; Tue, 28 Mar 2006 21:34:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FOJxB-0002nV-1k for ged-emacs-devel@m.gmane.org; Tue, 28 Mar 2006 14:34:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FOJwf-0002R9-Fs for emacs-devel@gnu.org; Tue, 28 Mar 2006 14:33:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FOJwe-0002Q3-Py for emacs-devel@gnu.org; Tue, 28 Mar 2006 14:33:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FOJwe-0002Pe-Hu for emacs-devel@gnu.org; Tue, 28 Mar 2006 14:33:36 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FOJyR-00048M-AT for emacs-devel@gnu.org; Tue, 28 Mar 2006 14:35:27 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1FOJwd-0005oL-Fo; Tue, 28 Mar 2006 14:33:35 -0500 Original-To: Stefan Monnier In-reply-to: <87slp5lrx2.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Sun, 26 Mar 2006 00:10:14 -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:52164 Archived-At: I'm trying to add tool-bar buttons for "fast forward" and "rewind" in my MPC.el package, and the way I expected it would work is that down-mouse-1 on those buttons would start the ffwd/rewind and the up event would stop it. Is such behavior normal in tool bars in other user interfaces? If not, I think we should not do it.