From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/31344 Path: main.gmane.org!not-for-mail From: Johan Parin Newsgroups: gmane.emacs.gnus.general Subject: Re: IMAP Questions Date: 06 Jun 2000 22:02:33 +0200 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 1035167766 13464 80.91.224.250 (21 Oct 2002 02:36:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:36:06 +0000 (UTC) Cc: Ding Mailing List Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by mailhost.sclp.com (Postfix) with ESMTP id 57003D051E for ; Tue, 6 Jun 2000 16:00:37 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.3/8.9.3) with ESMTP id OAC03343; Tue, 6 Jun 2000 14:59:28 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 06 Jun 2000 14:58:24 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id OAA15413 for ; Tue, 6 Jun 2000 14:58:14 -0500 (CDT) Original-Received: from tor.abc.se (ns.abc.se [195.17.72.11]) by mailhost.sclp.com (Postfix) with ESMTP id D7CB0D051E for ; Tue, 6 Jun 2000 15:58:39 -0400 (EDT) Original-Received: from johanspc.abc.se (dialup-28 [195.17.73.28]) by tor.abc.se (8.9.1b+Sun/8.9.1) with SMTP id VAA17088 for ; Tue, 6 Jun 2000 21:58:36 +0200 (MET DST) Original-Newsgroups: gnu.emacs.gnus Original-Lines: 34 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (20 Minutes to Nikko) In-Reply-To: Simon Josefsson's message of "06 Jun 2000 17:38:33 +0200" Posted-To: gnu.emacs.gnus Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:31344 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:31344 The following message is a courtesy copy of an article that has been posted to gnu.emacs.gnus as well. "Simon" == Simon Josefsson writes: Simon> Johan Parin writes: >> (gnus-demon-add-handler 'gnus-demon-scan-mail 2 nil) >> >> However, this does not work. I did some debugging and I can see >> that nnml-request-scan is called. New mail is not fetched >> however. I'll probably do some more debugging when I come home >> tonight, but any suggestions are welcome. Simon> This sound as a generic problem, not related to imap. You're right. Tried it at home, where I'm using pop, and it's the same problem. I hope I'm not misunderstanding something - I mean gnus-demon-scan-mail _is_ supposed to fetch new mail, right? Anyway, I did some more debugging and what happens is that when nnmail-get-new-mail is called from the demon, nnmail-fetched-sources is nil. This means that the 'when fetching-sources' form where the mail is actually fetched will not be run. When I hit g in the group buffer, on the other hand nnmail-fetched-sources is bound in the first let binding of gnus-group-get-new-news, which means that mail is fetched. Not quite sure how this is supposed to work, but at the moment it doesn't. - Johan -- Johan Parin "Lisp is a programmable programming language" - John Foderaro