Re: correct way to search for only PDF attachments
authorDavid Bremner <david@tethera.net>
Tue, 29 Sep 2015 11:00:18 +0000 (08:00 +2100)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:49:41 +0000 (14:49 -0700)
f6/bf0b61dcbf2f07ab5716441272c7b6a6034c46 [new file with mode: 0644]

diff --git a/f6/bf0b61dcbf2f07ab5716441272c7b6a6034c46 b/f6/bf0b61dcbf2f07ab5716441272c7b6a6034c46
new file mode 100644 (file)
index 0000000..6b8c80b
--- /dev/null
@@ -0,0 +1,71 @@
+Return-Path: <david@tethera.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id B9D9B6DE0274\r
+ for <notmuch@notmuchmail.org>; Tue, 29 Sep 2015 04:02:24 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.106\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.106 tagged_above=-999 required=5 tests=[AWL=0.106]\r
+ autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id 7eqSGedLwpBR for <notmuch@notmuchmail.org>;\r
+ Tue, 29 Sep 2015 04:02:23 -0700 (PDT)\r
+Received: from gitolite.debian.net (gitolite.debian.net [87.98.215.224])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id B7DC16DE025E\r
+ for <notmuch@notmuchmail.org>; Tue, 29 Sep 2015 04:02:22 -0700 (PDT)\r
+Received: from remotemail by gitolite.debian.net with local (Exim 4.80)\r
+ (envelope-from <david@tethera.net>)\r
+ id 1ZgseF-0008UQ-97; Tue, 29 Sep 2015 11:00:39 +0000\r
+Received: (nullmailer pid 31499 invoked by uid 1000); Tue, 29 Sep 2015\r
+ 11:00:18 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: Carl Worth <cworth@cworth.org>, Xu Wang <xuwang762@gmail.com>,\r
+ notmuch@notmuchmail.org\r
+Subject: Re: correct way to search for only PDF attachments\r
+In-Reply-To: <87vbau9e8i.fsf@wondoo.home.cworth.org>\r
+References:\r
+ <CAJhTkNgwX8cmsKfJGV+x7HHMXPNZvXFXO=KZzLvrcWCGrDL=Pg@mail.gmail.com>\r
+ <87vbau9e8i.fsf@wondoo.home.cworth.org>\r
+User-Agent: Notmuch/0.20.2+73~gd432116 (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Tue, 29 Sep 2015 08:00:18 -0300\r
+Message-ID: <87y4fpqym5.fsf@maritornes.cs.unb.ca>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.18\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 29 Sep 2015 11:02:24 -0000\r
+\r
+Carl Worth <cworth@cworth.org> writes:\r
+\r
+> On Mon, Sep 28 2015, Xu Wang wrote:\r
+>> I would look to look for all emails from a colleague jongho. I tried:\r
+>>\r
+>> from:jongho attachment:pdf\r
+>>\r
+>> which seems to do as I wanted.\r
+>\r
+> Good. That should work.\r
+\r
+Another option is to use mimetype:pdf\r
+\r
+man notmuch-search-terms is probably worth a look when facing these\r
+kinds of puzzles. It contains both Carl's reply about term based search\r
+and mine about the mimetype: prefix.  Of course it is getting pretty\r
+big, I don't know what to do about that.\r
+\r
+d\r