Gnus development mailing list
 help / color / mirror / Atom feed
* nnimap expiry
@ 2010-09-21 18:01 Lars Magne Ingebrigtsen
  2010-09-21 18:36 ` Robert Pluim
  2010-09-21 18:56 ` Ted Zlatanov
  0 siblings, 2 replies; 16+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-09-21 18:01 UTC (permalink / raw)
  To: ding

I've now implemented nnimap expiry, and it Works For Me, but handle with
care.  I'd really like some testers on this...  who don't have very
valuable mail.  :-)

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




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

* Re: nnimap expiry
  2010-09-21 18:01 nnimap expiry Lars Magne Ingebrigtsen
@ 2010-09-21 18:36 ` Robert Pluim
  2010-09-21 18:56 ` Ted Zlatanov
  1 sibling, 0 replies; 16+ messages in thread
From: Robert Pluim @ 2010-09-21 18:36 UTC (permalink / raw)
  To: ding

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

> I've now implemented nnimap expiry, and it Works For Me, but handle with
> care.  I'd really like some testers on this...  who don't have very
> valuable mail.  :-)

Well, I had to do a (setq nnimap-expunge t) to get it to do anything,
and then it deleted a whole bunch of my mail.

Works as expected so far. ;)

Regards

Robert




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

* Re: nnimap expiry
  2010-09-21 18:01 nnimap expiry Lars Magne Ingebrigtsen
  2010-09-21 18:36 ` Robert Pluim
@ 2010-09-21 18:56 ` Ted Zlatanov
  2010-09-21 19:01   ` Lars Magne Ingebrigtsen
  1 sibling, 1 reply; 16+ messages in thread
From: Ted Zlatanov @ 2010-09-21 18:56 UTC (permalink / raw)
  To: ding

On Tue, 21 Sep 2010 20:01:48 +0200 Lars Magne Ingebrigtsen <larsi@gnus.org> wrote: 

LMI> I've now implemented nnimap expiry, and it Works For Me, but handle with
LMI> care.  I'd really like some testers on this...  who don't have very
LMI> valuable mail.  :-)

I get:

nnimap-request-expire-articles: Symbol's value as variable is void: nnml-inhibit-expiry

when I try "expire now".

Ted




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

* Re: nnimap expiry
  2010-09-21 18:56 ` Ted Zlatanov
@ 2010-09-21 19:01   ` Lars Magne Ingebrigtsen
  2010-09-22 13:02     ` Ted Zlatanov
  0 siblings, 1 reply; 16+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-09-21 19:01 UTC (permalink / raw)
  To: ding

Ted Zlatanov <tzz@lifelogs.com> writes:

> I get:
>
> nnimap-request-expire-articles: Symbol's value as variable is void: nnml-inhibit-expiry
>
> when I try "expire now".

Cut'n'paste error.  Fixed and pushed.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




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

* Re: nnimap expiry
  2010-09-21 19:01   ` Lars Magne Ingebrigtsen
@ 2010-09-22 13:02     ` Ted Zlatanov
  2010-09-22 13:19       ` Ted Zlatanov
  0 siblings, 1 reply; 16+ messages in thread
From: Ted Zlatanov @ 2010-09-22 13:02 UTC (permalink / raw)
  To: ding

On Tue, 21 Sep 2010 21:01:13 +0200 Lars Magne Ingebrigtsen <larsi@gnus.org> wrote: 

LMI> Ted Zlatanov <tzz@lifelogs.com> writes:
>> I get:
>> 
>> nnimap-request-expire-articles: Symbol's value as variable is void: nnml-inhibit-expiry
>> 
>> when I try "expire now".

LMI> Cut'n'paste error.  Fixed and pushed.

Now expiry runs when I trigger it manually but the article is not
actually expunged: the mark remains `E' instead of `G' and I can still
select it.  The group parameters have (auto-expire t) but that shouldn't
matter since the article definitely has the `E' mark.

08:00:24 116 SELECT "INBOX"
08:00:24 117 UID FETCH 274369:274372,274374:274375 (UID RFC822.SIZE BODYSTRUCTURE BODY.PEEK[HEADER.FIELDS (Subject From Date Message-Id References In-Reply-To Xref X-Face Keywords Gcc Cc X-Spam-Status X-Bogosity X-CRM114-Status To Newsgroups)])
08:00:33 118 UID FETCH 274375 BODY.PEEK[]
08:00:40 119 UID SEARCH SENTBEFORE 22-SEP-2010

(I run `gnus-summary-expire-articles-now' here, then `q'uit the group)

