Re: Searching for phrases in the body of an email
authorSuvayu Ali <fatkasuvayu+linux@gmail.com>
Sat, 18 Jul 2015 22:33:15 +0000 (00:33 +0200)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:49:11 +0000 (14:49 -0700)
1c/4b22586dc0e7cd346cba672395bf0bcc8b3d6f [new file with mode: 0644]

diff --git a/1c/4b22586dc0e7cd346cba672395bf0bcc8b3d6f b/1c/4b22586dc0e7cd346cba672395bf0bcc8b3d6f
new file mode 100644 (file)
index 0000000..ae3c58c
--- /dev/null
@@ -0,0 +1,101 @@
+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 DB7FD6DE172B\r
+ for <notmuch@notmuchmail.org>; Sat, 18 Jul 2015 15:33:20 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.719\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.719 tagged_above=-999 required=5 tests=[AWL=0.101,\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 z8isndH8wOaq for <notmuch@notmuchmail.org>;\r
+ Sat, 18 Jul 2015 15:33:19 -0700 (PDT)\r
+Received: from mail-wg0-f44.google.com (mail-wg0-f44.google.com\r
+ [74.125.82.44]) by arlo.cworth.org (Postfix) with ESMTPS id C63176DE1715 for\r
+ <notmuch@notmuchmail.org>; Sat, 18 Jul 2015 15:33:18 -0700 (PDT)\r
+Received: by wgbcc4 with SMTP id cc4so12229110wgb.3\r
+ for <notmuch@notmuchmail.org>; Sat, 18 Jul 2015 15:33:17 -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:references\r
+ :mime-version:content-type:content-disposition:in-reply-to\r
+ :user-agent; bh=yyJc4D+3On2DE63VC7nZqzAbVo70jYm7nt2lghq6Kf8=;\r
+ b=Qm9vZl21zW32Jw7Ga+GSwtM73N5cqdGZER9u+0aUJW5W67CTwdjPwuQd0gvbeJx9zD\r
+ If2a47TEqUD3rHI4GCQIzfWoK265eqBIafXSbqeW/PfjpsarwwGQmDRwttcc3j5BvbtK\r
+ WcA4LcIoKMiQI1cH7wiQg5Q/QEhf2zLnglQFelBHkETTtMXRXPHMOQg4IwhFJLf1qiUK\r
+ Q6LHRqiuhZ4CSeYokhsdSndc8QqorhuZz3qP/M+9TEooy9tOik9gs04fFs+09HIXqIzH\r
+ yg0N2yINinaadjSUUZ1d1hgBfkTpS3x1h4WNZzBVGjVto0yZFc6X5wDb0eWhbv1bPo3p\r
+ dFFg==\r
+X-Received: by 10.194.23.106 with SMTP id l10mr44743895wjf.1.1437258797074;\r
+ Sat, 18 Jul 2015 15:33:17 -0700 (PDT)\r
+Received: from chitra.no-ip.org (ip82-139-115-46.lijbrandt.net.\r
+ [82.139.115.46])\r
+ by smtp.gmail.com with ESMTPSA id k4sm4431749wix.19.2015.07.18.15.33.16\r
+ for <notmuch@notmuchmail.org>\r
+ (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+ Sat, 18 Jul 2015 15:33:16 -0700 (PDT)\r
+Sender: Suvayu Ali <fatkasuvayu@gmail.com>\r
+Date: Sun, 19 Jul 2015 00:33:15 +0200\r
+From: Suvayu Ali <fatkasuvayu+linux@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: Re: Searching for phrases in the body of an email\r
+Message-ID: <20150718223315.GD4527@chitra.no-ip.org>\r
+Mail-Followup-To: notmuch@notmuchmail.org\r
+References: <20150717121111.GF25651@chitra.no-ip.org>\r
+ <55A923E9.5070509@imca-cat.org>\r
+ <20150718091139.GB8311@chitra.no-ip.org>\r
+ <CAJhTkNhQtWbt2-ZudUz4bxC98HOC9W-moUohUDaiDuULNXqb9g@mail.gmail.com>\r
+ <20150718153239.GB4527@chitra.no-ip.org>\r
+ <CAJhTkNjF-5AFXHkrCLPPp6oKSbuqYEZnf1XQAsQjd6bRUd=jUQ@mail.gmail.com>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: inline\r
+In-Reply-To:\r
+ <CAJhTkNjF-5AFXHkrCLPPp6oKSbuqYEZnf1XQAsQjd6bRUd=jUQ@mail.gmail.com>\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: Sat, 18 Jul 2015 22:33:20 -0000\r
+\r
+On Sat, Jul 18, 2015 at 12:34:16PM -0400, Xu Wang wrote:\r
+> On Sat, Jul 18, 2015 at 11:32 AM, Suvayu Ali\r
+> <fatkasuvayu+linux@gmail.com> wrote:\r
+> \r
+> > Of course this does not help me solve my original goal, but I guess now\r
+> > I can try different queries based on your idea.\r
+> \r
+> Ah I see. Your goal is to search for phrases close to "no plain text".\r
+> But if you use fuzzy searching but an exact grep, then it is normal\r
+> that the numbers are not consistent, no? Because your grep is not\r
+> fuzzy.\r
+\r
+My grep was this (case insensitive): 'plain[[:space:]/]+text'.  Since I\r
+thought I was searching for the _phrase_ "plain text", that would be\r
+adequately fuzzy.  However after following Jani's advice, I realise it\r
+wasn't always being treated as a phrase, neither was NEAR being treated\r
+as an operator.  \r
+\r
+I wanted to combine a phrase (plain text) with the NEAR query (NEAR no),\r
+but maybe that combination is not possible.  That's why I tried to\r
+combine NEAR and ADJ (as per your suggestion) by grouping them, that\r
+does not seem to work either!\r
+\r
+-- \r
+Suvayu\r
+\r
+Open source is the future. It sets us free.\r