Gnus development mailing list
 help / color / mirror / Atom feed
* What condition triggers to ham-process-destination ?
@ 2012-03-08  9:35 Herbert Valerio Riedel
  2012-03-10 13:13 ` Ted Zlatanov
  0 siblings, 1 reply; 3+ messages in thread
From: Herbert Valerio Riedel @ 2012-03-08  9:35 UTC (permalink / raw)
  To: ding

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-11 13:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-08  9:35 What condition triggers to ham-process-destination ? Herbert Valerio Riedel
2012-03-10 13:13 ` Ted Zlatanov
2012-03-11 13:38   ` Herbert Valerio Riedel

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).