From: Ted Zlatanov <tzz@lifelogs.com>
Subject: Re: spam.el moves /all/ read articles to my spam group!
Date: Fri, 14 Feb 2003 09:46:50 -0500 [thread overview]
Message-ID: <4n7kc2gbs5.fsf@lockgroove.bwh.harvard.edu> (raw)
In-Reply-To: <87wuk3wc7e.fsf@eris.void.at> (Andreas Fuchs's message of "Fri, 14 Feb 2003 07:29:13 +0000 (UTC)")
On Fri, 14 Feb 2003, asf@void.at wrote:
> Ugh. Seems like I have managed to fsck up my spam.el setup again.
>
> Repeatable behaviour:
>
> * Enter group Read one article. Article has "R" mark. No spam marked
> * articles in group. Exit group Messages buffer says: ,----
> | Exiting summary buffer and applying spam rules
> | Registering spam with bogofilter
> | Moving to nnml+private:spambox: (3325)...
> | Wrote /home/asf/Mail/spambox/18739
> `----
> * Enter spam group. Previously read article is there. Yikes!
>
> Badness. What would be the cause of that?
I added code to move spam-marked articles, but "R" articles should not
be affected.
Can you replace spam-mark-spam-as-expired-and-move-routine with this:
(defun spam-mark-spam-as-expired-and-move-routine (&optional group)
(let ((articles gnus-newsgroup-articles)
article tomove)
(dolist (article articles)
(gnus-summary-remove-process-mark article)
(when (eq (gnus-summary-article-mark article) gnus-spam-mark)
(debug article (gnus-summary-article-mark article))
(gnus-summary-mark-article article gnus-expirable-mark)
(push article tomove)))
;; now do the actual move
(when (stringp group)
(dolist (article tomove)
(gnus-summary-set-process-mark article))
(when tomove
(debug group)
(gnus-summary-move-article nil group)))))
Just hit "c" when you get the debugger pop-up windows, and try to keep
track of those article numbers vs. the ones that were marked "R" in
the summary. I need to find out if a) articles marked as read are
seen as spam somehow, and b) the articles are being moved by
spam-mark-spam-as-expired-and-move-routine.
I haven't observed this behavior here.
Thanks
Ted
prev parent reply other threads:[~2003-02-14 14:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-14 7:29 Andreas Fuchs
2003-02-14 14:46 ` Ted Zlatanov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4n7kc2gbs5.fsf@lockgroove.bwh.harvard.edu \
--to=tzz@lifelogs.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).