>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 [email protected] https://lists.nongnu.org/mailman/listinfo/nmh-workers
