Gnus development mailing list
 help / color / mirror / Atom feed
* nnfoo-save-mail, nnfoo-active-number
@ 2001-07-11 16:24 Paul Jarc
  2001-07-12 17:13 ` ShengHuo ZHU
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Jarc @ 2001-07-11 16:24 UTC (permalink / raw)


I'm working on getting nnmaildir to accept split mail.  What kind of
group names are passed to -save-mail and -active-number?  Plain, or
prefixed?  Or (ugh) plain for the primary server, and prefixed
otherwise?

Also, is the result of -active-number examined by any part of Gnus or
nnmail, or is it just passed back to -save-mail?  In this case,
-save-mail is recalculating the number anyway, so I wonder if I can
get away with always returning nil (or 1 or whatever) for
-active-number.


paul


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

* Re: nnfoo-save-mail, nnfoo-active-number
  2001-07-11 16:24 nnfoo-save-mail, nnfoo-active-number Paul Jarc
@ 2001-07-12 17:13 ` ShengHuo ZHU
  2001-07-12 22:19   ` Paul Jarc
  0 siblings, 1 reply; 4+ messages in thread
From: ShengHuo ZHU @ 2001-07-12 17:13 UTC (permalink / raw)


prj@po.cwru.edu (Paul Jarc) writes:

> I'm working on getting nnmaildir to accept split mail.  What kind of
> group names are passed to -save-mail and -active-number?  Plain, or
> prefixed?  Or (ugh) plain for the primary server, and prefixed
> otherwise?
> 
> Also, is the result of -active-number examined by any part of Gnus or
> nnmail, or is it just passed back to -save-mail?  In this case,
> -save-mail is recalculating the number anyway, so I wonder if I can
> get away with always returning nil (or 1 or whatever) for
> -active-number.

-save-mail and -active-number are not deffoo functions, therefore, for
 nnmaildir you don't have to implement them unless the backend itself
 wants to use them.

ShengHuo


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

* Re: nnfoo-save-mail, nnfoo-active-number
  2001-07-12 17:13 ` ShengHuo ZHU
@ 2001-07-12 22:19   ` Paul Jarc
  2001-07-24 22:54     ` ShengHuo ZHU
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Jarc @ 2001-07-12 22:19 UTC (permalink / raw)


ShengHuo ZHU <zsh@cs.rochester.edu> writes:
> -save-mail and -active-number are not deffoo functions, therefore, for
> nnmaildir you don't have to implement them unless the backend itself
> wants to use them.

I know they're not part of the Gnus<->backends interface, but they are
part of the nnmail<->mail backends interface.  Without them, you can't
split mail into an nnmaildir group (AFAICT).


paul


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

* Re: nnfoo-save-mail, nnfoo-active-number
  2001-07-12 22:19   ` Paul Jarc
@ 2001-07-24 22:54     ` ShengHuo ZHU
  0 siblings, 0 replies; 4+ messages in thread
From: ShengHuo ZHU @ 2001-07-24 22:54 UTC (permalink / raw)


prj@po.cwru.edu (Paul Jarc) writes:

> ShengHuo ZHU <zsh@cs.rochester.edu> writes:
>> -save-mail and -active-number are not deffoo functions, therefore, for
>> nnmaildir you don't have to implement them unless the backend itself
>> wants to use them.
> 
> I know they're not part of the Gnus<->backends interface, but they are
> part of the nnmail<->mail backends interface.  Without them, you can't
> split mail into an nnmaildir group (AFAICT).

I missed this factor.

In the backend functions, group names are plain names in most cases,
including -save-mail and -active-number.  I think that a fake
active-number is safe if your -save-mail knows that.

ShengHuo


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

end of thread, other threads:[~2001-07-24 22:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-11 16:24 nnfoo-save-mail, nnfoo-active-number Paul Jarc
2001-07-12 17:13 ` ShengHuo ZHU
2001-07-12 22:19   ` Paul Jarc
2001-07-24 22:54     ` ShengHuo ZHU

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