nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] [patch] filtering support for inc

2017-07-16 21:38:18
The hooks cover everything so that one can keep track of what message exist
and where they are.  The work for me, but I don't use all of the gritty nmh
features so there might be bugs for some complex cases.  Consider it like
the attachment handling which went for more than a decade before someone
took issue with it :-)  They could certainly be made more robust.

Well, yes, buuuttt ... we never sat down and said what a hook can and
can't do.  Like, can the "add" hook move a message to another folder?  I
don't think it can, since it's probably called with the folder sequence
locked; that might prevent you from moving the message to another
folder.  So you probably can't use them for filtering, at least as
people normally intend it.  Clearly you just intended it to do external
indexing; that's fine, but it's important to understand the limitations.

--Ken

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>