From: David Z Maze <dmaze@mit.edu>
Subject: Re: spam.el/spam-stat checks in non-mail groups
Date: Fri, 22 Aug 2003 15:26:01 -0400 [thread overview]
Message-ID: <878yplwl2u.fsf@everett.mit.edu> (raw)
In-Reply-To: <4nada2j84r.fsf@lockgroove.bwh.harvard.edu>
[-- Attachment #1: Type: text/plain, Size: 423 bytes --]
Ted Zlatanov <tzz@lifelogs.com> writes:
> You can't currently do spam checks on unseen messages in a newsgroup.
>
> It should be possible though, by running spam-split on every unseen
> message at summary entry and checking if the output is equal to
> spam-split-group (remember that the ifile backend, for instance, will
> output a valid group name for non-spam so you can't just check for a
> string).
Hmm, like this?
[-- Attachment #2: Type: application/emacs-lisp, Size: 526 bytes --]
[-- Attachment #3: Type: text/plain, Size: 554 bytes --]
I should probably use gnus-newsgroup-unseen rather than
gnus-newsgroup-articles. But for a first pass, this appears to at
least be close.
> I don't think there's a way to automatically find out if a group is
> not a mail group, is there?
I actually only care about a single backend, which is easier to
check. You can check if something is news or not (gnus-news-group-p),
at least.
--
David Maze dmaze@mit.edu http://www.mit.edu/~dmaze/
"Theoretical politics is interesting. Politicking should be illegal."
-- Abra Mitchell
next prev parent reply other threads:[~2003-08-22 19:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87ekzealuw.fsf@everett.mit.edu>
2003-08-22 10:31 ` Ted Zlatanov
2003-08-22 19:26 ` David Z Maze [this message]
2003-08-23 14:07 ` David Z Maze
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=878yplwl2u.fsf@everett.mit.edu \
--to=dmaze@mit.edu \
/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).