From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/21192 Path: main.gmane.org!not-for-mail From: Dmitry Yaitskov Newsgroups: gmane.emacs.gnus.general Subject: Re: Background mail scannig? - works now, kinda... Date: 13 Feb 1999 11:57:25 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035159345 21762 80.91.224.250 (21 Oct 2002 00:15:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:15:45 +0000 (UTC) Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id LAA09311 for ; Sat, 13 Feb 1999 11:57:52 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id KAB02903; Sat, 13 Feb 1999 10:56:32 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 13 Feb 1999 10:57:14 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id KAA04901 for ; Sat, 13 Feb 1999 10:57:02 -0600 (CST) Original-Received: from mail.rdc1.on.home.com (imail@ha1.rdc1.on.wave.home.com [24.2.9.66]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id LAA09284 for ; Sat, 13 Feb 1999 11:56:54 -0500 (EST) Original-Received: from LUCY ([24.65.93.139]) by mail.rdc1.on.home.com (InterMail v4.00.03 201-229-104) with SMTP id <19990213165631.HWPL27696.mail.rdc1.on.home.com@LUCY> for ; Sat, 13 Feb 1999 08:56:31 -0800 Original-To: Ding In-Reply-To: Dmitry Yaitskov's message of "12 Feb 1999 14:45:54 -0500" Original-Lines: 38 User-Agent: Gnus/5.070076 (Pterodactyl Gnus v0.76) XEmacs/21.2(beta10) (Boreas) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:21192 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:21192 Dmitry Yaitskov writes: > Hi, > > My gnus mail setup includes 2 pop servers. Normal (foreground) > scanning works fine. But when I did: > > (gnus-demon-add-handler 'gnus-demon-scan-mail 4 nil) > > I *do* see the message from nnml that it is reading mail from pop each > 4 minutes, but it does not actually retrieve any mail, seems like it's > not doing anything at all besides printing the message. What am I > missing? Thanks. (Using v 0.76.) After fiddling with it a bit, I noticed that manually executing (gnus-demon-scan-mail) complains about non-existent variable nnmail-fetched-sources. After I "manually" executed (defvar nnmail-fetched-sources nil) in my scratch buffer, the demonic mail fetching started to work. I do not know lisp, so am not sure what exactly is the problem here. Another problem with this is: if the group buffer (with the list of all groups) is open (i.e. I have gnus "running"), it is not updated by gnus-demon-scan-mail, even when it does fetch new mail. I am not sure if this is intentional or not. BTW, even after a normal check for new news in the main gnus buffer, if a group summary buffer already exists, and a new article arrives in that group, the group summary buffer is not updated I think. Should be, don't you think? And yet another problem is this: when the demonic mail fetching is in progress, emacs momentarily "hangs", not reacting to key presses till the background process is over. Is this inherent to emacs? (I am using Gnus v0.76, xemacs 21.2 on NT.) -- Cheers, -Dima.