Hook for idle sync

Sebastian Spaeth Sebastian at SSpaeth.de
Wed Apr 27 09:04:09 BST 2011


On Tue, 26 Apr 2011 18:25:23 +0200, Antoine Levitt <antoine.levitt at gmail.com> wrote:
> (I was sure I had posted this, but it doesn't appear to have been,
> according to gmane - if it has, sorry)
> 
> I guess it's a pretty common use case to use postsynchook to display a
> notification of some sort on new mail. This is overlooked by the idle
> code, which doesn't call any hooks after getting new mail, thus losing
> much of the point of idle for me. The idle code should call either
> pre/post synchook, or a new hook.
> 
> What do you think?

I agree that there is a need for something along those lines. But *I* am
actually a bit more worried now about getting IDLE to work reliably in
the first place (and not having imaplib2 lock up offlineimap as it seems
to be doing now) before thinking of which hook to use.

Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20110427/9747db02/attachment-0001.sig>


More information about the OfflineIMAP-project mailing list