Re: [PATCH 1/6] cli: add --duplicate=N option to notmuch search
authorDavid Bremner <david@tethera.net>
Mon, 27 May 2013 00:26:21 +0000 (21:26 +2100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:55:04 +0000 (09:55 -0800)
d2/616fe8869beac526e1acb7c6442bd3329aebfb [new file with mode: 0644]

diff --git a/d2/616fe8869beac526e1acb7c6442bd3329aebfb b/d2/616fe8869beac526e1acb7c6442bd3329aebfb
new file mode 100644 (file)
index 0000000..c13cd72
--- /dev/null
@@ -0,0 +1,66 @@
+Return-Path: <david@tethera.net>\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 C4CC2431FBF\r
+       for <notmuch@notmuchmail.org>; Sun, 26 May 2013 17:26:32 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.3\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3] 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 e7CDi7VIi0er for <notmuch@notmuchmail.org>;\r
+       Sun, 26 May 2013 17:26:25 -0700 (PDT)\r
+Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21])\r
+       (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id C29C6431FAE\r
+       for <notmuch@notmuchmail.org>; Sun, 26 May 2013 17:26:25 -0700 (PDT)\r
+Received: from tesseract.cs.unb.ca (tesseract.cs.unb.ca [131.202.240.238])\r
+       by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id r4R0QOND003572;\r
+       Sun, 26 May 2013 21:26:24 -0300\r
+Received: from remotemail by tesseract.cs.unb.ca with local (Exim 4.80)\r
+       (envelope-from <david@tethera.net>)\r
+       id 1UglGa-0006A9-6p; Sun, 26 May 2013 21:26:24 -0300\r
+Received: (nullmailer pid 3096 invoked by uid 1000);\r
+       Mon, 27 May 2013 00:26:21 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: Jani Nikula <jani@nikula.org>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH 1/6] cli: add --duplicate=N option to notmuch search\r
+In-Reply-To:\r
+ <8f40230af59a6d13eaf986cb0793202a8686c097.1368467532.git.jani@nikula.org>\r
+References: <cover.1368467532.git.jani@nikula.org>\r
+       <8f40230af59a6d13eaf986cb0793202a8686c097.1368467532.git.jani@nikula.org>\r
+User-Agent: Notmuch/0.15.2+69~g360c3c8 (http://notmuchmail.org) Emacs/24.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Sun, 26 May 2013 21:26:21 -0300\r
+Message-ID: <87bo7xl13m.fsf@maritornes.cs.unb.ca>\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: Mon, 27 May 2013 00:26:33 -0000\r
+\r
+Jani Nikula <jani@nikula.org> writes:\r
+\r
+> Effective with --output=files, output the Nth filename associated with\r
+> each message matching the query (N is 0-based). If N is equal to or\r
+> greater than the number of files associated with the message, don't\r
+> print anything.\r
+\r
+I guess this is a proverbial bikeshed, but 1 based indexing feels more\r
+natural to me here.\r
+\r