From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/50682 Path: main.gmane.org!not-for-mail From: Andreas Fuchs Newsgroups: gmane.emacs.gnus.general Subject: Re: How do you make spam automatically move to spam group on exit? Date: Sat, 8 Mar 2003 13:21:58 +0000 (UTC) Sender: owner-ding@hpc.uh.edu Message-ID: <8765qu2dt2.fsf@eris.void.at> References: <4nheae3ng3.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 1047129794 12214 80.91.224.249 (8 Mar 2003 13:23:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 8 Mar 2003 13:23:14 +0000 (UTC) Original-X-From: owner-ding@hpc.uh.edu Sat Mar 08 14:23:13 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 18reID-0003Aj-00 for ; Sat, 08 Mar 2003 14:23:13 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18reHt-0001UX-00; Sat, 08 Mar 2003 07:22:53 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 08 Mar 2003 07:23:53 -0600 (CST) 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 HAA11895 for ; Sat, 8 Mar 2003 07:23:40 -0600 (CST) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18reH1-00037U-00 for ; Sat, 08 Mar 2003 14:21:59 +0100 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 18reH0-00037E-00 for ; Sat, 08 Mar 2003 14:21:58 +0100 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:iA8X15AjBOAdkkUYOCl5tockV9I= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:50682 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:50682 Today, Ted Zlatanov wrote: > Look at your ham marks - only those articles marked as ham (Unread > messages do not count!) will be processed as ham. Otherwise your > settings look OK. BTW, why do unread messages not count? My usage pattern is to move wrongly filed messages to the group in which they belong, because I'm using adaptive scoring; so, I would like to do starting from my spambox: 1. mark ham message as unread 2. exit group, have it moved to an intermediary group 4. move (ideally by B r) message to correct group. adding the unread mark to spam-ham-marks (in the spam group only) with: (add-hook 'gnus-summary-prepared-hook (lambda () (when (string-equal gnus-newsgroup-name "nnml+private:spambox") ; that's my spam-split-group name. (add-to-list (make-local-variable 'spam-spam-marks) 'gnus-expirable-mark) (add-to-list (make-local-variable 'spam-ham-marks) 'gnus-unread-mark) (setq spam-ham-marks (remove 'gnus-expirable-mark spam-ham-marks))))) works pretty well; although spam.el marks unread messages as read, somehow. Could that have something to do with registering them as ham when I exit the spam group? Thanks, -- Andreas Fuchs, , asf@jabber.at, antifuchs irc.freenode.net's #emacs - online emacs advice from IRC addicts