From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: hourglass atimer suppression on ttys Date: Wed, 04 May 2005 22:52:32 +0200 Message-ID: Reply-To: ttn@glug.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1115252683 820 80.91.229.2 (5 May 2005 00:24:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 5 May 2005 00:24:43 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 05 02:24:39 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DTU9u-0003Ul-0X for ged-emacs-devel@m.gmane.org; Thu, 05 May 2005 02:24:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DTUHJ-0004Ha-Ev for ged-emacs-devel@m.gmane.org; Wed, 04 May 2005 20:31:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DTRLg-0008WN-TF for emacs-devel@gnu.org; Wed, 04 May 2005 17:24:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DTRLH-0008BV-3z for emacs-devel@gnu.org; Wed, 04 May 2005 17:23:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DTRKn-0007g8-Se for emacs-devel@gnu.org; Wed, 04 May 2005 17:23:09 -0400 Original-Received: from [151.38.237.25] (helo=surf.glug.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DTROd-0007o6-V9 for emacs-devel@gnu.org; Wed, 04 May 2005 17:27:08 -0400 Original-Received: from ttn by surf.glug.org with local (Exim 3.35 #1 (Debian)) id 1DTQrA-0001HQ-00 for ; Wed, 04 May 2005 22:52:32 +0200 Original-To: emacs-devel@gnu.org 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:36680 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36680 any objections to the following? is not the glass tty enough of an hour-defining silicon-based measure of time? why interrupt w/ this when one could interrupt w/ that? thi *** xfns.c 18 Mar 2005 21:20:29 -0000 1.637 --- xfns.c 4 May 2005 21:14:15 -0000 *************** *** 4384,4389 **** --- 4384,4393 ---- EMACS_TIME delay; int secs, usecs = 0; + /* Don't bother for ttys. */ + if (NILP (Vwindow_system)) + return; + cancel_hourglass (); if (INTEGERP (Vhourglass_delay)