Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / d9 / 9d3f501e05d3b8c5effed52cfb300d93e1edc1
1 Return-Path: <jrollins@finestructure.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 olra.theworths.org (Postfix) with ESMTP id 87CDB431FC7\r
6         for <notmuch@notmuchmail.org>; Tue, 29 May 2012 08:00:11 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -2.29\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id yWPGkRN+zObe for <notmuch@notmuchmail.org>;\r
16         Tue, 29 May 2012 08:00:11 -0700 (PDT)\r
17 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
18         [131.215.239.19])\r
19         by olra.theworths.org (Postfix) with ESMTP id 14F82431FBC\r
20         for <notmuch@notmuchmail.org>; Tue, 29 May 2012 08:00:11 -0700 (PDT)\r
21 Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
22         by fire-doxen-postvirus (Postfix) with ESMTP id 6EB232E50D8C;\r
23         Tue, 29 May 2012 08:00:08 -0700 (PDT)\r
24 X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new\r
25 Received: from finestructure.net (unknown [76.89.192.57])\r
26         (Authenticated sender: jrollins)\r
27         by fire-doxen-submit (Postfix) with ESMTP id 615902E50E2C;\r
28         Tue, 29 May 2012 08:00:05 -0700 (PDT)\r
29 Received: by finestructure.net (Postfix, from userid 1000)\r
30         id 6A850938; Tue, 29 May 2012 08:00:02 -0700 (PDT)\r
31 From: Jameson Graef Rollins <jrollins@finestructure.net>\r
32 To: Peter Wang <novalazy@gmail.com>, notmuch@notmuchmail.org\r
33 Subject: Re: search summary and exclusions\r
34 In-Reply-To: <20120529140107.GE2347@hili.localdomain>\r
35 References: <20120529000012.GF2331@hili.localdomain>\r
36         <87mx4sp79z.fsf@servo.finestructure.net>\r
37         <20120529140107.GE2347@hili.localdomain>\r
38 User-Agent: Notmuch/0.13+24~g16915cd (http://notmuchmail.org) Emacs/23.4.1\r
39         (x86_64-pc-linux-gnu)\r
40 Date: Tue, 29 May 2012 08:00:00 -0700\r
41 Message-ID: <87fwajnibz.fsf@servo.finestructure.net>\r
42 MIME-Version: 1.0\r
43 Content-Type: multipart/signed; boundary="=-=-=";\r
44         micalg=pgp-sha256; protocol="application/pgp-signature"\r
45 X-BeenThere: notmuch@notmuchmail.org\r
46 X-Mailman-Version: 2.1.13\r
47 Precedence: list\r
48 List-Id: "Use and development of the notmuch mail system."\r
49         <notmuch.notmuchmail.org>\r
50 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
52 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
53 List-Post: <mailto:notmuch@notmuchmail.org>\r
54 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
55 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
57 X-List-Received-Date: Tue, 29 May 2012 15:00:11 -0000\r
58 \r
59 --=-=-=\r
60 \r
61 On Mon, May 28 2012, Peter Wang <novalazy@gmail.com> wrote:\r
62 > % ./notmuch search --format=json --exclude=true -- thread:0000000000009598 tag:unread\r
63 > [{"thread": "0000000000009598",\r
64 > "timestamp": 1338231998,\r
65 > "date_relative": "Today 05:06",\r
66 > "matched": 1,\r
67 > "total": 15,\r
68 > "authors": "Mark Walters| Peter Wang",\r
69 > "subject": "[PATCH v6 3/6] cli: make --entire-thread=false work for format=json.",\r
70 > "tags": ["deleted", "draft", "replied", "sent", "unread"]}]\r
71 >\r
72 > Here is a thread I participated in.  From this, my MUA displays "1/15",\r
73 > suggesting that there is 1 unread message out of a total of 15.  But\r
74 > upon opening the thread, there are only 11 messages visible: 4 were\r
75 > drafts (possibly deleted) which have been excluded.  To the user, it\r
76 > looks like some messages went missing.\r
77 >\r
78 > Therefore I would like search --output=summary --exclude=true\r
79 > to report the total number of non-excluded messages.  It doesn't need to\r
80 > be via the "total" field; a new field would be fine.\r
81 \r
82 What you have pasted above is --output=json, not --output=summary.  The\r
83 formats are quite different.  What are you asking for a change in?\r
84 \r
85 But regardless, I don't think I would like to see the changes you\r
86 suggest.  I would like for the thread total to list the total number of\r
87 messages in the thread, regardless whether they're excluded or not.\r
88 Same for the tags.  I think I want to continue to see if excluded\r
89 messages are in a returned thread.  The desire to hide the excluded\r
90 messages in the output is why they're marked as hidden/not visible.\r
91 \r
92 Think about the excludes as acting on the search itself, and less on the\r
93 output.  We exclude messages from search, but if they show up in a\r
94 returned thread we at least acknowledge that they're there.\r
95 \r
96 jamie.\r
97 \r
98 --=-=-=\r
99 Content-Type: application/pgp-signature\r
100 \r
101 -----BEGIN PGP SIGNATURE-----\r
102 Version: GnuPG v1.4.12 (GNU/Linux)\r
103 \r
104 iQIcBAEBCAAGBQJPxORwAAoJEO00zqvie6q84jIP/jpe6C6hDz2rN/KAKgXN8pSk\r
105 IwbB7r5llVTIgdFQjhgAOcTw9+MTOjFDQzgbUkF5GjrUfbjnMMjKLuLZpvhu0Wvb\r
106 yg9Wmlf2Y4FmJcWIOlpMLC2yiQadefMtPWreskDzeg5lds6AU/PRBovwSBBDM19S\r
107 ZzwXFEIFYY3iIpTiGniQL9HrqM2n2X/qJ2dAOlHitls4TXS9tWf4uqICTfaddg0J\r
108 uzwBWFqkKpT7r2ruGcQ5DQjRi7Vh9dwQxGLIy4jMDeUumaJ5ezHlyFAJfiU3PWa3\r
109 KBY3Oy1eVo24rsFagc02bO2dlF9KEPSaxEEmRY3vV2QU1FwbG123YyW2Ednd8Im3\r
110 Ob+J86GSa2PJlx/EPdjioqexOMZTeLUYuH6vTxiGAtU2pZRaw5cm3CtQuWU1gPVf\r
111 ngrx0Rtilxn63pHG11a2TlS8a3Xwjltsy5mcNuA+eC/bmU7G22hfsgUtCeuKnCQ/\r
112 mFSdGUHL7OEGZ002Q4WQGRlher8RkNFIxzfEvgIQCoGziJQNChQGYVf2Vg6LDG9I\r
113 uZxl4BeioZrz/tEIfx4xZUf74Xq0TwThuoqaSQgBDeK2rY3PNuQJM/JxNHT6UbTx\r
114 S4nXB7KcUYJMbc0Do0Yy4Fj32QBd480I2oZhVf2gvdPHmfNUgoAGu8w9BNDCLf1e\r
115 +ac5T+t/bCRDjm0EOrEm\r
116 =1PLn\r
117 -----END PGP SIGNATURE-----\r
118 --=-=-=--\r