Searching for phrases in the body of an email

2015-07-19 Thread Suvayu Ali
On Sat, Jul 18, 2015 at 12:34:16PM -0400, Xu Wang wrote: > On Sat, Jul 18, 2015 at 11:32 AM, Suvayu Ali > wrote: > > > Of course this does not help me solve my original goal, but I guess now > > I can try different queries based on your idea. > > Ah I see. Your

Searching for phrases in the body of an email

2015-07-19 Thread Suvayu Ali
Hi Jani, On Sat, Jul 18, 2015 at 06:53:53PM +0300, Jani Nikula wrote: > On Jul 18, 2015 6:32 PM, "Suvayu Ali" wrote: > > On Sat, Jul 18, 2015 at 10:54:30AM -0400, Xu Wang wrote: > > > > > > First note that I believe notmuch search is case insensitive by > > >

Searching for phrases in the body of an email

2015-07-18 Thread Jani Nikula
On Jul 18, 2015 6:32 PM, "Suvayu Ali" wrote: > > Hi Xu, > > On Sat, Jul 18, 2015 at 10:54:30AM -0400, Xu Wang wrote: > > > > First note that I believe notmuch search is case insensitive by > > default, so your grep should be case insensitive as well. > > Good

Searching for phrases in the body of an email

2015-07-18 Thread Suvayu Ali
Hi Xu, On Sat, Jul 18, 2015 at 10:54:30AM -0400, Xu Wang wrote: > > First note that I believe notmuch search is case insensitive by > default, so your grep should be case insensitive as well. Good point, I tried that, didn't change the numbers much. The number of matches from grep went up to

Searching for phrases in the body of an email

2015-07-18 Thread Xu Wang
On Sat, Jul 18, 2015 at 11:32 AM, Suvayu Ali wrote: > Of course this does not help me solve my original goal, but I guess now > I can try different queries based on your idea. Ah I see. Your goal is to search for phrases close to "no plain text". But if you use

Searching for phrases in the body of an email

2015-07-18 Thread Suvayu Ali
Hi Lewis, On Fri, Jul 17, 2015 at 10:48:57AM -0500, J. Lewis Muir wrote: > > 1. Perhaps you are remembering the "no plain text" message incorrectly? >For example, the message could have referred to "text/plain" or >"plaintext" (no space). These would be sufficiently different to not >

Searching for phrases in the body of an email

2015-07-18 Thread Xu Wang
On Sat, Jul 18, 2015 at 5:11 AM, Suvayu Ali wrote: > Hi Lewis, > > On Fri, Jul 17, 2015 at 10:48:57AM -0500, J. Lewis Muir wrote: >> >> 1. Perhaps you are remembering the "no plain text" message incorrectly? >>For example, the message could have referred to

Re: Searching for phrases in the body of an email

2015-07-18 Thread Suvayu Ali
Hi Xu, On Sat, Jul 18, 2015 at 10:54:30AM -0400, Xu Wang wrote: First note that I believe notmuch search is case insensitive by default, so your grep should be case insensitive as well. Good point, I tried that, didn't change the numbers much. The number of matches from grep went up to 24,

Re: Searching for phrases in the body of an email

2015-07-18 Thread Xu Wang
On Sat, Jul 18, 2015 at 5:11 AM, Suvayu Ali fatkasuvayu+li...@gmail.com wrote: Hi Lewis, On Fri, Jul 17, 2015 at 10:48:57AM -0500, J. Lewis Muir wrote: 1. Perhaps you are remembering the no plain text message incorrectly? For example, the message could have referred to text/plain or

Re: Searching for phrases in the body of an email

2015-07-18 Thread Jani Nikula
On Jul 18, 2015 6:32 PM, Suvayu Ali fatkasuvayu+li...@gmail.com wrote: Hi Xu, On Sat, Jul 18, 2015 at 10:54:30AM -0400, Xu Wang wrote: First note that I believe notmuch search is case insensitive by default, so your grep should be case insensitive as well. Good point, I tried that,

Re: Searching for phrases in the body of an email

2015-07-18 Thread Suvayu Ali
On Sat, Jul 18, 2015 at 12:34:16PM -0400, Xu Wang wrote: On Sat, Jul 18, 2015 at 11:32 AM, Suvayu Ali fatkasuvayu+li...@gmail.com wrote: Of course this does not help me solve my original goal, but I guess now I can try different queries based on your idea. Ah I see. Your goal is to

Re: Searching for phrases in the body of an email

2015-07-18 Thread Xu Wang
On Sat, Jul 18, 2015 at 11:32 AM, Suvayu Ali fatkasuvayu+li...@gmail.com wrote: Of course this does not help me solve my original goal, but I guess now I can try different queries based on your idea. Ah I see. Your goal is to search for phrases close to no plain text. But if you use fuzzy

Searching for phrases in the body of an email

2015-07-17 Thread Suvayu Ali
Hi, I'm trying to find those annoying emails which have useless plain text parts. As I recall, they had a phrase something along the lines of "not available in plain text" or "no plain text". So of course I searched for "plain text". But that returns hundreds of messages with no obvious

Searching for phrases in the body of an email

2015-07-17 Thread J. Lewis Muir
On 7/17/15 7:11 AM, Suvayu Ali wrote: > Hi, > > I'm trying to find those annoying emails which have useless plain > text parts. As I recall, they had a phrase something along the lines > of "not available in plain text" or "no plain text". So of course I > searched for "plain text". But that

Searching for phrases in the body of an email

2015-07-17 Thread Suvayu Ali
Hi, I'm trying to find those annoying emails which have useless plain text parts. As I recall, they had a phrase something along the lines of not available in plain text or no plain text. So of course I searched for plain text. But that returns hundreds of messages with no obvious matches, I

Re: Searching for phrases in the body of an email

2015-07-17 Thread J. Lewis Muir
On 7/17/15 7:11 AM, Suvayu Ali wrote: Hi, I'm trying to find those annoying emails which have useless plain text parts. As I recall, they had a phrase something along the lines of not available in plain text or no plain text. So of course I searched for plain text. But that returns