--- /dev/null
+Return-Path: <wael.nasreddine@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 olra.theworths.org (Postfix) with ESMTP id 1C5BB431FBD\r
+ for <notmuch@notmuchmail.org>; Wed, 28 May 2014 12:34:56 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+ tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id JrR5hT95pJ9E for <notmuch@notmuchmail.org>;\r
+ Wed, 28 May 2014 12:34:52 -0700 (PDT)\r
+Received: from mail-pb0-f53.google.com (mail-pb0-f53.google.com\r
+ [209.85.160.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id A12FA431FB6\r
+ for <notmuch@notmuchmail.org>; Wed, 28 May 2014 12:34:52 -0700 (PDT)\r
+Received: by mail-pb0-f53.google.com with SMTP id md12so11661741pbc.12\r
+ for <notmuch@notmuchmail.org>; Wed, 28 May 2014 12:34:51 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+ h=from:to:subject:in-reply-to:references:user-agent:date:message-id\r
+ :mime-version:content-type;\r
+ bh=tZyhlMIBneW0SSxF8b0z10GFKMS1WuAR7U8UcegniCA=;\r
+ b=em8x1rTIU/wBCa2EVqbTW14By5IAeZJDksbeL7zRPGhVuKFziKRITR3Gr4cc7IGOL6\r
+ 6aQTgC5i78OurpXyDJwrWXnGn/0LxuWCBnRADN+MCQ/91zYTvuCej88wnE/Gxc+W1A6m\r
+ 55oLCB9jHUZEQuxDbXedaLRofZ7hMabRlM7sTcqtlfa/CKzF4Zxz4mwhCBrQgP8oUlaX\r
+ j1llcNtFrzyOdZ5Pp9qruhes0EiPplCqd4zr/frkKyKD4KcM+QTEz8MUmAJ0hCy24jxm\r
+ sQZIpMQlMo09Q4IRshnI2CE5cZaaxUO8de13RUduT03ck+1K58GIT7UhdOWiscaGAjky\r
+ 6kEA==\r
+X-Received: by 10.68.164.100 with SMTP id yp4mr2238618pbb.136.1401305691567;\r
+ Wed, 28 May 2014 12:34:51 -0700 (PDT)\r
+Received: from localhost ([2620:0:1000:2e00:cde8:f047:13d1:b52b])\r
+ by mx.google.com with ESMTPSA id\r
+ pz10sm29712576pbb.33.2014.05.28.12.34.50 for <multiple recipients>\r
+ (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
+ Wed, 28 May 2014 12:34:50 -0700 (PDT)\r
+From: Wael Nasreddine <wael.nasreddine@gmail.com>\r
+To: Jani Nikula <jani@nikula.org>, notmuch <notmuch@notmuchmail.org>\r
+Subject: Re: Usage of tag:replied\r
+In-Reply-To: <87ha4aig87.fsf@nikula.org>\r
+References: <w52ctx8aqw8s.fsf@gaea.mtv.corp.google.com>\r
+ <87ha4aig87.fsf@nikula.org>\r
+User-Agent: Notmuch/0.18+10~g7d81d70 (http://notmuchmail.org) Emacs/24.3.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Wed, 28 May 2014 12:34:49 -0700\r
+Message-ID: <w52cwqd5r92e.fsf@gaea.mtv.corp.google.com>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\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: Wed, 28 May 2014 19:34:56 -0000\r
+\r
+Jani Nikula <jani@nikula.org> writes:\r
+\r
+> On Wed, 28 May 2014, Wael Nasreddine <wael.nasreddine@gmail.com> wrote:\r
+>> I'm trying to take advantage of the tag:replied to give higher priority\r
+>> to emails sent to very busy lists but it seems that it's not returning\r
+>> the results that I am expecting.\r
+>>\r
+>> $ notmuch search tag:unread AND from:lydia\r
+>> thread:000000000001a791 Today 17:20 [1/10] Lydia | Wael Nasreddine; ... (inbox replied unread work)\r
+>> $ notmuch search tag:unread AND tag:replied\r
+>>\r
+>> As you can see in the snippet above, I do have an email that has both\r
+>> tags *unread* and *replied* but when I query for both, it does not\r
+>> find that email (it does not find anything for that matters).\r
+>>\r
+>> What am I doing wrong?\r
+>\r
+> Notmuch searches are message based. You don't have messages that have\r
+> both unread and replied tags. The default output for notmuch search is\r
+> thread summary, which includes combined tags of all messages in that\r
+> thread. You have unread and replied in different messages in the same\r
+> thread.\r
+>\r
+\r
+Is there a way to change that for a specific query in emacs? or do I\r
+have to go with a solution like\r
+id:5376517c.086b8c0a.bb5f.fffff90d@mx.google.com ?\r
+\r
+Thanks,\r
+\r
+Wael\r
+\r
+> BR,\r
+> Jani.\r
+-- \r
+Wael Nasreddine | SRE at Google | wael.nasreddine@gmail.com | (650) 735-1773\r