[PATCH 3/5] CLI: add print_status_database
[notmuch-archives.git] / 20 / b134a5b106e09a727ab5aef78f1c00120e0c71
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 01E55431FB6\r
6         for <notmuch@notmuchmail.org>; Sun,  3 Jun 2012 04:46:20 -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 aWrYAW0r8tYO for <notmuch@notmuchmail.org>;\r
18         Sun,  3 Jun 2012 04:46:19 -0700 (PDT)\r
19 Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com\r
20         [209.85.212.179]) (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 1F7D2431FAE\r
23         for <notmuch@notmuchmail.org>; Sun,  3 Jun 2012 04:46:19 -0700 (PDT)\r
24 Received: by wibhr14 with SMTP id hr14so1550185wib.2\r
25         for <notmuch@notmuchmail.org>; Sun, 03 Jun 2012 04:46:16 -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=R0yeUDLkrlE9GUbSEDNAeQ+4CTNvKsZ/sJYHuQzTfXU=;\r
29         b=YOaEBq13e+gTyIq7oBVlyshCuBuHsVT4yVqedSo1EvNM/JRmcCokRFa4f37ibpj3ek\r
30         KEvcgooTolmnMgLP7DoG2mGyhpsRhn7fxwzRFBCn932OQOywvBuolASvHJ35a2z3pm/m\r
31         sY3Xru7lbhOYjVBAty/6d4JyM2NbdB8qSLU5CVH37i7tkBcdFKZD0EF3spLLPx8yOtL+\r
32         r9H62xf0kSN1YfIuRewxCXMBtFOB2vSfSA0CXGkxXXvQlfYOMNSvY/sspSpm9zSd+8S8\r
33         7SLsg9Xh5+IIPbgOFIT+9YDBnGNr+CYvhEbPM5Wl2/vOEXsmfe8vMDHh/bsdJTVKcddH\r
34         hn/Q==\r
35 Received: by 10.216.26.201 with SMTP id c51mr6768844wea.108.1338723976314;\r
36         Sun, 03 Jun 2012 04:46:16 -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  gv7sm12137347wib.4.2012.06.03.04.46.14 (version=TLSv1/SSLv3 cipher=OTHER);\r
40         Sun, 03 Jun 2012 04:46:15 -0700 (PDT)\r
41 From: Mark Walters <markwalters1009@gmail.com>\r
42 To: notmuch@notmuchmail.org\r
43 Subject: [Patch v7 0/6] Allow JSON to use non-entire thread, and use for elide\r
44 Date: Sun,  3 Jun 2012 12:46:06 +0100\r
45 Message-Id: <1338723972-13063-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: Sun, 03 Jun 2012 11:46:20 -0000\r
60 \r
61 This is version 7 of this patch set: the previous version is at\r
62 id:"1338106946-7611-1-git-send-email-markwalters1009@gmail.com".\r
63 \r
64 I have fixed the whitespace errors, and simplified the logic in\r
65 notmuch-show.c as suggested by Peter.\r
66 \r
67 I did not update the error output string as what is there is\r
68 consistent with the other error cases. However, I have a followup\r
69 patch which rejigs the error handling considerably, as there are some\r
70 other oddities: for example currently \r
71 \r
72 notmuch show --part id:<a message>\r
73 \r
74 (with no number to "part") silently fails. It is a very simple but\r
75 relatively large patch: I will post it as a reply to this thread but\r
76 it is not logically part of the series (although it touches a lot of\r
77 the same code).\r
78 \r
79 Best wishes\r
80 \r
81 Mark\r
82 \r
83 Mark Walters (6):\r
84   cli: command line parsing: allow default for keyword options\r
85   cli: Let json output "null" messages for non --entire-thread\r
86   cli: make --entire-thread=false work for format=json.\r
87   Update devel/schemata for --entire-thread=false\r
88   emacs: make elide messages use notmuch-show for omitting messages.\r
89   cli: notmuch-show.c fix whitespace error\r
90 \r
91  command-line-arguments.c |   17 +++++++++++---\r
92  devel/TODO               |    2 -\r
93  devel/schemata           |    2 +-\r
94  emacs/notmuch-show.el    |   18 ++++++++------\r
95  notmuch-client.h         |    1 +\r
96  notmuch-show.c           |   55 +++++++++++++++++++++++++++++++++++++--------\r
97  6 files changed, 70 insertions(+), 25 deletions(-)\r
98 \r
99 -- \r
100 1.7.9.1\r
101 \r