Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 84 / 8d07828530d44051bfd8ef65e49c7ca7eb76b5
1 Return-Path: <amdragon@mit.edu>\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 92306431FBC\r
6         for <notmuch@notmuchmail.org>; Mon,  1 Oct 2012 05:16:32 -0700 (PDT)\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 rvHzs0Zyrblc for <notmuch@notmuchmail.org>;\r
16         Mon,  1 Oct 2012 05:16:30 -0700 (PDT)\r
17 Received: from dmz-mailsec-scanner-7.mit.edu (DMZ-MAILSEC-SCANNER-7.MIT.EDU\r
18         [18.7.68.36])\r
19         by olra.theworths.org (Postfix) with ESMTP id DBC96431FAE\r
20         for <notmuch@notmuchmail.org>; Mon,  1 Oct 2012 05:16:29 -0700 (PDT)\r
21 X-AuditID: 12074424-b7fce6d000000925-ec-5069899c285d\r
22 Received: from mailhub-auth-3.mit.edu ( [18.9.21.43])\r
23         by dmz-mailsec-scanner-7.mit.edu (Symantec Messaging Gateway) with SMTP\r
24         id D8.7C.02341.C9989605; Mon,  1 Oct 2012 08:16:28 -0400 (EDT)\r
25 Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])\r
26         by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id q91CGSkX018535; \r
27         Mon, 1 Oct 2012 08:16:28 -0400\r
28 Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91])\r
29         (authenticated bits=0)\r
30         (User authenticated as amdragon@ATHENA.MIT.EDU)\r
31         by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id q91CGQME007795\r
32         (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);\r
33         Mon, 1 Oct 2012 08:16:27 -0400 (EDT)\r
34 Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.77)\r
35         (envelope-from <amdragon@mit.edu>)\r
36         id 1TIevB-0004YG-Ut; Mon, 01 Oct 2012 08:16:25 -0400\r
37 Date: Mon, 1 Oct 2012 08:16:25 -0400\r
38 From: Austin Clements <amdragon@MIT.EDU>\r
39 To: Damien Cassou <damien.cassou@gmail.com>\r
40 Subject: Re: Searching from a folder\r
41 Message-ID: <20121001121625.GD26662@mit.edu>\r
42 References:\r
43  <CA+y5ggh-PFtHsRgpdXje9z2gsrsonMNi0gqDTfpQ42jXNmJ3dg@mail.gmail.com>\r
44         <20120929161158.GX26662@mit.edu>\r
45         <CA+y5ggiM-8XPDcD4mJjF9GKm+yEzp1wO-NM7UsebowCUWUWkVw@mail.gmail.com>\r
46 MIME-Version: 1.0\r
47 Content-Type: text/plain; charset=us-ascii\r
48 Content-Disposition: inline\r
49 In-Reply-To:\r
50  <CA+y5ggiM-8XPDcD4mJjF9GKm+yEzp1wO-NM7UsebowCUWUWkVw@mail.gmail.com>\r
51 User-Agent: Mutt/1.5.21 (2010-09-15)\r
52 X-Brightmail-Tracker:\r
53  H4sIAAAAAAAAA+NgFmplleLIzCtJLcpLzFFi42IR4hTV1p3TmRlg0N5gY7Hr7lYmi+s3ZzI7\r
54         MHnsnHWX3ePZqlvMAUxRXDYpqTmZZalF+nYJXBlrz81nKtjOXbGmvYGpgXE3ZxcjJ4eEgInE\r
55         lPWvmCFsMYkL99azdTFycQgJ7GOU+HB4KSuEs55RYnbXUxYI5wSTxN3/95ghnCWMEtcmHwTr\r
56         ZxFQkVg34TOYzSagIbFt/3JGEFtEQFvizdIOVhCbWUBa4tvvZiYQWxiofsubQ2BxXgEdieWH\r
57         e6DW7WKUmLmymwkiIShxcuYTFohmLYkb/14CxTnABi3/xwES5hQIlLjS8Q5sjijQzCknt7FN\r
58         YBSahaR7FpLuWQjdCxiZVzHKpuRW6eYmZuYUpybrFicn5uWlFuma6+VmluilppRuYgSFNruL\r
59         yg7G5kNKhxgFOBiVeHgXXM4IEGJNLCuuzD3EKMnBpCTKu6stM0CILyk/pTIjsTgjvqg0J7X4\r
60         EKMEB7OSCK99DlCONyWxsiq1KB8mJc3BoiTOez3lpr+QQHpiSWp2ampBahFMVoaDQ0mCd3kH\r
61         UKNgUWp6akVaZk4JQpqJgxNkOA/Q8LkgNbzFBYm5xZnpEPlTjIpS4rzNIAkBkERGaR5cLyz1\r
62         vGIUB3pFmLcJpIoHmLbgul8BDWYCGly1Kg1kcEkiQkqqgZG123r26+KG2Vyb9n1Q7bilv8vY\r
63         ybqc8UnpbHsj/a2TxIT3mh/g2Omp8fjLjXy/qAf3e3gMRcVNz70NfW1n0++24DyLcMu5TY53\r
64         /tyK8KkUaLp2XUx9Tz//Wu+57gV3SiLVd7/5+DB98paAEKltGp+VPryuqpuytWJmdfSet9uO\r
65         PJY5O/2pR4cSS3FGoqEWc1FxIgBENzcRGAMAAA==\r
66 Cc: notmuch@notmuchmail.org\r
67 X-BeenThere: notmuch@notmuchmail.org\r
68 X-Mailman-Version: 2.1.13\r
69 Precedence: list\r
70 List-Id: "Use and development of the notmuch mail system."\r
71         <notmuch.notmuchmail.org>\r
72 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
73         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
74 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
75 List-Post: <mailto:notmuch@notmuchmail.org>\r
76 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
77 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
78         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
79 X-List-Received-Date: Mon, 01 Oct 2012 12:16:32 -0000\r
80 \r
81 Quoth Damien Cassou on Oct 01 at 11:42 am:\r
82 > On Sat, Sep 29, 2012 at 6:12 PM, Austin Clements <amdragon@mit.edu> wrote:\r
83 > > $ notmuch search 'folder:"[Gmail].All Mail"'\r
84 > > $ notmuch search 'folder:"[Gmail].Important"'\r
85\r
86 > thank you very much, it indeed works. I'm still a bit puzzled by the\r
87 > fact that, on my other mailbox, I'm getting the following results:\r
88\r
89 > $ notmuch search 'folder:"[Gmail].Important"' | wc --lines\r
90 > 8928\r
91 > $ notmuch search folder:[Gmail].Important | wc --lines\r
92 > 138\r
93\r
94 > So, without using quoting, something is indeed happening. Do you know what?\r
95 \r
96 In the latter case, you're finding emails that contain the words\r
97 "folder" (or words like folder), "gmail", and "important".\r
98 \r
99 $ NOTMUCH_DEBUG_QUERY=1 notmuch search 'folder:"[Gmail].Important"'\r
100 Final query is:\r
101 Xapian::Query((Tmail AND (XFOLDERgmail:(pos=1) PHRASE 2 XFOLDERimportant:(pos=2))))\r
102 \r
103 This is slightly inscrutable, but you can see that it applied the\r
104 folder prefix ("XFOLDER") to both "gmail" and "important" and required\r
105 that the two terms appear in a phrase (that is, next to each other).\r
106 \r
107 $ NOTMUCH_DEBUG_QUERY=1 notmuch search 'folder:[Gmail].Important'\r
108 Final query is:\r
109 Xapian::Query((Tmail AND Zfolder:(pos=1) AND gmail:(pos=2) AND important:(pos=3)))\r
110 \r
111 Whereas here, it's searching for folder, gmail, and important as\r
112 regular and completely independent terms (the Z on folder means it's\r
113 stemmed, so it will match folders, foldered, etc.)\r