Gnus development mailing list
 help / color / mirror / Atom feed
* spam.el/spam-report.el: Gmane spam reporting broken in No Gnus
@ 2005-09-08 15:07 Reiner Steib
  2005-09-20 16:38 ` Ted Zlatanov
  0 siblings, 1 reply; 7+ messages in thread
From: Reiner Steib @ 2005-09-08 15:07 UTC (permalink / raw)


Hi,

spam reporting for gmane.* groups is broken in the trunk.  Here's a
minimal setup:

--8<---------------cut here---------------start------------->8---
(setq
 spam-report-gmane-use-article-number nil
 spam-report-url-ping-function 'spam-report-url-to-file)
 gnus-parameters '(("^gmane\\."
		    (spam-process
		     (gnus-group-spam-exit-processor-report-gmane)))))
(spam-initialize)
--8<---------------cut here---------------end--------------->8---

To reproduce:

Enter gmane.emacs.bugs, find a spam article, mark it with `S x', quit
the group with `q'.

Expected behavior (*Messages* buffer):

,----[ v5-10 branch ]
| Exiting summary buffer and applying spam rules
| Registering 1  articles with classification spam, check spam-use-gmane
| Reporting spam article 3981 to spam.gmane.org...
| Reporting spam through URL http://spam.gmane.org/gmane.emacs.bugs/12939...
`----

Current behavior (*Messages* buffer):

,----[ No Gnus ]
| Exiting summary buffer and applying spam rules
| Registering 1 specific articles as spam using backend spam-use-move
| 1 spam messages were registered by backend spam-use-move.
`----

It's an NNTP group, so "move" makes no sense.  No report URL is put
into `spam-report-requests-file'.  The function `spam-report-gmane' is
not called at all.

I guess the problem is related to the changes WRT
`spam-summary-exit-behavior' and `spam-group-processor-p'.  But I
don't grok how it's supposed to work.

I found out, that the Gmane entry has been removed from
`spam-list-of-processors' ("The OBSOLETE `spam-list-of-processors'
list."), but re-adding it didn't help:

--8<---------------cut here---------------start------------->8---
--- spam.el	26 Aug 2005 14:10:04 +0200	7.72
+++ spam.el	08 Sep 2005 16:13:37 +0200	
@@ -1237,7 +1237,8 @@
 
 (defvar spam-list-of-processors
   ;; note the nil processors are not defined in gnus.el
-  '((gnus-group-spam-exit-processor-bogofilter   spam spam-use-bogofilter)
+  '((gnus-group-spam-exit-processor-report-gmane spam spam-use-gmane)
+    (gnus-group-spam-exit-processor-bogofilter   spam spam-use-bogofilter)
     (gnus-group-spam-exit-processor-bsfilter	 spam spam-use-bsfilter)
     (gnus-group-spam-exit-processor-blacklist    spam spam-use-blacklist)
     (gnus-group-spam-exit-processor-ifile        spam spam-use-ifile)
--8<---------------cut here---------------end--------------->8---

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-10-04 18:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-08 15:07 spam.el/spam-report.el: Gmane spam reporting broken in No Gnus Reiner Steib
2005-09-20 16:38 ` Ted Zlatanov
2005-09-20 18:19   ` Reiner Steib
2005-09-21 14:45     ` Ted Zlatanov
2005-09-21 16:51       ` Reiner Steib
2005-09-22 12:20         ` Reiner Steib
2005-10-04 18:18           ` Ted Zlatanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).