Re: [PATCH 1/2] Add Google Inc. to AUTHORS as a contributor.
[notmuch-archives.git] / e3 / fdfe3ee2649771fd5697e653811085c67bdadd
1 Return-Path: <cworth@cworth.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 olra.theworths.org (Postfix) with ESMTP id 6EAFD431FBD;\r
6         Fri,  4 Dec 2009 10:55:54 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 Received: from olra.theworths.org ([127.0.0.1])\r
9         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
10         with ESMTP id S-c6FZhKKLqD; Fri,  4 Dec 2009 10:55:53 -0800 (PST)\r
11 Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
12         by olra.theworths.org (Postfix) with ESMTP id B616E431FAE;\r
13         Fri,  4 Dec 2009 10:55:53 -0800 (PST)\r
14 Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
15         id 6CFD92542FB; Fri,  4 Dec 2009 10:55:53 -0800 (PST)\r
16 From: Carl Worth <cworth@cworth.org>\r
17 To: Notmuch list <notmuch@notmuchmail.org>, Bart Trojanowski <bart@jukie.net>\r
18 In-Reply-To: <877ht3hfh0.fsf@yoom.home.cworth.org>\r
19 References: <877ht3hfh0.fsf@yoom.home.cworth.org>\r
20 Date: Fri, 04 Dec 2009 10:55:52 -0800\r
21 Message-ID: <878wdifu13.fsf@yoom.home.cworth.org>\r
22 MIME-Version: 1.0\r
23 Content-Type: multipart/signed; boundary="=-=-=";\r
24         micalg=pgp-sha1; protocol="application/pgp-signature"\r
25 Subject: [notmuch] Emacs: Problem viewing a thread after reading it once\r
26  interface\r
27 X-BeenThere: notmuch@notmuchmail.org\r
28 X-Mailman-Version: 2.1.12\r
29 Precedence: list\r
30 List-Id: "Use and development of the notmuch mail system."\r
31         <notmuch.notmuchmail.org>\r
32 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
33         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
34 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
35 List-Post: <mailto:notmuch@notmuchmail.org>\r
36 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
37 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
38         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
39 X-List-Received-Date: Fri, 04 Dec 2009 18:55:54 -0000\r
40 \r
41 --=-=-=\r
42 Content-Transfer-Encoding: quoted-printable\r
43 \r
44 On Thu, 03 Dec 2009 14:15:07 -0800, Carl Worth <cworth@cworth.org> wrote:\r
45 >   * Showing a thread where the search matches only a subset of the\r
46 >     thread now opens only the matched messages (in addition to unread\r
47 >     messages).\r
48 >=20\r
49 > This last feature is the big one---the rest all just happened to come\r
50 > along at the same time. One thing that I often do is read some giant\r
51 > thread and then tag a single message deep in that thread for dealing\r
52 > with later. And previously, doing a search for that tag would bring back\r
53 > the entire thread. Now, it opens only the message I'm actually looking\r
54 > for. So this is a very welcome change\r
55 \r
56 Unfortunately, this change also introduces a major bug.\r
57 \r
58 After I do a search such as tag:inbox and then view a resulting thread,\r
59 (and read it and archive it), then my search results still show that\r
60 thread result until I manually update the search view.\r
61 \r
62 But, if I actually try to view that thread again from the search view,\r
63 it doesn't work. It previously worked since it would call "notmuch show"\r
64 with a query string of "thread:foo" but now calls it with "thread:foo\r
65 and tag:inbox" which now matches no messages.\r
66 \r
67 The additional search term wasn't intended to change the returned\r
68 messages, (since we're passing the --entire-thread option to see all the\r
69 messages in the thread). It was only intended to restrict which messages\r
70 get the "match:1" marker added to them.\r
71 \r
72 So maybe we need "notmuch show" to accept a second query string\r
73 to do something like:\r
74 \r
75         notmuch show tag:foo --matching tag:inbox\r
76 \r
77 which will display all threads with messages matching "tag:foo" but then\r
78 mark only the messages matching "tag:inbox" with the "match:1" marker\r
79 for the UI to use.\r
80 \r
81 What do you think, Bart? Did you run into a similar issue with the vim\r
82 interface?\r
83 \r
84 =2DCarl\r
85 \r
86 --=-=-=\r
87 Content-Type: application/pgp-signature\r
88 \r
89 -----BEGIN PGP SIGNATURE-----\r
90 Version: GnuPG v1.4.10 (GNU/Linux)\r
91 \r
92 iD8DBQFLGVs56JDdNq8qSWgRAmmpAKCmSRLOqaY8lfHEzzk+Xfj1uVOLNACeNYut\r
93 6WvYkK+cOddVooO/XZu4kK4=\r
94 =opZd\r
95 -----END PGP SIGNATURE-----\r
96 --=-=-=--\r