* nnimap.el: Fix problem with `g' chopping of low-numbered articles.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Wed, 10 Nov 2010 21:18:21 +0000 (22:18 +0100)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Wed, 10 Nov 2010 21:18:21 +0000 (22:18 +0100)
lisp/ChangeLog
lisp/nnimap.el

index 7ad6e58..fac82b2 100644 (file)
@@ -1,3 +1,8 @@
+2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * nnimap.el (nnimap-update-info): Fix problem with `g' chopping of
+       low-numbered articles.
+
 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * rfc2047.el (rfc2047-syntax-table): Simplify.
index 67e2c91..ed69c4c 100644 (file)
@@ -1155,13 +1155,16 @@ textual parts.")
                (not (gnus-active group)))
            (gnus-set-active group
                             (cond
+                             (active
+                              (cons (min (or low (car active))
+                                         (car active))
+                                    (max (or high (cdr active))
+                                         (cdr active))))
                              ((and low high)
                               (cons low high))
                              (uidnext
                               ;; No articles in this group.
                               (cons uidnext (1- uidnext)))
-                             (active
-                              active)
                              (start-article
                               (cons start-article (1- start-article)))
                              (t