[imapfilter-devel] IMAPFilter 2.0.1

Lefteris Chatzimparmpas lefcha at hellug.gr
Sat Jun 30 20:57:03 EEST 2007


Hans-Werner Hilse wrote:
> The error was on my part (in my test.lua script I was using 
> 'msgid=next(messages)', not 'nr, msgid=next(messages)'). Just setting
> "options.uid=true" is enough. And sure enough this makes the caching
> work now.
> 
> If this option should be configurable in the future (and I think it
> will be, since it is a member of the "options" table), it might still be
> worth thinking about having the cache-disable function in place --
> depending on whether options.uid is set or not. Example attached as a
> patch.

I will probably move the uid option outside of the options table and
into the C code; it caused enough problems already, it was a mistake
leaving it there anyway...

> Another thing I stumbled upon is a missing "expunge" function for the
> mailbox object. I attached a patch for this, too. It might be wanted in
> the case the automatic expunge is disabled. Seems to work fine for me.
> I can now do the EXPUNGE manually after working on the messages.

I originally thought of it as not so useful, or too low-level to go into
the user interface functions, and there was always ifcore.expunge() for
those reading the source.  Will see...

> Just for your information: I would really like to have IDLE support.
> I'm hacking on it, maybe I'll have something ready until tomorrow. Is
> it feasible to include it if it's a clean patch?

I don't know how difficult this would be... I wanted to look into the
IDLE extension but had other priorities when I had a bit of a time to
hack imapfilter.  You're welcome to send a patch, but I can't promise it
will go into the immediate 2.0.x (mostly bug-fix) releases, unless the
solution is so small and simple...

L.




More information about the Imapfilter-devel mailing list