[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help needed: nnmaildir and expire-group parameter.
From: |
Fernando de Morais |
Subject: |
Re: Help needed: nnmaildir and expire-group parameter. |
Date: |
Tue, 29 Nov 2022 18:59:03 -0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Hello Eric,
Eric Abrahamsen <eric@ericabrahamsen.net> writes:
> Look for the value of "pgname", and the 'expire-age parameter, and
> later the 'expire-group parameter. Something in there should jump out
> at you as "wrong".
This was a very wise advice: in the end, `nnmaildir' was looking for the
parameters of the group "inbox", not "nnmaildir:inbox". That did the
trick! 🎉
So, the customization of `gnus-parameters' would be:
#+begin_src emacs-lisp
(customize-set-variable 'gnus-parameters
'(("inbox"
(expire-age . 0)
(expire-group . "nnmaildir:trash"))))
#+end_src
> (Apologies if you already know edebug.)
Don't worry about that. You saved the day once more!
Thank you very much!
*P.S.:* I imagine there must be a rationale behind this and it was
defined a long time ago, but why doesn't `nnmaildir' make use of the
`expiry-target' parameter like other backends do?
--
Regards,
Fernando de Morais.