From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id ED2EF6DE028C for ; Mon, 4 Sep 2017 15:02:53 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.001 X-Spam-Level: X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[AWL=0.010, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W86h0rgGa-0W for ; Mon, 4 Sep 2017 15:02:49 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 724426DE00D3 for ; Mon, 4 Sep 2017 15:02:49 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1dozOc-0006IO-FO; Mon, 04 Sep 2017 17:59:06 -0400 Received: (nullmailer pid 28408 invoked by uid 1000); Mon, 04 Sep 2017 22:02:44 -0000 From: David Bremner To: William Casarin , Jani Nikula Cc: notmuch@notmuchmail.org, notmuch@freelists.org Subject: Re: [PATCH 1/3] sorting: add the ability to sort by from and subject In-Reply-To: <87r2vmw6ev.fsf@jb55.com> References: <20170904160040.23642-1-jb55@jb55.com> <87efrm70ai.fsf@nikula.org> <87wp5ew7v6.fsf@jb55.com> <87r2vmw6ev.fsf@jb55.com> Date: Mon, 04 Sep 2017 19:02:44 -0300 Message-ID: <8760cyxgu3.fsf@tethera.net> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Sep 2017 22:02:54 -0000 William Casarin writes: > William Casarin writes: > >> Jani Nikula 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.