duplicates on notmuch search not working

classic Classic list List threaded Threaded
3 messages Options
Jeff Templon Jeff Templon
Reply | Threaded
Open this post in threaded view
|

duplicates on notmuch search not working

From the command line:

$ notmuch search --output=files id:[hidden email]
/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:[hidden email] \
     --duplicate=2

[ empty output ]

what gives?

JT

_______________________________________________
notmuch mailing list
[hidden email]
https://notmuchmail.org/mailman/listinfo/notmuch
David Bremner-2 David Bremner-2
Reply | Threaded
Open this post in threaded view
|

Re: duplicates on notmuch search not working

Jeff Templon <[hidden email]> writes:

> From the command line:
>
> $ notmuch search --output=files id:[hidden email]
> /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:[hidden email] \
>      --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?

d
_______________________________________________
notmuch mailing list
[hidden email]
https://notmuchmail.org/mailman/listinfo/notmuch
Jeff Templon Jeff Templon
Reply | Threaded
Open this post in threaded view
|

Re: duplicates on notmuch search not working

David Bremner <[hidden email]> writes:

> Jeff Templon <[hidden email]> writes:
>
>> From the command line:
>>
>> $ notmuch search --output=files id:[hidden email]
>> /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:[hidden email] \
>>      --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, [hidden email]| 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

_______________________________________________
notmuch mailing list
[hidden email]
https://notmuchmail.org/mailman/listinfo/notmuch