Re: [PATCH v2] Omit User-Agent: header by default
[notmuch-archives.git] / 83 / 8c9ec122457aff4e97b784862ed844acbd4015
1 Return-Path: <markwalters1009@gmail.com>\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 C7545431FB6\r
6         for <notmuch@notmuchmail.org>; Mon, 23 Jul 2012 09:17:26 -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.7\r
10 X-Spam-Level: **\r
11 X-Spam-Status: No, score=2.7 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,\r
14         FREEMAIL_REPLY=2.499, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
15 Received: from olra.theworths.org ([127.0.0.1])\r
16         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
17         with ESMTP id 54rpcgVxixXQ for <notmuch@notmuchmail.org>;\r
18         Mon, 23 Jul 2012 09:17:26 -0700 (PDT)\r
19 Received: from mail-we0-f181.google.com (mail-we0-f181.google.com\r
20         [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
21         (No client certificate requested)\r
22         by olra.theworths.org (Postfix) with ESMTPS id 3881D431FAF\r
23         for <notmuch@notmuchmail.org>; Mon, 23 Jul 2012 09:17:26 -0700 (PDT)\r
24 Received: by weyt57 with SMTP id t57so4914893wey.26\r
25         for <notmuch@notmuchmail.org>; Mon, 23 Jul 2012 09:17:24 -0700 (PDT)\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
27         h=from:to:cc:subject:date:message-id:x-mailer;\r
28         bh=dNHORNfL0Yi296IGTjV3NVuQF6vrTbnvMepeNEGArL8=;\r
29         b=AByWMY/Rui8DdYMTde5QC+H4tjbwAbUIALWWss/1R5NPRm8uMEa/ZpWj3KDBrf8V7z\r
30         7+W22UVrPXysV2Q8pDrAnk9GcPdeJ/6kE+R+v9Dx6TumKaLYAVxnWN36OKUh9wIUwBQS\r
31         9ZL1+r3yQl6/1Vqlfsx+OUt9ZbJXhglqy9CRfZu78N6WCTKnHNd7F3ryT+1G8jrPXsrw\r
32         WKwi7dL+KmMjku+aAE3JcewiOhselxG5XQPeZ0XW0wIczSdT5VkwmA1eg85dRYWJLw06\r
33         cFiD1Vviu59NY8fHwwrjYOYYEoL+OSfXjhgE7CBSq8gpWyH/PHNr65aVJI7gz0i2KeuX\r
34         PtAg==\r
35 Received: by 10.216.209.8 with SMTP id r8mr8891242weo.51.1343060244781;\r
36         Mon, 23 Jul 2012 09:17:24 -0700 (PDT)\r
37 Received: from localhost (94-192-233-223.zone6.bethere.co.uk.\r
38  [94.192.233.223])      by mx.google.com with ESMTPS id\r
39  el6sm17605393wib.8.2012.07.23.09.17.22 (version=TLSv1/SSLv3 cipher=OTHER);\r
40         Mon, 23 Jul 2012 09:17:23 -0700 (PDT)\r
41 From: Mark Walters <markwalters1009@gmail.com>\r
42 To: notmuch@notmuchmail.org\r
43 Subject: [PATCH 0/4] Add a --body option to notmuch show\r
44 Date: Mon, 23 Jul 2012 17:17:17 +0100\r
45 Message-Id: <1343060241-18283-1-git-send-email-markwalters1009@gmail.com>\r
46 X-Mailer: git-send-email 1.7.9.1\r
47 X-BeenThere: notmuch@notmuchmail.org\r
48 X-Mailman-Version: 2.1.13\r
49 Precedence: list\r
50 List-Id: "Use and development of the notmuch mail system."\r
51         <notmuch.notmuchmail.org>\r
52 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
53         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
54 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
55 List-Post: <mailto:notmuch@notmuchmail.org>\r
56 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
57 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
58         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
59 X-List-Received-Date: Mon, 23 Jul 2012 16:17:27 -0000\r
60 \r
61 After discussion on irc today here is another version of the omit body\r
62 patches.  The conclusion on irc was that the option should just make\r
63 the body: field in the JSON output optional. The --body=false option\r
64 omits this field. The default remains --body=true including the body:\r
65 field in the output.\r
66 \r
67 This version includes tests for the new functionality and updates the\r
68 manpage and the schemata.\r
69 \r
70 The motivation for this patch is that some callers do not need the\r
71 body and omitting it gives a substantial speed up and substantial\r
72 reduction in amount of data output.\r
73 \r
74 Previous related patches are at\r
75 id:"1342967879-20453-1-git-send-email-markwalters1009@gmail.com" and\r
76 id:"1341041595-5858-1-git-send-email-markwalters1009@gmail.com"\r
77 \r
78 Best wishes\r
79 \r
80 Mark\r
81 \r
82 \r
83 \r
84 Mark Walters (4):\r
85   cli: add --body=true|false option to notmuch-show.c\r
86   test: add tests for the new --body=true|false option\r
87   man: update man page for the new --body=true|false option\r
88   schemata: update for --body=true|false option\r
89 \r
90  devel/schemata          |    2 +-\r
91  man/man1/notmuch-show.1 |   16 ++++++++++++++++\r
92  notmuch-client.h        |    3 ++-\r
93  notmuch-reply.c         |    2 +-\r
94  notmuch-show.c          |   23 +++++++++++++++--------\r
95  test/json               |    9 +++++++++\r
96  6 files changed, 44 insertions(+), 11 deletions(-)\r
97 \r
98 -- \r
99 1.7.9.1\r
100 \r