Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* GNUS-AGENT-EXPIRE Does Nothing
@ 2008-07-17  7:37 Volkan YAZICI
  2008-07-22 21:10 ` Reiner Steib
  0 siblings, 1 reply; 3+ messages in thread
From: Volkan YAZICI @ 2008-07-17  7:37 UTC (permalink / raw)
  To: info-gnus-english

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.

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

* Re: GNUS-AGENT-EXPIRE Does Nothing
  2008-07-17  7:37 GNUS-AGENT-EXPIRE Does Nothing Volkan YAZICI
@ 2008-07-22 21:10 ` Reiner Steib
  0 siblings, 0 replies; 3+ messages in thread
From: Reiner Steib @ 2008-07-22 21:10 UTC (permalink / raw)
  To: info-gnus-english

On Thu, Jul 17 2008, Volkan YAZICI wrote:

> [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

Sorry, I don't use the agent and don't know enough about it to help.

>    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, 

See (info "(gnus)Agent Expiry").

> nnmail-expiry-wait, 

See (info "(gnus)Expiring Mail").

> message-expires

,----[ (info "(message)News Headers") ]
| `Expires'
|      This extremely optional header will be inserted according to the
|      `message-expires' variable.  It is highly deprecated and
|      shouldn't be used unless you know what you're doing.
`----

> and nnmail-expiry-wait-function,

See (info "(gnus)Expiring Mail").

> how gnus decides which one to use?

Only nnmail-expiry-wait-function and nnmail-expiry-wait are closely
related.  The others serve a completely different purpose.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

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

* Re: gnus-agent-expire does nothing
       [not found] ` <ufzog2bdm.fsf@xpediantsolutions.com>
@ 2003-04-18 16:15   ` Torsten Bronger
  0 siblings, 0 replies; 3+ messages in thread
From: Torsten Bronger @ 2003-04-18 16:15 UTC (permalink / raw)


Halloechen!

Kevin Greiner <kgreiner@xpediantsolutions.com> writes:

> Torsten Bronger <bronger@physik.rwth-aachen.de> writes:
>
>> Halloechen!
>>
>> If I call gnus-agent-expire it immediately prints the message
>> "Expiry...done", but obviously nothing has happened.  [...]
>>
>> I use Oort Gnus v0.15.
>
> gnus-agent-expire is broken in v0.15.
>
> From ChangeLog
>
> [...]

Thank you for the detailed explanation!

Tschoe,
Torsten.


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

end of thread, other threads:[~2008-07-22 21:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-17  7:37 GNUS-AGENT-EXPIRE Does Nothing Volkan YAZICI
2008-07-22 21:10 ` Reiner Steib
     [not found] <m33ckh5gn4.fsf@wilson.rwth-aachen.de>
     [not found] ` <ufzog2bdm.fsf@xpediantsolutions.com>
2003-04-18 16:15   ` gnus-agent-expire does nothing Torsten Bronger

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