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 078696DE0927 for ; Mon, 4 Sep 2017 06:54:40 -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 YKPjOCg32oX1 for ; Mon, 4 Sep 2017 06:54:35 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 505886DE0350 for ; Mon, 4 Sep 2017 06:54:35 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1dormB-0005cG-CU; Mon, 04 Sep 2017 09:50:55 -0400 Received: (nullmailer pid 29749 invoked by uid 1000); Mon, 04 Sep 2017 13:54:32 -0000 From: David Bremner To: William Casarin , notmuch@notmuchmail.org, notmuch@freelists.org Subject: Re: notmuch-search: sort by subject or author? In-Reply-To: <87a82aip0d.fsf@jb55.com> References: <87a82aip0d.fsf@jb55.com> Date: Mon, 04 Sep 2017 10:54:32 -0300 Message-ID: <87h8wiy3fr.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 13:54:40 -0000 William Casarin writes: > Hey there, > > Is there a way to sort by subject or author in emacs/notmuch-search? I > find myself wanting to do this a lot. My particular use case is rss > feeds, where I have many different feeds in my rss tag that I would like > to group together. > > If not, I am interested in adding this feature. > > Thanks, > William I think it's not really possible at the moment. If you want this to work with large searches then it probably needs to be done at the CLI level (see [1] for work in progress adding sorting by file size). Luckily 'From' and 'Subject' are already value slots in the database, which means that nothing should have to change in the database to add those sort orders (i.e. it should be less work than [1]). [1] id:20170518222708.30032-1-adi@adirat.com