--- /dev/null
+Return-Path: <sebastian.fischmeister@uwaterloo.ca>\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 6A20A431E64\r
+ for <notmuch@notmuchmail.org>; Mon, 23 Mar 2015 22:32:45 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.138\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.138 tagged_above=-999 required=5\r
+ tests=[DNS_FROM_AHBL_RHSBL=2.438, RCVD_IN_DNSWL_MED=-2.3]\r
+ 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 RQG0NqNAyYiI for <notmuch@notmuchmail.org>;\r
+ Mon, 23 Mar 2015 22:32:39 -0700 (PDT)\r
+X-Greylist: delayed 2690 seconds by postgrey-1.32 at olra;\r
+ Mon, 23 Mar 2015 22:32:38 PDT\r
+Received: from mailchk-m04.uwaterloo.ca (mailservices.uwaterloo.ca\r
+ [129.97.128.141])\r
+ (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id BB937431E62\r
+ for <notmuch@notmuchmail.org>; Mon, 23 Mar 2015 22:32:38 -0700 (PDT)\r
+Received: from connect.uwaterloo.ca (connhub1.connect.uwaterloo.ca\r
+ [129.97.149.113])\r
+ by mailchk-m04.uwaterloo.ca (8.14.4/8.14.4) with ESMTP id\r
+ t2O4lfwG022940\r
+ (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=OK)\r
+ for <notmuch@notmuchmail.org>; Tue, 24 Mar 2015 00:47:46 -0400\r
+Received: from CONNHUB3.connect.uwaterloo.ca (129.97.149.121) by\r
+ connhub1.connect.uwaterloo.ca (129.97.149.113) with Microsoft SMTP\r
+ Server (TLS) id 14.3.210.2; Tue, 24 Mar 2015 00:47:42 -0400\r
+Received: from uwaterloo.ca (172.16.38.139) by connhub3.connect.uwaterloo.ca\r
+ (129.97.149.121) with Microsoft SMTP Server (TLS) id 14.3.210.2;\r
+ Tue, 24 Mar 2015 00:47:41 -0400\r
+From: Sebastian Fischmeister <sfischme@uwaterloo.ca>\r
+To: notmuch <notmuch@notmuchmail.org>\r
+Subject: strange search behaviour in emacs\r
+X-Homepage: http://esg.uwaterloo.ca\r
+Date: Tue, 24 Mar 2015 00:47:41 -0400\r
+Message-ID: <87twxbypqw.fsf@uwaterloo.ca>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-UUID: 7bcf6c50-01ec-49d0-a19e-4eb1a0dfdc93\r
+X-Miltered: at mailchk-m04 with ID 5510EC6D.003 by Joe's j-chkmail\r
+ (http://j-chkmail.ensmp.fr)!\r
+X-Virus-Scanned: clamav-milter 0.98.5 at mailchk-m04\r
+X-Virus-Status: Clean\r
+X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3\r
+ (mailchk-m04.uwaterloo.ca [129.97.128.141]);\r
+ Tue, 24 Mar 2015 00:47:46 -0400 (EDT)\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+Reply-To: sfischme@uwaterloo.ca\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: Tue, 24 Mar 2015 05:32:46 -0000\r
+\r
+Hi,\r
+\r
+I have some strange behaviour when performing searches on notmuch in\r
+emacs. The following works just fine:\r
+\r
+M-: (notmuch-search "from:foo") ;;not me\r
+M-: (notmuch-search "bar")\r
+\r
+The following *always* returns an empty list, even when I see an email\r
+with "bar" right there in the list after the first search:\r
+\r
+M-: (notmuch-search "from:sfischme") ;;me\r
+M-: (notmuch-search "bar")\r
+\r
+It appears to only occur when the "from:XY" search was for what I have\r
+set in my notmuch config for the primary_email address.\r
+\r
+I have no clue why this is happening. Any ideas? Especially, any ideas\r
+how to fix it? I'm using notmuch 0.19 (package 0.19-2 on archlinux).\r
+\r
+Thanks,\r
+ Sebastian\r