Gnus development mailing list
 help / color / mirror / Atom feed
From: Oystein Viggen <oysteivi@tihlde.org>
Subject: Re: finding the article buffer when splitting
Date: Mon, 23 Sep 2002 20:49:51 +0200	[thread overview]
Message-ID: <03vg4wzgkw.fsf@msgid.viggen.net> (raw)
In-Reply-To: <87k7lcx0bc.fsf@emacswiki.org>

* [Alex Schroeder] 

> Hm, my spam-stat.el still has some problems.  I use the following
> macro, and now found message that was considered spam when splitting,
> and not-spam when respooling.  To me, that suggests that something in
> this article buffer business is still malfunctioning.

I believe this is because your code still prefers to use
gnus-original-article-buffer, which is not updated when spooling new
mail.  View a spam before you spool in some new mail from your mailbox,
and I think you will find all your new mail is considered spam.  
(Note: Bt and Br do not count as spooling in new mail - Send yourself
some test mails instead).

There are a few possible workarounds:
1. Kill gnus-original-article-buffer from gnus-get-new-news-hook
2. Check for nnmail-article-buffer before gnus-original-article-buffer
in your code.
3. Use the defadvice posted by Jeremy H. Brown in
< news:uv6r8g9n5id.fsf@suspiria.ai.mit.edu > and change
spam-stat-split-fancy to look in the-article-buffer.
(This last one is what I use).

spam-stat.el is now my only spam filter.  It Just Works. :)

Oystein
-- 
If it ain't broke, don't break it.



  reply	other threads:[~2002-09-23 18:49 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-04 12:01 Splitting on mail contents? (using spam-stat.el) Oystein Viggen
2002-09-04 14:00 ` Kai Großjohann
2002-09-04 14:16   ` Oystein Viggen
2002-09-04 14:56     ` Kai Großjohann
2002-09-04 15:16       ` Oystein Viggen
2002-09-04 15:23       ` Jeremy H. Brown
2002-09-04 17:00         ` Oystein Viggen
2002-09-13 16:18         ` finding the article buffer when splitting Alex Schroeder
2002-09-13 23:56           ` Oystein Viggen
2002-09-14  1:18             ` Alex Schroeder
2002-09-14 10:01               ` Oystein Viggen
2002-09-15 18:21           ` Jeremy H. Brown
2002-09-23 14:11             ` Alex Schroeder
2002-09-23 18:49               ` Oystein Viggen [this message]
2002-09-06 15:55       ` Splitting on mail contents? (using spam-stat.el) Alex Schroeder
2002-09-07 12:30         ` Alex Schroeder
2002-09-07 17:17           ` Simon Josefsson
2002-09-07 19:05             ` Kai Großjohann
2002-09-07 19:05           ` Kai Großjohann
2002-09-12 16:07 ` Paul Jarc

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=03vg4wzgkw.fsf@msgid.viggen.net \
    --to=oysteivi@tihlde.org \
    /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).