Subject: Re: [sup-talk] searching for multiple labels

From: Mark Alexander <[email-masked]>
Date: Wed, 23 Feb 2011 10:55:00 -0500

Excerpts from Philippe LeCavalier's message of Wed Feb 23 09:25:57 -0500 2011:
> What's the syntax for searching multiple labels in one query? Or do I
> always have to search & refine?

I use things like this:

  label:something AND label:other

or this:

  label:something AND is:unread AND is:inbox
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: Philippe LeCavalier <[email-masked]>
Date: Wed, 23 Feb 2011 13:31:51 -0500

Excerpts from Christer Edwards's message of Wed Feb 23 10:45:41 -0500 2011:
> Excerpts from Philippe LeCavalier's message of 2011-02-23 07:25:57 -0700:
> label:foo AND label:bar AND is:unread ...etc.
> 
> Christer
I see. Based on some posts I thought that the '-','+' would effectively add or
negate a term.
-- 
Thanks,
Phil
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: Gregor Hoffleit <[email-masked]>
Date: Wed, 23 Feb 2011 17:38:11 +0100

"label:apple label:orange" finds all threads which have either the label
"apple" or the label "orange" (or both).

"label:apple AND label:orange" finds the threads which are labeled with
"apple" and "orange" at the same time.

For a more detailed description, have a look at
http://sup.rubyforge.org/wiki/wiki.pl?SearchingMail.

Regards,
    Gregor

* Philippe LeCavalier <[email-masked]> [Mi Feb 23 15:25:57 +0100 2011]

---

From: Philippe LeCavalier <[email-masked]>
Date: Wed, 23 Feb 2011 09:25:57 -0500

---

From: John Bent <[email-masked]>
Date: Wed, 23 Feb 2011 10:29:20 -0700

>   label:something AND is:unread AND is:inbox
There is a 'U' shortcut mapped to 'is:unread' which I always patch to
'is:unread AND is:inbox' since I leave a ton of mailing list threads
unread and archived.
-- 
Thanks,

John