From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/31352 Path: main.gmane.org!not-for-mail From: Johan Parin Newsgroups: gmane.emacs.gnus.general Subject: Mail Fetching (was: Re: IMAP Questions) Date: 07 Jun 2000 20:35:13 +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 1035167773 13515 80.91.224.250 (21 Oct 2002 02:36:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:36:13 +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 16C3BD051E for ; Wed, 7 Jun 2000 14:36:32 -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 NAC02818; Wed, 7 Jun 2000 13:32:18 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 07 Jun 2000 13:31:31 -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 NAA28775 for ; Wed, 7 Jun 2000 13:31:21 -0500 (CDT) Original-Received: from tor.abc.se (ns.abc.se [195.17.72.11]) by mailhost.sclp.com (Postfix) with ESMTP id 09004D051E for ; Wed, 7 Jun 2000 14:31:41 -0400 (EDT) Original-Received: from johanspc.abc.se (dialup-79 [195.17.73.79]) by tor.abc.se (8.9.1b+Sun/8.9.1) with SMTP id UAA16590; Wed, 7 Jun 2000 20:31:14 +0200 (MET DST) Original-To: Simon Josefsson In-Reply-To: Simon Josefsson's message of "07 Jun 2000 02:16:48 +0200" Original-Lines: 52 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (20 Minutes to Nikko) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:31352 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:31352 Simon Josefsson writes: Simon> Johan Parin writes: >> >> (gnus-demon-add-handler 'gnus-demon-scan-mail 2 nil) Simon> ... >> 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? Simon> Perhaps `gnus-demon-scan-news' is what you want? By the look Simon> of the code, `g-d-s-mail' only scan (ie perform splitting), Simon> and `g-d-s-news' does the same but also update the group Simon> buffer. g-d-s-news does the job alright but it's not what I want - I just want to fetch new mail, not news. I don't understand what it means to only perform splitting - what mail is split if no new mail is fetched? >> 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. Simon> This might work. Well, yes this fetches new mail, but the group buffer and overview files are not updated, so I can't see it. To actually see the mail I still have to press `g'. This is the same problem as with M-g when using topics. Mail is fetched but not seen. Of course I can use group levels instead of M-g to fetch just mail. But I still think this is a bug - or am I missing something? To get backrround mail fetching work I could write a special version of g-d-s-news which only fetches mail, I guess. Still don't know what g-d-s-mail is for as it is though. After these problems are solved though, remains getting the summary buffers to be updated *incrementally*. I.e. I want the new message to appear sorted in place (usually last) when it arrives if the summary buffer for that group is present. This is something other MUAs do - pretty standard. Is this possible (I think not), or is this not the Gnus way - should I use VM if I want this? :-( Johan -- Johan Parin "Lisp is a programmable programming language" - John Foderaro