Re: [PATCH] lib: Add a new prefix "list" to the search-terms syntax
authorKirill A. Shutemov <kirill@shutemov.name>
Tue, 17 Dec 2013 19:46:51 +0000 (21:46 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:58:47 +0000 (09:58 -0800)
42/86fa52c36ab1afe382f6c4cd010d43ef75bb3f [new file with mode: 0644]

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