Hello Eric,

Eric Abrahamsen <e...@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.

Reply via email to