From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/56249 Path: main.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: [spam-report.el] Offline Gmane spam reporting Date: Mon, 02 Feb 2004 15:10:19 -0500 Organization: =?koi8-r?q?=F4=C5=CF=C4=CF=D2=20=FA=CC=C1=D4=C1=CE=CF=D7?= @ Cienfuegos Sender: ding-owner@lists.math.uh.edu Message-ID: <4n7jz51bv8.fsf@collins.bwh.harvard.edu> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1075752717 4442 80.91.224.253 (2 Feb 2004 20:11:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 2 Feb 2004 20:11:57 +0000 (UTC) Original-X-From: ding-owner+M4789=ding+2Daccount=gmane.org@lists.math.uh.edu Mon Feb 02 21:11:53 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AnkQD-0005dq-00 for ; Mon, 02 Feb 2004 21:11:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1AnkQC-0006xW-01 for ding-account@gmane.org; Mon, 02 Feb 2004 14:11:52 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AnkQ7-0006xP-00 for ding@lists.math.uh.edu; Mon, 02 Feb 2004 14:11:47 -0600 Original-Received: from clifford.bwh.harvard.edu (clifford.bwh.harvard.edu [134.174.9.41]) by justine.libertine.org (Postfix) with ESMTP id 2662F3A01F5 for ; Mon, 2 Feb 2004 14:11:47 -0600 (CST) Original-Received: from collins.bwh.harvard.edu (collins [134.174.9.80]) by clifford.bwh.harvard.edu (8.10.2+Sun/8.11.0) with ESMTP id i12KASU09943 for ; Mon, 2 Feb 2004 15:10:29 -0500 (EST) Original-Received: from collins.bwh.harvard.edu (localhost [127.0.0.1]) by collins.bwh.harvard.edu (8.12.9+Sun/8.11.0) with ESMTP id i12KAJvl016388 for ; Mon, 2 Feb 2004 15:10:19 -0500 (EST) Original-Received: (from tzz@localhost) by collins.bwh.harvard.edu (8.12.9+Sun/8.12.9/Submit) id i12KAJBu016385; Mon, 2 Feb 2004 15:10:19 -0500 (EST) Original-To: ding@gnus.org X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Followup-To: ding@gnus.org In-Reply-To: (Reiner Steib's message of "Sun, 01 Feb 2004 15:35:31 +0100") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (usg-unix-v) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:56249 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:56249 On Sun, 01 Feb 2004, 4.uce.03.r.s@nurfuerspam.de wrote: > when I'm reading Gmane groups offline, I cannot use the spam-report > functions. Wouldn't it be nice to collect the requests (the URLs) > in a file and use them later when online? > > The new function `spam-report-url-to-file' collects the request in a > file, see the attached patch[1]. I also added a custom choice in > `spam-report-url-ping-function' to insert a user defined function > and tried to improve the doc-string of this variable. Very nice, thank you. Go ahead and apply, but make sure you also update gnus.el so the new spam-report function is an available spam processor. Let me know if you need help with any of it. > I'm not sure if we should use `spam-directory' or `gnus-directory' > in the default value of `spam-report-requests-file'. Is > `spam-report.el' supposed to be independent from `spam.el'? At > least it doesn't require it. Somehow related to this: I think > `spam.el' should _not_ hard-code "~/News/spam/" as `spam-directory' > but use `gnus-directory'[2] instead, see its doc-string. I would use spam-directory. I definitely think spam-directory should be different from gnus-directory, because of the high volume of data that can accumulate in the blacklists for instance. The default should be (format "%s/spam" gnus-directory) so users can override it iff they want to. Do you agree? > I didn't care about code for using the requests file when being > online (yet). Personally, I would just use... > > file=~/News/spam-report-requests.url > GET `cat file` && : > file > > ... from the shell (or some ip-up script). But we may also add an > interactive lisp function for that (loop over all lines in the file, > use `spam-report-url-ping-plain' and erase the file when done). I agree with Kai, this should be doable when Gnus becomes plugged. GET and such are not always available, and there's no need to complicate the user's life. The manual should say "if you want to queue reports and you use the Agent, do (add-hook...". Let me know which parts of the above you want me to do. Thanks! Ted