From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/51444 Path: main.gmane.org!not-for-mail From: Andreas Fuchs Newsgroups: gmane.emacs.gnus.general Subject: Re: How many people mark spam in gmane groups? Date: Mon, 14 Apr 2003 21:03:02 +0000 (UTC) Sender: owner-ding@hpc.uh.edu Message-ID: <87brz8aj0x.fsf@eris.void.at> References: <4n4r5aowwm.fsf@chubby.bwh.harvard.edu> <87llyfsoi6.fsf@eris.void.at> <877k9y1x96.fsf@eris.void.at> <4nvfxgri1d.fsf@lockgroove.bwh.harvard.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1050354280 8525 80.91.224.249 (14 Apr 2003 21:04:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 14 Apr 2003 21:04:40 +0000 (UTC) Original-X-From: owner-ding@hpc.uh.edu Mon Apr 14 23:04:38 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 195B81-0002DI-00 for ; Mon, 14 Apr 2003 23:04:37 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 195B7U-0002K1-00; Mon, 14 Apr 2003 16:04:04 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 14 Apr 2003 16:05:10 -0500 (CDT) Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id QAA23560 for ; Mon, 14 Apr 2003 16:04:55 -0500 (CDT) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 195B6V-00026k-00 for ; Mon, 14 Apr 2003 23:03:03 +0200 Mail-Followup-To: ding@hpc.uh.edu X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@hpc.uh.edu Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 195B6U-00026Z-00 for ; Mon, 14 Apr 2003 23:03:02 +0200 Original-Lines: 34 Original-X-Complaints-To: usenet@main.gmane.org Mail-Copies-To: never X-Url: http://asf.void.at/ X-Attribution: asf X-Face: 3*3w/y?I6|`'CYW7F~m0]U1)L\|[x"?/V6^;s3FU#q|F'AL(3C?$eslHvAmR:KjT"&LZeqM 0wMS%HM` Cancel-Lock: sha1:3tRn1OfSF+QsgObt+f6X7etjRb0= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:51444 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:51444 Today, Ted Zlatanov wrote: > I would suggest spam-report.el (considering that gnus-report.el is too > generic, this is really a spam reporting package). Other spam > reporting functions can go in it as needed. Good. > How does the following (untested) code look? > > (defun spam-report-gmane (article) > (when (string-match "^nntp+.*:gmane." gnus-newsgroup-name) [rest snipped] Looks good to me. Making a spam exit processor only for gmane groups would make the initial string-match in spam-report-gmane unnecessary, of course. > I took out the article-no nicety because I changed things around, and > print the article number instead - feel free to fix it. It's more useful the way you do it. > If you like this, I'll have spam.el load spam-report.el and provide a > spam exit processor that will do the right thing - to be consistent > with the rest of spam.el. I'm pretty sure we'll need to fix > assumptions spam.el makes about the backend (spam-process-destination > needs to be disabled, for instance), but overall I see no problem with > this and I think it's a good idea. Great. -- Andreas Fuchs, , asf@jabber.at, antifuchs irc.freenode.net's #emacs - online emacs advice from IRC addicts