From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/56234 Path: main.gmane.org!not-for-mail From: Reiner Steib <4.uce.03.r.s@nurfuerspam.de> Newsgroups: gmane.emacs.gnus.general Subject: Re: [spam-report.el] Offline Gmane spam reporting Date: Mon, 02 Feb 2004 00:40:56 +0100 Sender: ding-owner@lists.math.uh.edu Message-ID: References: <87r7xe5vjt.fsf@emptyhost.emptydomain.de> Reply-To: Reiner Steib NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1075680470 7135 80.91.224.253 (2 Feb 2004 00:07:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 2 Feb 2004 00:07:50 +0000 (UTC) Original-X-From: ding-owner+M4774=ding+2Daccount=gmane.org@lists.math.uh.edu Mon Feb 02 01:07:41 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 1AnRcr-0004Qy-00 for ; Mon, 02 Feb 2004 01:07:41 +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 1AnRcq-0003Vi-01 for ding-account@gmane.org; Sun, 01 Feb 2004 18:07:40 -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 1AnRch-0003VY-00 for ding@lists.math.uh.edu; Sun, 01 Feb 2004 18:07:31 -0600 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id 0ABDE3A0059 for ; Sun, 1 Feb 2004 18:07:31 -0600 (CST) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AnRcd-0004Mh-00 for ; Mon, 02 Feb 2004 01:07:29 +0100 Original-Received: from b0cc0.b.pppool.de ([213.7.12.192]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon Feb 2 00:07:29 2004 Original-Received: from reiner.steib by b0cc0.b.pppool.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon Feb 2 00:07:29 2004 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Original-Lines: 35 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: b0cc0.b.pppool.de X-Face: .*T0'iU(sujq_j9\J>-d4fg;N/1++U#U$_5ii6k.=|"-n'?5O:Hyz&wi'-!I~,}7~GgT=0S /&-R5sbkNy5+Xo1y{Tw2KKxi@Xh"g@]Qc|.U<*]WDd)qvGowFDvfU1F]{EDho:7P0@|oOD=Bc{K4?> WP68K[Mx:}=`ZT'6g4'f+g?;`vri2!)xGy}3:=l'(/Cea0l4lo^H5#@/Z3ev Mail-Copies-To: nobody User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:ORhLfG16OEo9213cHGcV5o/plHs= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:56234 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:56234 On Sun, Feb 01 2004, Kai Grossjohann wrote: > Reiner Steib <4.uce.03.r.s@nurfuerspam.de> writes: >> 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). Let's call this function `spam-report-process-queue' for now. > All of what you have suggested is Good Stuff. > > But the real killer would be integration with the agent: arrange it so > that reports are processed right away when online, and that they are > processed when sending the queue or something when offline. I'm not familiar with the agent (I don't use it), but I guess this would be quite easy. Maybe like this: (add-to-list 'gnus-agent-plugged-hook (lambda () (spam-report-process-queue);; not implemented yet. (setq spam-report-url-ping-function 'spam-report-url-ping-plain))) (add-to-list 'gnus-agent-unplugged-hook (lambda () (setq spam-report-url-ping-function 'spam-report-url-to-file))) Or am I missing something? Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/