[PATCH 0/6] Readd IDLE support again

Sebastian Spaeth Sebastian at SSpaeth.de
Thu May 19 20:15:27 UTC 2011


On Wed, 18 May 2011 08:48:51 -0400, Ethan Glasser-Camp wrote:
> - Hooks may not be sufficient for prompt handling of IDLE responses.
>   For example, there's no hook that lets me run "notmuch new" after
>   processing an IDLE response.

Right. This needs solving on a long term basis, but not in the short
term. Once IDLE works, we can add such a hook. Some people have asked
for a hook to feed new messages in (e.g. for spamfiltering), so I could
imagine a post_new_message hook that hands over a file name as command
line argument, or so.

> - nametrans may not be supported correctly (I haven't tried this).

I don't see why this should be different in the IDLE case than without,
but one never knows.
 
> - IMAP IDLE<->IMAP IDLE doesn't work.  I have a couple of patches for
>   this, but nothing complete.

Now, that sounds really perverse :). OfflineImap has always considered
the remote instance as a master, e.g. when it comes to folder creation
etc. I would have expected that we only support IDLE for the remote
instance anyway.

> - There's an outstanding bug report that IDLE only works "once" for a
>   given sync -- meaning that after one IDLE response is processed, no
>   further IDLE request is made.  I have not been able to reproduce
>   this, but I wouldn't be surprised to find bugs here.

Fun :)
 
> These patches are also available on my github fork of offlineimap,
> branches readd-idle-REBASE and readd-imap2imap-REBASE.  These branches
> will, as the name implies, be rebased until merged, so be warned.

+1 for a new review and merge attempt after the next release.

Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/offlineimap-project/attachments/20110519/b733cb31/attachment.pgp>


More information about the OfflineIMAP-project mailing list