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 6C61F41A546 for ; Mon, 29 Nov 2010 02:30:43 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_NONE=-0.0001] 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 8qwhvVaFLxVh for ; Mon, 29 Nov 2010 02:30:43 -0800 (PST) Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) by olra.theworths.org (Postfix) with ESMTP id 51430431FD0 for ; Mon, 29 Nov 2010 02:30:42 -0800 (PST) Received: by wwi17 with SMTP id 17so52750wwi.2 for ; Mon, 29 Nov 2010 02:30:40 -0800 (PST) Received: by 10.216.242.78 with SMTP id h56mr4741720wer.47.1291026640337; Mon, 29 Nov 2010 02:30:40 -0800 (PST) Received: from ut.hh.sledj.net (host81-149-164-25.in-addr.btopenworld.com [81.149.164.25]) by mx.google.com with ESMTPS id w41sm2295886weq.8.2010.11.29.02.30.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 29 Nov 2010 02:30:38 -0800 (PST) Received: by ut.hh.sledj.net (Postfix, from userid 1000) id EE81559422B; Mon, 29 Nov 2010 10:30:04 +0000 (GMT) From: David Edmondson To: notmuch@notmuchmail.org Subject: second attempt: JSON based search Date: Mon, 29 Nov 2010 10:29:56 +0000 Message-Id: <1291026599-14795-1-git-send-email-dme@dme.org> X-Mailer: git-send-email 1.7.2.3 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: Mon, 29 Nov 2010 10:30:43 -0000 Here's another attempt that uses the proper JSON output directly - there is no requirement to either modify that output (as previously) or add another similar output format (as discussed on IRC). [PATCH 1/3] notmuch: Add `date_relative' to JSON search output. [PATCH 2/3] test: Expect `date_relative' in JSON search output. [PATCH 3/3] emacs: Use JSON output for search.