From: Matt Armstrong Date: Thu, 4 Aug 2016 15:54:14 +0000 (+1700) Subject: notmuch.el: controlling what does and doesn't get expanded in searches X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9063d8e56a1d3b4fd243266fb10a53c467f04fb4;p=notmuch-archives.git notmuch.el: controlling what does and doesn't get expanded in searches --- diff --git a/f7/728e20bd668bf5eed617d9a960c2a663f623ea b/f7/728e20bd668bf5eed617d9a960c2a663f623ea new file mode 100644 index 000000000..c4e6cf5b8 --- /dev/null +++ b/f7/728e20bd668bf5eed617d9a960c2a663f623ea @@ -0,0 +1,92 @@ +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 E615F6DE01BA + for ; Thu, 4 Aug 2016 08:54:28 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.914 +X-Spam-Level: +X-Spam-Status: No, score=-0.914 tagged_above=-999 required=5 tests=[AWL=0.108, + DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.211, 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 kc-zVfWo702P for ; + Thu, 4 Aug 2016 08:54:21 -0700 (PDT) +Received: from mail-pf0-f177.google.com (mail-pf0-f177.google.com + [209.85.192.177]) + by arlo.cworth.org (Postfix) with ESMTPS id 377776DE00DF + for ; Thu, 4 Aug 2016 08:54:21 -0700 (PDT) +Received: by mail-pf0-f177.google.com with SMTP id h186so87678014pfg.3 + for ; Thu, 04 Aug 2016 08:54:21 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; + s=20120113; h=from:to:subject:user-agent:date:message-id:mime-version; + bh=mowu4O4elTCIGAau78yB3FtTmaTm81bCPVk4YlCuPmY=; + b=kgggzDcRAxw4t0xNvxWzJGt67bsFfpvceqhaOVkzKIhCXYt4EzTe2F8UP0j2eREWRN + 3DpAT6g2PRKr2j8I9w1TOdIq4xPwWdFiIrMGC72Pl4AHK4C2c0wzfHSw4ViAcUIiN+mi + +eRvSOVBZY20AL4pDDbkmkzo7DsGOvsyFf/TOt3OYzf4Vqlr+ayDhRv/cetOTH5O0mBk + TfVrRQ49n4/+WEQ8HVvLIGIpllJmhruDcTUAEOcVdK88NE0Gv9aEInXl3EItxGxtx7nU + LXi8eRT8QmIyeaZTNnLVU6+d7kncCen4QQHYUDqBFd35WwV24hKOO2E+ixrs0NN3hTDu kKig== +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:from:to:subject:user-agent:date:message-id + :mime-version; + bh=mowu4O4elTCIGAau78yB3FtTmaTm81bCPVk4YlCuPmY=; + b=Z1d2nkOnYDJpNtSGlBL49N9nGGTn9Nw2tnJScbo+DrzTsKNQjvDGqPqamqc+YVunlc + GCeLEmdPtHzHzKU4jHcO4QPsJTVo43SD1Ab2GZ4gIYVx4ZZT2tFvk2Bl5iOB9OK/vAiN + PihTGAXaOQwIdlq3tsURBwchEvhjWw8slkubqce2ClwC9gP4zeNwHpZHAQ9w0URyrSnc + GrnU+vJAXkIiXw7ypiI5Toig1IToK9/OuLtxKeR981nqKVXQArbhCTx/DGfAeh45VVub + svjYsR0COOsij6P2oPRe1F1wSB1t/I+F5kgeUQHGyQ+SYYwhIhtLABtBhaCMgDFEtuXL + /tDw== +X-Gm-Message-State: + AEkoouvQCfY0yTtSafolusGuoxZUKhiNr3Lo2vQTbIW3S8jpK3TSzmoiNPCabEGj5wn6DFbd +X-Received: by 10.98.201.2 with SMTP id k2mr126959108pfg.95.1470326057860; + Thu, 04 Aug 2016 08:54:17 -0700 (PDT) +Received: from marmstrong-linux.kir.corp.google.com + ([2620:0:1008:11:9d01:ef49:41c8:1902]) + by smtp.gmail.com with ESMTPSA id g21sm21382988pfj.88.2016.08.04.08.54.16 + for + (version=TLS1_2 cipher=AES128-SHA bits=128/128); + Thu, 04 Aug 2016 08:54:16 -0700 (PDT) +From: Matt Armstrong +To: notmuch@notmuchmail.org +Subject: notmuch.el: controlling what does and doesn't get expanded in + searches +User-Agent: Notmuch/0.22.1+62~g2a7b11b (https://notmuchmail.org) Emacs/24.3.1 + (x86_64-pc-linux-gnu) +Date: Thu, 04 Aug 2016 08:54:14 -0700 +Message-ID: +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 15:54:29 -0000 + +This question pertains to notmuch built from recent git HEAD, using +notmuch.el in show mode (i.e. not tree mode). + +I sometimes read a thread with a bunch of messages and notmuch.el +collapses a bunch of them (even if unread and the search matches tags in +every message). I can't figure out the heuristic notmuch is applying +here. In particular, pressing SPC does not seem to navigate to the +collapsed messages (again, even if they are unread). + +Worst case: only the first messages is initially expanded and all +subsequent are collapsed. I press SPC and the cursor goes to the end of +search results. SPC again all the entire thread is archived. + +This behavior has caused me to accidentally skip messages. First step +for me is understanding what is going on so I can fix it.