(gnus-read-mark-p): added the spam-mark as a
authorTeodor Zlatanov <tzz@lifelogs.com>
Sun, 5 Jan 2003 22:24:21 +0000 (22:24 +0000)
committerTeodor Zlatanov <tzz@lifelogs.com>
Sun, 5 Jan 2003 22:24:21 +0000 (22:24 +0000)
"not-read" mark
(gnus-summary-mark-forward): added the spam-mark to the list of
marks not to be marked as "read" when viewed

lisp/ChangeLog
lisp/gnus-sum.el

index c7d2524..5dbf4f0 100644 (file)
@@ -1,3 +1,10 @@
+2003-01-05  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * gnus-sum.el (gnus-read-mark-p): added the spam-mark as a
+       "not-read" mark
+       (gnus-summary-mark-forward): added the spam-mark to the list of
+       marks not to be marked as "read" when viewed
+
 2003-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * gnus-msg.el (gnus-inews-make-draft): Quote article-reply. 
index ca63d10..c3b7324 100644 (file)
@@ -2855,6 +2855,7 @@ article number."
 This is all marks except unread, ticked, dormant, and expirable."
   (not (or (= mark gnus-unread-mark)
           (= mark gnus-ticked-mark)
+          (= mark gnus-spam-mark)
           (= mark gnus-dormant-mark)
           (= mark gnus-expirable-mark))))
 
@@ -9485,7 +9486,7 @@ If NO-EXPIRE, auto-expiry will be inhibited."
        (gnus-summary-goto-unread
         (and gnus-summary-goto-unread
              (not (eq gnus-summary-goto-unread 'never))
-             (not (memq mark (list gnus-unread-mark
+             (not (memq mark (list gnus-unread-mark gnus-spam-mark
                                    gnus-ticked-mark gnus-dormant-mark)))))
        (n (abs n))
        (mark (or mark gnus-del-mark)))