(gnus-summary-catchup): Make sure downloadable,
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 17 Jan 2003 17:59:18 +0000 (17:59 +0000)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 17 Jan 2003 17:59:18 +0000 (17:59 +0000)
read articles don't become unread.

lisp/ChangeLog
lisp/gnus-sum.el

index 9b2c2ee..e883a7d 100644 (file)
@@ -1,3 +1,8 @@
+2003-01-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-sum.el (gnus-summary-catchup): Make sure downloadable,
+       read articles don't become unread.
+
 2003-01-17  Simon Josefsson  <jas@extundo.com>
 
        * gnus-fun.el (gnus-x-face-from-file): 
index f8594da..1065258 100644 (file)
@@ -9977,7 +9977,9 @@ The number of articles marked as read is returned."
                  (setq gnus-newsgroup-marked nil
                        gnus-newsgroup-spam-marked nil
                        gnus-newsgroup-dormant nil))
-               (setq gnus-newsgroup-unreads gnus-newsgroup-downloadable))
+               (setq gnus-newsgroup-unreads
+                     (gnus-intersection gnus-newsgroup-unreads
+                                        gnus-newsgroup-downloadable)))
            ;; We actually mark all articles as canceled, which we
            ;; have to do when using auto-expiry or adaptive scoring.
            (gnus-summary-show-all-threads)