08:00:40 119 UID SEARCH SENTBEFORE 22-SEP-2010




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

* Re: nnimap expiry
  2010-09-22 13:02     ` Ted Zlatanov
@ 2010-09-22 13:19       ` Ted Zlatanov
  2010-09-22 16:40         ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 16+ messages in thread
From: Ted Zlatanov @ 2010-09-22 13:19 UTC (permalink / raw)
  To: ding

On Wed, 22 Sep 2010 08:02:36 -0500 Ted Zlatanov <tzz@lifelogs.com> wrote: 

TZ> On Tue, 21 Sep 2010 21:01:13 +0200 Lars Magne Ingebrigtsen <larsi@gnus.org> wrote: 
LMI> Ted Zlatanov <tzz@lifelogs.com> writes:
>>> I get:
>>> 
>>> nnimap-request-expire-articles: Symbol's value as variable is void: nnml-inhibit-expiry
>>> 
>>> when I try "expire now".

LMI> Cut'n'paste error.  Fixed and pushed.

TZ> Now expiry runs when I trigger it manually but the article is not
TZ> actually expunged: the mark remains `E' instead of `G' and I can still
TZ> select it.  The group parameters have (auto-expire t) but that shouldn't
TZ> matter since the article definitely has the `E' mark.

TZ> 08:00:24 116 SELECT "INBOX"
TZ> 08:00:24 117 UID FETCH 274369:274372,274374:274375 (UID RFC822.SIZE BODYSTRUCTURE BODY.PEEK[HEADER.FIELDS (Subject From Date Message-Id References In-Reply-To Xref X-Face Keywords Gcc Cc X-Spam-Status X-Bogosity X-CRM114-Status To Newsgroups)])
TZ> 08:00:33 118 UID FETCH 274375 BODY.PEEK[]
TZ> 08:00:40 119 UID SEARCH SENTBEFORE 22-SEP-2010

TZ> (I run `gnus-summary-expire-articles-now' here, then `q'uit the group)

TZ> 08:00:40 119 UID SEARCH SENTBEFORE 22-SEP-2010

`B DEL' works to delete the article; I confirmed that nnimap-expunge
doesn't make a difference to the issue noted above.  So it looks like the
gnus-expire flag used to become \Deleted in older Gnus after
`gnus-summary-expire-articles-now' but now doesn't.

Ted




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

* Re: nnimap expiry
  2010-09-22 13:19       ` Ted Zlatanov
@ 2010-09-22 16:40         ` Lars Magne Ingebrigtsen
  2010-09-22 17:21           ` Ted Zlatanov
  0 siblings, 1 reply; 16+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-09-22 16:40 UTC (permalink / raw)
  To: ding

Ted Zlatanov <tzz@lifelogs.com> writes:

> `B DEL' works to delete the article; I confirmed that nnimap-expunge
> doesn't make a difference to the issue noted above.  So it looks like the
> gnus-expire flag used to become \Deleted in older Gnus after
> `gnus-summary-expire-articles-now' but now doesn't.

I don't think the expire flag makes any difference...

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




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

* Re: nnimap expiry
  2010-09-22 16:40         ` Lars Magne Ingebrigtsen
@ 2010-09-22 17:21           ` Ted Zlatanov
  2010-09-22 17:27             ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 16+ messages in thread
From: Ted Zlatanov @ 2010-09-22 17:21 UTC (permalink / raw)
  To: ding

On Wed, 22 Sep 2010 18:40:54 +0200 Lars Magne Ingebrigtsen <larsi@gnus.org> wrote: 

LMI> Ted Zlatanov <tzz@lifelogs.com> writes:
>> `B DEL' works to delete the article; I confirmed that nnimap-expunge
>> doesn't make a difference to the issue noted above.  So it looks like the
>> gnus-expire flag used to become \Deleted in older Gnus after
>> `gnus-summary-expire-articles-now' but now doesn't.

LMI> I don't think the expire flag makes any difference...

Sorry?  I thought it would.  Are you saying `B DEL' is the only way to
truly delete an article immediately now?

