Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / dd / be9134572e96e1889215f27b1aa3fd70f988e1
1 Return-Path: <tomi.ollila@nixu.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 32E0F429E36\r
6         for <notmuch@notmuchmail.org>; Thu,  1 Dec 2011 23:49:04 -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\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         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 kV5J2yfXZTvG for <notmuch@notmuchmail.org>;\r
16         Thu,  1 Dec 2011 23:49:01 -0800 (PST)\r
17 X-Greylist: delayed 651 seconds by postgrey-1.32 at olra;\r
18         Thu, 01 Dec 2011 23:49:01 PST\r
19 Received: from mail-gw3.nixu.fi (mail-gw3.nixu.fi [193.209.237.7])\r
20         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
21         (No client certificate requested)\r
22         by olra.theworths.org (Postfix) with ESMTPS id 4FED4429E31\r
23         for <notmuch@notmuchmail.org>; Thu,  1 Dec 2011 23:49:01 -0800 (PST)\r
24 Received: from pps.filterd (mail-gw3 [127.0.0.1])\r
25         by mail-gw3.nixu.fi (8.14.4/8.14.4) with SMTP id pB27XvDV008270;\r
26         Fri, 2 Dec 2011 09:37:58 +0200\r
27 Received: from taco2.nixu.fi (taco2.nixu.fi [194.197.118.31])\r
28         by mail-gw3.nixu.fi with ESMTP id 114cs0k0y2-1\r
29         (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);\r
30         Fri, 02 Dec 2011 09:37:58 +0200\r
31 Received: from taco2.nixu.fi (taco2.nixu.fi [194.197.118.31])\r
32         by taco2.nixu.fi (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id\r
33         pB27bvrc032663; Fri, 2 Dec 2011 09:37:57 +0200\r
34 From: Tomi Ollila <tomi.ollila@iki.fi>\r
35 To: Bart Bunting <bart@ursys.com.au>, Tomi Ollila <tomi.ollila@iki.fi>,\r
36         notmuch@notmuchmail.org\r
37 Subject: Re: ANNOUNCE: nottoomuch-addresses.pl\r
38 In-Reply-To: <m2vcq0qgs6.fsf@ursys.com.au>\r
39 References: <m2d3c8e22v.fsf@guru.guru-group.fi> <m2vcq0qgs6.fsf@ursys.com.au>\r
40 User-Agent: Notmuch/0.10+55~gde3d46e (http://notmuchmail.org) Emacs/23.3.1\r
41         (i686-pc-linux-gnu)\r
42 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
43         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
44         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
45 Date: Fri, 02 Dec 2011 09:37:57 +0200\r
46 Message-ID: <yf6wraf5sq2.fsf@taco2.nixu.fi>\r
47 MIME-Version: 1.0\r
48 Content-Type: text/plain; charset=us-ascii\r
49 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110,\r
50  1.0.211,       0.0.0000        definitions=2011-12-02_01:2011-12-02, 2011-12-02,\r
51         1970-01-01 signatures=0\r
52 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0\r
53         ipscore=0 suspectscore=0\r
54         phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0\r
55         reason=mlx\r
56         scancount=1 engine=6.0.2-1012030000 definitions=main-1112010427\r
57 X-BeenThere: notmuch@notmuchmail.org\r
58 X-Mailman-Version: 2.1.13\r
59 Precedence: list\r
60 List-Id: "Use and development of the notmuch mail system."\r
61         <notmuch.notmuchmail.org>\r
62 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
63         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
64 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
65 List-Post: <mailto:notmuch@notmuchmail.org>\r
66 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
67 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
68         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
69 X-List-Received-Date: Fri, 02 Dec 2011 07:49:04 -0000\r
70 \r
71 On Fri, 02 Dec 2011 05:38:01 +1100, Bart Bunting <bart@ursys.com.au> wrote:\r
72 > Hi Tomi,\r
73\r
74 > I have had a quick try of setting up nottoomuch-addresses addresses.\r
75\r
76 > Here are a couple of issues I have hit and I think it's still not quite\r
77 >  right.\r
78\r
79 > I attach the shell output from emacs below.\r
80\r
81 > - firstly it appears that if the term is set to DUMB then the script\r
82 > assumes it's being called from emacs and exits if there is no search\r
83 > string.  This is problematic for me as I run all my stuff including the\r
84 > --update command from a shell.  \r
85 \r
86 Good point. I'll remove that 'optimization' -- mysterious are the ways\r
87 users run commands :) (Well, I occasionally run commands from emacs\r
88 myself, too).\r
89 \r
90 You could try removing part '''$ENV{TERM} eq 'dumb' or ''' in line 25\r
91 \r
92 > - The instructions don't tell you to create the .config/nottoomuch\r
93 > directory.  Perhaps you could check for it's existance and create if\r
94 > required?\r
95 \r
96 It does that (in line 91):\r
97 \r
98 mv .config .xconfig\r
99 ~/mail/nottoomuch/nottoomuch-addresses.pl --update\r
100 Creating '/home/too/.config/nottoomuch/addresses'. This may take some time...\r
101 Added 3335 addresses in 14 seconds. Total number of addresses: 3335.\r
102 \r
103 It seems your other problems make it seem the directories are not created,\r
104 however I check this... \r
105 \r
106 > - Even when I got this far I had an odd result when running the script\r
107 > as shown below.  First time I got a strange error.  Second run it added\r
108 > 900 or so addresses.  Subsiquent runs added no more addresses.  I find\r
109 > this strange as I have over 180k emails.\r
110 \r
111 Haa, the ls output '0 addresses' tells me something:\r
112 \r
113 rm .config/nottoomuch/addresses\r
114 touch .config/nottoomuch/addresses\r
115 guru$ ~/mail/nottoomuch/nottoomuch-addresses.pl --update\r
116 Updating '/home/too/.config/nottoomuch/addresses', since -604800.\r
117 Unrecognized option: -604800..\r
118 Added 0 addresses in 0 seconds. Total number of addresses: 0.\r
119 \r
120 > Anyway great work.  Heading in a cool direction.  Hope this somewhat\r
121 > rambling report helps.\r
122 \r
123 Thanks a lot for your bug report, it's been very helpful. please retry\r
124 doing the following:\r
125 \r
126 TERM=emacs /Users/bart/bin/nottoomuch-addresses.pl --update --rebuild\r
127 \r
128 And report if you get more problems.\r
129 \r
130 > Bart\r
131 \r
132 Tomi\r
133 \r
134\r
135 > bart@bit:~$\r
136 > bart@bit:~$shasum ~/bin/nottoomuch-addresses.pl \r
137 > 125f3917b3f2dc68bdf30af04ab623d53321e50c  /Users/bart/bin/nottoomuch-addresses.pl\r
138 > bart@bit:~$chmod 755 ~/bin/nottoomuch-addresses.pl \r
139 > bart@bit:~$~/bin/nottoomuch-addresses.pl  --update\r
140 > Cannot open database, maybe not created yet.\r
141 > run /Users/bart/bin/nottoomuch-addresses.pl --update from command line first.\r
142 > bart@bit:~$cd\r
143 > bart@bit:~$cd .config\r
144 > bash: cd: .config: No such file or directory\r
145 > bart@bit:~$\r
146 > bart@bit:~$mkdir .config\r
147 > bart@bit:~$nottoomuch --update\r
148 > bash: nottoomuch: command not found\r
149 > bart@bit:~$~/bin/nottoomuch-addresses.pl  --update\r
150 > Cannot open database, maybe not created yet.\r
151 > run /Users/bart/bin/nottoomuch-addresses.pl --update from command line first.\r
152 > bart@bit:~$\r
153 > bart@bit:~$cd\r
154 > bart@bit:~$cd .config\r
155 > bart@bit:~/.config$mkdir nottoomuch\r
156 > bart@bit:~/.config$\r
157 > bart@bit:~/.config$~/bin/nottoomuch-addresses.pl  --update\r
158 > Cannot open database, maybe not created yet.\r
159 > run /Users/bart/bin/nottoomuch-addresses.pl --update from command line first.\r
160 > bart@bit:~/.config$cd nottoomuch/\r
161 > bart@bit:~/.config/nottoomuch$touch addresses\r
162 > bart@bit:~/.config/nottoomuch$~/bin/nottoomuch-addresses.pl  --update\r
163 > bart@bit:~/.config/nottoomuch$ls\r
164 > addresses\r
165 > bart@bit:~/.config/nottoomuch$ls -s addresses \r
166 > 0 addresses\r
167 > bart@bit:~/.config/nottoomuch$echo $TERM\r
168 > dumb\r
169 > bart@bit:~/.config/nottoomuch$export TERM=emacs\r
170 > bart@bit:~/.config/nottoomuch$ls -s addresses \r
171 > 0 addresses\r
172 > bart@bit:~/.config/nottoomuch$~/bin/nottoomuch-addresses.pl  --update\r
173 > Updating '/Users/bart/.config/nottoomuch/addresses', since -604800.\r
174 > Unrecognized option: -604800..\r
175 > Added 0 addresses in 0 seconds. Total number of addresses: 0.\r
176 > bart@bit:~/.config/nottoomuch$~/bin/nottoomuch-addresses.pl  --update\r
177 > Updating '/Users/bart/.config/nottoomuch/addresses', since 1322159542.\r
178 > Added 993 addresses in 4 seconds. Total number of addresses: 993.\r
179 > bart@bit:~/.config/nottoomuch$~/bin/nottoomuch-addresses.pl  --update\r
180 > Updating '/Users/bart/.config/nottoomuch/addresses', since 1322159560.\r
181 > Added 0 addresses in 1 seconds. Total number of addresses: 993.\r
182 > bart@bit:~/.config/nottoomuch$ On Thu, 01 Dec 2011 17:36:24 +0200, Tomi Ollila <tomi.ollila@iki.fi> wrote:\r