Re: [PATCH v3 3/4] cli: Extend the search command for --output={sender, recipients}
authorDavid Edmondson <dme@dme.org>
Fri, 24 Oct 2014 10:23:38 +0000 (11:23 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:05:36 +0000 (10:05 -0800)
4f/89d4e7bbf39839c5908bf944f67c7893a1fcbc [new file with mode: 0644]

diff --git a/4f/89d4e7bbf39839c5908bf944f67c7893a1fcbc b/4f/89d4e7bbf39839c5908bf944f67c7893a1fcbc
new file mode 100644 (file)
index 0000000..aceecc8
--- /dev/null
@@ -0,0 +1,88 @@
+Return-Path: <dme@dme.org>\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 E09B3431FC9\r
+       for <notmuch@notmuchmail.org>; Fri, 24 Oct 2014 03:23:46 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.699\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7, UNPARSEABLE_RELAY=0.001]\r
+       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 7rkZB8idniY9 for <notmuch@notmuchmail.org>;\r
+       Fri, 24 Oct 2014 03:23:42 -0700 (PDT)\r
+Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com\r
+       [209.85.212.177]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id F00AC431FBD\r
+       for <notmuch@notmuchmail.org>; Fri, 24 Oct 2014 03:23:41 -0700 (PDT)\r
+Received: by mail-wi0-f177.google.com with SMTP id ex7so810911wid.16\r
+       for <notmuch@notmuchmail.org>; Fri, 24 Oct 2014 03:23:40 -0700 (PDT)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=1e100.net; s=20130820;\r
+       h=x-gm-message-state:to:subject:in-reply-to:references:user-agent\r
+       :from:date:message-id:mime-version:content-type;\r
+       bh=2hE7SL01KRdDvffgDQ2LIAi0njqDQq3Kdnw2GmqjfA0=;\r
+       b=dzJqaeKo7V4o/ufBxGdVYmLGIttcFiLBkm8YI7kLWMw5rHcNUEjfxsMjLSLPAwPhHk\r
+       iIq+XB09UUXqxvq8eg88zjiO+sFNAgu18D1MpMbge/N1/qh+o8VvOqYwxw/4D8yb69Xd\r
+       OyBHM4q8TYWv0qjnkluIUUSvah/5FjMXb0wbZVN7RmJrI1SrSDG56MAXkXqS3E8A0eC7\r
+       +dZQZTVXfSnzAaddlqm5L8NQaefmFUrFqlnBfeDkChJs6u/glqYH56f52Z4FsdXj+Bt6\r
+       ivv3KD6Phu7xzwRBz3jnzOzFG6Wbm7z2Ov8jjZx9BNeV2+lJnV7qDf8G++Fapz+FmDcC\r
+       BPJA==\r
+X-Gm-Message-State:\r
+ ALoCoQlS4Nf+cXVCY6mtwtMJie3FSKshx5lpAhaqeMqCnCWv6d69L9/NX19oUVArHegPznGBvVgn\r
+X-Received: by 10.194.100.98 with SMTP id ex2mr3676297wjb.48.1414146220716;\r
+       Fri, 24 Oct 2014 03:23:40 -0700 (PDT)\r
+Received: from disaster-area.hh.sledj.net\r
+       ([2a01:348:1a2:1:ea39:35ff:fe2c:a227])\r
+       by mx.google.com with ESMTPSA id wx3sm5134717wjc.19.2014.10.24.03.23.39\r
+       for <multiple recipients>\r
+       (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+       Fri, 24 Oct 2014 03:23:40 -0700 (PDT)\r
+Received: from localhost (30000@localhost [local]);\r
+       by localhost (OpenSMTPD) with ESMTPA id a4323c02;\r
+       Fri, 24 Oct 2014 10:23:38 +0000 (UTC)\r
+To: Mark Walters <markwalters1009@gmail.com>,\r
+       Michal Sojka <sojkam1@fel.cvut.cz>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH v3 3/4] cli: Extend the search command\r
+       for     --output={sender, recipients}\r
+In-Reply-To: <87egtzazs8.fsf@qmul.ac.uk>\r
+References: <87zjd51phx.fsf@steelpick.2x.cz>\r
+       <1413150093-8383-1-git-send-email-sojkam1@fel.cvut.cz>\r
+       <1413150093-8383-4-git-send-email-sojkam1@fel.cvut.cz>\r
+       <87egtzazs8.fsf@qmul.ac.uk>\r
+User-Agent: Notmuch/0.18.1 (http://notmuchmail.org) Emacs/24.3.1\r
+       (x86_64-apple-darwin14.0.0)\r
+From: David Edmondson <dme@dme.org>\r
+Date: Fri, 24 Oct 2014 11:23:38 +0100\r
+Message-ID: <m21tpx4vh1.fsf@heart-of-gold.hh.sledj.net>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\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: Fri, 24 Oct 2014 10:23:47 -0000\r
+\r
+On Thu, Oct 23 2014, Mark Walters wrote:\r
+> Thinking about this some more how about printing the name and address as\r
+> a structured pair/map (at least for all cases except text/text0 output):\r
+> something like (in JSON)\r
+> [name: "John Doe" address: "john.doe@example.com"]\r
+>\r
+> It seems wrong to me to go to the effort of separating them in the C and\r
+> then combining them in the output.\r
+\r
+Agreed, this would be convenient.\r