From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/12846 Path: main.gmane.org!not-for-mail From: Hrvoje Niksic Newsgroups: gmane.emacs.gnus.general Subject: Re: Idleness Date: 17 Nov 1997 22:41:43 +0100 Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035152312 6005 80.91.224.250 (20 Oct 2002 22:18:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:18:32 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id PAA15878 for ; Mon, 17 Nov 1997 15:03:33 -0800 Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by xemacs.org (8.8.5/8.8.5) with ESMTP id RAA03349 for ; Mon, 17 Nov 1997 17:03:55 -0600 (CST) Original-Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130]) by ifi.uio.no (8.8.7/8.8.7/ifi0.2) with ESMTP id WAA21023 for ; Mon, 17 Nov 1997 22:41:49 +0100 (MET) Original-Received: (from hniksic@localhost) by jagor.srce.hr (8.8.8/8.8.8) id WAA09828; Mon, 17 Nov 1997 22:41:43 +0100 (MET) Original-To: ding@ifi.uio.no X-Attribution: Hrvoje X-Face: Mie8:rOV<\c/~z{s.X4A{!?vY7{drJ([U]0O=W/xDi&N7XG KV^$k0m3Oe/)'e%3=$PCR&3ITUXH,cK>]bci&Ff%x_>1`T(+M2Gg/fgndU%k*ft [(7._6e0n-V%|%'[c|q:;}td$#INd+;?!-V=c8Pqf}3J In-Reply-To: Stainless Steel Rat's message of "17 Nov 1997 15:02:28 -0500" Original-Lines: 30 X-Mailer: Quassia Gnus v0.12/XEmacs 20.3(beta94) - "Madrid" Xref: main.gmane.org gmane.emacs.gnus.general:12846 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:12846 Stainless Steel Rat writes: > >>>>> "Hrvoje" == Hrvoje Niksic writes: > > Hrvoje> I don't see the difference between running a function every N > Hrvoje> seconds _after_ Emacs has been idle, and running a function every > Hrvoje> time Emacs has been idle for N seconds. Could you please explain > Hrvoje> it to me? > > In the first case the function will run repeatedly every N seconds, > starting after Emacs has been idle for Y seconds. In the second > case the function will run once after Emacs has been idle for N > seconds. I see the difference now; thanks for the explanation. But I must be still missing something, because I don't yet understand why Gnus needs the hack. The FSFmacs `run-with-idle-timer' should behave as desired when the REPEAT argument is nil: run-with-idle-timer is an interactive autoloaded Lisp function in `timer'. Perform an action the next time Emacs is idle for SECS seconds. If REPEAT is non-nil, do this each time Emacs is idle for SECS seconds. The same goes for XEmacs' `start-itimer'... -- Hrvoje Niksic | Student at FER Zagreb, Croatia --------------------------------+-------------------------------- Ask not for whom the tolls.