From: Lars Magne Ingebrigtsen Date: Thu, 7 Oct 2010 19:57:23 +0000 (+0200) Subject: (nnimap-update-info): Don't ignore groups that have no UIDNEXT. X-Git-Url: http://cgit.sxemacs.org/?p=gnus;a=commitdiff_plain;h=9cbd7bc9b1f11055ebeeeb37fd5d10465f17cdb5 (nnimap-update-info): Don't ignore groups that have no UIDNEXT. This makes nnimap work properly on Courier again. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ce17ac728..535bccb66 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,6 +1,8 @@ 2010-10-07 Lars Magne Ingebrigtsen * nnimap.el (nnimap-update-info): Remove double setting of high. + (nnimap-update-info): Don't ignore groups that have no UIDNEXT. This + makes nnimap work properly on Courier again. * gnus.el (gnus-carpal): The carpal mode has been removed, but define the variable for backwards compatability. diff --git a/lisp/nnimap.el b/lisp/nnimap.el index 56a03922a..f8eb6659a 100644 --- a/lisp/nnimap.el +++ b/lisp/nnimap.el @@ -1016,8 +1016,10 @@ textual parts.") (defun nnimap-update-info (info marks) (when (and marks - ;; Ignore groups with no UIDNEXT values. - (nth 4 marks)) + ;; Ignore groups with no UIDNEXT/marks. This happens for + ;; completely empty groups. + (or (car marks) + (nth 4 marks))) (destructuring-bind (existing flags high low uidnext start-article permanent-flags) marks (let ((group (gnus-info-group info))