From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/17711 Path: news.gmane.org!not-for-mail From: Brady Trainor Newsgroups: gmane.emacs.gnus.user Subject: Re: Problem trying to get new email every 10 minutes automatically Date: Sun, 18 Oct 2015 17:21:25 -0700 Message-ID: References: <84eggs61za.fsf@example.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1445214111 13682 80.91.229.3 (19 Oct 2015 00:21:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Oct 2015 00:21:51 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Mon Oct 19 02:21:42 2015 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZnyCs-0004E8-1J for gegu-info-gnus-english@m.gmane.org; Mon, 19 Oct 2015 02:21:42 +0200 Original-Received: from localhost ([::1]:35991 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZnyCr-0002zi-32 for gegu-info-gnus-english@m.gmane.org; Sun, 18 Oct 2015 20:21:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51740) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZnyCp-0002zc-4e for info-gnus-english@gnu.org; Sun, 18 Oct 2015 20:21:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZnyCm-0007i8-1f for info-gnus-english@gnu.org; Sun, 18 Oct 2015 20:21:39 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:41120) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZnyCl-0007hu-QJ for info-gnus-english@gnu.org; Sun, 18 Oct 2015 20:21:35 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZnyCi-000496-Qj for info-gnus-english@gnu.org; Mon, 19 Oct 2015 02:21:32 +0200 Original-Received: from 71-35-105-52.tukw.qwest.net ([71.35.105.52]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 19 Oct 2015 02:21:32 +0200 Original-Received: from algebrat by 71-35-105-52.tukw.qwest.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 19 Oct 2015 02:21:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 46 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 71-35-105-52.tukw.qwest.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:x2mLwh8G2qwDmtWWCSpkh3Or/YI= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:17711 Archived-At: David Hume writes: > cseberino@gmail.com writes: > >> >> (gnus-demon-add-handler 'gnus-demon-scan-news 10 t) > > My guess is it is using run-with-idle-timer which behaves differently > from what you would expect. If you do nothing in emacs for 10 minutes it > might get mail. But if you press a key the timer is reset. Also I think > after it has got mail it doesn't set the idle timer going again unless > you do something. > [...] Right, "If IDLE is t, only call each time Emacs has been idle for TIME." from, ,----[ C-h v gnus-demon-handlers RET ] | gnus-demon-handlers is a variable defined in `gnus-demon.el'. | Its value is nil | | Documentation: | Alist of daemonic handlers to be run at intervals. | Each handler is a list on the form | | (FUNCTION TIME IDLE) | | FUNCTION is the function to be called. TIME is the number of | `gnus-demon-timestep's between each call. | If nil, never call. If t, call each `gnus-demon-timestep'. | | If IDLE is t, only call each time Emacs has been idle for TIME. | If IDLE is a number, only call when Emacs has been idle more than | this number of `gnus-demon-timestep's. | If IDLE is nil, don't care about idleness. | If IDLE is a number and TIME is nil, then call once each time | Emacs has been idle for IDLE `gnus-demon-timestep's. | | You can customize this variable. | | [back] `---- -- Brady