From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/57256 Path: main.gmane.org!not-for-mail From: Nelson Ferreira Newsgroups: gmane.emacs.gnus.general Subject: News server connection not reopening on demon handler Date: Mon, 10 May 2004 09:47:45 -0400 Sender: ding-owner@lists.math.uh.edu Message-ID: <21938.9089420021$1084206001@news.gmane.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1084206001 922 80.91.224.253 (10 May 2004 16:20:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 10 May 2004 16:20:01 +0000 (UTC) Original-X-From: ding-owner+M5795@lists.math.uh.edu Mon May 10 15:49:33 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BNB9w-0002BJ-00 for ; Mon, 10 May 2004 15:49:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1BNB8O-0004sC-00; Mon, 10 May 2004 08:47:56 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BNB8G-0004s4-00 for ding@lists.math.uh.edu; Mon, 10 May 2004 08:47:48 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BNB8E-0002nA-VU for ding@lists.math.uh.edu; Mon, 10 May 2004 08:47:46 -0500 Original-Received: from tuxie.homelinux.net (pool-68-237-97-60.ny325.east.verizon.net [68.237.97.60]) by justine.libertine.org (Postfix) with ESMTP id 179563A0034 for ; Mon, 10 May 2004 08:47:46 -0500 (CDT) Original-Received: (from njsf@localhost) by tuxie.homelinux.net (8.11.6/8.9.3) id i4ADljt01605; Mon, 10 May 2004 08:47:45 -0500 X-Msgid-Archive-Tag: _-nf--_xmat_-m:gnus_--- Original-To: ding@gnus.org X-Attribution: njsf User-Agent: Gnus/5.110003 (No Gnus v0.3) XEmacs/21.5 (chayote, linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:57256 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:57256 Hi All, For some time now I've notice my usual demon-handler for getting news does not reopen the connection to the news server, which of course makes it close to useless. Here is the relevant snippet. Am I missing some step, should I do it differently now ? Should I check some variable ? (require 'gnus-demon) (setq gnus-demon-timestep 1) (gnus-demon-add-handler 'njsf-gnus-demon-scan-mail 480 240) (gnus-demon-add-handler 'gnus-demon-scan-update-news 540 480) (gnus-demon-add-handler 'gnus-save-newsrc-file 1800 600) (gnus-demon-add-handler 'gnus-group-expire-all-groups 86400 10800) (defun njsf-gnus-demon-scan-mail () (when (gnus-alive-p) (save-window-excursion (save-excursion (set-buffer gnus-group-buffer) (gnus-group-get-new-news 2))))) (defun gnus-demon-scan-update-news () (when (gnus-alive-p) (save-window-excursion (save-excursion (set-buffer gnus-group-buffer) (gnus-group-get-new-news 5))))) (add-hook 'gnus-startup-hook 'gnus-demon-init) Thanks, Nelson -- Nelson Ferreira