unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: Paul Tarvydas <paultarvydas@gmail.com>, notmuch@notmuchmail.org
Subject: Re: tags vs. show
Date: Sun, 09 Aug 2015 23:55:36 +0200	[thread overview]
Message-ID: <87fv3sw2hz.fsf@maritornes.cs.unb.ca> (raw)
In-Reply-To: <55C61F6A.10103@gmail.com>

Paul Tarvydas <paultarvydas@gmail.com> writes:

> Specifics (linux mint, emacs 24.3.1):

What version of notmuch?

> I run this tagging query at the command line:
>
>  > notmuch tag +xyz -- '(to:xyz@me.com or from:xyz@me.com or
>  > cc:xyz@me.com)'
fwiw, cc: is not a valid search prefix, but I don't think that's
your problem, since that would only effect your tagging step.
[snip]
> Then, I run on the command line:
>
>  > notmuch show --format=mbox "tag:xyz" >xyz-all.txt
>

I tried a couple of tests here, and I could not duplicate your problem
with notmuch 0.20.2. For me, only messages with the tag show up.

You might want to try the following to debug:

- compare "notmuch count tag:xyz" with the number of messages recognized
  by e.g. mutt in the mbox.

- if those two are the same, find one of the message you think should
  not have the tag, and look at it by message-id.

- if the two are not the same, find a message in the mbox that you think
  should not be there, and double check the tags and headers.
  Note that

       The to: prefix is used to match the names or addresses of any
       recipient of an email message, (whether To, Cc, or Bcc).

  to quote notmuch-search-terms(7). One possibility is the existence
  of Bcc headers in some of your messages.

d

      reply	other threads:[~2015-08-09 21:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-08 15:25 tags vs. show Paul Tarvydas
2015-08-09 21:55 ` David Bremner [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=87fv3sw2hz.fsf@maritornes.cs.unb.ca \
    --to=david@tethera.net \
    --cc=notmuch@notmuchmail.org \
    --cc=paultarvydas@gmail.com \
    /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).