Ted




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

* Re: nnimap expiry
  2010-09-22 17:21           ` Ted Zlatanov
@ 2010-09-22 17:27             ` Lars Magne Ingebrigtsen
  2010-09-22 18:25               ` Ted Zlatanov
  0 siblings, 1 reply; 16+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-09-22 17:27 UTC (permalink / raw)
  To: ding

Ted Zlatanov <tzz@lifelogs.com> writes:

>> `B DEL' works to delete the article; I confirmed that nnimap-expunge
>> doesn't make a difference to the issue noted above.  So it looks like the
>> gnus-expire flag used to become \Deleted in older Gnus after
>> `gnus-summary-expire-articles-now' but now doesn't.

LMI> I don't think the expire flag makes any difference...

> Sorry?  I thought it would.  Are you saying `B DEL' is the only way to
> truly delete an article immediately now?

The expiry flag (per se) has never deleted anything.  It only presents
candidates for deletion, and then you choose subsets of the
expiry-marked articles and then delete them.  (Or all of them, in the
-now case.)

So to answer your question -- no, `B DEL' isn't the only way to delete
articles.  But I think we're talking past each other here.  I thought
you were talking about the gnus-expire mark on the IMAP server.  It has
no meaning in an IMAP context as such.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




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

* Re: nnimap expiry
  2010-09-22 17:27             ` Lars Magne Ingebrigtsen
@ 2010-09-22 18:25               ` Ted Zlatanov
  2010-09-22 18:38                 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 16+ messages in thread
From: Ted Zlatanov @ 2010-09-22 18:25 UTC (permalink / raw)
  To: ding

On Wed, 22 Sep 2010 19:27:12 +0200 Lars Magne Ingebrigtsen <larsi@gnus.org> wrote: 

LMI> Ted Zlatanov <tzz@lifelogs.com> writes:
>>> `B DEL' works to delete the article; I confirmed that nnimap-expunge
>>> doesn't make a difference to the issue noted above.  So it looks like the
>>> gnus-expire flag used to become \Deleted in older Gnus after
>>> `gnus-summary-expire-articles-now' but now doesn't.

LMI> I don't think the expire flag makes any difference...

>> Sorry?  I thought it would.  Are you saying `B DEL' is the only way to
>> truly delete an article immediately now?

LMI> The expiry flag (per se) has never deleted anything.  It only presents
LMI> candidates for deletion, and then you choose subsets of the
LMI> expiry-marked articles and then delete them.  (Or all of them, in the
LMI> -now case.)

