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 C8C2E431FB6
\r
6 for <notmuch@notmuchmail.org>; Sun, 5 Aug 2012 14:37:13 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\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 4V-GM+G2uIBm for <notmuch@notmuchmail.org>;
\r
16 Sun, 5 Aug 2012 14:37:09 -0700 (PDT)
\r
17 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu
\r
19 by olra.theworths.org (Postfix) with ESMTP id 65A8D431FAE
\r
20 for <notmuch@notmuchmail.org>; Sun, 5 Aug 2012 14:37:09 -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 0848F2E50D7C;
\r
23 Sun, 5 Aug 2012 14:37:09 -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 443642E50D83;
\r
28 Sun, 5 Aug 2012 14:37:06 -0700 (PDT)
\r
29 Received: by finestructure.net (Postfix, from userid 1000)
\r
30 id D604747E; Sun, 5 Aug 2012 14:37:05 -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: [PATCH 1/4] show: indicate length of omitted body content (json)
\r
34 In-Reply-To: <1344151345-25411-1-git-send-email-novalazy@gmail.com>
\r
35 References: <1344151345-25411-1-git-send-email-novalazy@gmail.com>
\r
36 User-Agent: Notmuch/0.13.2+121~gfda8989 (http://notmuchmail.org) Emacs/23.4.1
\r
37 (x86_64-pc-linux-gnu)
\r
38 Date: Sun, 05 Aug 2012 14:37:02 -0700
\r
39 Message-ID: <87y5ltuikh.fsf@servo.finestructure.net>
\r
41 Content-Type: multipart/signed; boundary="=-=-=";
\r
42 micalg=pgp-sha256; protocol="application/pgp-signature"
\r
43 X-BeenThere: notmuch@notmuchmail.org
\r
44 X-Mailman-Version: 2.1.13
\r
46 List-Id: "Use and development of the notmuch mail system."
\r
47 <notmuch.notmuchmail.org>
\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
49 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
51 List-Post: <mailto:notmuch@notmuchmail.org>
\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
54 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
55 X-List-Received-Date: Sun, 05 Aug 2012 21:37:13 -0000
\r
59 On Sun, Aug 05 2012, Peter Wang <novalazy@gmail.com> wrote:
\r
60 > If a leaf part's body content is omitted, return the content length in
\r
61 > --format=json output. This information may be used by the consumer,
\r
62 > e.g. to decide whether to download a large attachment over a slow link.
\r
64 > devel/schemata | 5 ++++-
\r
65 > notmuch-show.c | 8 ++++++++
\r
66 > 2 files changed, 12 insertions(+), 1 deletions(-)
\r
68 > diff --git a/devel/schemata b/devel/schemata
\r
69 > index 9cb25f5..3df2764 100644
\r
70 > --- a/devel/schemata
\r
71 > +++ b/devel/schemata
\r
72 > @@ -69,7 +69,10 @@ part = {
\r
73 > # A leaf part's body content is optional, but may be included if
\r
74 > # it can be correctly encoded as a string. Consumers should use
\r
75 > # this in preference to fetching the part content separately.
\r
76 > - content?: string
\r
77 > + content?: string,
\r
78 > + # If a leaf part's body content is not included, the content-length
\r
79 > + # may be included instead.
\r
80 > + content-length?: int
\r
82 Hey, Peter. Something somewhere, and probably at least here in the
\r
83 schemata, should mention what the uids are (b? kB? KiB? YiB?)
\r
88 Content-Type: application/pgp-signature
\r
90 -----BEGIN PGP SIGNATURE-----
\r
91 Version: GnuPG v1.4.12 (GNU/Linux)
\r
93 iQIcBAEBCAAGBQJQHud+AAoJEO00zqvie6q8KK0P/RM/i5d8IW6M+Vm3WagdSMq6
\r
94 a0p9ESK9bRQxK0WojaidLfS8UA6f2Hde73za4Pldpd6jsx0U1goXZPWRUa82t81Q
\r
95 ktB1wUxyCm4Hi/TiiyeO/04qA4liw7HXVN8rz7wVQGLqAaa559X8yV2lLBynbXRI
\r
96 BCPN5glwFxL2BvllXacNgmSRyMdcr/xHgaybkjK3JM/3W3TG54e2prR47MMKwW8P
\r
97 eaMZT+gqiWIpO0h6gAEc70/V9lryfbLQJ9xEw8vuVyzdIOZvoF6vozH2Rf2ZLIB/
\r
98 N2Ebr8Uk2RUSYF4xCFOmxUAVmOmWSeIy+F/4vSOakvinl6aQ0vwLpajCVcdchS21
\r
99 D22yxad61BWi6jkzQ/d9ap1LZm2QcdYr6NEqyydDmVExvfE+fnN984VEtmRp09X/
\r
100 kLL5nDekB6qiGBrJjB7Ep1IP0eJjL3Mb068hKs1/sXC1dQFOqeWou35alwLowxSe
\r
101 a+mOp2UernJrGCdj2Kv8t4K3N86zs1xKF63D/wzo8HHUh3Y9YW9C1Sq1DvFnURas
\r
102 R985aEqaTUUY2bNk2y8wpRCNaIuxz2CEsH9SJ056sphS7h7Rf5b15JjZ1SJJoTZC
\r
103 P0bVahHNtN4m9a34ZI1uF3ENKcQAyUVmW43pzIjrCOqqu16H7Yt9tBqntRgEf9np
\r
104 +6R1lOE6pNqAFZLuaO6A
\r
106 -----END PGP SIGNATURE-----
\r