Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Fernando de Morais <fernandodemorais.jf@gmail.com>
To: Eric Abrahamsen <eric@ericabrahamsen.net>
Cc: info-gnus-english@gnu.org
Subject: Re: Help needed: nnmaildir and expire-group parameter.
Date: Tue, 29 Nov 2022 18:59:03 -0300	[thread overview]
Message-ID: <87wn7dzal4.fsf@gmail.com> (raw)
In-Reply-To: <87tu2hzi2a.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Tue, 29 Nov 2022 11:17:33 -0800")

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.


  parent reply	other threads:[~2022-11-29 21:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-26 22:11 Fernando de Morais
2022-11-29 19:17 ` Eric Abrahamsen
2022-11-29 19:21   ` Emanuel Berg
2022-11-29 21:59   ` Fernando de Morais [this message]
2022-11-30 17:16     ` Eric Abrahamsen
2022-11-30 18:19       ` Fernando de Morais

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wn7dzal4.fsf@gmail.com \
    --to=fernandodemorais.jf@gmail.com \
    --cc=eric@ericabrahamsen.net \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).