Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / d7 / fb32fe59d86260da07cf41fd78d08ec47afda4
1 Return-Path: <MarkR.Anderson@amd.com>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 3C4AC431FD0\r
6         for <notmuch@notmuchmail.org>; Tue, 25 Jan 2011 15:44:33 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id 82UKBaFgT6qb for <notmuch@notmuchmail.org>;\r
16         Tue, 25 Jan 2011 15:44:31 -0800 (PST)\r
17 X-Greylist: delayed 902 seconds by postgrey-1.32 at olra;\r
18         Tue, 25 Jan 2011 15:44:30 PST\r
19 Received: from DB3EHSOBE001.bigfish.com (db3ehsobe001.messaging.microsoft.com\r
20         [213.199.154.139])\r
21         (using TLSv1 with cipher AES128-SHA (128/128 bits))\r
22         (No client certificate requested)\r
23         by olra.theworths.org (Postfix) with ESMTPS id D1178431FB6\r
24         for <notmuch@notmuchmail.org>; Tue, 25 Jan 2011 15:44:30 -0800 (PST)\r
25 Received: from mail102-db3-R.bigfish.com (10.3.81.249) by\r
26         DB3EHSOBE001.bigfish.com (10.3.84.21) with Microsoft SMTP Server id\r
27         14.1.225.8; Tue, 25 Jan 2011 23:29:26 +0000\r
28 Received: from mail102-db3 (localhost.localdomain [127.0.0.1])  by\r
29         mail102-db3-R.bigfish.com (Postfix) with ESMTP id 8DEDD1008122  for\r
30         <notmuch@notmuchmail.org>; Tue, 25 Jan 2011 23:29:26 +0000 (UTC)\r
31 X-SpamScore: -8\r
32 X-BigFish: VPS-8(zz4015L140eMzz1202hzz8275bhz32i637h668h736h)\r
33 X-Forefront-Antispam-Report: KIP:(null); UIP:(null); IPVD:NLI;\r
34         H:ausb3twp01.amd.com; RD:none; EFVD:NLI\r
35 Received: from mail102-db3 (localhost.localdomain [127.0.0.1]) by mail102-db3\r
36         (MessageSwitch) id 1295998166284026_28820;\r
37         Tue, 25 Jan 2011 23:29:26 +0000 (UTC)\r
38 Received: from DB3EHSMHS007.bigfish.com (unknown [10.3.81.244]) by\r
39         mail102-db3.bigfish.com (Postfix) with ESMTP id 43C0F4C804C     for\r
40         <notmuch@notmuchmail.org>; Tue, 25 Jan 2011 23:29:26 +0000 (UTC)\r
41 Received: from ausb3twp01.amd.com (163.181.249.108) by\r
42         DB3EHSMHS007.bigfish.com (10.3.87.107) with Microsoft SMTP Server id\r
43         14.1.225.8; Tue, 25 Jan 2011 23:29:25 +0000\r
44 X-WSS-ID: 0LFLQKZ-01-J5J-02\r
45 X-M-MSG: \r
46 Received: from sausexedgep01.amd.com (sausexedgep01-ext.amd.com\r
47         [163.181.249.72])       (using TLSv1 with cipher AES128-SHA (128/128\r
48         bits))  (No\r
49         client certificate requested)   by ausb3twp01.amd.com (Tumbleweed\r
50         MailGate\r
51         3.7.2) with ESMTP id 24EC21028886       for <notmuch@notmuchmail.org>;\r
52         Tue, 25 Jan 2011 17:29:23 -0600 (CST)\r
53 Received: from sausexhtp01.amd.com (163.181.3.165) by sausexedgep01.amd.com\r
54         (163.181.36.54) with Microsoft SMTP Server (TLS) id 8.3.106.1;\r
55         Tue, 25 Jan 2011 17:29:26 -0600\r
56 Received: from optimon.amd.com (163.181.34.104) by sausexhtp01.amd.com\r
57         (163.181.3.165) with Microsoft SMTP Server id 8.3.83.0; Tue, 25 Jan 2011\r
58         17:29:23 -0600\r
59 Received: from mhdc-ns01.amd.com (mhdc-ns01.amd.com [165.204.35.147])   by\r
60         optimon.amd.com (8.12.10/8.12.10) with ESMTP id p0PNTNS8002330  for\r
61         <notmuch@notmuchmail.org>; Tue, 25 Jan 2011 17:29:23 -0600\r
62 Received: from testarossa.amd.com (testarossa.amd.com [165.204.147.44]) by\r
63         mhdc-ns01.amd.com (8.13.8+Sun/8.13.8) with ESMTP id p0PNTMid007579      for\r
64         <notmuch@notmuchmail.org>; Tue, 25 Jan 2011 16:29:22 -0700 (MST)\r
65 Received: (from manderso@localhost)     by testarossa.amd.com\r
66         (8.13.1/8.13.1/Submit) id p0PNTMDq010541;\r
67         Tue, 25 Jan 2011 16:29:22 -0700\r
68 X-Authentication-Warning: testarossa.amd.com: manderso set sender to\r
69         MarkR.Anderson@amd.com using -f\r
70 From: Mark Anderson <MarkR.Anderson@amd.com>\r
71 To: <notmuch@notmuchmail.org>\r
72 Subject: Strange match to my query\r
73 User-Agent: Notmuch/0.4 (http://notmuchmail.org) Emacs/23.1.1\r
74         (i686-pc-linux-gnu)\r
75 Date: Tue, 25 Jan 2011 16:29:22 -0700\r
76 Message-ID: <3wd4o8wa7fx.fsf@testarossa.amd.com>\r
77 MIME-Version: 1.0\r
78 Content-Type: text/plain; charset="us-ascii"\r
79 X-OriginatorOrg: amd.com\r
80 X-BeenThere: notmuch@notmuchmail.org\r
81 X-Mailman-Version: 2.1.13\r
82 Precedence: list\r
83 List-Id: "Use and development of the notmuch mail system."\r
84         <notmuch.notmuchmail.org>\r
85 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
86         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
87 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
88 List-Post: <mailto:notmuch@notmuchmail.org>\r
89 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
90 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
91         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
92 X-List-Received-Date: Tue, 25 Jan 2011 23:44:33 -0000\r
93 \r
94 Hi guys, What's up? ("Notmuch")\r
95 \r
96 Apparently matching on email addresses doesn't work the way I hoped.\r
97 \r
98 While debugging why my to:x@y.com search was matching far too many\r
99 entries, I whittled it down to this:\r
100 \r
101 WORD1=hello\r
102 WORD2=goodbye\r
103 MSGID=junk$(date +%s)\r
104 TESTDIR=$(notmuch config get database.path)/.tmp/new\r
105 TESTMAIL=$TESTDIR/$MSGID:2,\r
106 \r
107 mkdir -p $TESTDIR\r
108 \r
109 echo Testcase for $WORD1@$WORD2, msgid: $MSGID@junk.com\r
110 \r
111 echo "From: nobody@nobody.com\r
112 To: c@${WORD1}.com, K-R@${WORD2}.com\r
113 Date: Mon, 24 Jan 2011 23:41:34 -0600\r
114 Subject: Error\r
115 Message-ID: <$MSGID@junk.com>\r
116 \r
117 Not empty body.=\r
118 \r
119 " > $TESTMAIL\r
120 \r
121 notmuch new\r
122 notmuch search --output=files to:$WORD1@$WORD2\r
123 notmuch search --output=files to:\"$WORD1@$WORD2\"\r
124 \r
125 Why does that match, but this doesn't?\r
126 \r
127 notmuch search --output=files to:\'$WORD1@$WORD2\'\r
128 \r
129 Apparently single quotes are the only quote for Xapian's parser?\r
130 \r
131 I guess this is a strong vote for the quick integration of the custom\r
132 parser with optimization passes that turn emails into phrases that can't\r
133 match across multiple emails.\r
134 \r
135 This was just an egregious example of notmuch giving me notmuch of what\r
136 I wanted, or actually, far too much of what I didn't want.\r
137 \r
138 Thanks,\r
139 -Mark\r
140 \r