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 A7CF7404962 for ; Thu, 18 Mar 2010 07:02:18 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.066 X-Spam-Level: X-Spam-Status: No, score=-1.066 tagged_above=-999 required=5 tests=[AWL=-0.881, BAYES_40=-0.185] autolearn=ham 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 SZWgtZkPKBS3 for ; Thu, 18 Mar 2010 07:02:17 -0700 (PDT) Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36]) by olra.theworths.org (Postfix) with ESMTP id 88907404961 for ; Thu, 18 Mar 2010 07:02:17 -0700 (PDT) Received: from localhost (unknown [192.168.200.4]) by max.feld.cvut.cz (Postfix) with ESMTP id AE93619F33B1; Thu, 18 Mar 2010 15:02:16 +0100 (CET) X-Virus-Scanned: IMAP AMAVIS Received: from max.feld.cvut.cz ([192.168.200.1]) by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new, port 10044) with ESMTP id 07gtDArumXKs; Thu, 18 Mar 2010 15:02:15 +0100 (CET) Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34]) by max.feld.cvut.cz (Postfix) with ESMTP id 527CC19F33A1; Thu, 18 Mar 2010 15:02:15 +0100 (CET) Received: from steelpick.localdomain (k335-30.felk.cvut.cz [147.32.86.30]) (Authenticated sender: sojkam1) by imap.feld.cvut.cz (Postfix) with ESMTPSA id 4F407FA003; Thu, 18 Mar 2010 15:02:15 +0100 (CET) Received: from wsh by steelpick.localdomain with local (Exim 4.71) (envelope-from ) id 1NsGIh-0003xX-3j; Thu, 18 Mar 2010 15:02:15 +0100 From: Michal Sojka To: Ben Gamari , notmuch In-Reply-To: <4ba01c54.9298cc0a.66cd.7695@mx.google.com> References: <4ba01c54.9298cc0a.66cd.7695@mx.google.com> Date: Thu, 18 Mar 2010 15:02:15 +0100 Message-ID: <87vdct6848.fsf@steelpick.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [notmuch] Tag search peculiarities 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, 18 Mar 2010 14:02:18 -0000 On Wed, 17 Mar 2010, Ben Gamari wrote: > While trying perfect my initial tagging script, I have run into a very strange > set of issue. In my script, I use the following to exclude mailing list traffic > from my inbox, > > notmuch tag -new tag:new and tag:list notmuch tag -new +inbox tag:new > > However, I found that mailing list traffic was still getting through. > > After investigating further, I found that any query in the form of "tag:inbox > and tag:$TAG" would return no results. Strangely, all other combinations of tag > searches (i.e. "tag:lkml and tag:unread") seem to work just fine. > > Has anyone else noticed this sort of behavior? Does the inbox tag have some > special signifigance that I should know of? Is my index just FUBAR? (the ladder > would be very strange considering it's only a few days old and I can't think of > any crashes, etc. that might have corrupted it) Any ideas for debugging? Hi Ben, I've never had similar problems. AFAIK there is nothing special on inbox tag. It seems you use your configurable tags patch so I suspected that patch, but it seems OK. I'd try the following: notmuch dump|grep "inbox.*${TAG}" notmuch dump|grep "${TAG}.*inbox" It if outputs something, then it's really strange. -Michal