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 08:45:40 -0500 Message-ID: References: <87slp5lrx2.fsf-monnier+emacs@gnu.org> <7dbe73ed0603300156k46cae26dhe01f5ddf3309a3a3@mail.gmail.com> <442D0206.3000609@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 1143899203 6578 80.91.229.2 (1 Apr 2006 13:46:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 1 Apr 2006 13:46:43 +0000 (UTC) Cc: mathias.dahl@gmail.com, emacs-devel@gnu.org, jasonr@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 01 15:46:40 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 1FPgR2-0002ro-Vq for ged-emacs-devel@m.gmane.org; Sat, 01 Apr 2006 15:46:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FPgR2-0005hZ-GR for ged-emacs-devel@m.gmane.org; Sat, 01 Apr 2006 08:46:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FPgQ9-0005KR-Ss for emacs-devel@gnu.org; Sat, 01 Apr 2006 08:45:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FPgQ9-0005Je-3B for emacs-devel@gnu.org; Sat, 01 Apr 2006 08:45:41 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FPgQ8-0005JN-Qj for emacs-devel@gnu.org; Sat, 01 Apr 2006 08:45:40 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FPgSl-0002DD-JZ for emacs-devel@gnu.org; Sat, 01 Apr 2006 08:48:23 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1FPgQ8-0004m4-1a; Sat, 01 Apr 2006 08:45:40 -0500 Original-To: Stefan Monnier In-reply-to: (message from Stefan Monnier on Fri, 31 Mar 2006 09:34:20 -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:52284 Archived-At: This said, a more pressing issue is the fact that clicked are dropped on the floor if they happen just during redisplay. This is *very* annoying if your display includes a seconds-precise timer or worse. That is a bug, but I am very surprised we have such a bug. The events are handled and generated an interrupt level, so how can it matter whether redisplay is happening. Are you running your change to move that processing out of the signal handler? Maybe that change causes the problem.