Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 2362A431FB6 for ; Sat, 16 Jun 2012 03:22:04 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 2.7 X-Spam-Level: ** X-Spam-Status: No, score=2.7 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=2.499, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CGONDbHfJl4W for ; Sat, 16 Jun 2012 03:22:03 -0700 (PDT) Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 9138D431FAE for ; Sat, 16 Jun 2012 03:22:03 -0700 (PDT) Received: by wgbds1 with SMTP id ds1so271735wgb.2 for ; Sat, 16 Jun 2012 03:22:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=cuE4ybYeZpF7KnvzUIcaT08ADdPfNewMoEjh5ddaCeU=; b=TueZAEPpDm6bgrzNA8cyzPfSIiMzkz77irB58mPE5sQxpPViXoRBFitj0xf1S24mHG CX4ygiKa/Pv2Usz8/E9/csNxO59O83GMjvUFlUi/g1Uei1JO1RmRuT2j3XiYq9CxpuG/ uptUVtwknR4DLRw+mx9PMT+nWxaV3wmm+IdQT11bGJAWBTWPIoPi1fpuaXLddiUYit2r laVR7dB6rtMdobwug/BgCKOghvqkj7DaI5e5o2/AcnuOf8IN2w2DXJsrGMA056sox6Te ZgotqeVFsFV4bP6ylSdrRtvPgWqCeWogN7G25/nMlTz494HyFGgEdVNf2fTebWfZ+TGe FoUw== Received: by 10.216.226.136 with SMTP id b8mr4574520weq.152.1339842120766; Sat, 16 Jun 2012 03:22:00 -0700 (PDT) Received: from localhost (94-192-233-223.zone6.bethere.co.uk. [94.192.233.223]) by mx.google.com with ESMTPS id ch9sm16574391wib.8.2012.06.16.03.21.58 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 16 Jun 2012 03:21:59 -0700 (PDT) From: Mark Walters To: notmuch@notmuchmail.org Subject: [Patch v8 0/6] Allow JSON to use non-entire thread, and use for elide Date: Sat, 16 Jun 2012 11:21:41 +0100 Message-Id: <1339842107-10632-1-git-send-email-markwalters1009@gmail.com> X-Mailer: git-send-email 1.7.9.1 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jun 2012 10:22:04 -0000 This is version 8 of this patch series: the previous version is at id:"1338723972-13063-1-git-send-email-markwalters1009@gmail.com". The only change in this version is a rebase so that it applies to master. I think this version addresses all comments made in reviews. The error handling in the command-line parser is not ideal: (this patch does not make it any worse). I posted a patch to fix this in id:"1338906996-18720-1-git-send-email-markwalters1009@gmail.com". This is not logically part of this series but is a natural follow up (and touches lots of the same code). Best wishes Mark Mark Walters (6): cli: command line parsing: allow default for keyword options cli: Let json output "null" messages for non --entire-thread cli: make --entire-thread=false work for format=json. Update devel/schemata for --entire-thread=false emacs: make elide messages use notmuch-show for omitting messages. cli: notmuch-show.c fix whitespace error command-line-arguments.c | 17 +++++++++++--- devel/TODO | 2 - devel/schemata | 2 +- emacs/notmuch-show.el | 18 ++++++++------ notmuch-client.h | 1 + notmuch-show.c | 55 +++++++++++++++++++++++++++++++++++++-------- 6 files changed, 70 insertions(+), 25 deletions(-) -- 1.7.9.1