Re: [PATCH 1/3] sorting: add the ability to sort by from and subject

Subject: Re: [PATCH 1/3] sorting: add the ability to sort by from and subject

Date: Mon, 04 Sep 2017 19:02:44 -0300

To: William Casarin, Jani Nikula

Cc: notmuch@notmuchmail.org, notmuch@freelists.org

From: David Bremner


William Casarin <jb55@jb55.com> writes:

> William Casarin <jb55@jb55.com> writes:
>
>> Jani Nikula <jani@nikula.org> writes:
>>
>>> The implementation seems simple enough, but what's the use case, really?
>>
>> I get all of my rss feeds sent to my inbox, I wanted to be able to group
>> similar feeds (mainly by from, sometimes subject). Alternatively if
>> there was a way to group by tags I could do it that way, but I don't tag
>> all of my individual feeds.
>>
>> If this is too obscure of a use case please feel free to ignore!
>
> A use case for the subject sort is my github tag. Since the repo name is
> at the start of the subject line, it sorts by repo so I can quickly skim
> across all the issues/prs in all the github repos I follow

It seems worth mentioning that it's possible to preprocess values into
keys (see Xapian::Enquire::set_sort_by_key). So things like Re:
etc... could be stripped.


Thread: