Re: Usage of tag:replied
authorJani Nikula <jani@nikula.org>
Wed, 28 May 2014 06:12:40 +0000 (09:12 +0300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:03:02 +0000 (10:03 -0800)
07/b6bfbff4da75d95232580abbcd876a1f3844d0 [new file with mode: 0644]

diff --git a/07/b6bfbff4da75d95232580abbcd876a1f3844d0 b/07/b6bfbff4da75d95232580abbcd876a1f3844d0
new file mode 100644 (file)
index 0000000..d01d3bf
--- /dev/null
@@ -0,0 +1,92 @@
+Return-Path: <jani@nikula.org>\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 05721431FC0\r
+       for <notmuch@notmuchmail.org>; Tue, 27 May 2014 23:12:52 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[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 wFvvCV+hH8ur for <notmuch@notmuchmail.org>;\r
+       Tue, 27 May 2014 23:12:47 -0700 (PDT)\r
+Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com\r
+ [74.125.82.42])       (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
+ certificate requested)        by olra.theworths.org (Postfix) with ESMTPS id\r
+ 681C5431FB6   for <notmuch@notmuchmail.org>; Tue, 27 May 2014 23:12:47 -0700\r
+ (PDT)\r
+Received: by mail-wg0-f42.google.com with SMTP id y10so10364258wgg.25\r
+       for <notmuch@notmuchmail.org>; Tue, 27 May 2014 23:12:44 -0700 (PDT)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=1e100.net; s=20130820;\r
+       h=x-gm-message-state:from:to:subject:in-reply-to:references\r
+       :user-agent:date:message-id:mime-version:content-type;\r
+       bh=13/64L0VR19AkxUvT80hNbXSsKxgKAftiRn69dlxGGA=;\r
+       b=jPpaFIa/MnGy5pxkgCJztQVjAxnehtHi3a+Jg7mZSsfSgy2CImjSUzzXkzSjTWy6KO\r
+       80ZoUeiDzQgR0NWOsYb9LRAk7Ps4dc7l6cViQ7me8ODEfUj45EL5GHVO2irOF8NutRuS\r
+       nazqKXKTkLgoSLqzppZnbWsYl7Y/130QRtdyn6Q6P/71alcGVpp+n/I2p8+KEwNoCWu9\r
+       kUp3Z5iO3709W4n6LWXVPxn3nZXG191mPNQ8wGtgr7VcDnW2d0iHrZ/QygHhiAlF0n47\r
+       JCdBSUbuC9HCD6Vm45jw4rWj4ZHlcCsGqk5UHf7OgV4/JmRg798MWP4RtN6Wv7xXvw3v\r
+       /XZQ==\r
+X-Gm-Message-State:\r
+ ALoCoQnEkG01e5U4idFOFT68t5hO+OVAa2ML0dwmdt/cLqv5zlyKE1YjUT/vYOnAL8aQpUEYssdV\r
+X-Received: by 10.194.240.129 with SMTP id wa1mr25821105wjc.11.1401257563883; \r
+       Tue, 27 May 2014 23:12:43 -0700 (PDT)\r
+Received: from localhost (dsl-hkibrasgw2-58c36f-91.dhcp.inet.fi.\r
+       [88.195.111.91]) by mx.google.com with ESMTPSA id\r
+       vm8sm40616729wjc.27.2014.05.27.23.12.42 for <multiple recipients>\r
+       (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+       Tue, 27 May 2014 23:12:43 -0700 (PDT)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: Wael Nasreddine <wael.nasreddine@gmail.com>,\r
+       notmuch <notmuch@notmuchmail.org>\r
+Subject: Re: Usage of tag:replied\r
+In-Reply-To: <w52ctx8aqw8s.fsf@gaea.mtv.corp.google.com>\r
+References: <w52ctx8aqw8s.fsf@gaea.mtv.corp.google.com>\r
+User-Agent: Notmuch/0.18~rc0+2~gbc64cdc (http://notmuchmail.org) Emacs/24.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Wed, 28 May 2014 09:12:40 +0300\r
+Message-ID: <87ha4aig87.fsf@nikula.org>\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 06:12:52 -0000\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
+BR,\r
+Jani.\r