Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / d7 / be837f143501cbce97402596f86e644b3cfb8f
1 Return-Path: <matt@bubblegen.co.uk>\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 D54F5431FDB\r
6         for <notmuch@notmuchmail.org>; Fri, 20 Feb 2015 09:12:10 -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: 1.738\r
10 X-Spam-Level: *\r
11 X-Spam-Status: No, score=1.738 tagged_above=-999 required=5\r
12         tests=[DNS_FROM_AHBL_RHSBL=2.438, RCVD_IN_DNSWL_LOW=-0.7]\r
13         autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id QdZby9P2c4bA for <notmuch@notmuchmail.org>;\r
17         Fri, 20 Feb 2015 09:12:07 -0800 (PST)\r
18 X-Greylist: delayed 455 seconds by postgrey-1.32 at olra;\r
19         Fri, 20 Feb 2015 09:12:07 PST\r
20 Received: from avasout07.plus.net (avasout07.plus.net [84.93.230.235])\r
21         (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
22         (No client certificate requested)\r
23         by olra.theworths.org (Postfix) with ESMTPS id 67BA1431FD6\r
24         for <notmuch@notmuchmail.org>; Fri, 20 Feb 2015 09:12:07 -0800 (PST)\r
25 Received: from webmail04.plus.net ([84.93.228.66]) by avasout07 with smtp\r
26         id ugtj1p0021SbfYc01gtja8; Fri, 20 Feb 2015 16:53:50 +0000\r
27 X-CM-Score: 0.00\r
28 X-CNFS-Analysis: v=2.1 cv=TqhohVnh c=1 sm=1 tr=0\r
29         a=C5+YawzV8SR07mwocaP9vA==:117 a=G4bc5lkgapKKm1P+Twxy3Q==:17\r
30         a=0Bzu9jTXAAAA:8\r
31         a=fne2aKG5GRsA:10 a=wPDyFdB5xvgA:10 a=8nJEP1OIZ-IA:10 a=80hmnl3cAAAA:8\r
32         a=0HtSIViG9nkA:10 a=PnT0uJPZukvO7PJKBHwA:9 a=wPNLvfGTeEIA:10\r
33 Received: from localhost ([127.0.0.1] helo=webmail.plus.net)\r
34         by webmail04.plus.net with esmtp (Exim 4.76)\r
35         (envelope-from <matt@bubblegen.co.uk>)\r
36         id 1YOqpj-0006FQ-Nm; Fri, 20 Feb 2015 16:53:43 +0000\r
37 Received: from 80.229.236.194 (SquirrelMail authenticated user bubblegen+matt)\r
38         by webmail.plus.net with HTTP; Fri, 20 Feb 2015 16:53:43 -0000\r
39 Message-ID: <ed7f5ff35a6d784885b68666fe5b5898.squirrel@webmail.plus.net>\r
40 In-Reply-To: <87pp97sldj.fsf@maritornes.cs.unb.ca>\r
41 References: <54E3BAE1.1030004@bubblegen.co.uk>\r
42         <87pp97sldj.fsf@maritornes.cs.unb.ca>\r
43 Date: Fri, 20 Feb 2015 16:53:43 -0000\r
44 Subject: Re: Inspired but need help searching folder names containing spaces\r
45 From: "Matthew Lear" <matt@bubblegen.co.uk>\r
46 To: "David Bremner" <david@tethera.net>\r
47 User-Agent: SquirrelMail\r
48 MIME-Version: 1.0\r
49 Content-Type: text/plain;charset=iso-8859-1\r
50 Content-Transfer-Encoding: 8bit\r
51 X-Priority: 3 (Normal)\r
52 Importance: Normal\r
53 X-Mailman-Approved-At: Fri, 20 Feb 2015 09:48:07 -0800\r
54 Cc: notmuch@notmuchmail.org\r
55 X-BeenThere: notmuch@notmuchmail.org\r
56 X-Mailman-Version: 2.1.13\r
57 Precedence: list\r
58 Reply-To: matt@bubblegen.co.uk\r
59 List-Id: "Use and development of the notmuch mail system."\r
60         <notmuch.notmuchmail.org>\r
61 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
62         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
63 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
64 List-Post: <mailto:notmuch@notmuchmail.org>\r
65 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
66 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
67         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
68 X-List-Received-Date: Fri, 20 Feb 2015 17:12:11 -0000\r
69 \r
70 Hi David,\r
71 \r
72 >> notmuch search 'folder:"Deleted Items"'\r
73 >>\r
74 >> .. throws up zero results.\r
75 >>\r
76 >\r
77 > Hmm. I tried to duplicate your situation here, and it works for me. Two\r
78 > things to try:\r
79 >\r
80 > 1) notmuch search --output=files $QUERY\r
81 >\r
82 > where $QUERY is some query (using e.g. id:) that matches one of those\r
83 > messages. Check that you have have the whole anchored path from the top\r
84 > level.\r
85 >\r
86 > 2) NOTMUCH_DEBUG_QUERY=1 notmuch count -'folder:"Deleted Items"'\r
87 >\r
88 > have a look for XFOLDER:Deleted Items\r
89 >\r
90 > 3) try both of the above with "--exclude=false" in case you have tagged\r
91 > them with an excluded tag.  Note that by default "deleted" is such a tag.\r
92 > You can change the excluded tags with "notmuch config"\r
93 \r
94 As part of still playing around with notmuch and strategies for tagging\r
95 etc, I decided to start afresh with the database so I deleted it. After\r
96 running notmuch new, I could quite happily search with notmuch search\r
97 'folder:"Deleted Items"'. This surprised me greatly because I know that I\r
98 didn't apply any tags to mails in Deleted Items (couldn't find any in\r
99 there to tag) and I also already tried searching with --exclude=false. In\r
100 any case, it seems that searching in folders with spaces now works. Hurrah\r
101 :-)\r
102 \r
103 A couple of others things have surprised me, though. Using the date search\r
104 option, such as date:"today" or date:"yesterday", hasn't quite thrown up\r
105 what I expected. Searching with date:"today" shows up no results (which I\r
106 know is wrong) and searching with date:"yesterday" shows up a handful of\r
107 emails all from the same person, in different threads which all arrived on\r
108 a day in May 2014... Got to be a bug there somewhere :-D\r
109 \r
110 One last thing which I'd like to explore if I may is searching for emails\r
111 sent to me. By default, I think notmuch classes 'to me' as 'to or cc or\r
112 bcc me'. Is there a way to search/filter on emails sent only to me (ie\r
113 where my name / address is only in the to: field in the message header)?\r
114 This seems a reasonable requirement / use case so I'm assuming that\r
115 there's a good reason that notmuch views it differently.\r
116 \r
117 An example is an automated bug tracking system which sends emails to the\r
118 current assignee of the bug (to) and also watchers (cc). I'd like to be\r
119 able to filter these emails differently (ie bugs I'm watching versus bugs\r
120 I'm responsible for fixing). Apart from using other fields in the message\r
121 body (which may be subject to change), there doesn't seem an easy way to\r
122 do this which is surprising given notmuch's flexibility and power.\r
123 \r
124 Thoughts?\r
125 \r
126 I'm still exploring strategies for tagging and searching etc. The links on\r
127 the wiki are helpful. The possibilities are almost infinite and while\r
128 everybody's mail is different, having a great deal of flexibility can\r
129 sometimes makes it tricky to decide on exactly what's best. Still, it's an\r
130 enjoyable task, despite being time consuming, and is well worth the\r
131 effort.\r
132 \r
133   Matt\r
134 \r