[Users] [PATCH 2/2] Clean up summary comparison functions

Alexander Lyons Harkness me at bearbin.net
Sun Aug 25 18:23:10 CEST 2019


On Sun, 25 Aug 2019 16:53:30 +0100
Alexander Lyons Harkness <me at bearbin.net> wrote:

> All functions now have the requisite error checks and behaviour is
> consistent between the different comparison algorithms (unset is
> now always counted as a maximal value for sorting). Comparison
> functions never return 0 unless the two messages compared are in
> fact the same.  

Another thought I had about the sorting options - is sorting by date
really the right fallback option if comparison by the others fails.
If message ID is guaranteed to be present, sorting by it would
seem to be a better solution. Is that the case on all setups
though?

 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20190825/8f354667/attachment.sig>


More information about the Users mailing list