(nnimap-request-expire-articles): Compress sequence
authorSimon Josefsson <jas@extundo.com>
Mon, 18 Nov 2002 08:48:18 +0000 (08:48 +0000)
committerSimon Josefsson <jas@extundo.com>
Mon, 18 Nov 2002 08:48:18 +0000 (08:48 +0000)
before storing \Deleted mark on expired articles.

lisp/ChangeLog
lisp/nnimap.el

index a18186d..ebf2dea 100644 (file)
@@ -1,3 +1,8 @@
+2002-11-18  Simon Josefsson  <jas@extundo.com>
+
+       * nnimap.el (nnimap-request-expire-articles): Compress sequence
+       before storing \Deleted mark on expired articles.
+
 2002-11-17   Markus Rost  <rost@math.ohio-state.edu>
 
        * gnus-sum.el (gnus-summary-goto-unread): Doc fix - escape open
index c9b4158..fc36934 100644 (file)
@@ -1366,7 +1366,8 @@ function is generally only called when Gnus is shutting down."
                   (when oldarts
                     (nnimap-expiry-target oldarts group server)
                     (when (imap-message-flags-add
-                           (imap-range-to-message-set oldarts) "\\Deleted")
+                           (imap-range-to-message-set 
+                            (gnus-compress-sequence oldarts)) "\\Deleted")
                       (setq articles (gnus-set-difference
                                       articles oldarts))))))
                ((numberp days)
@@ -1379,7 +1380,8 @@ function is generally only called when Gnus is shutting down."
                   (when oldarts
                     (nnimap-expiry-target oldarts group server)
                     (when (imap-message-flags-add
-                           (imap-range-to-message-set oldarts) "\\Deleted")
+                           (imap-range-to-message-set 
+                            (gnus-compress-sequence oldarts)) "\\Deleted")
                       (setq articles (gnus-set-difference 
                                       articles oldarts)))))))))))
   ;; return articles not deleted