Gnus development mailing list
 help / color / mirror / Atom feed
From: Julien Cubizolles <j.cubizolles@free.fr>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: ding@gnus.org
Subject: Re: nuke unread messages
Date: Sat, 03 Aug 2013 08:54:28 +0200	[thread overview]
Message-ID: <87iozn2riz.fsf@free.fr> (raw)
In-Reply-To: <m3wqo4z248.fsf@stories.gnus.org> (Lars Magne Ingebrigtsen's message of "Fri, 02 Aug 2013 14:52:23 +0200")

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Ah, I see.  I've now made `gnus-group-delete-articles' accept a prefix
> arg that will only delete "old" articles.
>
> I haven't actually tested the code, though.  >"?

It doesn't seem to work. I have gnus-agent-expire-days set to 30.

On a given nnimap group in the *Group* buffer, running C-u M-x
gnus-group-delete-articles offer to delete some articles. However, after
having answered yes, the messages are still there.

If I'm in the *Summary* for the same nnimap group, running the same
function offer to delete 0 articles, as does evaluating
(gnus-group-delete-articles "nnimap+free:test" 'oldp).

Answering yes gives the following error: gnus-request-expire-articles:
Wrong type argument: stringp, nil

I had in mind an expiry method to achieve this but
gnus-group-delete-articles has the advantage that you can run for just
one shot. I guess I could add this function to the right hook to have it
run on visiting each group marked with a new group parameter. What do
you think ?

Julien.



  reply	other threads:[~2013-08-03  6:54 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-19 14:35 Julien Cubizolles
2013-08-01 21:12 ` Lars Magne Ingebrigtsen
2013-08-02  5:56   ` Julien Cubizolles
2013-08-02 12:52     ` Lars Magne Ingebrigtsen
2013-08-03  6:54       ` Julien Cubizolles [this message]
2013-08-03 11:38         ` Lars Magne Ingebrigtsen
2013-08-04 16:59           ` Julien Cubizolles
2013-08-05  2:41             ` Lars Magne Ingebrigtsen
2013-08-05  6:06               ` Julien Cubizolles
2013-08-05 17:58                 ` Lars Magne Ingebrigtsen
2013-08-06  5:16                   ` Julien Cubizolles
2013-08-06 14:03                     ` Lars Magne Ingebrigtsen
2013-08-07  8:34                       ` Julien Cubizolles

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=87iozn2riz.fsf@free.fr \
    --to=j.cubizolles@free.fr \
    --cc=ding@gnus.org \
    --cc=larsi@gnus.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).