1 Feb 2004 15:35
[spam-report.el] Offline Gmane spam reporting
Reiner Steib <4.uce.03.r.s <at> nurfuerspam.de>
2004-02-01 14:35:31 GMT
2004-02-01 14:35:31 GMT
Hi, 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. 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 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). Unless there are objections, I will commit both patches along with an update for the manual.(Continue reading)




RSS Feed