Hi, * Enrico Weigelt [06-05-30 14:37:43 +0200] wrote:
* Rocco Rutte <pdmef@xxxxxxx> schrieb:
Now we already have the mx_* functions defined in mx.h. Besides a few places (like in buffy.c the code checking all mailboxes for new mail) only the mx_* functions are used.
Ok. This would be a good start. I'd like to have this as interface betweenthe actual mailbox code, while in its backend it shall be choosable at buildtime between old style an the new messaging framework. For this towork, we of also course need to have the posting code behind this interface.
I somewhat agree. To be specific, I think (1) that everything except incremental migration makes no sense, (2) we first need to migrate the 'input' side of such a framework (i.e. move around what we already have) and (3) this should be done in 1.7.x for 1.8.x (since even though it should be moving code mostly, the de-couling could introduce bugs).
Also, I've slooowly started to do this. It doesn't do much right now except the driver selection and the requirements for the configuration (i.e. map $mbox_type strings to module id and back).
The patch (just to tell me what design mistakes I do) is: <http://user.cs.tu-berlin.de/~pdmef/mutt/patches/patch-1.5.11-cvs.pdmef.mxdrv.2.diff> and the git branch 'pdmef+patch+mxdrv' is: <http://user.cs.tu-berlin.de/~pdmef/gitweb.cgi?p=mutt/.git;a=shortlog;h=pdmef%2Bpatch%2Bmxdrv> ...in case someone wants to help... :) bye, Rocco -- :wq!