Gnus development mailing list
 help / color / mirror / Atom feed
From: Herbert Valerio Riedel <hvr@gnu.org>
To: ding@gnus.org
Subject: What condition triggers to ham-process-destination ?
Date: Thu, 08 Mar 2012 10:35:35 +0100	[thread overview]
Message-ID: <87aa3rfna0.fsf@gnu.org> (raw)

Hello,

I'm using Ma Gnus 0.3 on a recent Emacs 24 snapshot, and I've tried to
set up the spam package configuration example as described in the manual
section "Using `spam.el' on an IMAP server with a statistical filter on
the server", which ammounts to the following gnus.el entries:

--8<---------------cut here---------------start------------->8---
(spam-initialize)

(setq gnus-parameters '(
       ("^nnimap\\+gnu:INBOX$"
        (spam-contents gnus-group-spam-classification-ham)
        (spam-process-destination . "nnimap+gnu:Junk")
        )

       ("^nnimap\\+gnu:Junk$"
        (spam-contents gnus-group-spam-classification-spam)
        (ham-process-destination . "nnimap+gnu:INBOX")
        )
))
--8<---------------cut here---------------end--------------->8---

When marking spam messages in INBOX, they get moved to the Junk folder
as expected on group-exit. So far so good.

But when unmarking false positives in Junk, I couldn't trigger the
`ham-process-destination` action, i.e. the message is not marked with
'$' anymore (, but stays in the Junk folder. On spam-group-exit the
$-marked messages are marked expirable (as expected), but the non-$
marked messages are left untouched.

What do I have to do, to have the non-$-marked messages moved to
ham-process-destination? Which elisp function should I try to debug to
find out what's happening?

cheers,
  hvr
-- 
Sent from my Emacs




             reply	other threads:[~2012-03-08  9:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-08  9:35 Herbert Valerio Riedel [this message]
2012-03-10 13:13 ` Ted Zlatanov
2012-03-11 13:38   ` Herbert Valerio Riedel

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=87aa3rfna0.fsf@gnu.org \
    --to=hvr@gnu.org \
    --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).