[Top][All Lists]

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

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

From: Ken Hornstein
Subject: Re: [Nmh-workers] [patch] filtering support for inc
Date: Sun, 16 Jul 2017 22:37:56 -0400

>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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]