Select the group when we don't know whether it exists or not.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Mon, 1 Nov 2010 18:38:42 +0000 (19:38 +0100)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Mon, 1 Nov 2010 18:38:42 +0000 (19:38 +0100)
lisp/ChangeLog
lisp/nnimap.el

index 5809d5c..4bb5723 100644 (file)
@@ -1,6 +1,8 @@
 2010-11-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * nnimap.el (nnimap-request-group): Store the new updated info.
+       (nnimap-request-group): Select the group when we don't know whether it
+       exists or not.
 
        * gnus-start.el (gnus-ask-server-for-new-groups): Return the new
        groups.
index 3d1002b..ef7831c 100644 (file)
@@ -669,7 +669,8 @@ textual parts.")
   (let ((result (nnimap-possibly-change-group
                 ;; Don't SELECT the group if we're going to select it
                 ;; later, anyway.
-                (if dont-check
+                (if (and dont-check
+                         (assoc group nnimap-current-infos))
                     nil
                   group)
                 server))