Re: [PATCH v2 04/11] emacs: make notmuch-search-oldest-first generic

2017-06-10 Thread David Bremner
Ioan-Adrian Ratiu writes: > The current search result order logic assumes results are always > sorted by date and thus uses a boolean switch for oldest/newest > ordering specifications. > > This is problematic if I want to introduce other result orderings, > like for example

[PATCH v2 04/11] emacs: make notmuch-search-oldest-first generic

2017-05-18 Thread Ioan-Adrian Ratiu
The current search result order logic assumes results are always sorted by date and thus uses a boolean switch for oldest/newest ordering specifications. This is problematic if I want to introduce other result orderings, like for example based on the mail-file size with smallest/biggest ordering