unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: Carl Worth <cworth@cworth.org>, Xu Wang <xuwang762@gmail.com>,
	notmuch@notmuchmail.org
Subject: Re: correct way to search for only PDF attachments
Date: Tue, 29 Sep 2015 08:00:18 -0300	[thread overview]
Message-ID: <87y4fpqym5.fsf@maritornes.cs.unb.ca> (raw)
In-Reply-To: <87vbau9e8i.fsf@wondoo.home.cworth.org>

Carl Worth <cworth@cworth.org> writes:

> On Mon, Sep 28 2015, Xu Wang wrote:
>> 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.
>
> Good. That should work.

Another option is to use mimetype:pdf

man notmuch-search-terms is probably worth a look when facing these
kinds of puzzles. It contains both Carl's reply about term based search
and mine about the mimetype: prefix.  Of course it is getting pretty
big, I don't know what to do about that.

d

  parent reply	other threads:[~2015-09-29 11:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-29  0:55 correct way to search for only PDF attachments Xu Wang
2015-09-29  2:00 ` Carl Worth
2015-09-29  4:51   ` Xu Wang
2015-09-29  7:15   ` Suvayu Ali
2015-09-29 11:00   ` David Bremner [this message]
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=87y4fpqym5.fsf@maritornes.cs.unb.ca \
    --to=david@tethera.net \
    --cc=cworth@cworth.org \
    --cc=notmuch@notmuchmail.org \
    --cc=xuwang762@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).