[PATCH 9/9] add has: query prefix to search for specific properties
[notmuch-archives.git] / 96 / e316af73d5280a6cb67812b6a94bb8530c43e5
1 Return-Path: <david@tethera.net>\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 174286DE0317\r
6  for <notmuch@notmuchmail.org>; Sun, 10 Apr 2016 19:05:56 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.018\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.018 tagged_above=-999 required=5\r
12  tests=[AWL=-0.007, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01]\r
13  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 aaF2WTAF0k5Z for <notmuch@notmuchmail.org>;\r
17  Sun, 10 Apr 2016 19:05:48 -0700 (PDT)\r
18 Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197])\r
19  by arlo.cworth.org (Postfix) with ESMTPS id 45B006DE02DD\r
20  for <notmuch@notmuchmail.org>; Sun, 10 Apr 2016 19:05:48 -0700 (PDT)\r
21 Received: from remotemail by fethera.tethera.net with local (Exim 4.84)\r
22  (envelope-from <david@tethera.net>)\r
23  id 1apREe-0003LR-Lb; Sun, 10 Apr 2016 22:05:52 -0400\r
24 Received: (nullmailer pid 28974 invoked by uid 1000);\r
25  Mon, 11 Apr 2016 02:05:41 -0000\r
26 From: David Bremner <david@tethera.net>\r
27 To: Mark Walters <markwalters1009@gmail.com>,\r
28  Daniel Kahn Gillmor <dkg@fifthhorseman.net>,\r
29  David Mazieres expires 2016-07-03 PDT\r
30  <mazieres-297ctmng4fhr6h6ad8yffa64yi@temporary-address.scs.stanford.edu>,\r
31  notmuch@notmuchmail.org\r
32 Subject: Re: Breaking a really long thread\r
33 In-Reply-To: <87bn5ijthh.fsf@qmul.ac.uk>\r
34 References: <c10e501c2baee471cbeeb42aad89a1e966407234-NM@bruno.deptj.eu>\r
35  <87k2kd8r6d.fsf@qmul.ac.uk> <87wpoc7hf8.fsf@ta.scs.stanford.edu>\r
36  <8760vrm3jk.fsf@alice.fifthhorseman.net> <87fuuu3938.fsf@zancas.localnet>\r
37  <87bn5ijthh.fsf@qmul.ac.uk>\r
38 User-Agent: Notmuch/0.21+99~gd93d377 (http://notmuchmail.org) Emacs/24.5.1\r
39  (x86_64-pc-linux-gnu)\r
40 Date: Sun, 10 Apr 2016 23:05:41 -0300\r
41 Message-ID: <87oa9g7vd6.fsf@zancas.localnet>\r
42 MIME-Version: 1.0\r
43 Content-Type: text/plain\r
44 X-BeenThere: notmuch@notmuchmail.org\r
45 X-Mailman-Version: 2.1.20\r
46 Precedence: list\r
47 List-Id: "Use and development of the notmuch mail system."\r
48  <notmuch.notmuchmail.org>\r
49 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
50  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
51 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
52 List-Post: <mailto:notmuch@notmuchmail.org>\r
53 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
54 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
55  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
56 X-List-Received-Date: Mon, 11 Apr 2016 02:05:56 -0000\r
57 \r
58 Mark Walters <markwalters1009@gmail.com> writes:\r
59 \r
60 > I think we already have this, except it is called\r
61 > notmuch-mua-hidden-headers. It defaults to '("^User-Agent:").\r
62 >\r
63 > I think it would be reasonable to add In-Reply-To to this list.\r
64 >\r
65 > However, if I read the code correctly, currently we are changing\r
66 > message-hidden-headers globally which doesn't feel the right thing to\r
67 > do. Probably we should do something more like you suggest, and do the\r
68 > overriding just in notmuch-message-mode.\r
69 >\r
70 \r
71 Summarizing, I see 3 related changes here\r
72 \r
73 - fixing the code to let-bind message-hidden-headers instead of globally\r
74   modify it\r
75 \r
76 - adding in-reply-to notmuch-mua\r
77 \r
78 - providing a keybinding to toggle visibility of hidden headers that\r
79   works better than the current use of widen\r
80 \r
81 d\r