--- /dev/null
+Return-Path: <fatkasuvayu+linux@gmail.com>\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 506566DE09FB\r
+ for <notmuch@notmuchmail.org>; Fri, 17 Jul 2015 05:11:18 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.133\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.133 tagged_above=-999 required=5 tests=[AWL=0.687,\r
+ DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001,\r
+ RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01,\r
+ SPF_PASS=-0.001] 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 0IUmEpgBHusn for <notmuch@notmuchmail.org>;\r
+ Fri, 17 Jul 2015 05:11:16 -0700 (PDT)\r
+Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com\r
+ [209.85.212.178])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 0195C6DE02B1\r
+ for <notmuch@notmuchmail.org>; Fri, 17 Jul 2015 05:11:15 -0700 (PDT)\r
+Received: by widjy10 with SMTP id jy10so39717917wid.1\r
+ for <notmuch@notmuchmail.org>; Fri, 17 Jul 2015 05:11:14 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+ h=sender:date:from:to:subject:message-id:mail-followup-to\r
+ :mime-version:content-type:content-disposition:user-agent;\r
+ bh=TKHDFS5cR6oYzOinvpzSBNPGFfYV4a4NAHLpYLWuKBo=;\r
+ b=ONWmzY2Fk/zQ8vo3EawivNKd/ptE+YrFJblxr/uCykpxqngZM8i8Lqgd0Dkc1/0WXx\r
+ efbidPkXCkn0Fi/jT3Ahsh+w1ZkYk8iKRu3VK7cEAhNS43m8gYG+I2k3fA0QO/MElxDQ\r
+ eNtCu8CIIUDhExm9c00nOpaxaIxuyegJy1O2rBPAxOgO+qvA+8pwo/x9BwQ8Z3z6rneP\r
+ 0BcBVWJAjv/9ipJw2Nuyhqv0OYgtjKyeREfvFOn4ElvP6x7I/RKnLDO0Z7HZN5hYwd+D\r
+ PRE3qw6KjIPANsOtri474eD4DN9s4nccq+4La6GGvdNKS1ZYs2WRc2tyMaYcr6AqZz5m\r
+ rD5Q==\r
+X-Received: by 10.194.108.5 with SMTP id hg5mr30621320wjb.25.1437135073870;\r
+ Fri, 17 Jul 2015 05:11:13 -0700 (PDT)\r
+Received: from chitra.no-ip.org ([2001:610:120:3001:2ad2:44ff:fe4a:b029])\r
+ by smtp.gmail.com with ESMTPSA id b13sm8209813wic.15.2015.07.17.05.11.13\r
+ for <notmuch@notmuchmail.org>\r
+ (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+ Fri, 17 Jul 2015 05:11:13 -0700 (PDT)\r
+Sender: Suvayu Ali <fatkasuvayu@gmail.com>\r
+Date: Fri, 17 Jul 2015 14:11:11 +0200\r
+From: Suvayu Ali <fatkasuvayu+linux@gmail.com>\r
+To: Notmuch list <notmuch@notmuchmail.org>\r
+Subject: Searching for phrases in the body of an email\r
+Message-ID: <20150717121111.GF25651@chitra.no-ip.org>\r
+Mail-Followup-To: Notmuch list <notmuch@notmuchmail.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: inline\r
+User-Agent: Mutt/1.5.23.1 (2014-03-12)\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: Fri, 17 Jul 2015 12:11:18 -0000\r
+\r
+Hi,\r
+\r
+I'm trying to find those annoying emails which have useless plain text\r
+parts. As I recall, they had a phrase something along the lines of "not\r
+available in plain text" or "no plain text". So of course I searched\r
+for "plain text". But that returns hundreds of messages with no obvious\r
+matches, I can't even find the phrase "plain text" in the body for most\r
+of the results!\r
+\r
+Here is an example:\r
+\r
+$ notmuch search --limit=1 -- no NEAR "plain text"\r
+thread:000000000000a2a6 Sat. 00:30 [1/1] NASA Jet Propulsion Laboratory; NASA's Curiosity Mars Rover Tracks Sunspots (2015 2015-07 inbox)\r
+$ notmuch show --format=raw -- thread:000000000000a2a6 | grep 'plain text'\r
+$\r
+\r
+To make this stranger, here are more numbers:\r
+\r
+$ notmuch show -- $(notmuch search --output=messages -- no NEAR "plain text") | \\r
+ grep -c -e 'plain text'\r
+7\r
+$ notmuch count -- no NEAR "plain text"\r
+461\r
+\r
+I do not understand this at all! Any thoughts?\r
+\r
+Thanks in advance,\r
+\r
+-- \r
+Suvayu\r
+\r
+Open source is the future. It sets us free.\r