[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-devel] Writing changes back to sources



Excerpts from Scott Henson's message of Mon Mar 08 00:45:54 -0500 2010:

> To do the above I think we probably need standardize how messages
> are added and removed from sources.  The maildir source has
> store_message and delete.  I would suppose that we would need to
> implement something similar for the other sources (is mbox the only
> other one left?).  Does this seem to be a good idea or do we want to
> continue having different ways of writing back to sources?

This is overall a good idea, I think.  I haven't looked at this in
some time, so my memory may be off or the code changed in the interim,
but if you did something like this, you could like do away with
SentManager completely.  Without the addition support of the mbox
store_message method, it would be a skeleton for default_set_source
(or whatever that method is)...at which point that functionality could
be handled differently.

Just a few (hopefully valid and useful) thoughts.

Thanks
-Ben

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel