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