From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: alarm_signal_handler is called too frequently Date: Mon, 01 Nov 2004 02:24:33 -0500 Message-ID: References: <7E7ABFB6-2693-11D9-9BC4-000D93505B76@swipnet.se> <41813425.2010001@swipnet.se> <4181EA7E.2020309@swipnet.se> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1099294110 16308 80.91.229.6 (1 Nov 2004 07:28:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 1 Nov 2004 07:28:30 +0000 (UTC) Cc: mituharu@math.s.chiba-u.ac.jp, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 01 08:28:26 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1COWc5-00019I-00 for ; Mon, 01 Nov 2004 08:28:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1COWk4-0006Gh-UJ for ged-emacs-devel@m.gmane.org; Mon, 01 Nov 2004 02:36:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1COWiL-0005Nx-0s for emacs-devel@gnu.org; Mon, 01 Nov 2004 02:34:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1COWiJ-0005NB-R8 for emacs-devel@gnu.org; Mon, 01 Nov 2004 02:34:52 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1COWiJ-0005Mx-MN for emacs-devel@gnu.org; Mon, 01 Nov 2004 02:34:51 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1COWZY-00028O-PH for emacs-devel@gnu.org; Mon, 01 Nov 2004 02:25:48 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1COWYL-0001lG-V3; Mon, 01 Nov 2004 02:24:34 -0500 Original-To: "Jan D." In-reply-to: <4181EA7E.2020309@swipnet.se> (jan.h.d@swipnet.se) 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: main.gmane.org gmane.emacs.devel:29260 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29260 Sorry, I misunderstood. The timer_check is not run from popup_get_selection for popup menus because the argument do_timers is 0: if (do_timers && !XtAppPending (Xt_app_con)) timer_check (1); But for dialogs, do_timer is 1, so timers do get checked when a dialog is popped up. Can anyone figure out why these two cases uses different values for do_timer? They also use different values for down_on_keypress. cthose arguments are clearly there so that the two callers could treat these differently. There must have been a reason. I guess we just have to get rid of the call to timer_check in popup_get_selection. I guess we do. Will this mean that the cursor doesn't blink? If so, it would be good to make sure that the cursor is ON rather than off.