From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.bugs Subject: Re: Zone Date: Thu, 13 Jun 2002 20:39:15 +0000 (UTC) Organization: BT Openworld Sender: bug-gnu-emacs-admin@gnu.org Message-ID: References: <64837.194.151.83.211.1023868719.squirrel@webmail.tigelaar.dhs.org> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1024000963 21681 127.0.0.1 (13 Jun 2002 20:42:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 13 Jun 2002 20:42:43 +0000 (UTC) Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17IbQZ-0005da-00 for ; Thu, 13 Jun 2002 22:42:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17IbQT-0000Ga-00; Thu, 13 Jun 2002 16:42:37 -0400 Original-Received: from mailbox3.ucsd.edu ([132.239.1.55]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17IbOH-0008Ii-00 for ; Thu, 13 Jun 2002 16:40:21 -0400 Original-Received: from troy.btinternet.com (troy.mondial.btinternet.com [217.32.252.51] (may be forged)) by mailbox3.ucsd.edu (8.12.1/8.12.1) with ESMTP id g5DKeJBL029620 for ; Thu, 13 Jun 2002 13:40:20 -0700 (PDT) Original-Received: from [217.32.254.47] (helo=knossos.btinternet.com) by seriphos.btinternet.com with esmtp (Exim 3.22 #1) id 17IbND-00035P-1l for gnu-emacs-bug@moderators.isc.org; Thu, 13 Jun 2002 21:39:15 +0100 Original-Received: from news by knossos.btinternet.com with local (Exim 3.22 #1) id 17IbND-0001Bl-43 for gnu-emacs-bug@moderators.isc.org; Thu, 13 Jun 2002 21:39:15 +0100 Original-To: gnu-emacs-bug@moderators.isc.org Original-Path: nyaumo.btinternet.com!nobody Original-Newsgroups: gnu.emacs.bug Original-Lines: 34 Original-NNTP-Posting-Host: host62-7-28-102.in-addr.btopenworld.com Original-X-Trace: knossos.btinternet.com 1024000755 4568 62.7.28.102 (13 Jun 2002 20:39:15 GMT) Original-X-Complaints-To: news-complaints@lists.btinternet.com Original-NNTP-Posting-Date: Thu, 13 Jun 2002 20:39:15 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:2008 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:2008 ttn@glug.org (Thien-Thi Nguyen) writes: > "Almer S. Tigelaar" writes: > > Using : GNU Emacs 21.1.1 (i386-msvc-nt5.0.2195) of 2002-03-19 on buffy > > I noticed an error in the "zone" package, it seems that the argument to > "zone-when-idle" is not in seconds but in 1/10ths of a second. > Reproduction: > try "M-x zone-when-idle 180" > Sit back and don't touch anything, notice that it zones out after 18 > seconds, not 180 as the documentation suggests. > > The "run-with-idle-timer" function does not exhibit this malfunction which > suggests that the problem lies within the zone package itself. > > this may be true but it's difficult to tell from the information given. > > i suggest trying a more recent emacs. if the problem persists, could you > write a small test case using run-with-idle-timer and describe its behavior > more precisely? I thought I had reproduced the problem with zone in 21.2 on Windows 2000, and current CVS HEAD on GNU/Linux. But it turns out from studying the code that my testing methodology was at fault. My patience does not stretch to 3 minutes, so I first tried 20 seconds. When that worked I tried again with 180, and thought I was seeing this bug. But in fact, calling zone-when-idle a second time is a no-op. This was somewhat unexpected, I expected the timer to be changed to the new value. -- Jason Rumney