[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sup-devel] [Heliotrope/Turnsole] How to use IMAP?
Excerpts from Michael Stapelberg's message of 2012-02-27 01:16:43 -0800:
> 1) It will completely ignore it.
Correct. This is the problem that the ctime solution is meant to address.
> So, let’s stick to my above example of the spam email and let’s assume
> that you changed the code to use ctimes. The spam mail arrives, its
> ctime is new, it gets picked up into my index. To my understanding, I
> now need to reorder. I have multiple questions:
>
> 1) What are the immediate consequences? Where will this email appear in my
> inbox, when my inbox contains 5 emails. Always at the top? Bottom? You
> mentioned I can see the effect when paging. Can you elaborate please?
Heliotrope will return it as the first result, since it returns messages
in LIFO order.
Currently Turnsole currently re-sorts all messages returned by sort by
date, and so it will place it at the bottom. This is also where the
pagination issues may come from. Maybe it would be less confusing for it
to stick to search result order.
> 2) How do I know when I have to reorder?
You have to reorder whenever you want Heliotrope to return messages in
Date header order instead of in LIFO order. I think this will typically
happen when you import a couple batches of preexisting mail, and not
when you're adding new mail.
--
William <wmorgan@masanjin.net>
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel