+2004-05-26 Teodor Zlatanov <tzz@lifelogs.com>
+
+ * spam.el (spam-mark-junk-as-spam-routine)
+ (spam-mark-new-messages-in-spam-group-as-spam): allow user to
+ disable assigning the spam-mark to new messages
+
2004-05-26 Katsumi Yamaoka <yamaoka@jpl.org>
* dgnushack.el: Autoload customize-set-variable for XEmacs.
:type 'boolean
:group 'spam)
+(defcustom spam-mark-new-messages-in-spam-group-as-spam t
+ "Whether new messages in a spam group should get the spam-mark."
+ :type 'boolean
+ :group 'spam)
+
(defcustom spam-process-ham-in-nonham-groups nil
"Whether ham should be processed in non-ham groups."
:type 'boolean
(let ((articles (if spam-mark-only-unseen-as-spam
gnus-newsgroup-unseen
gnus-newsgroup-unreads)))
- (dolist (article articles)
- (gnus-summary-mark-article article gnus-spam-mark)))))
+ (if spam-mark-new-messages-in-spam-group-as-spam
+ (dolist (article articles)
+ (gnus-summary-mark-article article gnus-spam-mark))
+ (gnus-message 9 "Did not mark new messages as spam.")))))
(defun spam-mark-spam-as-expired-and-move-routine (&rest groups)
(if (and (car-safe groups) (listp (car-safe groups)))