From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 4CBE6431FB6 for ; Thu, 11 Jul 2013 04:54:06 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 mIBviX-DW-p3 for ; Thu, 11 Jul 2013 04:54:00 -0700 (PDT) Received: from mail-ee0-f52.google.com (mail-ee0-f52.google.com [74.125.83.52]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id D4AE9431FAE for ; Thu, 11 Jul 2013 04:53:59 -0700 (PDT) Received: by mail-ee0-f52.google.com with SMTP id c50so5505965eek.25 for ; Thu, 11 Jul 2013 04:53:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=RxFZx0bLmZaqbUKGHxmicEzXGudHp/W/6/iqECaoRKI=; b=H3lhAhzvAAfssBBTmiN6wfn9V+bH1mn5rPMK8LunH9WJn69xTPVgjvRDoD7qyHkJVn Mo8GnECtsCcdG3YQGmnvTlsSnSEAPuMHkGHR4ihiqhbXwyn95pmjnJdo/R9XBWRFsIYR T7g0KV+GKVMH3SFWRJpmAcPVaRJ+A60VRnuAuIuCZtaNtpU4fquieInk6cy4fZwYKndw VFQUZ8YoMD8CgB6qpLIsejgfvwu8tyK5oySMLIUvyey5tKiARsrLCHC5FbAvclBlEg8A j7dsyzbijQQQZBn0wv8qHB3MGVhFD+58HiSZBdUwyc2zx4e7j2ci/LKBgihe4OYURHJ/ gmNA== X-Received: by 10.14.177.196 with SMTP id d44mr40974041eem.35.1373543637224; Thu, 11 Jul 2013 04:53:57 -0700 (PDT) Received: from kuru.dyndns-at-home.com ([2001:610:120:3001:f2de:f1ff:fe37:c76c]) by mx.google.com with ESMTPSA id w43sm68470911eez.6.2013.07.11.04.53.55 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 11 Jul 2013 04:53:56 -0700 (PDT) Sender: suvayu ali Date: Thu, 11 Jul 2013 13:53:53 +0200 From: Suvayu Ali To: notmuch@notmuchmail.org Subject: Re: notmuch search --output=files error with AND NOT search terms Message-ID: <20130711115353.GA20266@kuru.dyndns-at-home.com> Mail-Followup-To: notmuch@notmuchmail.org References: <51DC0A16.5080704@2b1.de> <87mwpvd1fp.fsf@qmul.ac.uk> <1373457313852-4028436.post@n3.nabble.com> <20130710125911.GA7198@kuru.dyndns-at-home.com> <1373531960691-4028438.post@n3.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1373531960691-4028438.post@n3.nabble.com> User-Agent: Mutt/1.5.21 (2012-12-30) 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: Thu, 11 Jul 2013 11:54:06 -0000 Hi Ingo, Disclaimer: I'm just a user, with almost no knowledge of notmuch internals. On Thu, Jul 11, 2013 at 01:39:20AM -0700, ingo wrote: > > And both mails have the same message-id in the message header. > > Still, only one of both files really should be found with this search, so > why is the out put different? If there are multiple copies of a message, I would expect --output=files to show all the copies (files). I believe this is notmuch's way to handle duplicate messages. I think the confusion arises from the notion of treating unique message id, and not unique physical files as the definition of a message. If you think a bit, seems reasonable too. Hope this helps, -- Suvayu Open source is the future. It sets us free.