[PATCH v5 0/5] Allow JSON to use non-entire thread, and use for elide
authorMark Walters <markwalters1009@gmail.com>
Sat, 26 May 2012 15:54:49 +0000 (16:54 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:47:26 +0000 (09:47 -0800)
c4/6cb9dc407084e9edb009c4fa8a33176593942e [new file with mode: 0644]

diff --git a/c4/6cb9dc407084e9edb009c4fa8a33176593942e b/c4/6cb9dc407084e9edb009c4fa8a33176593942e
new file mode 100644 (file)
index 0000000..c28e529
--- /dev/null
@@ -0,0 +1,94 @@
+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 65559431FBC\r
+       for <notmuch@notmuchmail.org>; Sat, 26 May 2012 08:55:05 -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 5lO0ValXbzwP for <notmuch@notmuchmail.org>;\r
+       Sat, 26 May 2012 08:55:05 -0700 (PDT)\r
+Received: from mail-we0-f181.google.com (mail-we0-f181.google.com\r
+       [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id D1ADA431FB6\r
+       for <notmuch@notmuchmail.org>; Sat, 26 May 2012 08:55:04 -0700 (PDT)\r
+Received: by werj55 with SMTP id j55so1411304wer.26\r
+       for <notmuch@notmuchmail.org>; Sat, 26 May 2012 08:55:03 -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=Wgb5n5nStHplXhPtD1RsB8aAhfyBAwA/3Rb6Fiyzl9Q=;\r
+       b=nfJJ8B7DK7I5XfJXCtn+KqiUVOn7+B3Hvqn78EMjy+GktT29oevH0q1uMnYmrK0+z1\r
+       ZjDit/Fs5tyAgkbopa7gddFoPywQRxyWUwz/aWV0MZUud/Czh5snPcSvj+CqfHhKZ/j6\r
+       Ljk40ije/vo4MaLPUYNMufmZOSvez+5golfGitFfLX+O9lENE/C+/OYGBx8Y+w2wMZt+\r
+       KKQMWH35lXIZ2lLdIlyQP1Ky4CSQTjyMvowuN85/BbgGmsstemz919xao0CLG+FwXVoN\r
+       DadcLPWIDBOtWmS+25Xc7o+nHai4+5dDQPxdoX4YbeUNf0ReiX8biJ3MzFLhvIhwd5R8\r
+       69Ew==\r
+Received: by 10.216.213.163 with SMTP id a35mr1517715wep.131.1338047703378;\r
+       Sat, 26 May 2012 08:55:03 -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
+ et10sm5919000wib.2.2012.05.26.08.55.01        (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Sat, 26 May 2012 08:55:02 -0700 (PDT)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v5 0/5] Allow JSON to use non-entire thread, and use for elide\r
+Date: Sat, 26 May 2012 16:54:49 +0100\r
+Message-Id: <1338047694-32548-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: Sat, 26 May 2012 15:55:05 -0000\r
+\r
+This is version 5 of this patch series: version 4 is at\r
+id:"1335258675-29439-1-git-send-email-markwalters1009@gmail.com".\r
+\r
+This version changes the way the command-line parser deals with\r
+keywords so that specifying --option without an =<something> returns\r
+the first option. This means that boolean options can easily have\r
+extra options added without breaking the existing syntax.\r
+\r
+Patch 3/5 takes advantage of this new feature to implement the  \r
+--entire-thread option to notmuch-show in a non-hacky way.\r
+\r
+Best wishes \r
+\r
+Mark\r
+\r
+\r
+Mark Walters (5):\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
+\r
+ command-line-arguments.c |   13 ++++++++++---\r
+ devel/TODO               |    2 --\r
+ devel/schemata           |    2 +-\r
+ emacs/notmuch-show.el    |   18 ++++++++++--------\r
+ notmuch-client.h         |    1 +\r
+ notmuch-show.c           |   45 +++++++++++++++++++++++++++++++++++++++------\r
+ 6 files changed, 61 insertions(+), 20 deletions(-)\r
+\r
+-- \r
+1.7.9.1\r
+\r