Synch to Gnus 200401070417.
authoryamaoka <yamaoka>
Wed, 7 Jan 2004 04:24:54 +0000 (04:24 +0000)
committeryamaoka <yamaoka>
Wed, 7 Jan 2004 04:24:54 +0000 (04:24 +0000)
lisp/ChangeLog
lisp/spam.el

index 05d634c..c71bd7a 100644 (file)
@@ -1,3 +1,7 @@
+2004-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * spam.el (spam-report-articles-gmane): New command.
+
 2004-01-07  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * gnus.el: Don't make unnecessary *Group* buffer when loading.
index 2dc1c38..0b9e9e2 100644 (file)
@@ -572,6 +572,14 @@ spam-use-* variable.")
 (defun spam-group-ham-processor-spamoracle-p (group)
   (spam-group-processor-p group 'gnus-group-ham-exit-processor-spamoracle))
 
+(defun spam-report-articles-gmane (n)
+  "Report the current message as spam.
+Respects the process/prefix convention."
+  (interactive "P")
+  (dolist (article (gnus-summary-work-articles n))
+    (gnus-summary-remove-process-mark article)
+    (spam-report-gmane article)))
+
 ;;; Summary entry and exit processing.
 
 (defun spam-summary-prepare ()