From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tomas Nordin Newsgroups: gmane.emacs.help Subject: Re: notmuch: boolean operators and path search Date: Tue, 31 Oct 2017 20:07:39 +0100 Message-ID: <87shdz3zlw.fsf@fliptop> References: <87efpkuqjh.fsf@len.workgroup> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1509476910 1045 195.159.176.226 (31 Oct 2017 19:08:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 31 Oct 2017 19:08:30 +0000 (UTC) To: Gregor Zattler , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 31 20:08:24 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9bte-0007ni-3v for geh-help-gnu-emacs@m.gmane.org; Tue, 31 Oct 2017 20:08:22 +0100 Original-Received: from localhost ([::1]:47011 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9btk-0008M8-BT for geh-help-gnu-emacs@m.gmane.org; Tue, 31 Oct 2017 15:08:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38808) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9btI-0008L1-Bl for help-gnu-emacs@gnu.org; Tue, 31 Oct 2017 15:08:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e9btF-0001Nl-5b for help-gnu-emacs@gnu.org; Tue, 31 Oct 2017 15:08:00 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:58734) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e9btE-0001N9-Uw for help-gnu-emacs@gnu.org; Tue, 31 Oct 2017 15:07:57 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 87034209FB for ; Tue, 31 Oct 2017 20:07:51 +0100 (CET) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3yRLTK4Rx6z10H4; Tue, 31 Oct 2017 20:07:49 +0100 (CET) In-Reply-To: <87efpkuqjh.fsf@len.workgroup> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.67.36.66 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:114708 Archived-At: Gregor Zattler writes: > Hi there, Hello > can anyone please enlighten me, why the search term "is:spam AND > NOT path:Mail/spam-old/**" shows emails which are tagged spam and > are in spam-old?: Did you try if only `path:Mail/spam-old/**` is producing any result? If `Mail` is you top maildir directory, then I think it is not correct. You should say `path:spam-old/**`.