From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81493 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Peter_M=C3=BCnster?= Newsgroups: gmane.emacs.gnus.general Subject: Re: [PATCH] Daemon, don't wait another timer period, when idleness is too low. Date: Wed, 29 Feb 2012 08:18:16 +0100 Message-ID: <871upeumyv.fsf@micropit.couberia.bzh> References: <87linma7g1.fsf@micropit.couberia.bzh> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1330499976 2902 80.91.229.3 (29 Feb 2012 07:19:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 29 Feb 2012 07:19:36 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M29773@lists.math.uh.edu Wed Feb 29 08:19:32 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S2dow-00045I-9m for ding-account@gmane.org; Wed, 29 Feb 2012 08:19:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1S2do4-0006gZ-KM; Wed, 29 Feb 2012 01:18:36 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1S2do2-0006gP-VD for ding@lists.math.uh.edu; Wed, 29 Feb 2012 01:18:34 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1S2do1-0007kC-Et for ding@lists.math.uh.edu; Wed, 29 Feb 2012 01:18:34 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1S2dnz-0001mG-EN for ding@gnus.org; Wed, 29 Feb 2012 08:18:31 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S2dnw-0003It-9m for ding@gnus.org; Wed, 29 Feb 2012 08:18:28 +0100 Original-Received: from arennes-359-1-256-163.w2-2.abo.wanadoo.fr ([2.2.207.163]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Feb 2012 08:18:28 +0100 Original-Received: from pmlists by arennes-359-1-256-163.w2-2.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Feb 2012 08:18:28 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 9 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: arennes-359-1-256-163.w2-2.abo.wanadoo.fr User-Agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.0.93 (gnu/linux) Cancel-Lock: sha1:Xf3AJ5pbTS3sZLs0WjBoOn50e2c= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81493 Archived-At: Motivation for this patch: When calling "(gnus-demon-add-handler 'task 200 15)" and after each period of 200 minutes the idle time is lower than 15 minutes, the task is never called, which can be annoying. This patch tries to solve the problem for the case when the time is a number of minutes. Nothing changes for a time-string. -- Peter