[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Messages "checking mailbox foo" and "updating info for mailbox bar"



Kai.Grossjohann@CS.Uni-Dortmund.DE writes:

> When I hit `g', I see messages "checking mailbox foo" for a number of
> mailboxes, and then I see "updating info for mailbox bar" for a
> different number of mailboxes.  The two sets seem to be disjoint
> (though I'm not sure).
> 
> What is nnimap doing at those two times and which mailboxes does it
> check and for which mailboxes does it update info?
> 
> The "checking" part seems to be quite a bit faster than the "updating
> info" part.

There should be no "updating info for mailbox" messages. I'll explain
the differences first.

checking mailbox:
        Just finds out how many articles there are in the mailbox,
        this is done in `nnimap-retrieve-groups'.

updating info for mailbox:
        Fetches all flags in mailbox from server and updates the Gnus
        info, this is done by `nnimap-request-group'.

Can you have a look in the server buffer ('^' from *Group*)? I'd bet
you've got some strange looking servers such as
'nnimap+foo+nnimap:mailbox' or something.

This is due to a bug in `gnus-server-extend-method'. I don't
understand what that function is good for at all so I've just removed
the call to it and have been just fine for the last 20-30 PGnus
versions.

--- /tmp/jas/pgnus-0.86/lisp/gnus.el    Sun Jun 13 09:30:50 1999
+++ pgnus-0.86/lisp/gnus.el     Sun Jun 13 15:58:42 1999
@@ -2726,8 +2726,6 @@
          (setq method
                (cond ((stringp method)
                       (inline (gnus-server-to-method method)))
-                     ((stringp (cadr method))
-                      (inline (gnus-server-extend-method group method)))
                      (t
                       method)))
          (cond ((equal (cadr method) "")