From b1e0b8cf3222dfd2d9960a296a9a8a443b204772 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Tue, 25 Nov 2014 20:49:32 +0100 Subject: [PATCH] Re: "search --duplicate=2 --output=messages" is deranged --- e5/677a150f9972f1ca5bbe109320d50e09364b7f | 68 +++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 e5/677a150f9972f1ca5bbe109320d50e09364b7f diff --git a/e5/677a150f9972f1ca5bbe109320d50e09364b7f b/e5/677a150f9972f1ca5bbe109320d50e09364b7f new file mode 100644 index 000000000..914301f07 --- /dev/null +++ b/e5/677a150f9972f1ca5bbe109320d50e09364b7f @@ -0,0 +1,68 @@ +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 7CC45431FC3 + for ; Tue, 25 Nov 2014 11:49:50 -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=[none] + 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 ZkPK3tcFlSaf for ; + Tue, 25 Nov 2014 11:49:43 -0800 (PST) +Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id A6033431FAF + for ; Tue, 25 Nov 2014 11:49:43 -0800 (PST) +Received: from remotemail by yantan.tethera.net with local (Exim 4.80) + (envelope-from ) + id 1XtM7G-0008Nx-27; Tue, 25 Nov 2014 15:49:38 -0400 +Received: (nullmailer pid 22466 invoked by uid 1000); Tue, 25 Nov 2014 + 19:49:32 -0000 +From: David Bremner +To: David Edmondson , notmuch@notmuchmail.org +Subject: Re: "search --duplicate=2 --output=messages" is deranged +In-Reply-To: +References: +User-Agent: Notmuch/0.19+2~g32855b9 (http://notmuchmail.org) Emacs/24.4.1 + (x86_64-pc-linux-gnu) +Date: Tue, 25 Nov 2014 20:49:32 +0100 +Message-ID: <87sih783hv.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: Tue, 25 Nov 2014 19:49:50 -0000 + +David Edmondson writes: + +> Consider: +> +> : disaster-area; notmuch search --output=files id:87hbph5yww.fsf@aw.hh.sledj.net +> /home/dme/Maildir/mail/list/notmuch/xx01550 +> : disaster-area; notmuch search --duplicate=2 --output=files id:87hbph5yww.fsf@aw.hh.sledj.net +> : disaster-area; notmuch search --duplicate=2 --output=messages id:87hbph5yww.fsf@aw.hh.sledj.net +> id:87hbph5yww.fsf@aw.hh.sledj.net +> : disaster-area; +> +> There's only one file, but the last search which asks for results where +> there are more than one reports the message id. + +For the record, this was fixed in commit 4366b9b88c63242 + +d -- 2.26.2