1 Return-Path: <jani@nikula.org>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by arlo.cworth.org (Postfix) with ESMTP id 0B9556DE02AF
\r
6 for <notmuch@notmuchmail.org>; Thu, 4 Aug 2016 09:19:19 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=-0.571 tagged_above=-999 required=5 tests=[AWL=0.149,
\r
12 DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7,
\r
13 RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled
\r
14 Received: from arlo.cworth.org ([127.0.0.1])
\r
15 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id V8ajJIy1By28 for <notmuch@notmuchmail.org>;
\r
17 Thu, 4 Aug 2016 09:19:10 -0700 (PDT)
\r
18 Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com
\r
19 [74.125.82.48]) by arlo.cworth.org (Postfix) with ESMTPS id 0D6FC6DE01EE for
\r
20 <notmuch@notmuchmail.org>; Thu, 4 Aug 2016 09:19:10 -0700 (PDT)
\r
21 Received: by mail-wm0-f48.google.com with SMTP id p129so3361287wmp.0
\r
22 for <notmuch@notmuchmail.org>; Thu, 04 Aug 2016 09:19:09 -0700 (PDT)
\r
23 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
24 d=nikula-org.20150623.gappssmtp.com; s=20150623;
\r
25 h=from:to:subject:in-reply-to:references:user-agent:date:message-id
\r
26 :mime-version; bh=/MVgxaiqDhzuxIje0iSDaNyP5r8LlljwkiUeBoktjzw=;
\r
27 b=Ph7KdoWVrQFooxASd0B3pZRWbUKBSVCNpVnPFOP53ciD3uf+pktnTPkn93C/iltjyo
\r
28 JaGszuXiSZLVOX+RjgU7WnXBKL/s8vy8YwQLNNNqnWS7MbV4ush21dAeQgd2rtZXUvup
\r
29 mazgJwCjHCwgIfoThFvRVEfLL1CbEz9U+7iZU53Fh78K9C5J/UQiDKjBjoRaQ36dwRyz
\r
30 68ndQCWFDxWlil+TQEfbtUdpNrRTbSVJiF+wCO5T3VQg/wc2aCW/8N2z6QcNvL8dElfq
\r
31 HCLzhtN+E8lVTbdoR5QGa31LRFu65yNuYaGyHNKveopEhHvFQzY2DwkN5dhTjKMDhftJ
\r
33 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
34 d=1e100.net; s=20130820;
\r
35 h=x-gm-message-state:from:to:subject:in-reply-to:references
\r
36 :user-agent:date:message-id:mime-version;
\r
37 bh=/MVgxaiqDhzuxIje0iSDaNyP5r8LlljwkiUeBoktjzw=;
\r
38 b=DgOyXHosRWhl3Iaj8O72POugbPmtOhdH6dwzrSX32pdph65NRl6NRN+bFI6SB2q31B
\r
39 VSi/5ljluaDkLUkTIQVvw+fR2NLO6JeHE1keAaBsymT/yoUx1lX02xYLrJp0gGvA2Ohj
\r
40 BgZwU+kiifnqzRTCP6jZKigLJ2BPOdrAjNYAcCmIG381DYfYD30tlHex6iXvjJmJObkp
\r
41 Zx2pG/a0wxo+QqHxtA6N+rnfwRsF2M7fIpU2Bj8607cimq6d72l5A1dWiLVxI66xfsHd
\r
42 crtZqra7Sd6MW+4K5qO62KvrKD7M89U+6O3pgDzL8fc41Y72++dams/L/68sdKl4dlkH
\r
45 AEkoouslAZhgjCbHXzAZh8UHpZY+iMDYktRUm7itjc2L5YW1MGlPmvlH0eS8DLM5Hz7Y3A==
\r
46 X-Received: by 10.28.238.88 with SMTP id m85mr70933087wmh.92.1470327548446;
\r
47 Thu, 04 Aug 2016 09:19:08 -0700 (PDT)
\r
48 Received: from localhost (mobile-access-bcee5c-212.dhcp.inet.fi.
\r
50 by smtp.gmail.com with ESMTPSA id s6sm13559495wjm.25.2016.08.04.09.19.07
\r
51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
\r
52 Thu, 04 Aug 2016 09:19:07 -0700 (PDT)
\r
53 From: Jani Nikula <jani@nikula.org>
\r
54 To: Matt Armstrong <marmstrong@google.com>, notmuch@notmuchmail.org
\r
55 Subject: Re: notmuch.el: controlling what does and doesn't get expanded in
\r
57 In-Reply-To: <qf54m70o7h5.fsf@marmstrong-linux.kir.corp.google.com>
\r
58 References: <qf54m70o7h5.fsf@marmstrong-linux.kir.corp.google.com>
\r
59 User-Agent: Notmuch/0.22+35~g6a833a6 (https://notmuchmail.org) Emacs/24.4.1
\r
60 (x86_64-pc-linux-gnu)
\r
61 Date: Thu, 04 Aug 2016 19:17:44 +0300
\r
62 Message-ID: <87a8gsv787.fsf@nikula.org>
\r
64 Content-Type: text/plain
\r
65 X-BeenThere: notmuch@notmuchmail.org
\r
66 X-Mailman-Version: 2.1.20
\r
68 List-Id: "Use and development of the notmuch mail system."
\r
69 <notmuch.notmuchmail.org>
\r
70 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,
\r
71 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
72 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
73 List-Post: <mailto:notmuch@notmuchmail.org>
\r
74 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
75 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,
\r
76 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
77 X-List-Received-Date: Thu, 04 Aug 2016 16:19:19 -0000
\r
79 On Thu, 04 Aug 2016, Matt Armstrong <marmstrong@google.com> wrote:
\r
80 > This question pertains to notmuch built from recent git HEAD, using
\r
81 > notmuch.el in show mode (i.e. not tree mode).
\r
83 > I sometimes read a thread with a bunch of messages and notmuch.el
\r
84 > collapses a bunch of them (even if unread and the search matches tags
\r
85 > in every message). I can't figure out the heuristic notmuch is
\r
88 The idea is that all the messages matching the query are expanded, the
\r
89 others collapsed. Each expanded message must fully match the query. The
\r
90 unread or inbox tags are not special in this regard.
\r
92 I am not saying this is ideal, but this is how it's supposed to
\r
93 work. (Indeed I'd personally like to define e.g. saved search specific
\r
94 tags or queries to use for deciding which messages to expand.)
\r
96 > In particular, pressing SPC does not seem to navigate to the collapsed
\r
97 > messages (again, even if they are unread).
\r
99 SPC and n and p are supposed to navigate expanded messages only. N and P
\r
100 navigate all messages (but do not expand by default). Again, the tags
\r
101 the messages have do not matter. You can manually expand/collapse
\r
102 messages, and that'll affect the navigation.
\r
104 > Worst case: only the first messages is initially expanded and all
\r
105 > subsequent are collapsed. I press SPC and the cursor goes to the end of
\r
106 > search results. SPC again all the entire thread is archived.
\r
108 > This behavior has caused me to accidentally skip messages. First step
\r
109 > for me is understanding what is going on so I can fix it.
\r
111 Yes, let's first check that notmuch behaves as it is expected, and then
\r
112 figure out how to improve it.
\r