Gnus development mailing list
 help / color / mirror / Atom feed
* nnmaildir question
@ 2005-10-06  6:39 Katsumi Yamaoka
  2005-10-06  8:45 ` Katsumi Yamaoka
  2005-10-06 16:34 ` Paul Jarc
  0 siblings, 2 replies; 7+ messages in thread
From: Katsumi Yamaoka @ 2005-10-06  6:39 UTC (permalink / raw)


Hi,

I have a doubt whether nnmaildir actually supports the expiry-wait
group parameter and also the expiry-wait-function group parameter.
Info says in the Maildir section as follows:

`expire-age'
     An integer specifying the minimum age, in seconds, of an article
     before it will be expired, or the symbol `never' to specify that
     articles should never be expired.  If this parameter is not set,
     `nnmaildir' falls back to the usual
     `nnmail-expiry-wait'(`-function') variables (overrideable by the
     `expiry-wait'(`-function') group parameters.

However, the nnmaildir.el code doesn't seem to me to support
those group parameters.  Furthermore, Gnus doesn't support the
expiry-wait-function group parameter, AFAIK.  Did I misread?

(Although I've never used nnmaildir, I noticed it when
translating that Info section into Japanese.)



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

* Re: nnmaildir question
  2005-10-06  6:39 nnmaildir question Katsumi Yamaoka
@ 2005-10-06  8:45 ` Katsumi Yamaoka
  2005-10-06 16:38   ` Paul Jarc
  2005-10-06 16:34 ` Paul Jarc
  1 sibling, 1 reply; 7+ messages in thread
From: Katsumi Yamaoka @ 2005-10-06  8:45 UTC (permalink / raw)


>>>>> In <b4m7jcrxi7v.fsf@jpl.org> Katsumi Yamaoka wrote:

> I have a doubt whether nnmaildir actually supports the expiry-wait
> group parameter and also the expiry-wait-function group parameter.

In addition, the other item in the Maildir Info section:

`expire-group'
[...]
     to put the article.  _If this parameter is not set, `nnmaildir'
     does not fall back to the `expiry-target' group parameter or the
     `nnmail-expiry-target' variable._

The last sentence seems to have to be corrected into:

	_If this parameter is set, ...

However, nnmaildir seems to use neither the expiry-target group
parameter nor the nnmail-expiry-target variable too.  Hmm...



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

* Re: nnmaildir question
  2005-10-06  6:39 nnmaildir question Katsumi Yamaoka
  2005-10-06  8:45 ` Katsumi Yamaoka
@ 2005-10-06 16:34 ` Paul Jarc
  2005-10-07  0:49   ` Katsumi Yamaoka
  1 sibling, 1 reply; 7+ messages in thread
From: Paul Jarc @ 2005-10-06 16:34 UTC (permalink / raw)
  Cc: ding

Katsumi Yamaoka <yamaoka@jpl.org> wrote:
> I have a doubt whether nnmaildir actually supports the expiry-wait
> group parameter and also the expiry-wait-function group parameter.

It uses the nnmail-expiry-wait(-function) variables.  I believe Gnus
sets those variables according to the group parameters (at least, that
was my understandign when I wrote that part of the manual), but I
could be wrong.


paul



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

* Re: nnmaildir question
  2005-10-06  8:45 ` Katsumi Yamaoka
@ 2005-10-06 16:38   ` Paul Jarc
  0 siblings, 0 replies; 7+ messages in thread
From: Paul Jarc @ 2005-10-06 16:38 UTC (permalink / raw)
  Cc: ding

Katsumi Yamaoka <yamaoka@jpl.org> wrote:
> In addition, the other item in the Maildir Info section:
>
> `expire-group'
> [...]
>      to put the article.  _If this parameter is not set, `nnmaildir'
>      does not fall back to the `expiry-target' group parameter or the
>      `nnmail-expiry-target' variable._
>
> The last sentence seems to have to be corrected into:
>
> 	_If this parameter is set, ...

No, it's correct as-is, but maybe it could be clearer.  The user might
expect nnmaildir to fall back to expiry-target when expire-group is
not set, and this is meant to warn them that this will not happen.


paul



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

* Re: nnmaildir question
  2005-10-06 16:34 ` Paul Jarc
@ 2005-10-07  0:49   ` Katsumi Yamaoka
  2005-10-07  3:34     ` Paul Jarc
  0 siblings, 1 reply; 7+ messages in thread
From: Katsumi Yamaoka @ 2005-10-07  0:49 UTC (permalink / raw)


> Katsumi Yamaoka <yamaoka@jpl.org> wrote:

>> I have a doubt whether nnmaildir actually supports the expiry-wait
>> group parameter and also the expiry-wait-function group parameter.

>>>>> In <m3d5mi38pw.fsf@multivac.cwru.edu> Paul Jarc wrote:

> It uses the nnmail-expiry-wait(-function) variables.  I believe Gnus
> sets those variables according to the group parameters (at least, that
> was my understandign when I wrote that part of the manual), but I
> could be wrong.

I see.  Thanks.  I found gnus-group-expire-articles-1 binds
nnmail-expiry-wait to the expiry-wait group parameter.  However,
Gnus doesn't seem to support the group parameter called
`expiry-wait-function' (yet).  gnus-group-expire-articles-1
simply binds nnmail-expiry-wait-function to nil when expiry-wait
is specified.  (I don't feel such one is very useful, though.)

> Katsumi Yamaoka <yamaoka@jpl.org> wrote:

>> In addition, the other item in the Maildir Info section:
>>
>> `expire-group'
>> [...]
>>      to put the article.  _If this parameter is not set, `nnmaildir'
>>      does not fall back to the `expiry-target' group parameter or the
>>      `nnmail-expiry-target' variable._
>>
>> The last sentence seems to have to be corrected into:
>>
>> 	_If this parameter is set, ...

>>>>> In <m37jcq38jj.fsf@multivac.cwru.edu> Paul Jarc wrote:

> No, it's correct as-is, but maybe it could be clearer.  The user might
> expect nnmaildir to fall back to expiry-target when expire-group is
> not set, and this is meant to warn them that this will not happen.

I see.  So, could it be `_Even if this parameter is not set, ...'?



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

* Re: nnmaildir question
  2005-10-07  0:49   ` Katsumi Yamaoka
@ 2005-10-07  3:34     ` Paul Jarc
  2005-10-07  4:55       ` Katsumi Yamaoka
  0 siblings, 1 reply; 7+ messages in thread
From: Paul Jarc @ 2005-10-07  3:34 UTC (permalink / raw)
  Cc: ding

Katsumi Yamaoka <yamaoka@jpl.org> wrote:
> I see.  So, could it be `_Even if this parameter is not set, ...'?

Yes, that would probably be clearer.


paul



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

* Re: nnmaildir question
  2005-10-07  3:34     ` Paul Jarc
@ 2005-10-07  4:55       ` Katsumi Yamaoka
  0 siblings, 0 replies; 7+ messages in thread
From: Katsumi Yamaoka @ 2005-10-07  4:55 UTC (permalink / raw)


> Katsumi Yamaoka <yamaoka@jpl.org> wrote:

>> I see.  So, could it be `_Even if this parameter is not set, ...'?

>>>>> In <m3vf0a0zkv.fsf@multivac.cwru.edu> Paul Jarc wrote:

> Yes, that would probably be clearer.

Thanks.  I did so in the trunk and the v5-10 branch.  I also
clarified how the expiry-wait group parameter would influence.



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

end of thread, other threads:[~2005-10-07  4:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-06  6:39 nnmaildir question Katsumi Yamaoka
2005-10-06  8:45 ` Katsumi Yamaoka
2005-10-06 16:38   ` Paul Jarc
2005-10-06 16:34 ` Paul Jarc
2005-10-07  0:49   ` Katsumi Yamaoka
2005-10-07  3:34     ` Paul Jarc
2005-10-07  4:55       ` Katsumi Yamaoka

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