unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Xu Wang <xuwang762@gmail.com>
To: notmuch@notmuchmail.org
Subject: correct way to search for only PDF attachments
Date: Mon, 28 Sep 2015 20:55:36 -0400	[thread overview]
Message-ID: <CAJhTkNgwX8cmsKfJGV+x7HHMXPNZvXFXO=KZzLvrcWCGrDL=Pg@mail.gmail.com> (raw)

Hi,

I would look to look for all emails from a colleague jongho. I tried:

from:jongho attachment:pdf

which seems to do as I wanted.

To understand more, what does the following search for?

from:jongho attachment:.*pdf

I know it is incorrect as the results tell me, but what exactly does it do?

Also, how does the first one above know that I want only PDF
attachments and not an attachment called "pdformula.txt" ?

Kind regards,

Xu

             reply	other threads:[~2015-09-29  0:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-29  0:55 Xu Wang [this message]
2015-09-29  2:00 ` correct way to search for only PDF attachments Carl Worth
2015-09-29  4:51   ` Xu Wang
2015-09-29  7:15   ` Suvayu Ali
2015-09-29 11:00   ` David Bremner
2015-09-29 11:56     ` Suvayu Ali
2015-09-29 13:48       ` David Bremner
2015-09-30 15:16         ` Xu Wang

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='CAJhTkNgwX8cmsKfJGV+x7HHMXPNZvXFXO=KZzLvrcWCGrDL=Pg@mail.gmail.com' \
    --to=xuwang762@gmail.com \
    --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).