1 Return-Path: <fatkasuvayu+linux@gmail.com>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by arlo.cworth.org (Postfix) with ESMTP id 506566DE09FB
\r
6 for <notmuch@notmuchmail.org>; Fri, 17 Jul 2015 05:11:18 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=-0.133 tagged_above=-999 required=5 tests=[AWL=0.687,
\r
12 DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001,
\r
13 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01,
\r
14 SPF_PASS=-0.001] autolearn=disabled
\r
15 Received: from arlo.cworth.org ([127.0.0.1])
\r
16 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
17 with ESMTP id 0IUmEpgBHusn for <notmuch@notmuchmail.org>;
\r
18 Fri, 17 Jul 2015 05:11:16 -0700 (PDT)
\r
19 Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com
\r
21 by arlo.cworth.org (Postfix) with ESMTPS id 0195C6DE02B1
\r
22 for <notmuch@notmuchmail.org>; Fri, 17 Jul 2015 05:11:15 -0700 (PDT)
\r
23 Received: by widjy10 with SMTP id jy10so39717917wid.1
\r
24 for <notmuch@notmuchmail.org>; Fri, 17 Jul 2015 05:11:14 -0700 (PDT)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
\r
26 h=sender:date:from:to:subject:message-id:mail-followup-to
\r
27 :mime-version:content-type:content-disposition:user-agent;
\r
28 bh=TKHDFS5cR6oYzOinvpzSBNPGFfYV4a4NAHLpYLWuKBo=;
\r
29 b=ONWmzY2Fk/zQ8vo3EawivNKd/ptE+YrFJblxr/uCykpxqngZM8i8Lqgd0Dkc1/0WXx
\r
30 efbidPkXCkn0Fi/jT3Ahsh+w1ZkYk8iKRu3VK7cEAhNS43m8gYG+I2k3fA0QO/MElxDQ
\r
31 eNtCu8CIIUDhExm9c00nOpaxaIxuyegJy1O2rBPAxOgO+qvA+8pwo/x9BwQ8Z3z6rneP
\r
32 0BcBVWJAjv/9ipJw2Nuyhqv0OYgtjKyeREfvFOn4ElvP6x7I/RKnLDO0Z7HZN5hYwd+D
\r
33 PRE3qw6KjIPANsOtri474eD4DN9s4nccq+4La6GGvdNKS1ZYs2WRc2tyMaYcr6AqZz5m
\r
35 X-Received: by 10.194.108.5 with SMTP id hg5mr30621320wjb.25.1437135073870;
\r
36 Fri, 17 Jul 2015 05:11:13 -0700 (PDT)
\r
37 Received: from chitra.no-ip.org ([2001:610:120:3001:2ad2:44ff:fe4a:b029])
\r
38 by smtp.gmail.com with ESMTPSA id b13sm8209813wic.15.2015.07.17.05.11.13
\r
39 for <notmuch@notmuchmail.org>
\r
40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
\r
41 Fri, 17 Jul 2015 05:11:13 -0700 (PDT)
\r
42 Sender: Suvayu Ali <fatkasuvayu@gmail.com>
\r
43 Date: Fri, 17 Jul 2015 14:11:11 +0200
\r
44 From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
\r
45 To: Notmuch list <notmuch@notmuchmail.org>
\r
46 Subject: Searching for phrases in the body of an email
\r
47 Message-ID: <20150717121111.GF25651@chitra.no-ip.org>
\r
48 Mail-Followup-To: Notmuch list <notmuch@notmuchmail.org>
\r
50 Content-Type: text/plain; charset=us-ascii
\r
51 Content-Disposition: inline
\r
52 User-Agent: Mutt/1.5.23.1 (2014-03-12)
\r
53 X-BeenThere: notmuch@notmuchmail.org
\r
54 X-Mailman-Version: 2.1.18
\r
56 List-Id: "Use and development of the notmuch mail system."
\r
57 <notmuch.notmuchmail.org>
\r
58 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
59 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
60 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
61 List-Post: <mailto:notmuch@notmuchmail.org>
\r
62 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
63 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
64 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
65 X-List-Received-Date: Fri, 17 Jul 2015 12:11:18 -0000
\r
69 I'm trying to find those annoying emails which have useless plain text
\r
70 parts. As I recall, they had a phrase something along the lines of "not
\r
71 available in plain text" or "no plain text". So of course I searched
\r
72 for "plain text". But that returns hundreds of messages with no obvious
\r
73 matches, I can't even find the phrase "plain text" in the body for most
\r
78 $ notmuch search --limit=1 -- no NEAR "plain text"
\r
79 thread:000000000000a2a6 Sat. 00:30 [1/1] NASA Jet Propulsion Laboratory; NASA's Curiosity Mars Rover Tracks Sunspots (2015 2015-07 inbox)
\r
80 $ notmuch show --format=raw -- thread:000000000000a2a6 | grep 'plain text'
\r
83 To make this stranger, here are more numbers:
\r
85 $ notmuch show -- $(notmuch search --output=messages -- no NEAR "plain text") | \
\r
86 grep -c -e 'plain text'
\r
88 $ notmuch count -- no NEAR "plain text"
\r
91 I do not understand this at all! Any thoughts?
\r
98 Open source is the future. It sets us free.
\r