From: David Edmondson Date: Wed, 29 Oct 2014 17:05:43 +0000 (+0000) Subject: "search --duplicate=2 --output=messages" is deranged X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c620b420ed13d307954f6749e879b6c95cec94df;p=notmuch-archives.git "search --duplicate=2 --output=messages" is deranged --- diff --git a/50/f48697675dc3cdf71fe6d9cd6d1f4ec719d430 b/50/f48697675dc3cdf71fe6d9cd6d1f4ec719d430 new file mode 100644 index 000000000..1a7a666de --- /dev/null +++ b/50/f48697675dc3cdf71fe6d9cd6d1f4ec719d430 @@ -0,0 +1,82 @@ +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 1550A431FC2 + for ; Wed, 29 Oct 2014 10:05:54 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.699 +X-Spam-Level: +X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_LOW=-0.7, UNPARSEABLE_RELAY=0.001] + 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 t7MH-VgZ3eNL for ; + Wed, 29 Oct 2014 10:05:47 -0700 (PDT) +Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com + [209.85.212.177]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 2B127431FB6 + for ; Wed, 29 Oct 2014 10:05:47 -0700 (PDT) +Received: by mail-wi0-f177.google.com with SMTP id ex7so5194471wid.10 + for ; Wed, 29 Oct 2014 10:05:45 -0700 (PDT) +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:to:subject:user-agent:from:date:message-id + :mime-version:content-type; + bh=KbQVyokMEg9hHKy073f7G8XMqrcbrPof9KB78UZpDJ0=; + b=lsU0Yh2EecPGARvhjtU/x+A2GK0dIYvoHsqY5AMZb5ENOOFWzRUKveO50kRABSsr+Y + FfLfE+0ilXjuzmosfQ8COYUp10zB2C9NDFjSUpdPwMdVzuwv4s9XTZAtdwGaD3WczNjH + TowGeg+Y34OdkKz4v7QvsR/fb5fWOH8PiFkNhXdu0BkmFO35paQXFPEp4FiPs/3zTsIY + EO/QMkmVoXu4LjTB+KZDaJ5bl6rZ1RlpuwRGktugdwe4uYxPRkLoV0fKpcAhGdJHtvAB + 1XvpkxKO0PkYw8OnB8FcuYEC8CyrqBEYSpj4jfVAAI//Ipa7VhelNicveUqUVm2XRxTN + 8MbA== +X-Gm-Message-State: + ALoCoQlzujfyOOCepykTzefTJiL53BJw3sHKNnvu6XKlZsthdsr7DyXxwcSnE+loxKaRsp+JDDba +X-Received: by 10.194.90.15 with SMTP id bs15mr13821377wjb.47.1414602345618; + Wed, 29 Oct 2014 10:05:45 -0700 (PDT) +Received: from disaster-area.hh.sledj.net + ([2a01:348:1a2:1:ea39:35ff:fe2c:a227]) + by mx.google.com with ESMTPSA id + l10sm19332984wif.20.2014.10.29.10.05.44 for + (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Wed, 29 Oct 2014 10:05:44 -0700 (PDT) +Received: from localhost (30000@localhost [local]); + by localhost (OpenSMTPD) with ESMTPA id f59bf285; + Wed, 29 Oct 2014 17:05:43 +0000 (UTC) +To: notmuch@notmuchmail.org +Subject: "search --duplicate=2 --output=messages" is deranged +User-Agent: Notmuch/0.18.1 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-pc-linux-gnu) +From: David Edmondson +Date: Wed, 29 Oct 2014 17:05:43 +0000 +Message-ID: +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: Wed, 29 Oct 2014 17:05:54 -0000 + +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.