[PATCH] Sort message UID list
Dave Abrahams
dave at boostpro.com
Sun Jul 8 16:26:28 BST 2012
on Sat Jul 07 2012, corvus-AT-gnu.org (James E. Blair) wrote:
> Return a sorted list of UIDs in getmessageuidlist.
>
> Some MUAs (and their users) like to display messages in UID order
> (or "order received"). If offlineimap is used in IMAP<->IMAP mode,
> then the order messages are received by the second IMAP server will
> be different because offlineimap iterates over a UID list produced
> from the keys of a dictionary, which is unsorted.
>
> This change sorts that list of UIDs so that both IMAP servers will
> have their messages in the same order (except those times where
> messages are appended to folders on both repositories between
> syncs).
Would you mind explaining what practical difference this change makes
for a user of offlineimap?
Thanks,
--
Dave Abrahams
BoostPro Computing
http://www.boostpro.com
More information about the OfflineIMAP-project
mailing list