OK, to be clear, given a group with expirable (`E') articles, what do I
have to do in order to get them all deleted immediately?

Ted




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

* Re: nnimap expiry
  2010-09-22 18:25               ` Ted Zlatanov
@ 2010-09-22 18:38                 ` Lars Magne Ingebrigtsen
  2010-09-22 19:20                   ` Ted Zlatanov
  0 siblings, 1 reply; 16+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-09-22 18:38 UTC (permalink / raw)
  To: ding

Ted Zlatanov <tzz@lifelogs.com> writes:

> OK, to be clear, given a group with expirable (`E') articles, what do I
> have to do in order to get them all deleted immediately?

`M-x gnus-summary-expire-articles-now'

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




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

* Re: nnimap expiry
  2010-09-22 18:38                 ` Lars Magne Ingebrigtsen
@ 2010-09-22 19:20                   ` Ted Zlatanov
  2010-09-22 19:28                     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 16+ messages in thread
From: Ted Zlatanov @ 2010-09-22 19:20 UTC (permalink / raw)
  To: ding

On Wed, 22 Sep 2010 20:38:13 +0200 Lars Magne Ingebrigtsen <larsi@gnus.org> wrote: 

LMI> Ted Zlatanov <tzz@lifelogs.com> writes:
>> OK, to be clear, given a group with expirable (`E') articles, what do I
>> have to do in order to get them all deleted immediately?

LMI> `M-x gnus-summary-expire-articles-now'

(it's not interactive, so `B e' instead)

That does not delete any articles, although in *Messages* I see

Expiring articles...done

I have (auto-expire t) in the parameters.

Ted



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

* Re: nnimap expiry
  2010-09-22 19:20                   ` Ted Zlatanov
@ 2010-09-22 19:28                     ` Lars Magne Ingebrigtsen
  2010-09-22 19:56                       ` Ted Zlatanov
  0 siblings, 1 reply; 16+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-09-22 19:28 UTC (permalink / raw)
  To: ding

Ted Zlatanov <tzz@lifelogs.com> writes:

> LMI> `M-x gnus-summary-expire-articles-now'
>
> (it's not interactive, so `B e' instead)

It's interactive in my Gnus.  `B e' is a different command...

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




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

* Re: nnimap expiry
  2010-09-22 19:28                     ` Lars Magne Ingebrigtsen
@ 2010-09-22 19:56                       ` Ted Zlatanov
  2010-09-22 20:08                         ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 16+ messages in thread
From: Ted Zlatanov @ 2010-09-22 19:56 UTC (permalink / raw)
  To: ding

On Wed, 22 Sep 2010 21:28:31 +0200 Lars Magne Ingebrigtsen <larsi@gnus.org> wrote: 

LMI> Ted Zlatanov <tzz@lifelogs.com> writes:
LMI> `M-x gnus-summary-expire-articles-now'
>> 
>> (it's not interactive, so `B e' instead)

LMI> It's interactive in my Gnus.  `B e' is a different command...

Ah, I misspelled it.  `M-x gnus-summary-expire-articles-now' does not
delete anything (message is "Expiring articles... done") even though I
have `E'xpired articles in the summary buffer.  The IMAP log buffer
shows no mark changes or expunge activity.

Ted




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

* Re: nnimap expiry
  2010-09-22 19:56                       ` Ted Zlatanov
@ 2010-09-22 20:08                         ` Lars Magne Ingebrigtsen
  2010-09-22 21:00                           ` Ted Zlatanov
  0 siblings, 1 reply; 16+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-09-22 20:08 UTC (permalink / raw)
  To: ding

Ted Zlatanov <tzz@lifelogs.com> writes:

> Ah, I misspelled it.  `M-x gnus-summary-expire-articles-now' does not
> delete anything (message is "Expiring articles... done") even though I
> have `E'xpired articles in the summary buffer.  The IMAP log buffer
> shows no mark changes or expunge activity.

I think this is now fixed.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




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

* Re: nnimap expiry
  2010-09-22 20:08                         ` Lars Magne Ingebrigtsen
@ 2010-09-22 21:00                           ` Ted Zlatanov
  0 siblings, 0 replies; 16+ messages in thread
From: Ted Zlatanov @ 2010-09-22 21:00 UTC (permalink / raw)
  To: ding

On Wed, 22 Sep 2010 22:08:32 +0200 Lars Magne Ingebrigtsen <larsi@gnus.org> wrote: 

LMI> Ted Zlatanov <tzz@lifelogs.com> writes:
>> Ah, I misspelled it.  `M-x gnus-summary-expire-articles-now' does not
>> delete anything (message is "Expiring articles... done") even though I
>> have `E'xpired articles in the summary buffer.  The IMAP log buffer
>> shows no mark changes or expunge activity.

LMI> I think this is now fixed.

Confirmed, thanks.

Ted




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

end of thread, other threads:[~2010-09-22 21:00 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-21 18:01 nnimap expiry Lars Magne Ingebrigtsen
2010-09-21 18:36 ` Robert Pluim
2010-09-21 18:56 ` Ted Zlatanov
2010-09-21 19:01   ` Lars Magne Ingebrigtsen
2010-09-22 13:02     ` Ted Zlatanov
2010-09-22 13:19       ` Ted Zlatanov
2010-09-22 16:40         ` Lars Magne Ingebrigtsen
2010-09-22 17:21           ` Ted Zlatanov
2010-09-22 17:27             ` Lars Magne Ingebrigtsen
2010-09-22 18:25               ` Ted Zlatanov
2010-09-22 18:38                 ` Lars Magne Ingebrigtsen
2010-09-22 19:20                   ` Ted Zlatanov
2010-09-22 19:28                     ` Lars Magne Ingebrigtsen
2010-09-22 19:56                       ` Ted Zlatanov
2010-09-22 20:08                         ` Lars Magne Ingebrigtsen
2010-09-22 21:00                           ` Ted Zlatanov

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