Jon Stewart on Wed, 1 Dec 2004 17:05:16 -0600 (CST)


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

Re: [nimh-dev] Re: Thoughts on pmh


> Here's the problem I see with replcomps: MH gives you something that is, I 
> think, a Turing-complete scripting language for use in replcomps. There are 
> going to be lots of things you just can't do with XML. I think the 
> mh-format syntax is awful, but I do think we should try to preserve its 
> functionality. Rather than using the mh-format language or devising a whole 
> new language, could we just use raw Python in replcomps? We are using an 
> interpreted language, after all.


Yes. You want something similar to SCons (which rocks!), 
http://www.scons.org, where you provide an environment that's specialized 
for a particular purpose (i.e. there are a lot of built-in classes 
specific to creating mail components), but which is built out of general 
purpose python, so there's a nice progression from simple to dizzyingly 
complex.


> > > 5.  Automatic periodic trash emptying (cron?).
> 
> This should be simple; we won't even need Python for it. We'll write a cron 
> script and include that with the package.


You don't necessarily want it linked to a schedule. You may want it linked 
to events (e.g. user logout, etc.). I think it's better to provide a 
"cleanup" command that has a few options (folders, message lists) and the 
user can run it at his/her discretion. If they want it timed, they can 
hook it up to cron.


Jon
-- 
Jon Stewart                                 Advanced Los Angeles C++
stew1@xxxxxxxxxxx                           http://www.alacpp.org
_______________________________________________
nimh-dev mailing list
nimh-dev@xxxxxxxxxxx
http://lists.ellipsis.cx/mailman/listinfo/nimh-dev