unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Jeff Templon <templon@nikhef.nl>
To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org
Subject: Re: duplicates on notmuch search not working
Date: Wed, 05 Dec 2018 09:41:32 +0100	[thread overview]
Message-ID: <m2woootlfn.fsf@nikhef.nl> (raw)
In-Reply-To: <87efaxwdjj.fsf@tethera.net>

David Bremner <david@tethera.net> writes:

> Jeff Templon <templon@nikhef.nl> 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

      reply	other threads:[~2018-12-05  8:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-04 13:18 duplicates on notmuch search not working Jeff Templon
2018-12-04 14:51 ` David Bremner
2018-12-05  8:41   ` Jeff Templon [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2woootlfn.fsf@nikhef.nl \
    --to=templon@nikhef.nl \
    --cc=david@tethera.net \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).