--- /dev/null
+Return-Path: <marmstrong@google.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id E615F6DE01BA\r
+ for <notmuch@notmuchmail.org>; Thu, 4 Aug 2016 08:54:28 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.914\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.914 tagged_above=-999 required=5 tests=[AWL=0.108,\r
+ DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.211, SPF_PASS=-0.001,\r
+ T_RP_MATCHES_RCVD=-0.01] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id kc-zVfWo702P for <notmuch@notmuchmail.org>;\r
+ Thu, 4 Aug 2016 08:54:21 -0700 (PDT)\r
+Received: from mail-pf0-f177.google.com (mail-pf0-f177.google.com\r
+ [209.85.192.177])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 377776DE00DF\r
+ for <notmuch@notmuchmail.org>; Thu, 4 Aug 2016 08:54:21 -0700 (PDT)\r
+Received: by mail-pf0-f177.google.com with SMTP id h186so87678014pfg.3\r
+ for <notmuch@notmuchmail.org>; Thu, 04 Aug 2016 08:54:21 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\r
+ s=20120113; h=from:to:subject:user-agent:date:message-id:mime-version;\r
+ bh=mowu4O4elTCIGAau78yB3FtTmaTm81bCPVk4YlCuPmY=;\r
+ b=kgggzDcRAxw4t0xNvxWzJGt67bsFfpvceqhaOVkzKIhCXYt4EzTe2F8UP0j2eREWRN\r
+ 3DpAT6g2PRKr2j8I9w1TOdIq4xPwWdFiIrMGC72Pl4AHK4C2c0wzfHSw4ViAcUIiN+mi\r
+ +eRvSOVBZY20AL4pDDbkmkzo7DsGOvsyFf/TOt3OYzf4Vqlr+ayDhRv/cetOTH5O0mBk\r
+ TfVrRQ49n4/+WEQ8HVvLIGIpllJmhruDcTUAEOcVdK88NE0Gv9aEInXl3EItxGxtx7nU\r
+ LXi8eRT8QmIyeaZTNnLVU6+d7kncCen4QQHYUDqBFd35WwV24hKOO2E+ixrs0NN3hTDu kKig==\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=1e100.net; s=20130820;\r
+ h=x-gm-message-state:from:to:subject:user-agent:date:message-id\r
+ :mime-version;\r
+ bh=mowu4O4elTCIGAau78yB3FtTmaTm81bCPVk4YlCuPmY=;\r
+ b=Z1d2nkOnYDJpNtSGlBL49N9nGGTn9Nw2tnJScbo+DrzTsKNQjvDGqPqamqc+YVunlc\r
+ GCeLEmdPtHzHzKU4jHcO4QPsJTVo43SD1Ab2GZ4gIYVx4ZZT2tFvk2Bl5iOB9OK/vAiN\r
+ PihTGAXaOQwIdlq3tsURBwchEvhjWw8slkubqce2ClwC9gP4zeNwHpZHAQ9w0URyrSnc\r
+ GrnU+vJAXkIiXw7ypiI5Toig1IToK9/OuLtxKeR981nqKVXQArbhCTx/DGfAeh45VVub\r
+ svjYsR0COOsij6P2oPRe1F1wSB1t/I+F5kgeUQHGyQ+SYYwhIhtLABtBhaCMgDFEtuXL\r
+ /tDw==\r
+X-Gm-Message-State:\r
+ AEkoouvQCfY0yTtSafolusGuoxZUKhiNr3Lo2vQTbIW3S8jpK3TSzmoiNPCabEGj5wn6DFbd\r
+X-Received: by 10.98.201.2 with SMTP id k2mr126959108pfg.95.1470326057860;\r
+ Thu, 04 Aug 2016 08:54:17 -0700 (PDT)\r
+Received: from marmstrong-linux.kir.corp.google.com\r
+ ([2620:0:1008:11:9d01:ef49:41c8:1902])\r
+ by smtp.gmail.com with ESMTPSA id g21sm21382988pfj.88.2016.08.04.08.54.16\r
+ for <notmuch@notmuchmail.org>\r
+ (version=TLS1_2 cipher=AES128-SHA bits=128/128);\r
+ Thu, 04 Aug 2016 08:54:16 -0700 (PDT)\r
+From: Matt Armstrong <marmstrong@google.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: notmuch.el: controlling what does and doesn't get expanded in\r
+ searches\r
+User-Agent: Notmuch/0.22.1+62~g2a7b11b (https://notmuchmail.org) Emacs/24.3.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Thu, 04 Aug 2016 08:54:14 -0700\r
+Message-ID: <qf54m70o7h5.fsf@marmstrong-linux.kir.corp.google.com>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Thu, 04 Aug 2016 15:54:29 -0000\r
+\r
+This question pertains to notmuch built from recent git HEAD, using\r
+notmuch.el in show mode (i.e. not tree mode).\r
+\r
+I sometimes read a thread with a bunch of messages and notmuch.el\r
+collapses a bunch of them (even if unread and the search matches tags in\r
+every message). I can't figure out the heuristic notmuch is applying\r
+here. In particular, pressing SPC does not seem to navigate to the\r
+collapsed messages (again, even if they are unread).\r
+\r
+Worst case: only the first messages is initially expanded and all\r
+subsequent are collapsed. I press SPC and the cursor goes to the end of\r
+search results. SPC again all the entire thread is archived.\r
+\r
+This behavior has caused me to accidentally skip messages. First step\r
+for me is understanding what is going on so I can fix it.\r