duplicates on notmuch search not working

Jeff Templon templon at nikhef.nl
Wed Dec 5 00:41:32 PST 2018


David Bremner <david at tethera.net> writes:

> Jeff Templon <templon at nikhef.nl> writes:
>
>> From the command line:
>>
>> $ notmuch search --output=files id:Pine.LNX.4.40.0112181809230.6149-100000 at 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 at 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 at 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



More information about the notmuch mailing list