From e9020d4b61b493da3432dfce8a0f5a204e59faf2 Mon Sep 17 00:00:00 2001 From: "Kirill A. Shutemov" Date: Tue, 17 Dec 2013 21:46:51 +0200 Subject: [PATCH] Re: [PATCH] lib: Add a new prefix "list" to the search-terms syntax --- 42/86fa52c36ab1afe382f6c4cd010d43ef75bb3f | 74 +++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 42/86fa52c36ab1afe382f6c4cd010d43ef75bb3f diff --git a/42/86fa52c36ab1afe382f6c4cd010d43ef75bb3f b/42/86fa52c36ab1afe382f6c4cd010d43ef75bb3f new file mode 100644 index 000000000..baff737ad --- /dev/null +++ b/42/86fa52c36ab1afe382f6c4cd010d43ef75bb3f @@ -0,0 +1,74 @@ +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 9E339431FC3 + for ; Tue, 17 Dec 2013 11:47:05 -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 MVvKPyCQVh6F for ; + Tue, 17 Dec 2013 11:46:59 -0800 (PST) +Received: from jenni1.inet.fi (mta-out.inet.fi [195.156.147.13]) + by olra.theworths.org (Postfix) with ESMTP id 79128431FBF + for ; Tue, 17 Dec 2013 11:46:59 -0800 (PST) +Received: from node.shutemov.name (80.220.224.16) by jenni1.inet.fi + (8.5.140.03) id 527750DA03CA852F; Tue, 17 Dec 2013 21:46:54 +0200 +Received: by node.shutemov.name (Postfix, from userid 1000) + id 2E983417EE; Tue, 17 Dec 2013 21:46:51 +0200 (EET) +Date: Tue, 17 Dec 2013 21:46:51 +0200 +From: "Kirill A. Shutemov" +To: Jani Nikula +Subject: Re: [PATCH] lib: Add a new prefix "list" to the search-terms syntax +Message-ID: <20131217194651.GA10816@node.dhcp.inet.fi> +References: <20130409083010.GA27675@raorn.name> + <1365549369-12776-1-git-send-email-raorn@raorn.name> + <87bo2ougmb.fsf@nikula.org> + <20131217180322.GA9272@node.dhcp.inet.fi> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +Content-Disposition: inline +In-Reply-To: <20131217180322.GA9272@node.dhcp.inet.fi> +User-Agent: Mutt/1.5.22.1-rc1 (2013-10-16) +Cc: notmuch@notmuchmail.org, "Alexey I. Froloff" +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: Tue, 17 Dec 2013 19:47:05 -0000 + +On Tue, Dec 17, 2013 at 08:03:22PM +0200, Kirill A. Shutemov wrote: +> diff --git a/test/test-lib.sh b/test/test-lib.sh +> index d8e0d9115a69..981bde4a4004 100644 +> --- a/test/test-lib.sh +> +++ b/test/test-lib.sh +> @@ -576,9 +576,9 @@ test_expect_equal_json () { +> # The test suite forces LC_ALL=C, but this causes Python 3 to +> # decode stdin as ASCII. We need to read JSON in UTF-8, so +> # override Python's stdio encoding defaults. +> - output=$(echo "$1" | PYTHONIOENCODING=utf-8 python -mjson.tool \ +> + output=$(echo "$1" | PYTHONIOENCODING=utf-8 python2 -mjson.tool \ +> || echo "$1") +> - expected=$(echo "$2" | PYTHONIOENCODING=utf-8 python -mjson.tool \ +> + expected=$(echo "$2" | PYTHONIOENCODING=utf-8 python2 -mjson.tool \ +> || echo "$2") +> shift 2 +> test_expect_equal "$output" "$expected" "$@" + +This part is not relevant. + +-- + Kirill A. Shutemov -- 2.26.2