From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 51FC76DE01E3 for ; Wed, 5 Dec 2018 00:41:42 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -1.022 X-Spam-Level: X-Spam-Status: No, score=-1.022 tagged_above=-999 required=5 tests=[AWL=-0.322, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rth-lw4cy-N5 for ; Wed, 5 Dec 2018 00:41:40 -0800 (PST) Received: from out22-ams.mf.surf.net (out22-ams.mf.surf.net [145.0.1.22]) by arlo.cworth.org (Postfix) with ESMTPS id 7E3296DE01E1 for ; Wed, 5 Dec 2018 00:41:40 -0800 (PST) Received: from velino.nikhef.nl (velino.nikhef.nl [192.16.199.156]) by outgoing1-ams.mf.surf.net (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id wB58faT8024650; Wed, 5 Dec 2018 09:41:37 +0100 Received: from localhost (localhost [127.0.0.1]) by velino.nikhef.nl (Postfix) with ESMTP id 78DA4100B16A; Wed, 5 Dec 2018 09:41:36 +0100 (CET) X-Virus-Scanned: amavisd-new at nikhef.nl Received: from velino.nikhef.nl ([127.0.0.1]) by localhost (tardes.nikhef.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id r9VZ0EMy6Ty9; Wed, 5 Dec 2018 09:41:31 +0100 (CET) Received: from localhost (535166C1.cm-6-2b.dynamic.ziggo.nl [83.81.102.193]) (Authenticated sender: templon) by velino.nikhef.nl (Postfix) with ESMTPSA id DD4F0100A53B; Wed, 5 Dec 2018 09:41:31 +0100 (CET) From: Jeff Templon To: David Bremner , notmuch@notmuchmail.org Subject: Re: duplicates on notmuch search not working In-Reply-To: <87efaxwdjj.fsf@tethera.net> References: <87efaxwdjj.fsf@tethera.net> Date: Wed, 05 Dec 2018 09:41:32 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Bayes-Prob: 0.0001 (Score 0, tokens from: nikhef-out:default, nikhef:default, base:default, @@RPTN) X-CanIt-Geo: ip=192.16.199.156; country=NL; latitude=52.3824; longitude=4.8995; http://maps.google.com/maps?q=52.3824,4.8995&z=6 X-CanItPRO-Stream: nikhef-out:default (inherits from nikhef:default, base:default) X-Canit-Stats-ID: 0uX88FA09 - 64ca85107b4d - 20181205 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 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, 05 Dec 2018 08:41:42 -0000 David Bremner writes: > Jeff Templon writes: > >> From the command line: >> >> $ notmuch search --output=files id:Pine.LNX.4.40.0112181809230.6149-100000@lxplus047.cern.ch >> /Users/templon/Maildir/Zar/VMMail/wp2/cur/1528204696.000011.mbox:2,S >> /Users/templon/Maildir/Zar/VMdb/cur/1528291801.000080.mbox:2,S >> /Users/templon/Maildir/Nikhef/Archives/2001/cur/1528719639.11684_49.simeto,U=13:2,S >> /Users/templon/Maildir/Nikhef/Archives/2001/cur/1537863882.18992_50.simeto,U=73:2,S >> /Users/templon/Maildir/Nikhef/Archives/2001/cur/1537866158.M994429000P19452Q34R610c5f16.simeto.nikhef.nl,U=133:2, >> $ notmuch search --output=files \ >> id:Pine.LNX.4.40.0112181809230.6149-100000@lxplus047.cern.ch \ >> --duplicate=2 >> >> [ empty output ] >> >> what gives? > > To eliminate a potential configuration issue, try re-running your > queries with --exclude=false. > > Also, do you see the same issue with other --duplicate=X arguments? Somebody else spotted the problem off-list : --duplicate=2 needs to come *before* the search query id:... otherwise it's looking for "--duplicate=2" as a search term: medina:~> notmuch search date:2018 --duplicate=2 thread:000000000002c631 Yest. 15:51 [3/4(6)] Jeff Templon, Jani Nikula, David Bremner; duplicates on notmuch search not working (lists lists/notmuch replied sent) thread:0000000000029430 November 08 [2/3(5)] Carl Worth, Jeff Templon; question about deletion and counts (lists lists/notmuch replied signed) thread:000000000002923d October 30 [6/9] Leo Gaspard, Gregor Zattler, notmuchmail.org@leo.gaspard.io| David Bremner; [PATCH 1/1] notmuch: be conservative and prefer marking too many messages as unread than too few (lists lists/notmuch) thread:00000000000287fd October 16 [1/2(3)] Jeff Templon| rey-coyrehourcq; Newbie question about notmuch and gmail (lists lists/notmuch replied signed) thread:00000000000281ff October 12 [1/12(18)] Carl Worth| Jeff Templon, Daniel Kahn Gillmor, David Bremner, Martin Jambor; tell me how to do this right (mail sent to lists) (lists lists/notmuch replied sent signed) thread:000000000000a892 2018-01-26 [1/1(2)] Jeff Templon; torque troubles -> duplicate job IDs (lists lists/ndpf-syslog sent) J "big fun" T