Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
Cc: ding@gnus.org
Subject: Re: Does spam.el only use group parameters now?
Date: Mon, 06 Jan 2003 20:14:57 -0500	[thread overview]
Message-ID: <m3hecl7oby.fsf@heechee.beld.net> (raw)
In-Reply-To: <873co5yf0z.fsf@mulligatwani.msrl.com> (Michael Shields's message of "Tue, 07 Jan 2003 00:33:48 +0000")

On Tue, 07 Jan 2003, shields@msrl.com wrote:
> It looks like spam.el, since the big customization change last week,
> uses only group parameters to determine whether a message should be
> processed on exit or not.  This is not convenient for me, since I
> have dozens of mail groups; I want to invoke bogofilter whenever I
> exit a mail group, but I don't want to set dozens of group
> parameters.
> 
> Is there a way around this?  This clumsily hacks around it:
> 
>     (defun spam-group-processor-bogofilter-p (group)
>       (not (gnus-news-group-p group)))
> 
> but that's obviously not the right way to solve the problem.

Correct, and the manual in CVS has been updated correspondingly.

The spam-process group parameter has a corresponding
gnus-spam-process-newsgroups variable you can customize; just put a
"nnml.*" regex in that variable to get global behavior for nnml
groups, or whatever's appropriate for you.

Also, if you use topics, you can customize the topic parameters, that
should work also if all your mail groups are under one topic.

spam-use-XYZ only relates to spam-split now, summary exit spam/ham
processing is always done with the spam-process group parameter.  This
is because the gnus-spam-process-newsgroups variable was, in my
opinion, sufficient and I didn't want to provide two ways of doing the
same thing.

If you think we should have a global variable corresponding to the old
spam-use-XYZ variable for summary exit processing, let me know.

Ted




  reply	other threads:[~2003-01-07  1:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-07  0:33 Michael Shields
2003-01-07  1:14 ` Ted Zlatanov [this message]
2003-01-07  4:37   ` Michael Shields
2003-01-07  4:43     ` Ted Zlatanov

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=m3hecl7oby.fsf@heechee.beld.net \
    --to=tzz@lifelogs.com \
    --cc=ding@gnus.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).