From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/56904 Path: main.gmane.org!not-for-mail From: asjo@koldfront.dk (=?iso-8859-1?q?Adam_Sj=F8gren?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: CRM114 Mailfilter and spam.el Date: Sat, 03 Apr 2004 23:48:08 +0200 Organization: koldfront - analysis & revolution, Copenhagen, Denmark Sender: ding-owner@lists.math.uh.edu Message-ID: <87fzbkvilj.fsf@virgil.koldfront.dk> References: <87isgjpggh.fsf@virgil.koldfront.dk> <87wu4ysxum.fsf@emptyhost.emptydomain.de> <87lllegya2.fsf@virgil.koldfront.dk> <4nwu4y47zv.fsf@lifelogs.com> <87oeq8kbs9.fsf@virgil.koldfront.dk> <87k70wkbdx.fsf@virgil.koldfront.dk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1081028898 21638 80.91.224.253 (3 Apr 2004 21:48:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 3 Apr 2004 21:48:18 +0000 (UTC) Original-X-From: ding-owner+M5443@lists.math.uh.edu Sat Apr 03 23:48:13 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 1B9szt-0005of-00 for ; Sat, 03 Apr 2004 23:48:13 +0200 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 1B9szf-0004Q8-00; Sat, 03 Apr 2004 15:47:59 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1B9szX-0004Q2-00 for ding@lists.math.uh.edu; Sat, 03 Apr 2004 15:47:51 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1B9szX-0007HV-4I for ding@lists.math.uh.edu; Sat, 03 Apr 2004 15:47:51 -0600 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id 10CDA3A0039 for ; Sat, 3 Apr 2004 15:47:50 -0600 (CST) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1B9szV-0000L9-00 for ; Sat, 03 Apr 2004 23:47:49 +0200 Original-Received: from finn.gmane.org ([80.91.224.251]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 03 Apr 2004 23:47:49 +0200 Original-Received: from asjo by finn.gmane.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 03 Apr 2004 23:47:49 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 37 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: finn.gmane.org X-Face: &DfBw60^ZxI8hd?J%t&_8wW?SLF%BBx<2XQ+sXYpX!?{=0C?9D{Nc`;Eq<0d=-L User-Agent: Gnus/5.110002 (No Gnus v0.2) XEmacs/21.4 (Security Through Obscurity, linux) Cancel-Lock: sha1:2IsgFUNWSz55T+X/Yj8WrQj9hVE= X-Spam-Score: -4.9 (----) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:56904 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:56904 On Sat, 03 Apr 2004 23:19:22 +0200, Adam wrote: > On Sat, 03 Apr 2004 23:10:46 +0200, Adam wrote: >> On Fri, 02 Apr 2004 12:14:44 -0500, Ted wrote: >>>> I've only got the "ham-marked articles in nnml:spam should be >>>> moved as well as processed"-problem left. >>> See spam-ham-copy-or-move-routine for the exact mechanics of this. I'm stepping through it with edebug-defun, and I don't understand quite how it all fits together. It looks like "todo" is first set to a list of the article numbers to process, but then set to nil: (defun spam-ham-copy-or-move-routine (copy groups) (gnus-summary-kill-process-mark) (let ((todo (spam-list-articles gnus-newsgroup-articles 'ham)) (backend-supports-deletions (gnus-check-backend-function 'request-move-article gnus-newsgroup-name)) (respool-method (gnus-find-method-for-group gnus-newsgroup-name)) article mark todo deletep respool) When I step through it "todo" is (43567) at first, but if I look at todo later on, it's nil. I'm wondering about the last quoted line above "article mark todo deletep respool" - maybe todo shouldn't be there? Please advise. (My lack of elisp grasp shows again :-)) Best regards, --=20 "Mr. Cotton's... parrot. Same question." Adam Sj=F8gren asjo@koldfront.dk