From fd5fe6169f77d05a5477cecabc212426c596608d Mon Sep 17 00:00:00 2001 From: Yuri D'Elia Date: Thu, 4 Aug 2016 17:39:15 +0200 Subject: [PATCH] Flat search and threaded views --- 51/d3876ed93cd001582a74d4ffd4ba418223db3c | 78 +++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 51/d3876ed93cd001582a74d4ffd4ba418223db3c diff --git a/51/d3876ed93cd001582a74d4ffd4ba418223db3c b/51/d3876ed93cd001582a74d4ffd4ba418223db3c new file mode 100644 index 000000000..3892724d8 --- /dev/null +++ b/51/d3876ed93cd001582a74d4ffd4ba418223db3c @@ -0,0 +1,78 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id D1DE46DE01BA + for ; Thu, 4 Aug 2016 09:06:52 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -2.697 +X-Spam-Level: +X-Spam-Status: No, score=-2.697 tagged_above=-999 required=5 + tests=[AWL=-2.686, 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 Ium8qftVmEcG for ; + Thu, 4 Aug 2016 09:06:43 -0700 (PDT) +X-Greylist: delayed 1645 seconds by postgrey-1.35 at arlo; + Thu, 04 Aug 2016 09:06:43 PDT +Received: from e.thregr.org (e.thregr.org [80.68.88.20]) + by arlo.cworth.org (Postfix) with ESMTPS id A02EB6DE00DF + for ; Thu, 4 Aug 2016 09:06:43 -0700 (PDT) +Received: from [2a02:27e8:20:9049:56ee:75ff:fe83:444c] (helo=localhost) + by e.thregr.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) + (Exim 4.87) (envelope-from ) id 1bVKjr-0008Et-F8 + for notmuch@notmuchmail.org; Thu, 04 Aug 2016 17:39:15 +0200 +From: Yuri D'Elia +To: notmuch@notmuchmail.org +Subject: Flat search and threaded views +User-Agent: Notmuch/ (https://notmuchmail.org) Emacs/24.5.1 + (x86_64-pc-linux-gnu) +Date: Thu, 04 Aug 2016 17:39:15 +0200 +Message-ID: <87k2fwbl24.fsf@wavexx.thregr.org> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +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: Thu, 04 Aug 2016 16:06:52 -0000 + +Hi everyone, I'm experimenting with notmuch-emacs.el (straight from +git), and I have a few questions after a few days of testing. + +The search buffer packs messages in threads by default. Is there a way +to have a flat list of strictly matching messages when needed? + +For example, for a query like "tag:unread AND date:24h..now", I'm shown +all threads containing unread messages within the last day, which is +perfect. But when I select a thread (with RET), I'm shown the thread +from the start. + +I'd like to jump directly to the first unread message (and in detail, to +the first message that actually matches the query!). It's really not +great to have to find what message matched the query, especially for +long-running threads. + +Another odd behavior I get as a result is that you obviously need to +select the unread message explicitly to remove the unread tag. Applying +tags to _individual_ messages is similarly weird, as you cannot do that +from the search view (they would apply to the entire thread). Maybe I'm +missing a better way here. + +Tree view is only marginally better in both scenarios. + +You can start a tree search with 'z', but is there a way to make +searches from the notmuch-hello box into tree by default? + +Is there a way to sort the search (either tree/search) by subject or +by author? Rarely useful, but it doesn't seem possible. -- 2.26.2