[PATCH v6 0/6] Allow JSON to use non-entire thread, and use for elide
authorMark Walters <markwalters1009@gmail.com>
Sun, 27 May 2012 08:22:20 +0000 (09:22 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:47:28 +0000 (09:47 -0800)
82/d635185919b0787fe92744e72cbc36956658b8 [new file with mode: 0644]

diff --git a/82/d635185919b0787fe92744e72cbc36956658b8 b/82/d635185919b0787fe92744e72cbc36956658b8
new file mode 100644 (file)
index 0000000..32ef243
--- /dev/null
@@ -0,0 +1,106 @@
+Return-Path: <markwalters1009@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 21BCB431FBC\r
+       for <notmuch@notmuchmail.org>; Sun, 27 May 2012 01:22:32 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 2.7\r
+X-Spam-Level: **\r
+X-Spam-Status: No, score=2.7 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,\r
+       FREEMAIL_REPLY=2.499, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id ZtOAZMLlht25 for <notmuch@notmuchmail.org>;\r
+       Sun, 27 May 2012 01:22:31 -0700 (PDT)\r
+Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com\r
+       [209.85.212.179]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 7DD1C431FAF\r
+       for <notmuch@notmuchmail.org>; Sun, 27 May 2012 01:22:31 -0700 (PDT)\r
+Received: by wibhr14 with SMTP id hr14so647090wib.2\r
+       for <notmuch@notmuchmail.org>; Sun, 27 May 2012 01:22:30 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=from:to:cc:subject:date:message-id:x-mailer;\r
+       bh=NgIIZmveDEU6VU2Oc39jxsdo8b65k7G8WPqmXHGgiGU=;\r
+       b=Ej9hIG6lkalXXOJlWjP6j7g25HshiuZrOF0TTaEgwyyV9vmxWxLtDwzmtv4XSYUsi9\r
+       vp3K5FqYoE2m4zaDSReeyEXM7dtD8jgi5WhbSVdPLp3KnlrElp9JNWwLMuKh/3nznHNF\r
+       POSRxRlBYiEP/lX7IQo+q8ZD7jYFzrbtBYeQySKkAgu/Fip7ejbNkXq6DDymTd8Lelom\r
+       iCYB4vB+2Ma090AQ+umuO7r3Di8bkIi7ojj7su61gTKozJBEcX9Pwp4EmNCjVtsefGvS\r
+       zn4M4xv9AQwxUY96q9P/Sf5N3uSvS0FWu1fMS/wTscieaxxugJAZmBnG+nx2ogI/434W\r
+       NDFg==\r
+Received: by 10.180.14.193 with SMTP id r1mr7681111wic.13.1338106950153;\r
+       Sun, 27 May 2012 01:22:30 -0700 (PDT)\r
+Received: from localhost (94-192-233-223.zone6.bethere.co.uk.\r
+ [94.192.233.223])     by mx.google.com with ESMTPS id\r
+ hv7sm13841283wib.0.2012.05.27.01.22.28        (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Sun, 27 May 2012 01:22:28 -0700 (PDT)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v6 0/6] Allow JSON to use non-entire thread, and use for elide\r
+Date: Sun, 27 May 2012 09:22:20 +0100\r
+Message-Id: <1338106946-7611-1-git-send-email-markwalters1009@gmail.com>\r
+X-Mailer: git-send-email 1.7.9.1\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sun, 27 May 2012 08:22:32 -0000\r
+\r
+This is version 6 of this patch series: version 5 is at\r
+id:"1338047694-32548-1-git-send-email-markwalters1009@gmail.com".\r
+\r
+The changes for this version:\r
+\r
+As suggest by Peter in id:"20120527123253.GA3049@hili.localdomain" the\r
+command line handling for keywords is changed so that if the option is\r
+specified as --option (i.e., not --option=<something>) then an empty\r
+string is passed to the parser. Thus the caller can deal with this\r
+case rather than it being an automatic error.\r
+\r
+This makes it easier to add options to an existing boolean option\r
+without breaking the syntax.\r
+\r
+Patch 3/6 has a one line change in response to the above change. The\r
+previous version also had some whitespace errors that have been fixed.\r
+\r
+Patch 6/6 is a trivial whitespace fix. It is right next to the main\r
+changes so may be worth taking (since any patches touching this code\r
+will need to be fixed up anyway) but is obviously independent of the\r
+series.\r
+\r
+Best wishes\r
+\r
+Mark\r
+\r
+\r
+Mark Walters (6):\r
+  cli: command line parsing: allow default for keyword options\r
+  cli: Let json output "null" messages for non --entire-thread\r
+  cli: make --entire-thread=false work for format=json.\r
+  Update devel/schemata for --entire-thread=false\r
+  emacs: make elide messages use notmuch-show for omitting messages.\r
+  cli: notmuch-show.c fix whitespace error\r
+\r
+ command-line-arguments.c |   17 +++++++++++---\r
+ devel/TODO               |    2 -\r
+ devel/schemata           |    2 +-\r
+ emacs/notmuch-show.el    |   18 ++++++++------\r
+ notmuch-client.h         |    1 +\r
+ notmuch-show.c           |   54 +++++++++++++++++++++++++++++++++++++--------\r
+ 6 files changed, 69 insertions(+), 25 deletions(-)\r
+\r
+-- \r
+1.7.9.1\r
+\r