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