gnu.emacs.gnus
[Top] [All Lists]

GNUS-AGENT-EXPIRE Does Nothing

Subject: GNUS-AGENT-EXPIRE Does Nothing
From: Volkan YAZICI <volkan.yazici@xxxxxxxxx>
Date: Thu, 17 Jul 2008 00:37:15 -0700 (PDT)
Newsgroups: gnu.emacs.gnus
Hi,

[I know this question has been raised many times before, but I
couldn't find an appropriate thread fits to my situation. If you knew
one, don't hesistate to bash me.]

Despite below configurations, calling GNUS-AGENT-EXPIRE on an article
from "18 Oct 2007" returns "Expiry recovered 0 NOV entries, deleted 0
files, and freed 0.000000 B." and obviously no expiration occurs. Any
ideas what I might be missing?

  (defun custom-nnmail-expiry-wait (group)
    (cond ((string-match "mail" (gnus-group-topic group)) 90)
          (t 30)))

  (setq
   gnus-agent-expire-all nil
   gnus-agent-expire-days 7
   gnus-agent-expire-unagentized-dirs t
   nnmail-expiry-wait 7
   message-expires 7
   nnmail-expiry-wait-function 'custom-nnmail-expiry-wait
   gnus-auto-expirable-newsgroups ".*")

BTW, among gnus-agent-expire-days, nnmail-expiry-wait, message-expires
and nnmail-expiry-wait-function, how gnus decides which one to use?


Regards.
_______________________________________________
info-gnus-english mailing list
info-gnus-english@xxxxxxx
http://lists.gnu.org/mailman/listinfo/info-gnus-english

<Prev in Thread] Current Thread [Next in Thread>