community/pipermail-archives/sup-talk/2007-12.txt (131033B) - raw
1 From magnus@therning.org Sat Dec 1 06:33:35 2007
2 From: magnus@therning.org (Magnus Therning)
3 Date: Sat, 01 Dec 2007 11:33:35 +0000
4 Subject: [sup-talk] Multiple accounts
5 In-Reply-To: <1196318883-sup-1121@panicroom>
6 References: <1196318883-sup-1121@panicroom>
7 Message-ID: <4751468F.1000607@therning.org>
8
9 Alexander Panek wrote:
10 > Hey guys,
11 >
12 > is it possible to somehow change the used SMTP relayhost at runtime
13 > (specifically: the parameters of the MTA, in my case msmtp)?
14
15 It might be possible to use GNU anubis[1], at least until sup gets the
16 feature...
17
18 /M
19
20 [1]: http://www.gnu.org/software/anubis/
21
22 --
23 Magnus Therning (OpenPGP: 0xAB4DFBA4)
24 magnus?therning?org Jabber: magnus?therning?gmail?com
25 http://therning.org/magnus
26
27 What if I don't want to obey the laws? Do they throw me in jail with
28 the other bad monads?
29 -- Daveman
30
31 -------------- next part --------------
32 A non-text attachment was scrubbed...
33 Name: signature.asc
34 Type: application/pgp-signature
35 Size: 189 bytes
36 Desc: OpenPGP digital signature
37 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071201/6b8b88ca/attachment-0001.bin
38
39 From nicolas.pouillard@gmail.com Sat Dec 1 07:35:38 2007
40 From: nicolas.pouillard@gmail.com (Nicolas Pouillard)
41 Date: Sat, 01 Dec 2007 13:35:38 +0100
42 Subject: [sup-talk] When replying to an attachment...
43 In-Reply-To: <1196411410-sup-5575@ausone.local>
44 References: <1196411410-sup-5575@ausone.local>
45 Message-ID: <1196512356-sup-396@ausone.local>
46
47 Excerpts from Nicolas Pouillard's message of Fri Nov 30 09:34:13 +0100 2007:
48 > Hi,
49 >
50 > Sometimes some (bad) mailers wrap the entire body in an attachment, that is
51 > considered by sup as just an attachment (still opened by default). When
52 > replying to this kind of email the original message is not present in the
53 > answer mode.
54 >
55 > That's quite annoying to copy, paste, quote manually to reply to these mails.
56
57 I've found a way to fix it. But I don't known if it's a bug or if it was intentional.
58
59 What about making Attachments 'quotable?' when they are text/plain?
60
61 Patch attached!
62 --
63 Nicolas Pouillard aka Ertai
64 -------------- next part --------------
65 A non-text attachment was scrubbed...
66 Name: sup-text-plain-is-quotable.patch
67 Type: application/octet-stream
68 Size: 447 bytes
69 Desc: not available
70 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071201/8305ab74/attachment.obj
71
72 From pierre@baillet.name Sun Dec 2 15:08:38 2007
73 From: pierre@baillet.name (Pierre Baillet)
74 Date: Sun, 2 Dec 2007 21:08:38 +0100
75 Subject: [sup-talk] crash in HEAD
76 Message-ID: <6205b42d0712021208t27aa39beuf00de6636e47fe0f@mail.gmail.com>
77
78 while running sup or up-sync --changed mbox:/...
79
80 /home/oct/temp/sup_trunk/lib/sup/message.rb:373:in `message_to_chunks':
81 undefined method `normalize_whitespace' for nil:NilClass (NoMethodError)
82 from /home/oct/temp/sup_trunk/lib/sup/message.rb:343:in
83 `message_to_chunks'
84 from /home/oct/temp/sup_trunk/lib/sup/message.rb:343:in `map'
85 from /home/oct/temp/sup_trunk/lib/sup/message.rb:343:in
86 `message_to_chunks'
87 from /home/oct/temp/sup_trunk/lib/sup/message.rb:171:in
88 `load_from_source!'
89
90 eek :)
91 --
92 Pierre Baillet <pierre at baillet.name>
93 -------------- next part --------------
94 An HTML attachment was scrubbed...
95 URL: http://rubyforge.org/pipermail/sup-talk/attachments/20071202/736c6cba/attachment.html
96
97 From itaylor@uark.edu Mon Dec 3 03:25:15 2007
98 From: itaylor@uark.edu (Ian Taylor)
99 Date: Mon, 03 Dec 2007 03:25:15 -0500
100 Subject: [sup-talk] Util - Fixnum num_digits is wrong
101 Message-ID: <1196670157-sup-6857@silver>
102
103 Probably wasn't causing any problems, but is wrong.
104
105 ===================================================================
106 --- lib/sup/util.rb (revision 737)
107 +++ lib/sup/util.rb (working copy)
108 @@ -299,7 +299,7 @@
109 class Fixnum
110 def num_digits base=10
111 return 1 if self == 0
112 - 1 + (Math.log(self) / Math.log(10)).floor
113 + 1 + (Math.log(self) / Math.log(base)).floor
114 end
115
116 def to_character
117
118 --
119 Ian Taylor
120
121 From itaylor@uark.edu Mon Dec 3 04:39:18 2007
122 From: itaylor@uark.edu (Ian Taylor)
123 Date: Mon, 03 Dec 2007 04:39:18 -0500
124 Subject: [sup-talk] To: tab completion
125 Message-ID: <1196674722-sup-8427@silver>
126
127 Maybe this happened when there were no results?
128
129 --- ZeroDivisionError from thread: main
130 divided by 0
131 /var/lib/gems/1.8/gems/sup-0.3/lib/sup/modes/completion-mode.rb:35:in `%'
132 /var/lib/gems/1.8/gems/sup-0.3/lib/sup/modes/completion-mode.rb:35:in `update_lines'
133 /var/lib/gems/1.8/gems/sup-0.3/lib/sup/hook.rb:84:in `each_with_index'
134 /var/lib/gems/1.8/gems/sup-0.3/lib/sup/modes/completion-mode.rb:33:in `each'
135 /var/lib/gems/1.8/gems/sup-0.3/lib/sup/modes/completion-mode.rb:33:in `each_with_index'
136 /var/lib/gems/1.8/gems/sup-0.3/lib/sup/modes/completion-mode.rb:33:in `update_lines'
137 /var/lib/gems/1.8/gems/sup-0.3/lib/sup/modes/completion-mode.rb:15:in `lines'
138 /var/lib/gems/1.8/gems/sup-0.3/lib/sup/modes/scroll-mode.rb:130:in `ensure_mode_validity'
139 /var/lib/gems/1.8/gems/sup-0.3/lib/sup/modes/scroll-mode.rb:136:in `resize'
140 /var/lib/gems/1.8/gems/sup-0.3/lib/sup/buffer.rb:74:in `resize'
141 /var/lib/gems/1.8/gems/sup-0.3/lib/sup/buffer.rb:279:in `draw_screen'
142 /var/lib/gems/1.8/gems/sup-0.3/lib/sup/buffer.rb:533:in `ask'
143 /var/lib/gems/1.8/gems/sup-0.3/lib/sup/buffer.rb:415:in `ask_many_emails_with_completions'
144 /var/lib/gems/1.8/gems/sup-0.3/lib/sup/util.rb:496:in `send'
145 /var/lib/gems/1.8/gems/sup-0.3/lib/sup/util.rb:496:in `method_missing'
146 /var/lib/gems/1.8/gems/sup-0.3/lib/sup/buffer.rb:490:in `ask_for_contacts'
147 /var/lib/gems/1.8/gems/sup-0.3/lib/sup/util.rb:496:in `send'
148 /var/lib/gems/1.8/gems/sup-0.3/lib/sup/util.rb:496:in `method_missing'
149 /var/lib/gems/1.8/gems/sup-0.3/lib/sup/modes/compose-mode.rb:23:in `spawn_nicely'
150 /var/lib/gems/1.8/gems/sup-0.3/bin/sup:236
151 /var/lib/gems/1.8/bin/sup:16:in `load'
152 /var/lib/gems/1.8/bin/sup:16
153
154 --
155 Ian Taylor
156
157 From shot@hot.pl Mon Dec 3 05:52:10 2007
158 From: shot@hot.pl (Shot (Piotr Szotkowski))
159 Date: Mon, 3 Dec 2007 11:52:10 +0100
160 Subject: [sup-talk] Util - Fixnum num_digits is wrong
161 In-Reply-To: <1196670157-sup-6857@silver>
162 References: <1196670157-sup-6857@silver>
163 Message-ID: <20071203105210.GO1974@durance.shot.pl>
164
165 Ian Taylor:
166
167 > class Fixnum
168 > def num_digits base=10
169 > return 1 if self == 0
170 > - 1 + (Math.log(self) / Math.log(10)).floor
171 > + 1 + (Math.log(self) / Math.log(base)).floor
172 > end
173
174 Math.log and Float#/ returning Floats means the above
175 approach is prone to the IEEE 754 representation inaccuracy.
176
177 Wouldn?t the below make more sense?
178
179 class Fixnum
180 def num_digits base = 10
181 to_s(base).size
182 end
183 end
184
185 -- Shot
186 --
187 > Who wants to recommend a Usenet reader for little ol' me?
188 I recommend Garrett Morris, particularly if you're hard-of-hearing.
189 -- jennifer friedoff and Joseph Nebus, rec.arts.tv.mst3k.misc
190 -------------- next part --------------
191 A non-text attachment was scrubbed...
192 Name: not available
193 Type: application/pgp-signature
194 Size: 191 bytes
195 Desc: not available
196 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071203/37b62dab/attachment.bin
197
198 From dgriffi3@uiuc.edu Mon Dec 3 14:52:38 2007
199 From: dgriffi3@uiuc.edu (Dennis Griffith)
200 Date: Mon, 3 Dec 2007 13:52:38 -0600
201 Subject: [sup-talk] Too many clauses
202 Message-ID: <20071203195238.GA1174@Nyx.cs.uiuc.edu>
203
204 I started getting this crash upon start after updating to 0.3 from 0.1.
205 --
206 Dennis Griffith
207 -------------- next part --------------
208 --- Ferret::StateError from thread: load threads for thread-index-mode
209 State Error occured at <except.c>:93 in xraise
210 Error occured in q_boolean.c:1595 - bq_add_query_nr
211 Two many clauses. The max clause limit is set to <1024> but your query has <1024> clauses. You can try increasing :max_clause_count for the BooleanQuery or using a different type of query.
212
213 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/index.rb:270:in `add_query'
214 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/index.rb:270:in `each_message_in_thread_for'
215 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/index.rb:268:in `each'
216 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/index.rb:268:in `each_message_in_thread_for'
217 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/thread.rb:321:in `load_thread_for_message'
218 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/thread.rb:313:in `load_n_threads'
219 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/index.rb:217:in `each_id_by_date'
220 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/index.rb:217:in `each'
221 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/index.rb:217:in `each_id_by_date'
222 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/thread.rb:308:in `load_n_threads'
223 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/modes/thread-index-mode.rb:415:in `__unprotected_load_n_threads'
224 (eval):12:in `load_n_threads'
225 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/modes/thread-index-mode.rb:404:in `load_n_threads_background'
226 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup.rb:69:in `reporting_thread'
227 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup.rb:67:in `initialize'
228 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup.rb:67:in `new'
229 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup.rb:67:in `reporting_thread'
230 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/modes/thread-index-mode.rb:403:in `load_n_threads_background'
231 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/modes/thread-index-mode.rb:454:in `__unprotected_load_threads'
232 (eval):12:in `load_threads'
233 /usr/lib/ruby/gems/1.8/gems/sup-0.3/bin/sup:185
234 /usr/bin/sup:16:in `load'
235 /usr/bin/sup:16
236 --- SystemExit from thread: main
237 State Error occured at <except.c>:93 in xraise
238 Error occured in q_boolean.c:1595 - bq_add_query_nr
239 Two many clauses. The max clause limit is set to <1024> but your query has <1024> clauses. You can try increasing :max_clause_count for the BooleanQuery or using a different type of query.
240
241 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup.rb:73:in `select'
242 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/buffer.rb:31:in `nonblocking_getch'
243 /usr/lib/ruby/gems/1.8/gems/sup-0.3/bin/sup:198
244 /usr/bin/sup:16:in `load'
245 /usr/bin/sup:16
246
247 From ismo@iki.fi Mon Dec 3 15:45:28 2007
248 From: ismo@iki.fi (Ismo Puustinen)
249 Date: Mon, 3 Dec 2007 22:45:28 +0200
250 Subject: [sup-talk] Sup crash report
251 Message-ID: <20071203204528.GA32548@arlanda>
252
253 Hi,
254
255 Sup crashed on me and asked that I send the backtrace to this
256 address, so here we go. :-) I was opening sup for the first time
257 after initializing the index with the sup-config command, when
258 the crash happened. The email indexing failed also at some 80%
259 on a similar unicode problem, but the program told me after the
260 script that sup was still ready to run.
261
262 The sup-unable-to-decode.txt contains a message to me from Amazon
263 mailer bot. The message has my postal address, which in turn has
264 some ? and ? (a with dots and o with dots) characters.
265
266 This is the backtrace:
267
268 --- Iconv::InvalidCharacter from thread: poll after loading inbox
269 "\303"
270 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/rfc2047.rb:58:in `iconv'
271 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/rfc2047.rb:58:in `decode_to'
272 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/rfc2047.rb:33:in `gsub'
273 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/rfc2047.rb:33:in `decode_to'
274 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/mbox.rb:59:in `read_header'
275 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/mbox.rb:55:in `each'
276 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/mbox.rb:55:in `read_header'
277 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/imap.rb:97:in `load_header'
278 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/util.rb:533:in `send'
279 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/util.rb:533:in `__pass'
280 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/util.rb:522:in `method_missing'
281 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/message.rb:57:in `initialize'
282 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/poll.rb:150:in `new'
283 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/poll.rb:150:in `add_messages_from'
284 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/imap.rb:170:in `each'
285 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/imap.rb:158:in `upto'
286 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/imap.rb:158:in `each'
287 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/util.rb:533:in `send'
288 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/util.rb:533:in `__pass'
289 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/util.rb:522:in `method_missing'
290 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/poll.rb:140:in `add_messages_from'
291 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/poll.rb:97:in `do_poll'
292 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/poll.rb:85:in `each'
293 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/poll.rb:85:in `do_poll'
294 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/poll.rb:84:in `synchronize'
295 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/poll.rb:84:in `do_poll'
296 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/util.rb:496:in `send'
297 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/util.rb:496:in `method_missing'
298 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/modes/poll-mode.rb:17:in `poll'
299 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/poll.rb:52:in `poll'
300 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/util.rb:496:in `send'
301 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/util.rb:496:in `method_missing'
302 /usr/lib/ruby/gems/1.8/gems/sup-0.3/bin/sup:185
303 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup.rb:69:in `reporting_thread'
304 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup.rb:67:in `initialize'
305 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup.rb:67:in `new'
306 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup.rb:67:in `reporting_thread'
307 /usr/lib/ruby/gems/1.8/gems/sup-0.3/bin/sup:185
308 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/modes/thread-index-mode.rb:445:in `call'
309 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/modes/thread-index-mode.rb:445:in `__unprotected_load_threads'
310 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/modes/thread-index-mode.rb:405:in `call'
311 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/modes/thread-index-mode.rb:405:in `load_n_threads_background'
312 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup.rb:69:in `reporting_thread'
313 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup.rb:67:in `initialize'
314 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup.rb:67:in `new'
315 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup.rb:67:in `reporting_thread'
316 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/modes/thread-index-mode.rb:403:in `load_n_threads_background'
317 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/modes/thread-index-mode.rb:454:in `__unprotected_load_threads'
318 (eval):12:in `load_threads'
319 /usr/lib/ruby/gems/1.8/gems/sup-0.3/bin/sup:185
320 /usr/bin/sup:16:in `load'
321 /usr/bin/sup:16
322 --- SystemExit from thread: main
323 "\303"
324 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup.rb:73:in `select'
325 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/buffer.rb:31:in `nonblocking_getch'
326 /usr/lib/ruby/gems/1.8/gems/sup-0.3/bin/sup:198
327 /usr/bin/sup:16:in `load'
328 /usr/bin/sup:16
329
330 --
331 Ismo Puustinen <ismo at iki.fi>
332
333 From marcus-sup@bar-coded.net Tue Dec 4 09:46:03 2007
334 From: marcus-sup@bar-coded.net (Marcus Williams)
335 Date: Tue, 04 Dec 2007 14:46:03 +0000
336 Subject: [sup-talk] [PATCH] fix for svn url on sup homepage
337 Message-ID: <1196779485-sup-9726@tomsk>
338
339 Patch for the index.html svn url which points to the wrong place at
340 the moment.
341
342 Marcus
343 -------------- next part --------------
344 A non-text attachment was scrubbed...
345 Name: www-diff
346 Type: application/octet-stream
347 Size: 499 bytes
348 Desc: not available
349 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071204/3be002ae/attachment.obj
350
351 From ismo@iki.fi Tue Dec 4 04:48:19 2007
352 From: ismo@iki.fi (Ismo Puustinen)
353 Date: Tue, 4 Dec 2007 11:48:19 +0200
354 Subject: [sup-talk] Sup crash report, part 2
355 Message-ID: <20071204094819.GA2739@arlanda>
356
357 Hi again,
358
359 I found after some experimenting that the following patch appears to
360 fix the problem (not sure about the results, but at least sup no
361 longer crashes):
362
363 Index: lib/sup/rfc2047.rb
364 ===================================================================
365 --- lib/sup/rfc2047.rb (revision 737)
366 +++ lib/sup/rfc2047.rb (working copy)
367 @@ -55,7 +55,16 @@
368 # Convert:
369 #
370 # Remember - Iconv.open(to, from)!
371 - text = Iconv.iconv(target, charset, text).join
372 + #
373 + # Note that because of the iconv bug descrcibed in
374 + # http://po-ru.com/diary/fixing-invalid-utf-8-in-ruby-revisited/
375 + # we need to still use the rescue block (or work around the issue
376 + # in another way).
377 + begin
378 + text = Iconv.iconv(target + "//IGNORE", charset, text).join
379 + rescue Iconv::InvalidCharacter
380 + text
381 + end
382 end
383 end
384 end
385
386
387 The next problem will be getting utf-8 support for the curses
388 interface, since the messages don't currently display correctly...
389
390 --
391 Ismo Puustinen <ismo at iki.fi>
392
393 From ismo@iki.fi Tue Dec 4 12:45:33 2007
394 From: ismo@iki.fi (Ismo Puustinen)
395 Date: Tue, 4 Dec 2007 19:45:33 +0200
396 Subject: [sup-talk] One more exception
397 Message-ID: <20071204174533.GA4752@arlanda>
398
399 Hi again,
400
401 When running sup-sync on another imap folder I got a new exception:
402
403 (The beginning of the program output has been snipped away...)
404
405 Scanning imaps://localhost/INBOX.postilistat.vim-mac-list...
406 [Tue Dec 04 19:18:45 +0200 2007] Connecting to IMAP server localhost:993...
407 [Tue Dec 04 19:18:45 +0200 2007] Logging in...
408 [Tue Dec 04 19:18:45 +0200 2007] CRAM-MD5 authentication failed: Net::IMAP::NoResponseError. Trying LOGIN auth...
409 [Tue Dec 04 19:18:45 +0200 2007] LOGIN authentication failed: Net::IMAP::NoResponseError. Trying plain-text LOGIN...
410 [Tue Dec 04 19:18:46 +0200 2007] Successfully connected to imaps://localhost/INBOX.postilistat.vim-mac-list.
411 [Tue Dec 04 19:18:46 +0200 2007] fetching IMAP headers 1..1771
412 [Tue Dec 04 19:18:50 +0200 2007] saving index and sources...
413 [Tue Dec 04 19:18:50 +0200 2007] unlocking /home/ipuustin/.sup/lock...
414 /usr/lib/ruby/gems/1.8/gems/rmail-0.17/lib/rmail/utils.rb:54:in `quoted_printable_decode': undefined method `unpack' for nil:NilClass (NoMethodError)
415 from /usr/lib/ruby/gems/1.8/gems/rmail-0.17/lib/rmail/message.rb:115:in `decode'
416 from /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/message.rb:372:in `message_to_chunks'
417 from /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/message.rb:343:in `message_to_chunks'
418 from /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/message.rb:343:in `map'
419 from /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/message.rb:343:in `message_to_chunks'
420 from /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/message.rb:343:in `message_to_chunks'
421 from /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/message.rb:343:in `map'
422 from /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/message.rb:343:in `message_to_chunks'
423 ... 16 levels...
424 from /usr/lib/ruby/gems/1.8/gems/sup-0.3/bin/sup-sync:128:in `each'
425 from /usr/lib/ruby/gems/1.8/gems/sup-0.3/bin/sup-sync:128
426 from /usr/bin/sup-sync:16:in `load'
427 from /usr/bin/sup-sync:16
428
429
430 I did some research and added a "puts m.inspect" line in
431 sup/message.rb just before the call in line 372. The result was:
432
433 #<RMail::Message:0x30794c28 @body=nil,
434 @header=#<RMail::Header:0x30794bc8
435 @fields=[#<RMail::Header::Field:0x30793fb0
436 @value="text/plain;\n\tcharset=\"iso-8859-1\"",
437 @name="Content-Type", @raw="Content-Type:
438 text/plain;\n\tcharset=\"iso-8859-1\"">,
439 #<RMail::Header::Field:0x30793b18 @value="quoted-printable",
440 @name="Content-Transfer-Encoding", @raw="Content-Transfer-Encoding:
441 quoted-printable">], @mbox_from=nil>, @preamble=nil, @epilogue=nil>
442
443 So, it appears that the message @body was nil for some reason,
444 but I guess that sup needs to fail more gracefully... If needed,
445 I can try to dig up the actual email that caused the error. When
446 starting up sup, apparently the same error is reproduced.
447
448 --
449 Ismo Puustinen <ismo at iki.fi>
450
451 From ismo@iki.fi Wed Dec 5 07:15:57 2007
452 From: ismo@iki.fi (Ismo Puustinen)
453 Date: Wed, 5 Dec 2007 14:15:57 +0200
454 Subject: [sup-talk] Another exception
455 Message-ID: <20071205121557.GA7529@arlanda>
456
457 Hi,
458
459 I got another exception. I opened a message (with a fairly large
460 terminal window) and closed the new buffer immediately (with x).
461 Here's the log:
462
463 --- NoMethodError from thread: load messages for thread-view-mode
464 undefined method `content_width' for nil:NilClass
465 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/modes/thread-index-mode.rb:626:in `from_width'
466 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/modes/thread-index-mode.rb:554:in `text_for_thread_at'
467 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `each_with_index'
468 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/modes/thread-index-mode.rb:553:in `each'
469 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/modes/thread-index-mode.rb:553:in `each_with_index'
470 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/modes/thread-index-mode.rb:553:in `text_for_thread_at'
471 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/modes/thread-index-mode.rb:506:in `update_text_for_line'
472 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/modes/thread-index-mode.rb:98:in `select'
473 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup.rb:78:in `reporting_thread'
474 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup.rb:76:in `initialize'
475 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup.rb:76:in `new'
476 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup.rb:76:in `reporting_thread'
477 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/modes/thread-index-mode.rb:80:in `select'
478 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/mode.rb:54:in `send'
479 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/mode.rb:54:in `handle_input'
480 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/buffer.rb:228:in `handle_input'
481 /usr/lib/ruby/gems/1.8/gems/sup-0.3/bin/sup:202
482 /usr/bin/sup:19:in `load'
483 /usr/bin/sup:19
484 --- SystemExit from thread: main
485 undefined method `content_width' for nil:NilClass
486 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup.rb:82:in `unlock'
487 /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/buffer.rb:288:in `draw_screen'
488 /usr/lib/ruby/gems/1.8/gems/sup-0.3/bin/sup:261
489 /usr/bin/sup:19:in `load'
490 /usr/bin/sup:19
491
492
493 --
494 Ismo Puustinen <ismo at iki.fi>
495
496 From grant@antiflux.org Wed Dec 5 10:44:52 2007
497 From: grant@antiflux.org (Grant Hollingworth)
498 Date: Wed, 05 Dec 2007 10:44:52 -0500
499 Subject: [sup-talk] [PATCH] from:me
500 Message-ID: <1196869298-sup-3128@spooky.local>
501
502 Here's a little patch that lets you search for mail "from:me" or "to:me".
503 -------------- next part --------------
504 A non-text attachment was scrubbed...
505 Name: sup-from-me.diff
506 Type: application/octet-stream
507 Size: 499 bytes
508 Desc: not available
509 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071205/fcb0af3f/attachment.obj
510
511 From wmorgan-sup@masanjin.net Wed Dec 5 13:12:16 2007
512 From: wmorgan-sup@masanjin.net (William Morgan)
513 Date: Wed, 05 Dec 2007 10:12:16 -0800
514 Subject: [sup-talk] [PATCH] New hook to allow formatting of message
515 headers
516 In-Reply-To: <1195618839-sup-4347@lankhmar>
517 References: <1195618839-sup-4347@lankhmar>
518 Message-ID: <1196878151-sup-6754@south>
519
520 Hi Colin,
521
522 Excerpts from Colin Bell's message of Tue Nov 20 20:26:40 -0800 2007:
523 > This patch allows you to format the headers shown in the Detailed
524 > Headers view. Also attached is an example hook which will show the
525 > email client and a spam header.
526
527 I've applied this to SVN trunk, but (as I am wont to do) I tweaked it a
528 bit. I renamed it "detailed-headers" and changed the arguments so that
529 you get, and return, a hash rather than an array, which I think is a
530 little friendlier.
531
532 Here's the new version of your hook:
533
534 $ cat /detailed-headers.rb
535 ["User-Agent", "X-Mailer", "X-Spam-Status"].map do |key|
536 if message.raw_header =~ /^#{key}: (.*)$/i
537 headers[key] = $1
538 end
539 end
540
541 --
542 William <wmorgan-sup at masanjin.net>
543
544 From wmorgan-sup@masanjin.net Wed Dec 5 13:36:44 2007
545 From: wmorgan-sup@masanjin.net (William Morgan)
546 Date: Wed, 05 Dec 2007 10:36:44 -0800
547 Subject: [sup-talk] [PATCH] New hook to allow formatting of message
548 headers
549 In-Reply-To: <1196878151-sup-6754@south>
550 References: <1195618839-sup-4347@lankhmar> <1196878151-sup-6754@south>
551 Message-ID: <1196879746-sup-2883@south>
552
553 Excerpts from William Morgan's message of Wed Dec 05 10:12:16 -0800 2007:
554 > I've applied this to SVN trunk, but (as I am wont to do) I tweaked it a
555 > bit.
556
557 Tweaked it a little more to use an OrderedHash and to just modify the
558 headers in place. This way the header ordering is not random.
559
560 Here's the new hook:
561
562 $ cat detailed-headers.rb
563 %w(User-Agent X-Mailer X-Spam-Status).map do |key|
564 if message.raw_header =~ /^#{key}: (.*)$/i
565 headers[key] = $1
566 end
567 end
568
569 --
570 William <wmorgan-sup at masanjin.net>
571
572 From nicolas.pouillard@gmail.com Thu Dec 6 12:12:09 2007
573 From: nicolas.pouillard@gmail.com (Nicolas Pouillard)
574 Date: Thu, 06 Dec 2007 18:12:09 +0100
575 Subject: [sup-talk] [PATCH] New hook to allow formatting of message
576 headers
577 In-Reply-To: <1196879746-sup-2883@south>
578 References: <1195618839-sup-4347@lankhmar> <1196878151-sup-6754@south>
579 <1196879746-sup-2883@south>
580 Message-ID: <1196960854-sup-7925@192.117.33.51.static.012.net.il>
581
582 Excerpts from William Morgan's message of Wed Dec 05 19:36:44 +0100 2007:
583 > Excerpts from William Morgan's message of Wed Dec 05 10:12:16 -0800 2007:
584 > > I've applied this to SVN trunk, but (as I am wont to do) I tweaked it a
585 > > bit.
586 >
587 > Tweaked it a little more to use an OrderedHash and to just modify the
588 > headers in place. This way the header ordering is not random.
589 >
590 > Here's the new hook:
591 >
592 > $ cat detailed-headers.rb
593 > %w(User-Agent X-Mailer X-Spam-Status).map do |key|
594
595 Why use .map instead of .each the result seems not that useful.
596
597 > if message.raw_header =~ /^#{key}: (.*)$/i
598 > headers[key] = $1
599 > end
600 > end
601 >
602
603 --
604 Nicolas Pouillard aka Ertai
605
606 From nicolas.pouillard@gmail.com Thu Dec 6 12:14:52 2007
607 From: nicolas.pouillard@gmail.com (Nicolas Pouillard)
608 Date: Thu, 06 Dec 2007 18:14:52 +0100
609 Subject: [sup-talk] [PATCH] New hook to allow formatting of message
610 headers
611 In-Reply-To: <1196879746-sup-2883@south>
612 References: <1195618839-sup-4347@lankhmar> <1196878151-sup-6754@south>
613 <1196879746-sup-2883@south>
614 Message-ID: <1196960854-sup-7925@192.117.33.51.static.012.net.il>
615
616 Excerpts from William Morgan's message of Wed Dec 05 19:36:44 +0100 2007:
617 > Excerpts from William Morgan's message of Wed Dec 05 10:12:16 -0800 2007:
618 > > I've applied this to SVN trunk, but (as I am wont to do) I tweaked it a
619 > > bit.
620 >
621 > Tweaked it a little more to use an OrderedHash and to just modify the
622 > headers in place. This way the header ordering is not random.
623 >
624 > Here's the new hook:
625 >
626 > $ cat detailed-headers.rb
627 > %w(User-Agent X-Mailer X-Spam-Status).map do |key|
628
629 Why use .map instead of .each the result seems not that useful.
630
631 > if message.raw_header =~ /^#{key}: (.*)$/i
632 > headers[key] = $1
633 > end
634 > end
635 >
636
637 --
638 Nicolas Pouillard aka Ertai
639
640 From itaylor@uark.edu Thu Dec 6 21:51:06 2007
641 From: itaylor@uark.edu (Ian Taylor)
642 Date: Thu, 06 Dec 2007 21:51:06 -0500
643 Subject: [sup-talk] death on keypress
644 Message-ID: <1196995854-sup-7355@silver>
645
646 Should ctrl-\ cause sup to crash for any particular reason?
647
648 --
649 Ian Taylor
650
651 From aardvark@saintaardvarkthecarpeted.com Thu Dec 6 22:17:58 2007
652 From: aardvark@saintaardvarkthecarpeted.com (Saint Aardvark the Carpeted)
653 Date: Thu, 6 Dec 2007 19:17:58 -0800
654 Subject: [sup-talk] death on keypress
655 In-Reply-To: <1196995854-sup-7355@silver>
656 References: <1196995854-sup-7355@silver>
657 Message-ID: <20071207031758.GF29074@danconia.atlantis.saintaardvarkthecarpeted.com>
658
659 Ian Taylor disturbed my sleep to write:
660 > Should ctrl-\ cause sup to crash for any particular reason?
661
662 In Bash, at least, this sends SIGQUIT (I believe) to the process in
663 the foreground; this tells it to quit and dump core.
664
665 HTH,
666 Hugh
667
668 --
669 Saint Aardvark the Carpeted
670 http://saintaardvarkthecarpeted.com
671 Because the plural of Anecdote is Myth.
672 -------------- next part --------------
673 A non-text attachment was scrubbed...
674 Name: not available
675 Type: application/pgp-signature
676 Size: 187 bytes
677 Desc: not available
678 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071206/e8f808a3/attachment.bin
679
680 From wmorgan-sup@masanjin.net Fri Dec 7 13:10:13 2007
681 From: wmorgan-sup@masanjin.net (William Morgan)
682 Date: Fri, 07 Dec 2007 10:10:13 -0800
683 Subject: [sup-talk] [PATCH] New hook to allow formatting of message
684 headers
685 In-Reply-To: <1196960854-sup-7925@192.117.33.51.static.012.net.il>
686 References: <1195618839-sup-4347@lankhmar> <1196878151-sup-6754@south>
687 <1196879746-sup-2883@south>
688 <1196960854-sup-7925@192.117.33.51.static.012.net.il>
689 Message-ID: <1197050937-sup-3399@south>
690
691 Excerpts from nicolas.pouillard's message of Thu Dec 06 09:12:09 -0800 2007:
692 > Excerpts from William Morgan's message of Wed Dec 05 19:36:44 +0100 2007:
693 > > %w(User-Agent X-Mailer X-Spam-Status).map do |key|
694 >
695 > Why use .map instead of .each the result seems not that useful.
696
697 You're right, #each would have been probably more idiomatic.
698
699 --
700 William <wmorgan-sup at masanjin.net>
701
702 From wmorgan-sup@masanjin.net Fri Dec 7 13:13:20 2007
703 From: wmorgan-sup@masanjin.net (William Morgan)
704 Date: Fri, 07 Dec 2007 10:13:20 -0800
705 Subject: [sup-talk] death on keypress
706 In-Reply-To: <20071207031758.GF29074@danconia.atlantis.saintaardvarkthecarpeted.com>
707 References: <1196995854-sup-7355@silver>
708 <20071207031758.GF29074@danconia.atlantis.saintaardvarkthecarpeted.com>
709 Message-ID: <1197051153-sup-996@south>
710
711 Excerpts from Saint Aardvark the Carpeted's message of Thu Dec 06 19:17:58 -0800 2007:
712 > Ian Taylor disturbed my sleep to write:
713 > > Should ctrl-\ cause sup to crash for any particular reason?
714 >
715 > In Bash, at least, this sends SIGQUIT (I believe) to the process in
716 > the foreground; this tells it to quit and dump core.
717
718 Yep, this is not a Sup issue. Try it with top and any other curses
719 programs you have---they all abort.
720
721 --
722 William <wmorgan-sup at masanjin.net>
723
724 From wmorgan-sup@masanjin.net Fri Dec 7 13:39:51 2007
725 From: wmorgan-sup@masanjin.net (William Morgan)
726 Date: Fri, 07 Dec 2007 10:39:51 -0800
727 Subject: [sup-talk] [PATCH] from:me
728 In-Reply-To: <1196869298-sup-3128@spooky.local>
729 References: <1196869298-sup-3128@spooky.local>
730 Message-ID: <1197052779-sup-2378@south>
731
732 Excerpts from Grant Hollingworth's message of Wed Dec 05 07:44:52 -0800 2007:
733 > Here's a little patch that lets you search for mail "from:me" or
734 > "to:me".
735
736 Applied, thanks!
737
738 --
739 William <wmorgan-sup at masanjin.net>
740
741 From wmorgan-sup@masanjin.net Fri Dec 7 13:45:39 2007
742 From: wmorgan-sup@masanjin.net (William Morgan)
743 Date: Fri, 07 Dec 2007 10:45:39 -0800
744 Subject: [sup-talk] [PATCH] fix for svn url on sup homepage
745 In-Reply-To: <1196779485-sup-9726@tomsk>
746 References: <1196779485-sup-9726@tomsk>
747 Message-ID: <1197053075-sup-1784@south>
748
749 Excerpts from Marcus Williams's message of Tue Dec 04 06:46:03 -0800 2007:
750 > Patch for the index.html svn url which points to the wrong place at
751 > the moment.
752
753 Applied, thanks!
754
755 Still working on all the other pending patches and bug reports. Don't
756 worry, nothing has been ignored. Work has been very busy recently. Silly
757 me for joining a startup...
758
759 --
760 William <wmorgan-sup at masanjin.net>
761
762 From wmorgan-sup@masanjin.net Sat Dec 8 16:46:29 2007
763 From: wmorgan-sup@masanjin.net (William Morgan)
764 Date: Sat, 08 Dec 2007 13:46:29 -0800
765 Subject: [sup-talk] Syncing from Exchange IMAP
766 In-Reply-To: <1196289275-sup-7343@aa0-000-6.u.powerset.com>
767 References: <20071128012522.GA2951@electricrain.com>
768 <1196269754-sup-8420@south>
769 <20071128180901.GA22871@electricrain.com>
770 <1196289275-sup-7343@aa0-000-6.u.powerset.com>
771 Message-ID: <1197150352-sup-9375@south>
772
773 Excerpts from Brendan O'Connor's message of Wed Nov 28 14:35:23 -0800 2007:
774 > Excerpts from Dan Sully's message of Wed Nov 28 18:09:01 +0000 2007:
775 > > Yes, things appear to work right. The mismatch only fails on the
776 > > first 2 messages.
777 >
778 > Yep, I did the same workaround for exchange IMAP and it works for me
779 > too.
780
781 I've disabled this sanity check in SVN.
782
783 --
784 William <wmorgan-sup at masanjin.net>
785
786 From wmorgan-sup@masanjin.net Sat Dec 8 17:00:01 2007
787 From: wmorgan-sup@masanjin.net (William Morgan)
788 Date: Sat, 08 Dec 2007 14:00:01 -0800
789 Subject: [sup-talk] Email extensions/alternate emails
790 In-Reply-To: <1196423833-sup-2326@tomsk>
791 References: <1196423833-sup-2326@tomsk>
792 Message-ID: <1197150436-sup-2569@south>
793
794 Hi Marcus,
795
796 Great questions and sorry for the delay in replying.
797
798 Excerpts from Marcus Williams's message of Fri Nov 30 04:05:27 -0800 2007:
799 > I've never quite figured out why I'd add alternate emails to my
800 > config/accounts. Last time I used them it appeared that emails coming
801 > into an alternate address used the default email address on that
802 > account to reply with - is this still the case?
803
804 I believe it was this way for a while, but only because of a bug. The
805 current behavior (reply-mode.rb circa line 144) is a sequence of three
806 steps:
807
808 1. First, if the message contains an Envelope-To, X-Original-To, or
809 Delivered-To header (in that order of precedence), the address
810 in that header is used.
811
812 2. If not, if any of the addresses in To: or Cc: are an "account
813 address", the DEFAULT address for that account is used.
814
815 3. Failing either of those options, the default address of the default
816 account is used.
817
818 Step #1 is the most important, and I think it should capture what you
819 describe below. But that particular selection and sequence of headers
820 was determinted empirically, by me, so it may need adjustment.
821
822 So the alternate emails on an account aren't directly useful for
823 replies, since they won't ever be used as a From: unless they happen to
824 have come in on a Delivered-To/Envelope-To/etc header, in which case the
825 fact that they're an alternate email is irrelevant.
826
827 But they are used to determine when a message is to or cc you (the ">"
828 and "+" widgets you see in thread-index-mode).
829
830 > I ask because I'm trying to implement support for email extensions
831 > basically an email address like name-someotherid at domain.tld where
832 > -someotherid is the extension. I added an "extensions" config option
833 > that allowed me to add regexes for my extensions. I then extended
834 > account_for to return the correct account given an email that matched
835 > one of these extensions.
836
837 An excellent idea. There actually was something like that in Sup
838 much earlier, but was the victim of a refactor at some point.
839
840 > But... what I really wanted sup to do then was what I expected it to
841 > do with alternates, is to reply to an email that came in on one of
842 > these extensions with the same email address, not with the account
843 > email address.
844
845 Does it not do this in recent SVN checkouts? If not, is there a header
846 like Delivered-To: in the incoming email that contains the address?
847
848 --
849 William <wmorgan-sup at masanjin.net>
850
851 From wmorgan-sup@masanjin.net Sat Dec 8 17:03:43 2007
852 From: wmorgan-sup@masanjin.net (William Morgan)
853 Date: Sat, 08 Dec 2007 14:03:43 -0800
854 Subject: [sup-talk] Multiple accounts
855 In-Reply-To: <1196318883-sup-1121@panicroom>
856 References: <1196318883-sup-1121@panicroom>
857 Message-ID: <1197151371-sup-2545@south>
858
859 Excerpts from Alexander Panek's message of Wed Nov 28 22:52:22 -0800 2007:
860 > is it possible to somehow change the used SMTP relayhost at runtime
861 > (specifically: the parameters of the MTA, in my case msmtp)?
862
863 http://sup.rubyforge.org/wiki/wiki.pl?Msmtp documents how to set up
864 msmtp to do different things depending on the From: address. Is that
865 what you want?
866
867 --
868 William <wmorgan-sup at masanjin.net>
869
870 From wmorgan-sup@masanjin.net Sat Dec 8 17:06:54 2007
871 From: wmorgan-sup@masanjin.net (William Morgan)
872 Date: Sat, 08 Dec 2007 14:06:54 -0800
873 Subject: [sup-talk] When replying to an attachment...
874 In-Reply-To: <1196512356-sup-396@ausone.local>
875 References: <1196411410-sup-5575@ausone.local>
876 <1196512356-sup-396@ausone.local>
877 Message-ID: <1197151579-sup-4634@south>
878
879 Excerpts from nicolas.pouillard's message of Sat Dec 01 04:35:38 -0800 2007:
880 > I've found a way to fix it. But I don't known if it's a bug or if it was
881 > intentional.
882 >
883 > What about making Attachments 'quotable?' when they are text/plain?
884 >
885 > Patch attached!
886
887 Exactly the correct solution. Applied!
888
889 --
890 William <wmorgan-sup at masanjin.net>
891
892 From wmorgan-sup@masanjin.net Sat Dec 8 17:13:47 2007
893 From: wmorgan-sup@masanjin.net (William Morgan)
894 Date: Sat, 08 Dec 2007 14:13:47 -0800
895 Subject: [sup-talk] Util - Fixnum num_digits is wrong
896 In-Reply-To: <20071203105210.GO1974@durance.shot.pl>
897 References: <1196670157-sup-6857@silver>
898 <20071203105210.GO1974@durance.shot.pl>
899 Message-ID: <1197151959-sup-1679@south>
900
901 Excerpts from Shot (Piotr Szotkowski)'s message of Mon Dec 03 02:52:10 -0800 2007:
902 > Math.log and Float#/ returning Floats means the above approach is
903 > prone to the IEEE 754 representation inaccuracy.
904 >
905 > Wouldn?t the below make more sense?
906 >
907 > class Fixnum
908 > def num_digits base = 10
909 > to_s(base).size
910 > end
911 > end
912
913 Yes, but not as much as simply deleting the method. :)
914
915 --
916 William <wmorgan-sup at masanjin.net>
917
918 From wmorgan-sup@masanjin.net Sat Dec 8 17:51:12 2007
919 From: wmorgan-sup@masanjin.net (William Morgan)
920 Date: Sat, 08 Dec 2007 14:51:12 -0800
921 Subject: [sup-talk] To: tab completion
922 In-Reply-To: <1196674722-sup-8427@silver>
923 References: <1196674722-sup-8427@silver>
924 Message-ID: <1197154173-sup-5816@south>
925
926 Excerpts from Ian Taylor's message of Mon Dec 03 01:39:18 -0800 2007:
927 > Maybe this happened when there were no results?
928 >
929 > --- ZeroDivisionError from thread: main
930 > divided by 0
931 > /var/lib/gems/1.8/gems/sup-0.3/lib/sup/modes/completion-mode.rb:35:in `%'
932
933 Actually, it happens when one of the options for completion is wider
934 than the screen. Fixed in SVN.
935
936 --
937 William <wmorgan-sup at masanjin.net>
938
939 From saji@apcc21.net Sun Dec 9 01:00:10 2007
940 From: saji@apcc21.net (Saji N Hameed)
941 Date: Sun, 09 Dec 2007 15:00:10 +0900
942 Subject: [sup-talk] Deleting messages from IMAP server
943 Message-ID: <1197179915-sup-4328@homeWork>
944
945 Dear All,
946
947 I know how to delete messages from the index. However I would
948 like to delete them from the server itself. Can I do it with
949 some 'sup tool' instead of using another MUA such as Mutt?
950
951 Thanks,
952 saji
953
954 From saji@apcc21.net Sun Dec 9 00:56:37 2007
955 From: saji@apcc21.net (Saji N Hameed)
956 Date: Sun, 09 Dec 2007 14:56:37 +0900
957 Subject: [sup-talk] Deleting selected messages with one keystroke
958 Message-ID: <1197179718-sup-1901@homeWork>
959
960 Hi All,
961
962 Thanks for sup. Just started using it (previously a Mutt user) and
963 like it very much. I have a beginner's question.
964 - Is there a way to delete a select group of mails, for instance
965 like the 'D' keystroke in mutt.
966
967 - one possible situation where I like to use it is as follows:
968 My mail server screens for SPAM mails and tags it as [SPAM].
969 I would like to use the '\' keystroke to select these mails
970 and delete them all.
971
972 Thanks in advance,
973 saji
974
975 From grant@antiflux.org Sun Dec 9 08:41:10 2007
976 From: grant@antiflux.org (Grant Hollingworth)
977 Date: Sun, 09 Dec 2007 08:41:10 -0500
978 Subject: [sup-talk] [PATCH] refine label search
979 Message-ID: <1197207486-sup-1805@spooky.local>
980
981 I added a 'refine search' command (with '.', as in search-results-mode) to label-search-results-mode. It just starts a query with the current label(s) already selected.
982 -------------- next part --------------
983 A non-text attachment was scrubbed...
984 Name: sup-label-refine-search.diff
985 Type: application/octet-stream
986 Size: 864 bytes
987 Desc: not available
988 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071209/1c61886a/attachment.obj
989
990 From nicolas.pouillard@gmail.com Sun Dec 9 13:30:18 2007
991 From: nicolas.pouillard@gmail.com (Nicolas Pouillard)
992 Date: Sun, 09 Dec 2007 19:30:18 +0100
993 Subject: [sup-talk] Switching to a new mailbox format.
994 Message-ID: <1197224657-sup-2992@ausone.local>
995
996 Hi all,
997
998 I want to clean up my mails a little, to do this I need to change the actual
999 location of a mail from one source to another one.
1000
1001 I don't think that sup already provide a tool for that. That's right?
1002
1003 I would like to merge 3 mailboxes and a big maildir to one mailbox.
1004
1005 I also consider to try an alternative to mailbox/maildir that will both
1006 scales up and be backup friendly.
1007
1008 TIA,
1009
1010 --
1011 Nicolas Pouillard aka Ertai
1012
1013 From wmorgan-sup@masanjin.net Sun Dec 9 13:46:32 2007
1014 From: wmorgan-sup@masanjin.net (William Morgan)
1015 Date: Sun, 09 Dec 2007 10:46:32 -0800
1016 Subject: [sup-talk] Deleting messages from IMAP server
1017 In-Reply-To: <1197179915-sup-4328@homeWork>
1018 References: <1197179915-sup-4328@homeWork>
1019 Message-ID: <1197224453-sup-6760@south>
1020
1021 Excerpts from Saji N Hameed's message of Sat Dec 08 22:00:10 -0800 2007:
1022 > I know how to delete messages from the index. However I would like to
1023 > delete them from the server itself. Can I do it with some 'sup tool'
1024 > instead of using another MUA such as Mutt?
1025
1026 The right tool would be sup-sync-back, but that currently only supports
1027 mbox files. I plan to add support for maildir and imap at some point,
1028 but no guarantees when. Patches welcome, of course.
1029
1030 --
1031 William <wmorgan-sup at masanjin.net>
1032
1033 From wmorgan-sup@masanjin.net Sun Dec 9 14:11:18 2007
1034 From: wmorgan-sup@masanjin.net (William Morgan)
1035 Date: Sun, 09 Dec 2007 11:11:18 -0800
1036 Subject: [sup-talk] Deleting selected messages with one keystroke
1037 In-Reply-To: <1197179718-sup-1901@homeWork>
1038 References: <1197179718-sup-1901@homeWork>
1039 Message-ID: <1197227421-sup-4094@south>
1040
1041 Excerpts from Saji N Hameed's message of Sat Dec 08 21:56:37 -0800 2007:
1042 > - Is there a way to delete a select group of mails, for instance
1043 > like the 'D' keystroke in mutt.
1044 >
1045 > - one possible situation where I like to use it is as follows:
1046 > My mail server screens for SPAM mails and tags it as [SPAM].
1047 > I would like to use the '\' keystroke to select these mails
1048 > and delete them all.
1049
1050 I've just added a "tag matching threads" command to SVN, which is what
1051 you need for this.
1052
1053 --
1054 William <wmorgan-sup at masanjin.net>
1055
1056 From wmorgan-sup@masanjin.net Sun Dec 9 14:44:43 2007
1057 From: wmorgan-sup@masanjin.net (William Morgan)
1058 Date: Sun, 09 Dec 2007 11:44:43 -0800
1059 Subject: [sup-talk] Too many clauses
1060 In-Reply-To: <20071203195238.GA1174@Nyx.cs.uiuc.edu>
1061 References: <20071203195238.GA1174@Nyx.cs.uiuc.edu>
1062 Message-ID: <1197229372-sup-8664@south>
1063
1064 Excerpts from Dennis Griffith's message of Mon Dec 03 11:52:38 -0800 2007:
1065 > I started getting this crash upon start after updating to 0.3 from 0.1.
1066 > --- Ferret::StateError from thread: load threads for thread-index-mode
1067 > State Error occured at <except.c>:93 in xraise
1068 > Error occured in q_boolean.c:1595 - bq_add_query_nr
1069 > Two many clauses. The max clause limit is set to <1024> but your query has <1024> clauses. You can try increasing :max_clause_count for the BooleanQuery or using a different type of query.
1070 >
1071 > /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/index.rb:270:in `add_query'
1072
1073 At first, I thought, "Great! An error message that contains its own
1074 solution!" But the max_clause_count thing seems to have disappeared in
1075 recent versions of Ferret.
1076
1077 Can you try this patch, please?
1078
1079 --- lib/sup/index.rb (revision 748)
1080 +++ lib/sup/index.rb (working copy)
1081 @@ -236,6 +236,7 @@
1082 ## true, stops loading any thread if a message with a :killed flag
1083 ## is found.
1084 SAME_SUBJECT_DATE_LIMIT = 7
1085 + MAX_CLAUSES = 1000
1086 def each_message_in_thread_for m, opts={}
1087 #Redwood::log "Building thread for #{m.id}: #{m.subj}"
1088 messages = {}
1089 @@ -264,13 +265,16 @@
1090
1091 until pending.empty? || (opts[:limit] && messages.size >= opts[:limit])
1092 q = Ferret::Search::BooleanQuery.new true
1093 + # this disappeared in newer ferrets... wtf.
1094 + # q.max_clause_count = 2048
1095
1096 - pending.each do |id|
1097 + lim = [MAX_CLAUSES / 2, pending.length].min
1098 + pending[0 ... lim].each do |id|
1099 searched[id] = true
1100 q.add_query Ferret::Search::TermQuery.new(:message_id, id), :should
1101 q.add_query Ferret::Search::TermQuery.new(:refs, id), :should
1102 end
1103 - pending = []
1104 + pending = pending[lim .. -1]
1105
1106 q = build_query :qobj => q
1107
1108 Thanks,
1109
1110 --
1111 William <wmorgan-sup at masanjin.net>
1112
1113 From wmorgan-sup@masanjin.net Sun Dec 9 15:01:23 2007
1114 From: wmorgan-sup@masanjin.net (William Morgan)
1115 Date: Sun, 09 Dec 2007 12:01:23 -0800
1116 Subject: [sup-talk] Sup crash report, part 2
1117 In-Reply-To: <20071204094819.GA2739@arlanda>
1118 References: <20071204094819.GA2739@arlanda>
1119 Message-ID: <1197230474-sup-7844@south>
1120
1121 Excerpts from Ismo Puustinen's message of Tue Dec 04 01:48:19 -0800 2007:
1122 > I found after some experimenting that the following patch appears to
1123 > fix the problem (not sure about the results, but at least sup no
1124 > longer crashes):
1125
1126 Applied, thanks! I tweaked it to also do the [0 .. -2] trick described.
1127
1128 > The next problem will be getting utf-8 support for the curses
1129 > interface, since the messages don't currently display correctly...
1130
1131 See http://rubyforge.org/pipermail/sup-talk/2007-October/000297.html
1132
1133 --
1134 William <wmorgan-sup at masanjin.net>
1135
1136 From wmorgan-sup@masanjin.net Sun Dec 9 15:29:46 2007
1137 From: wmorgan-sup@masanjin.net (William Morgan)
1138 Date: Sun, 09 Dec 2007 12:29:46 -0800
1139 Subject: [sup-talk] my 15 minutes of fame
1140 Message-ID: <1197232023-sup-2141@south>
1141
1142 Uh oh. Guess I've got to be a little more careful about what I write in
1143 my comments. The following link is currently #15 on the front page of
1144 Reddit:
1145
1146 http://programming.reddit.com/info/62ipq/comments/
1147
1148 --
1149 William <wmorgan-sup at masanjin.net>
1150
1151 From marcus-sup@bar-coded.net Sun Dec 9 16:18:34 2007
1152 From: marcus-sup@bar-coded.net (Marcus Williams)
1153 Date: Sun, 09 Dec 2007 21:18:34 +0000
1154 Subject: [sup-talk] Email extensions/alternate emails
1155 In-Reply-To: <1197150436-sup-2569@south>
1156 References: <1196423833-sup-2326@tomsk> <1197150436-sup-2569@south>
1157 Message-ID: <1197234773-sup-132@tomsk>
1158
1159 On 8.12.2007, William Morgan wrote:
1160 > 1. First, if the message contains an Envelope-To, X-Original-To, or
1161 > Delivered-To header (in that order of precedence), the address
1162 > in that header is used.
1163
1164 Ah. That might be all I needed to know. I'll make sure I'm getting one
1165 of these headers and see if that makes the difference. That also
1166 explains why some of my mail goes out from the wrong address even when
1167 I have got an account set up for it.
1168
1169 Will update once I've played a bit more.
1170
1171 Marcus
1172
1173 From wmorgan-sup@masanjin.net Sun Dec 9 16:42:01 2007
1174 From: wmorgan-sup@masanjin.net (William Morgan)
1175 Date: Sun, 09 Dec 2007 13:42:01 -0800
1176 Subject: [sup-talk] Email extensions/alternate emails
1177 In-Reply-To: <1197234773-sup-132@tomsk>
1178 References: <1196423833-sup-2326@tomsk> <1197150436-sup-2569@south>
1179 <1197234773-sup-132@tomsk>
1180 Message-ID: <1197236481-sup-1886@south>
1181
1182 Excerpts from Marcus Williams's message of Sun Dec 09 13:18:34 -0800 2007:
1183 > On 8.12.2007, William Morgan wrote:
1184 > > 1. First, if the message contains an Envelope-To, X-Original-To, or
1185 > > Delivered-To header (in that order of precedence), the address
1186 > > in that header is used.
1187 >
1188 > Ah. That might be all I needed to know. I'll make sure I'm getting one
1189 > of these headers and see if that makes the difference. That also
1190 > explains why some of my mail goes out from the wrong address even when
1191 > I have got an account set up for it.
1192
1193 Yeah, I don't think the current behavior is 100% correct, yet, so I'm
1194 open to suggestions.
1195
1196 --
1197 William <wmorgan-sup at masanjin.net>
1198
1199 From wmorgan-sup@masanjin.net Sun Dec 9 18:10:04 2007
1200 From: wmorgan-sup@masanjin.net (William Morgan)
1201 Date: Sun, 09 Dec 2007 15:10:04 -0800
1202 Subject: [sup-talk] crash in HEAD
1203 In-Reply-To: <6205b42d0712021208t27aa39beuf00de6636e47fe0f@mail.gmail.com>
1204 References: <6205b42d0712021208t27aa39beuf00de6636e47fe0f@mail.gmail.com>
1205 Message-ID: <1197241770-sup-8144@south>
1206
1207 Excerpts from Pierre Baillet's message of Sun Dec 02 12:08:38 -0800 2007:
1208 > /home/oct/temp/sup_trunk/lib/sup/message.rb:373:in `message_to_chunks':
1209 > undefined method `normalize_whitespace' for nil:NilClass (NoMethodError)
1210
1211 Weird. I think I've fixed this in the latest SVN. If it still doesn't
1212 work, can you try and isolate the message that causes this?
1213
1214 Thanks,
1215
1216 --
1217 William <wmorgan-sup at masanjin.net>
1218
1219 From dgriffi3@uiuc.edu Sun Dec 9 20:31:23 2007
1220 From: dgriffi3@uiuc.edu (Dennis Griffith)
1221 Date: Sun, 09 Dec 2007 19:31:23 -0600
1222 Subject: [sup-talk] Too many clauses
1223 In-Reply-To: <1197229372-sup-8664@south>
1224 References: <20071203195238.GA1174@Nyx.cs.uiuc.edu> <1197229372-sup-8664@south>
1225 Message-ID: <1197249489-sup-4661@Nyx>
1226
1227 Excerpts from William Morgan's message of Sun Dec 09 13:44:43 -0600 2007:
1228 > Excerpts from Dennis Griffith's message of Mon Dec 03 11:52:38 -0800 2007:
1229 > > I started getting this crash upon start after updating to 0.3 from 0.1.
1230 > > --- Ferret::StateError from thread: load threads for thread-index-mode
1231 > > State Error occured at <except.c>:93 in xraise
1232 > > Error occured in q_boolean.c:1595 - bq_add_query_nr
1233 > > Two many clauses. The max clause limit is set to <1024> but your query has <1024> clauses. You can try increasing :max_clause_count for the BooleanQuery or using a different type of query.
1234 > >
1235 > > /usr/lib/ruby/gems/1.8/gems/sup-0.3/lib/sup/index.rb:270:in `add_query'
1236 >
1237 > At first, I thought, "Great! An error message that contains its own
1238 > solution!" But the max_clause_count thing seems to have disappeared in
1239 > recent versions of Ferret.
1240
1241 I thought that too and tried to fix it. However not knowing hardly any ruby proved a bit of a hinderence.
1242
1243 > Can you try this patch, please?
1244
1245 I could, although I wouldn't be able to tell you if it works anymore. After installing 0.3 again, in preparation for trying the patch, I found I no
1246 longer hit the problem. I haven't updated ferret during this time, so perhaps my message count has fallen low enough not to trigger the problem, if
1247 I hit this again I will try the patch and let you know.
1248
1249 --
1250 Dennis Griffith
1251
1252 From wmorgan-sup@masanjin.net Sun Dec 9 21:51:36 2007
1253 From: wmorgan-sup@masanjin.net (William Morgan)
1254 Date: Sun, 09 Dec 2007 18:51:36 -0800
1255 Subject: [sup-talk] [PATCH] label-list-mode with no unread messages
1256 In-Reply-To: <1196103315-sup-3020@spooky.local>
1257 References: <1195673904-sup-7215@spooky> <1195936974-sup-3449@south>
1258 <1196103315-sup-3020@spooky.local>
1259 Message-ID: <1197254933-sup-7649@south>
1260
1261 Excerpts from Grant Hollingworth's message of Mon Nov 26 10:57:49 -0800 2007:
1262 > Handling the unread counts in LabelListMode seems dirty, anyway. You'd
1263 > have to watch more than just the :read event, right? If a thread is
1264 > archived from the inbox, for instance, the unread count for 'Inbox'
1265 > should go down.
1266
1267 Yes, probably the ideal solution is to have a CountManager (sigh) which
1268 maintains all these numbers, and listens to all events. Then
1269 LabelListMode would be a consumer of this.
1270
1271 > So I haven't done any of that... but I found a related problem: the
1272 > inbox doesn't update if you unarchive a thread elsewhere. I made a
1273 > na?ve patch that works in some cases.
1274
1275 I've just committed a fairly large changeset that improves the update
1276 relaying thing. It should fix most problems, including this one. I think
1277 the one thing it doesn't quite get is the case where you remove a label
1278 from a thread that's displayed in a different label-search-results-mode
1279 buffer. Or something like that.
1280
1281 --
1282 William <wmorgan-sup at masanjin.net>
1283
1284 From wmorgan-sup@masanjin.net Sun Dec 9 21:54:43 2007
1285 From: wmorgan-sup@masanjin.net (William Morgan)
1286 Date: Sun, 09 Dec 2007 18:54:43 -0800
1287 Subject: [sup-talk] Too many clauses
1288 In-Reply-To: <1197249489-sup-4661@Nyx>
1289 References: <20071203195238.GA1174@Nyx.cs.uiuc.edu>
1290 <1197229372-sup-8664@south> <1197249489-sup-4661@Nyx>
1291 Message-ID: <1197255121-sup-2562@south>
1292
1293 Excerpts from Dennis Griffith's message of Sun Dec 09 17:31:23 -0800 2007:
1294 > I could, although I wouldn't be able to tell you if it works anymore.
1295 > After installing 0.3 again, in preparation for trying the patch, I
1296 > found I no longer hit the problem. I haven't updated ferret during
1297 > this time, so perhaps my message count has fallen low enough not to
1298 > trigger the problem, if I hit this again I will try the patch and let
1299 > you know.
1300
1301 Weird. I think this problem surfaces with very large threads, so it
1302 shouldn't have anything to do with raw message count.
1303
1304 But all's well that ends well. I've committed the patch to SVN anyways
1305 because it's probably the right thing to do. (And is a better solution
1306 than just increasing the Ferret thingy.)
1307
1308 --
1309 William <wmorgan-sup at masanjin.net>
1310
1311 From wmorgan-sup@masanjin.net Sun Dec 9 21:56:59 2007
1312 From: wmorgan-sup@masanjin.net (William Morgan)
1313 Date: Sun, 09 Dec 2007 18:56:59 -0800
1314 Subject: [sup-talk] new in svn: tag matching threads
1315 Message-ID: <1197255390-sup-9879@south>
1316
1317 Just press 'g'. Does a simple search against the subject, snippet, and
1318 thread participant names.
1319
1320 --
1321 William <wmorgan-sup at masanjin.net>
1322
1323 From wmorgan-sup@masanjin.net Mon Dec 10 01:24:21 2007
1324 From: wmorgan-sup@masanjin.net (William Morgan)
1325 Date: Sun, 09 Dec 2007 22:24:21 -0800
1326 Subject: [sup-talk] [PATCH] Pipe message/attachement to shell command
1327 In-Reply-To: <1196110823-sup-7451@tomsk>
1328 References: <1194622205-sup-2949@tomsk> <1194889791-sup-3292@south>
1329 <1194905067-sup-4236@tomsk> <1194955037-sup-614@tomsk>
1330 <1195032303-sup-7083@tomsk> <1196110544-sup-3133@tomsk>
1331 <1196110823-sup-7451@tomsk>
1332 Message-ID: <1197267841-sup-5261@south>
1333
1334 Excerpts from Marcus Williams's message of Mon Nov 26 13:01:22 -0800 2007:
1335 > On 26.11.2007, Marcus Williams wrote:
1336 > > Here we go again. Attached is the shell patch (pipe to follow) as a
1337 > > patch to bin/sup instead of in the scroll mode.
1338 >
1339 > ... and here is the pipe patch.
1340
1341 Committed! Thanks!
1342
1343 --
1344 William <wmorgan-sup at masanjin.net>
1345
1346 From wmorgan-sup@masanjin.net Mon Dec 10 01:25:48 2007
1347 From: wmorgan-sup@masanjin.net (William Morgan)
1348 Date: Sun, 09 Dec 2007 22:25:48 -0800
1349 Subject: [sup-talk] new in svn: forwarding attachments
1350 Message-ID: <1197267891-sup-8196@south>
1351
1352 Finally! When you forward a message with attachments, all attachments
1353 are included in the forward by default. You can also forward an
1354 invidual attachment by highlighting it in thread-view-mode and pressing
1355 'f'.
1356
1357 --
1358 William <wmorgan-sup at masanjin.net>
1359
1360 From wmorgan-sup@masanjin.net Mon Dec 10 01:36:42 2007
1361 From: wmorgan-sup@masanjin.net (William Morgan)
1362 Date: Sun, 09 Dec 2007 22:36:42 -0800
1363 Subject: [sup-talk] Switching to a new mailbox format.
1364 In-Reply-To: <1197224657-sup-2992@ausone.local>
1365 References: <1197224657-sup-2992@ausone.local>
1366 Message-ID: <1197268294-sup-716@south>
1367
1368 Excerpts from nicolas.pouillard's message of Sun Dec 09 10:30:18 -0800 2007:
1369 > I want to clean up my mails a little, to do this I need to change
1370 > the actual location of a mail from one source to another one.
1371 >
1372 > I don't think that sup already provide a tool for that. That's right?
1373
1374 Sup doesn't provide a tool to move mail between mailboxes, no. I find
1375 that Mutt is actually the best tool for one-time tasks like this.
1376
1377 Now, in order to update Sup's index once mail has been moved, it
1378 *should* be sufficient to sup-sync --changed on all the sources at once
1379 (i.e., in one command, not split across multiple calls to sup-sync,
1380 because that will lose message state). But I highly recommend a sup-dump
1381 just in case, and try it on a small set of email first.
1382
1383 > I also consider to try an alternative to mailbox/maildir that
1384 > will both scales up and be backup friendly.
1385
1386 I thought maildir was the best solution for on-disk storage... is there
1387 something better?
1388
1389 --
1390 William <wmorgan-sup at masanjin.net>
1391
1392 From wmorgan-sup@masanjin.net Mon Dec 10 01:45:04 2007
1393 From: wmorgan-sup@masanjin.net (William Morgan)
1394 Date: Sun, 09 Dec 2007 22:45:04 -0800
1395 Subject: [sup-talk] [PATCH] refine label search
1396 In-Reply-To: <1197207486-sup-1805@spooky.local>
1397 References: <1197207486-sup-1805@spooky.local>
1398 Message-ID: <1197269100-sup-2984@south>
1399
1400 Excerpts from Grant Hollingworth's message of Sun Dec 09 05:41:10 -0800 2007:
1401 > I added a 'refine search' command (with '.', as in
1402 > search-results-mode) to label-search-results-mode. It just starts a
1403 > query with the current label(s) already selected.
1404
1405 Applied, thanks!
1406
1407 --
1408 William <wmorgan-sup at masanjin.net>
1409
1410 From marcus-sup@bar-coded.net Mon Dec 10 10:28:23 2007
1411 From: marcus-sup@bar-coded.net (Marcus Williams)
1412 Date: Mon, 10 Dec 2007 15:28:23 +0000
1413 Subject: [sup-talk] Email extensions/alternate emails
1414 In-Reply-To: <1197236481-sup-1886@south>
1415 References: <1196423833-sup-2326@tomsk> <1197150436-sup-2569@south>
1416 <1197234773-sup-132@tomsk> <1197236481-sup-1886@south>
1417 Message-ID: <1197300448-sup-7359@tomsk>
1418
1419 On 9.12.2007, William Morgan wrote:
1420 > Excerpts from Marcus Williams's message of Sun Dec 09 13:18:34 -0800 2007:
1421 > > On 8.12.2007, William Morgan wrote:
1422 > > > 1. First, if the message contains an Envelope-To, X-Original-To, or
1423 > > > Delivered-To header (in that order of precedence), the address
1424 > > > in that header is used.
1425 > >
1426 > > Ah. That might be all I needed to know. I'll make sure I'm getting one
1427 > > of these headers and see if that makes the difference. That also
1428 > > explains why some of my mail goes out from the wrong address even when
1429 > > I have got an account set up for it.
1430 >
1431 > Yeah, I don't think the current behavior is 100% correct, yet, so I'm
1432 > open to suggestions.
1433
1434 I added an envelope-to header but that hasnt changed its current
1435 behaviour. Where in the code does this checking (or is it via
1436 RubyMail)? Have searched code for envelope-to and have only found
1437 mention of it in mbox.rb
1438
1439 If I can figure out why its going wrong I'll have a go at fixing it
1440 even if its just for my case (which will mean for qmail+vpopmail).
1441
1442 Marcus
1443
1444 From wmorgan-sup@masanjin.net Mon Dec 10 12:37:07 2007
1445 From: wmorgan-sup@masanjin.net (William Morgan)
1446 Date: Mon, 10 Dec 2007 09:37:07 -0800
1447 Subject: [sup-talk] Email extensions/alternate emails
1448 In-Reply-To: <1197300448-sup-7359@tomsk>
1449 References: <1196423833-sup-2326@tomsk> <1197150436-sup-2569@south>
1450 <1197234773-sup-132@tomsk> <1197236481-sup-1886@south>
1451 <1197300448-sup-7359@tomsk>
1452 Message-ID: <1197308174-sup-2458@south>
1453
1454 Excerpts from Marcus Williams's message of Mon Dec 10 07:28:23 -0800 2007:
1455 > I added an envelope-to header but that hasnt changed its current
1456 > behaviour. Where in the code does this checking (or is it via
1457 > RubyMail)? Have searched code for envelope-to and have only found
1458 > mention of it in mbox.rb
1459
1460 reply-mode.rb line 23, and message.rb line 112.
1461
1462 --
1463 William <wmorgan-sup at masanjin.net>
1464
1465 From nicolas.pouillard@gmail.com Mon Dec 10 15:09:22 2007
1466 From: nicolas.pouillard@gmail.com (Nicolas Pouillard)
1467 Date: Mon, 10 Dec 2007 21:09:22 +0100
1468 Subject: [sup-talk] Copy-paste in the help screen for the 'g' shortcut.
1469 Message-ID: <1197317273-sup-1530@ausone.local>
1470
1471 Hi,
1472
1473 It seems that the documentation for 'g' was copy-paste from 'T', no?
1474
1475 ...
1476 T : Tag/untag all threads
1477 g : Tag/untag all threads
1478 ...
1479
1480 Regards,
1481
1482 --
1483 Nicolas Pouillard aka Ertai
1484
1485 From magnus@therning.org Mon Dec 10 16:49:08 2007
1486 From: magnus@therning.org (Magnus Therning)
1487 Date: Mon, 10 Dec 2007 21:49:08 +0000
1488 Subject: [sup-talk] Status of GPG support?
1489 Message-ID: <475DB454.5020501@therning.org>
1490
1491 I haven't had time to keep up-to-date on sup development, so I'm sorry
1492 if I'm asking something that's obvious to everyone else. A few weeks
1493 ago there was only support for using GPG on received messages (signature
1494 verification and I believe decryption); support for signing and
1495 encrypting was lacking. Has this changed by now, or are there
1496 well-known (external to sup) workarounds?
1497
1498 /M
1499
1500 --
1501 Magnus Therning (OpenPGP: 0xAB4DFBA4)
1502 magnus?therning?org Jabber: magnus?therning?gmail?com
1503 http://therning.org/magnus
1504
1505 What if I don't want to obey the laws? Do they throw me in jail with
1506 the other bad monads?
1507 -- Daveman
1508
1509 -------------- next part --------------
1510 A non-text attachment was scrubbed...
1511 Name: signature.asc
1512 Type: application/pgp-signature
1513 Size: 189 bytes
1514 Desc: OpenPGP digital signature
1515 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071210/d6f1a105/attachment.bin
1516
1517 From itaylor@uark.edu Mon Dec 10 16:57:45 2007
1518 From: itaylor@uark.edu (Ian Taylor)
1519 Date: Mon, 10 Dec 2007 16:57:45 -0500
1520 Subject: [sup-talk] possible keymap changes
1521 Message-ID: <1197323589-sup-5528@silver>
1522
1523 What about making scroll-mode left/right and edit-message-mode menu
1524 selection h/l?
1525
1526 It seems like the more commonly used commands should be h/l.
1527
1528 Or maybe if menus got wrapped, you could map h/l to move within the menu
1529 if the cursor is currently on that line, and h/l to shift the view of
1530 the window otherwise. I find that right now, it does something other
1531 than what I'm always expecting or wanting.
1532
1533 --
1534 Ian Taylor
1535
1536 From wmorgan-sup@masanjin.net Mon Dec 10 17:13:42 2007
1537 From: wmorgan-sup@masanjin.net (William Morgan)
1538 Date: Mon, 10 Dec 2007 14:13:42 -0800
1539 Subject: [sup-talk] Status of GPG support?
1540 In-Reply-To: <475DB454.5020501@therning.org>
1541 References: <475DB454.5020501@therning.org>
1542 Message-ID: <1197324612-sup-4789@south>
1543
1544 Excerpts from Magnus Therning's message of Mon Dec 10 13:49:08 -0800 2007:
1545 > A few weeks ago there was only support for using GPG on received
1546 > messages (signature verification and I believe decryption); support
1547 > for signing and encrypting was lacking. Has this changed by now, or
1548 > are there well-known (external to sup) workarounds?
1549
1550 Excellent timing on this question. SVN currently has a mocked-up
1551 interface for choosing sign/encrypt/sign+encrypt for each message, and
1552 as of last night I have most of the code necessary for signing outgoing
1553 messages in my local repository. It needs a little polishing but should
1554 be committed soon. (And encrypt/sign+encrypt should be pretty easy after
1555 that.) (Also, this is all gpg-specific at this point.)
1556
1557 I will send an announcement when it's in.
1558
1559 --
1560 William <wmorgan-sup at masanjin.net>
1561
1562 From wmorgan-sup@masanjin.net Mon Dec 10 17:21:41 2007
1563 From: wmorgan-sup@masanjin.net (William Morgan)
1564 Date: Mon, 10 Dec 2007 14:21:41 -0800
1565 Subject: [sup-talk] Copy-paste in the help screen for the 'g' shortcut.
1566 In-Reply-To: <1197317273-sup-1530@ausone.local>
1567 References: <1197317273-sup-1530@ausone.local>
1568 Message-ID: <1197325257-sup-7060@south>
1569
1570 Excerpts from nicolas.pouillard's message of Mon Dec 10 12:09:22 -0800 2007:
1571 > It seems that the documentation for 'g' was copy-paste from 'T', no?
1572
1573 What lousy programmer did that!?
1574
1575 Fixed, thanks.
1576
1577 --
1578 William <wmorgan-sup at masanjin.net>
1579
1580 From marcus-sup@bar-coded.net Mon Dec 10 17:28:18 2007
1581 From: marcus-sup@bar-coded.net (Marcus Williams)
1582 Date: Mon, 10 Dec 2007 22:28:18 +0000
1583 Subject: [sup-talk] Email extensions/alternate emails
1584 In-Reply-To: <1197308174-sup-2458@south>
1585 References: <1196423833-sup-2326@tomsk> <1197150436-sup-2569@south>
1586 <1197234773-sup-132@tomsk> <1197236481-sup-1886@south>
1587 <1197300448-sup-7359@tomsk> <1197308174-sup-2458@south>
1588 Message-ID: <1197325495-sup-8186@tomsk>
1589
1590 On 10.12.2007, William Morgan wrote:
1591 > Excerpts from Marcus Williams's message of Mon Dec 10 07:28:23 -0800 2007:
1592 > > I added an envelope-to header but that hasnt changed its current
1593 > > behaviour. Where in the code does this checking (or is it via
1594 > > RubyMail)? Have searched code for envelope-to and have only found
1595 > > mention of it in mbox.rb
1596 >
1597 > reply-mode.rb line 23, and message.rb line 112.
1598
1599 Not sure how I missed that, but there we go. Attached is a patch to
1600 allow for mail extensions via regexes. This adds a :extensions: option
1601 to the config.yaml something like:
1602
1603 :extensions:
1604 - marcus-sites-\*@domain.com
1605 - marcus-lists-\*@domain.com
1606
1607 Which makes sup recognise addresses such as
1608 marcus-sites-amazon at domain.com and marcus-lists-sup at domain.com as
1609 account addresses.
1610
1611 Marcus
1612 -------------- next part --------------
1613 A non-text attachment was scrubbed...
1614 Name: extensions-diff
1615 Type: application/octet-stream
1616 Size: 1231 bytes
1617 Desc: not available
1618 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071210/5ab6176d/attachment.obj
1619
1620 From marcus-sup@bar-coded.net Mon Dec 10 17:36:03 2007
1621 From: marcus-sup@bar-coded.net (Marcus Williams)
1622 Date: Mon, 10 Dec 2007 22:36:03 +0000
1623 Subject: [sup-talk] Email extensions/alternate emails
1624 In-Reply-To: <1197325495-sup-8186@tomsk>
1625 References: <1196423833-sup-2326@tomsk> <1197150436-sup-2569@south>
1626 <1197234773-sup-132@tomsk> <1197236481-sup-1886@south>
1627 <1197300448-sup-7359@tomsk> <1197308174-sup-2458@south>
1628 <1197325495-sup-8186@tomsk>
1629 Message-ID: <1197325933-sup-1914@tomsk>
1630
1631 On 10.12.2007, Marcus Williams wrote:
1632 > Which makes sup recognise addresses such as
1633 > marcus-sites-amazon at domain.com and marcus-lists-sup at domain.com as
1634 > account addresses.
1635
1636 ... forgot to add - by adding the Envelope-To in my setup I get the
1637 correct reply addresses elsewhere as well. My aliases/extensions are a
1638 bit strange in that they dont create delivered-to/env-to/x-orig-to in
1639 a way that is sensible (this is a bug in vpopmail in my view, but
1640 other people disagree) - for now, /usr/bin/formail is my friend!.
1641
1642 Marcus
1643
1644 From brendano@powerset.com Mon Dec 10 01:55:08 2007
1645 From: brendano@powerset.com (Brendan O'Connor)
1646 Date: Mon, 10 Dec 2007 06:55:08 +0000
1647 Subject: [sup-talk] my 15 minutes of fame
1648 In-Reply-To: <1197232023-sup-2141@south>
1649 References: <1197232023-sup-2141@south>
1650 Message-ID: <1197269682-sup-483@aa0-000-6.u.powerset.com>
1651
1652 Excerpts from William Morgan's message of Sun Dec 09 20:29:46 +0000 2007:
1653 > Uh oh. Guess I've got to be a little more careful about what I write in
1654 > my comments. The following link is currently #15 on the front page of
1655 > Reddit:
1656 >
1657 > http://programming.reddit.com/info/62ipq/comments/
1658
1659 I just love that someone scrolled down and read your bit about Microsoft
1660 Exchange programmers :)
1661
1662 Brendan
1663
1664 From noisyzen@gmail.com Mon Dec 10 20:49:33 2007
1665 From: noisyzen@gmail.com (Samantha)
1666 Date: Mon, 10 Dec 2007 20:49:33 -0500
1667 Subject: [sup-talk] Question about saving sent email on IMAP
1668 Message-ID: <7b9248660712101749j575eee2eoc11ef5c0e1929e4c@mail.gmail.com>
1669
1670 Hi there,
1671
1672 I just started using sup today. I've been using mutt at home and I was very
1673 excited to see something written in Ruby!
1674
1675 I've already gone through all the threads, so I apologize if this has been
1676 answered before - if it was, I must have missed it...
1677
1678 My question is this:
1679
1680 In mutt, I can setup a hook to save all my sent mail in my Sent mail folder
1681 on my IMAP server. Can the same thing be done with sup, or is my only
1682 option to have email that I send saved in the mbox format in my ~/.sup
1683 directory?
1684
1685 Thanks in advance,
1686 --
1687 Samantha
1688 http://www.babygeek.org/
1689 -------------- next part --------------
1690 An HTML attachment was scrubbed...
1691 URL: http://rubyforge.org/pipermail/sup-talk/attachments/20071210/9258c53f/attachment.html
1692
1693 From wmorgan-sup@masanjin.net Mon Dec 10 21:16:21 2007
1694 From: wmorgan-sup@masanjin.net (William Morgan)
1695 Date: Mon, 10 Dec 2007 18:16:21 -0800
1696 Subject: [sup-talk] Question about saving sent email on IMAP
1697 In-Reply-To: <7b9248660712101749j575eee2eoc11ef5c0e1929e4c@mail.gmail.com>
1698 References: <7b9248660712101749j575eee2eoc11ef5c0e1929e4c@mail.gmail.com>
1699 Message-ID: <1197339000-sup-5583@south>
1700
1701 Excerpts from Samantha's message of Mon Dec 10 17:49:33 -0800 2007:
1702 > In mutt, I can setup a hook to save all my sent mail in my Sent mail
1703 > folder on my IMAP server. Can the same thing be done with sup, or is
1704 > my only option to have email that I send saved in the mbox format in
1705 > my ~/.sup directory?
1706
1707 Right now ~/.sup/sent.mbox is the only possibility. This may be
1708 configurable, one day, but it's not the topmost of my priorities.
1709
1710 --
1711 William <wmorgan-sup at masanjin.net>
1712
1713 From nicolas.pouillard@gmail.com Tue Dec 11 14:31:40 2007
1714 From: nicolas.pouillard@gmail.com (Nicolas Pouillard)
1715 Date: Tue, 11 Dec 2007 20:31:40 +0100
1716 Subject: [sup-talk] Searching into spams...
1717 Message-ID: <1197401210-sup-7326@ausone.local>
1718
1719 Hi all,
1720
1721 It happens that spams are shown when hitting "L" then "Spam" but not when
1722 searching for label:spam (looking at the code tells me the same).
1723
1724 Would it be possible to make it works also in the case where one use label:spam?
1725
1726 Best regards,
1727 --
1728 Nicolas Pouillard aka Ertai
1729
1730 From marcus-sup@bar-coded.net Tue Dec 11 15:03:01 2007
1731 From: marcus-sup@bar-coded.net (Marcus Williams)
1732 Date: Tue, 11 Dec 2007 20:03:01 +0000
1733 Subject: [sup-talk] Searching into spams...
1734 In-Reply-To: <1197401210-sup-7326@ausone.local>
1735 References: <1197401210-sup-7326@ausone.local>
1736 Message-ID: <1197403317-sup-3252@tomsk>
1737
1738 On 11.12.2007, Nicolas Pouillard wrote:
1739 > It happens that spams are shown when hitting "L" then "Spam" but not when
1740 > searching for label:spam (looking at the code tells me the same).
1741 >
1742 > Would it be possible to make it works also in the case where one use label:spam?
1743
1744 My recent patch for more gmail searches gives you this ability with an
1745 "is:spam" search (also is:deleted, is:read and is:unread).
1746
1747 HTH
1748
1749 Marcus
1750
1751 From saji@apcc21.net Wed Dec 12 02:30:46 2007
1752 From: saji@apcc21.net (Saji N Hameed)
1753 Date: Wed, 12 Dec 2007 16:30:46 +0900
1754 Subject: [sup-talk] Jumping directly to thread # X
1755 Message-ID: <1197444283-sup-4923@homeWork>
1756
1757 Dear All,
1758
1759 It would be nice to have a keystroke to jump directly to
1760 any desired thread. Right now one has to do several page
1761 up's or down's to select a thread.
1762
1763 Also while one is reading a message, it would be convenient
1764 to have a key stroke that allows one to read the next
1765 thread in the list. I guess I am supposed to do this using
1766 'n' key stroke. However this appears to be associated with
1767 search functionality.
1768
1769 saji
1770
1771 From ismo@iki.fi Wed Dec 12 15:51:11 2007
1772 From: ismo@iki.fi (Ismo Puustinen)
1773 Date: Wed, 12 Dec 2007 22:51:11 +0200
1774 Subject: [sup-talk] Unit tests
1775 Message-ID: <1197492534-sup-9762@arlanda>
1776
1777 Hello,
1778
1779 I would like to contribute to Sup development by writing some unit
1780 tests. In addition to the normal benefits (refactoring, regression
1781 catching, documentation) the tests might help the Sup community
1782 to report bugs: a backtrace isn't as helpful as a unit test that
1783 deterministically leads to a failed assert or a crash. :-)
1784
1785 I wrote the first test (patch attached) to test the message.rb
1786 file. The tests are run by simply saying "rake test" in the Sup
1787 source code root directory. If you feel that unit tests might
1788 prove useful, I'll be happy to write some more of them.
1789
1790 --
1791 Ismo Puustinen <ismo at iki.fi>
1792 -------------- next part --------------
1793 A non-text attachment was scrubbed...
1794 Name: unit_test.diff
1795 Type: application/octet-stream
1796 Size: 12417 bytes
1797 Desc: not available
1798 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071212/8dd49550/attachment.obj
1799
1800 From adesmet@cs.wisc.edu Wed Dec 12 18:12:20 2007
1801 From: adesmet@cs.wisc.edu (Alan De Smet)
1802 Date: Wed, 12 Dec 2007 17:12:20 -0600
1803 Subject: [sup-talk] Unnecessary warning: "multipart/signed with signature
1804 content type application/pkcs7-signature
1805 Message-ID: <20071212231220.GF8720@cs.wisc.edu>
1806
1807 I'm trying out sup 0.3, installed via "gem install sup". I was
1808 importing a bunch of mboxes using "sup-add mbox:/path/to/mbox ;
1809 sup-sync". I got the following warning repeatedly:
1810
1811 [Wed Dec 12 16:49:32 -0600 2007] warning: multipart/signed with signature content type application/pkcs7-signature
1812
1813 Scanning the code, it looks like this is being generated by
1814 message.rb line 296, which is only prepared to accept
1815 application/pgp-signature. I'm guessing sup isn't currently
1816 prepared to handle this type of signature. While validating it
1817 would be a nice touch, I can live without it, since mutt doesn't
1818 check it either. But emitting warnings doesn't seem helpful.
1819 The warnings just add noise, especially since I have a fair
1820 number of such messages in my archives. The warning also doesn't
1821 specify why the situation is bad, and what the ramifications are.
1822 If the warning is kept, perhaps it should say something like "sup
1823 cannot currently validate this type of signature and will ignore
1824 it."
1825
1826 For reference, I've attached an example I found in the real
1827 world. I've tested it and it generates the warning in question.
1828 For more examples, check out this mailing list archive (from
1829 which I originally got the message):
1830 https://lists.cs.wisc.edu/archive/condor-users/2006-October.txt
1831
1832 --
1833 Alan De Smet Condor Project Research
1834 adesmet at cs.wisc.edu http://www.cs.wisc.edu/condor/
1835 -------------- next part --------------
1836 >From condor-users-bounces at cs.wisc.edu Thu Oct 5 20:03:11 2006
1837 Received: from limestone.cs.wisc.edu (limestone.cs.wisc.edu [128.105.6.27])
1838 by cobalt.cs.wisc.edu (8.13.6/8.13.6) with ESMTP id k9613B7F000496;
1839 Thu, 5 Oct 2006 20:03:11 -0500
1840 Received: from jeeves.cs.wisc.edu (jeeves.cs.wisc.edu [128.105.6.16])
1841 by limestone.cs.wisc.edu (8.13.6/8.13.6) with ESMTP id k960wUtS002813;
1842 Thu, 5 Oct 2006 19:58:30 -0500
1843 Received: from jeeves.cs.wisc.edu (localhost [127.0.0.1])
1844 by jeeves.cs.wisc.edu (8.13.6/8.13.6) with ESMTP id k960vqRl029646;
1845 Thu, 5 Oct 2006 19:57:54 -0500
1846 Received: from limestone.cs.wisc.edu (limestone.cs.wisc.edu [128.105.6.27])
1847 by jeeves.cs.wisc.edu (8.13.6/8.13.6) with ESMTP id k960vo77029643
1848 for <condor-users at jeeves.cs.wisc.edu>; Thu, 5 Oct 2006 19:57:50 -0500
1849 Received: from obsidian.cs.wisc.edu (obsidian.cs.wisc.edu [128.105.6.13])
1850 by limestone.cs.wisc.edu (8.13.6/8.13.6) with ESMTP id k960vo8k002764
1851 for <condor-users at cs.wisc.edu>; Thu, 5 Oct 2006 19:57:50 -0500
1852 Received: from darkstar.isi.edu (darkstar.isi.edu [128.9.128.127])
1853 by obsidian.cs.wisc.edu (8.13.6/8.13.6) with ESMTP id k960vajq002794
1854 for <condor-users at cs.wisc.edu>; Thu, 5 Oct 2006 19:57:41 -0500
1855 Received: from [128.9.216.76] (chaapaai.isi.edu [128.9.216.76])
1856 by darkstar.isi.edu (8.13.8/8.13.8) with ESMTP id k960uwQd004280
1857 for <condor-users at cs.wisc.edu>; Thu, 5 Oct 2006 17:56:59 -0700 (PDT)
1858 Mime-Version: 1.0 (Apple Message framework v752.3)
1859 To: Condor-Users Mail List <condor-users at cs.wisc.edu>
1860 Message-Id: <06788D78-BF12-4CB4-A640-BB1DFD0CE2B0 at isi.edu>
1861 From: Jens-Soenke Voeckler <voeckler at isi.edu>
1862 Date: Thu, 5 Oct 2006 17:56:55 -0700
1863 X-Mailer: Apple Mail (2.752.3)
1864 X-ISI-4-43-8-MailScanner: Found to be clean
1865 X-MailScanner-From: voeckler at isi.edu
1866 X-CSL-MailScanner-Information: Please contact lab at cs.wisc.edu for more
1867 information
1868 X-CSL-MailScanner: Found to be clean
1869 Subject: [Condor-users] symlinks, local and NFS disks, and DAGMan
1870 X-BeenThere: condor-users at cs.wisc.edu
1871 X-Mailman-Version: 2.1.9
1872 Precedence: list
1873 Reply-To: Condor-Users Mail List <condor-users at cs.wisc.edu>
1874 List-Id: Condor-Users Mail List <condor-users.cs.wisc.edu>
1875 List-Unsubscribe: <https://lists.cs.wisc.edu/mailman/listinfo/condor-users>,
1876 <mailto:condor-users-request at cs.wisc.edu?subject=unsubscribe>
1877 List-Archive: <http://lists.cs.wisc.edu/archive/condor-users>
1878 List-Post: <mailto:condor-users at cs.wisc.edu>
1879 List-Help: <mailto:condor-users-request at cs.wisc.edu?subject=help>
1880 List-Subscribe: <https://lists.cs.wisc.edu/mailman/listinfo/condor-users>,
1881 <mailto:condor-users-request at cs.wisc.edu?subject=subscribe>
1882 Content-Type: multipart/mixed; boundary="===============1917438543=="
1883 Sender: condor-users-bounces at cs.wisc.edu
1884 Errors-To: condor-users-bounces at cs.wisc.edu
1885 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on cobalt.cs.wisc.edu
1886 X-Spam-Status: No, score=-2.6 required=4.0 tests=BAYES_00 autolearn=disabled
1887 version=3.0.1
1888 X-Spam-Level:
1889 Status: RO
1890 Content-Length: 5725
1891 Lines: 114
1892
1893
1894 --===============1917438543==
1895 Content-Type: multipart/signed; micalg=sha1; boundary=Apple-Mail-13--747094070;
1896 protocol="application/pkcs7-signature"
1897
1898
1899 --Apple-Mail-13--747094070
1900 Content-Transfer-Encoding: quoted-printable
1901 Content-Type: text/plain;
1902 charset=ISO-8859-1;
1903 delsp=yes;
1904 format=flowed
1905
1906 Hi,
1907
1908 with 6.8.1, DAGMan refuses to start a workflow that has the Condor =20
1909 common user log on an NFS disk. So I leave a symlink to a local disk, =20=
1910
1911 to satisfy it. Unfortunately, DAGMan has developed a habit of =20
1912 removing the common log when it finds one (without backups, mind =20
1913 you!), eliminating my symlink, and then dies complaining again. It is =20=
1914
1915 virtually impossible to run anything until I move manually the whole =20
1916 workflow to a local disk - I am against hard-coding an absolute path =20
1917 to my log file. I do understand that Linux NFS cannot be trusted =20
1918 (I've been burned myself often enough on it), so I see why it =20
1919 complains. However, the removal of prior logs screws my work-around =20
1920 symlink, never mind my post mortem processing of data should I =20
1921 restart a workflow. Do you think this feature (I am talking about the =20=
1922
1923 log removal) of DAGMan is fixable?
1924
1925 Aloha,
1926 Dipl.-Ing. Jens-S. V=F6ckler voeckler at isi dot edu
1927 University of Southern California Viterbi School of Engineering
1928 Information Sciences Institute; 4676 Admiralty Way Ste 1001
1929 Marina Del Rey, CA 90292-6611; USA; +1 310 448 8427
1930 * You can rely on any shared filesystems for only one thing - don't! *
1931
1932
1933
1934
1935 --Apple-Mail-13--747094070
1936 Content-Transfer-Encoding: base64
1937 Content-Type: application/pkcs7-signature;
1938 name=smime.p7s
1939 Content-Disposition: attachment;
1940 filename=smime.p7s
1941
1942 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIHJjCCAyYw
1943 ggIOoAMCAQICAiJMMA0GCSqGSIb3DQEBBQUAMGkxEzARBgoJkiaJk/IsZAEZFgNvcmcxGDAWBgoJ
1944 kiaJk/IsZAEZFghET0VHcmlkczEgMB4GA1UECxMXQ2VydGlmaWNhdGUgQXV0aG9yaXRpZXMxFjAU
1945 BgNVBAMTDURPRUdyaWRzIENBIDEwHhcNMDYwNTI0MTIyMjMwWhcNMDcwNTI0MTIyMjMwWjBiMRMw
1946 EQYKCZImiZPyLGQBGRYDb3JnMRgwFgYKCZImiZPyLGQBGRYIZG9lZ3JpZHMxDzANBgNVBAsTBlBl
1947 b3BsZTEgMB4GA1UEAxMXSmVucy1TLiBWb2Vja2xlciA2MTI0MDAwgZ8wDQYJKoZIhvcNAQEBBQAD
1948 gY0AMIGJAoGBAMGncRIXON7ANusN2oZzumwztATUP0VPFhmUwz7l9nhcIz2jmYxXfNS/ma/TGPto
1949 jmoIVN22tuIXDgKZleH1nK+ToHJqq9KdlPHrTB3XwGyynNAUMsaQayHFCKmNmqMbYzfipdEcHRu0
1950 RbR4tj+vb8Un9IBG8j5620QF8e6fCEr5AgMBAAGjYzBhMBEGCWCGSAGG+EIBAQQEAwIF4DAOBgNV
1951 HQ8BAf8EBAMCBPAwHwYDVR0jBBgwFoAUyhkdEo5upDhdQtQxDgjb2Y0XDV0wGwYDVR0RBBQwEoEQ
1952 dm9lY2tsZXJAaXNpLmVkdTANBgkqhkiG9w0BAQUFAAOCAQEALsj4JslFhZ9NX6n/EJX3VHqK/RGT
1953 GQmMe+Q+wlQ5H7R0vMg8uN2t1TTSBh1tkUNXGt5Mg9NbVBIE1dqjYjVm2akZ5A01MFGM6zjVtS/q
1954 kukNgwQ9Rea+ucG8cAWwjmzrQYHU8RwmA4KAW8VtklOowPeMRkdVVhzfGfMQuvl0xMEbOAkOYijj
1955 A4yavrSJC0A4gAHzux035MULFZL1DXwbPXJ676Sb+cL2PoKAxA1tiftqny+kBlG7Lm/3TpeoCLiK
1956 rnS+PiGpR3hYzMypVxCwMw/mrrPKvVDK+blO8dYOVTh0CG73D5fcuKIED0U8EeX79zPa2QF9V68o
1957 W4p4haZPyjCCA/gwggLgoAMCAQICAQswDQYJKoZIhvcNAQEFBQAwdTETMBEGCgmSJomT8ixkARkW
1958 A25ldDESMBAGCgmSJomT8ixkARkWAkVTMQ4wDAYDVQQKEwVFU25ldDEgMB4GA1UECxMXQ2VydGlm
1959 aWNhdGUgQXV0aG9yaXRpZXMxGDAWBgNVBAMTD0VTbmV0IFJvb3QgQ0EgMTAeFw0wMjEyMDUwODAw
1960 MDBaFw0wODAxMTAwODAwMDBaMGkxEzARBgoJkiaJk/IsZAEZFgNvcmcxGDAWBgoJkiaJk/IsZAEZ
1961 FghET0VHcmlkczEgMB4GA1UECxMXQ2VydGlmaWNhdGUgQXV0aG9yaXRpZXMxFjAUBgNVBAMTDURP
1962 RUdyaWRzIENBIDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC09dYjYaPbCD5mtbiQ
1963 b7Ka3y1qAm0ZcqKCFciWcfe8Kwcuy9tjHuIsLf9ZItdkDW4xy8sua9nJlx3KlwjtumTMtOtg35KZ
1964 CknUd8KM4VGTSFdLVG9AbNayef76caVCGM1+jyF0Lq03kauGOPTcNfZe1TZa3e1c9rc8ljV5OSWa
1965 /mfsCACyS5zFIWu0yIDNyJdf+n0hwaPN53wllpJ30taD+JBjQ7h2k4xRWzeaznLOb9OztZVRA/1s
1966 Vze+iczFh2xwa4VdGy0eIIPw1pfvYwxO36rm0S109qvbsNlaroPRbxerPKakQLpKe034Xcx7gBPq
1967 Uk/FxoRRWin5EWN3rz9LAgMBAAGjgZ4wgZswEQYJYIZIAYb4QgEBBAQDAgCHMA4GA1UdDwEB/wQE
1968 AwIBxjAdBgNVHQ4EFgQUyhkdEo5upDhdQtQxDgjb2Y0XDV0wHwYDVR0jBBgwFoAUvF1NSC/4NZRZ
1969 q1yJSz7RsjoUAeowDwYDVR0TAQH/BAUwAwEB/zAlBgNVHREEHjAcgRpET0VHcmlkcy1DQS0xQGRv
1970 ZWdyaWRzLm9yZzANBgkqhkiG9w0BAQUFAAOCAQEAKjtimT4QjTNweyk1ViODK7G2KD12zgKUNQsz
1971 jKG/KEI34gp4Ua17wg6kFQEFtGAtI5Rn3Uv4ajFxLuPrmDjT1bYF2fBSYTXUiYJqvUJGmrnDjePa
1972 XT3CozNOUetqaV9nEoxr3UW0FbSqeP3KXs24vwe0/kJr6tvOufHupUAaxxh36KgodrZjtpFKygJI
1973 1QJkaoITjd0xckml/7+jsA/0zqW9EdDdIHU8afuyQHgx7sAD0byvEoY7RNqR6gocqR1atWs7lj7V
1974 elu9VNnvPHhHEIW4LSoa1SPFKWVTxxQMvboJt7GZCPv+6t8o9PyBWXkDnacXQOnAR2ai5f8uIxFB
1975 uzGCAnkwggJ1AgEBMG8waTETMBEGCgmSJomT8ixkARkWA29yZzEYMBYGCgmSJomT8ixkARkWCERP
1976 RUdyaWRzMSAwHgYDVQQLExdDZXJ0aWZpY2F0ZSBBdXRob3JpdGllczEWMBQGA1UEAxMNRE9FR3Jp
1977 ZHMgQ0EgMQICIkwwCQYFKw4DAhoFAKCCAWAwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkq
1978 hkiG9w0BCQUxDxcNMDYxMDA2MDA1NjU2WjAjBgkqhkiG9w0BCQQxFgQUlM/XGCZsl9UgCn5JpPyK
1979 QNuNNhAwfgYJKwYBBAGCNxAEMXEwbzBpMRMwEQYKCZImiZPyLGQBGRYDb3JnMRgwFgYKCZImiZPy
1980 LGQBGRYIRE9FR3JpZHMxIDAeBgNVBAsTF0NlcnRpZmljYXRlIEF1dGhvcml0aWVzMRYwFAYDVQQD
1981 Ew1ET0VHcmlkcyBDQSAxAgIiTDCBgAYLKoZIhvcNAQkQAgsxcaBvMGkxEzARBgoJkiaJk/IsZAEZ
1982 FgNvcmcxGDAWBgoJkiaJk/IsZAEZFghET0VHcmlkczEgMB4GA1UECxMXQ2VydGlmaWNhdGUgQXV0
1983 aG9yaXRpZXMxFjAUBgNVBAMTDURPRUdyaWRzIENBIDECAiJMMA0GCSqGSIb3DQEBAQUABIGAQBgf
1984 HRw8uRXCcRceSDSG9i8wyFEKAyzxgsc3P50bSuVNWNQn2480TW1GWTlnPkOYpuntWxTZpd2pPl10
1985 BqX2dklZRoEVSIXb9QhXRXrKXgZ+pWBk+A7QIX6DvqhFFvDB6Dc6gi1LgKesyAIfKR1hkC/HNzuX
1986 x4SiqacbtEfMe4AAAAAAAAA=
1987
1988 --Apple-Mail-13--747094070--
1989
1990 --===============1917438543==
1991 Content-Type: text/plain; charset="us-ascii"
1992 MIME-Version: 1.0
1993 Content-Transfer-Encoding: 7bit
1994 Content-Disposition: inline
1995
1996 _______________________________________________
1997 Condor-users mailing list
1998 To unsubscribe, send a message to condor-users-request at cs.wisc.edu with a
1999 subject: Unsubscribe
2000 You can also unsubscribe by visiting
2001 https://lists.cs.wisc.edu/mailman/listinfo/condor-users
2002
2003 The archives can be found at either
2004 https://lists.cs.wisc.edu/archive/condor-users/
2005 http://www.opencondor.org/spaces/viewmailarchive.action?key=CONDOR
2006 --===============1917438543==--
2007
2008
2009 From adesmet@cs.wisc.edu Wed Dec 12 18:48:28 2007
2010 From: adesmet@cs.wisc.edu (Alan De Smet)
2011 Date: Wed, 12 Dec 2007 17:48:28 -0600
2012 Subject: [sup-talk] Unnecessary warning: "multipart/signed with
2013 signature content type application/pkcs7-signature
2014 In-Reply-To: <20071212231220.GF8720@cs.wisc.edu>
2015 References: <20071212231220.GF8720@cs.wisc.edu>
2016 Message-ID: <20071212234828.GG8720@cs.wisc.edu>
2017
2018 Alan De Smet <adesmet at cs.wisc.edu> wrote:
2019 > [Wed Dec 12 16:49:32 -0600 2007] warning: multipart/signed with signature content type application/pkcs7-signature
2020
2021 I've also see the variant "application/x-pkcs7-signature", so:
2022 > [Wed Dec 12 17:46:43 -0600 2007] warning: multipart/signed with signature content type application/x-pkcs7-signature
2023
2024
2025 --
2026 Alan De Smet Condor Project Research
2027 adesmet at cs.wisc.edu http://www.cs.wisc.edu/condor/
2028
2029 From andrei@andreimaxim.ro Thu Dec 13 14:59:15 2007
2030 From: andrei@andreimaxim.ro (Andrei Maxim)
2031 Date: Thu, 13 Dec 2007 21:59:15 +0200
2032 Subject: [sup-talk] From email view to inbox?
2033 Message-ID: <a630bbc30712131159t4fed8d2fsa0ffb5942718947c@mail.gmail.com>
2034
2035 Hi everybody,
2036
2037 I'm starting to use sup more and more often (Mail.app is crashing more
2038 and more often and the Gmail web interface is just not good enough).
2039 However, I can't seem to find out how to move from a threaded email
2040 view back to inbox. Is there a shortcut that I'm missing?
2041
2042 Thanks,
2043
2044 --
2045 Andrei Maxim
2046 http://andreimaxim.ro
2047
2048 From grant@antiflux.org Thu Dec 13 16:13:46 2007
2049 From: grant@antiflux.org (Grant Hollingworth)
2050 Date: Thu, 13 Dec 2007 16:13:46 -0500
2051 Subject: [sup-talk] From email view to inbox?
2052 In-Reply-To: <a630bbc30712131159t4fed8d2fsa0ffb5942718947c@mail.gmail.com>
2053 References: <a630bbc30712131159t4fed8d2fsa0ffb5942718947c@mail.gmail.com>
2054 Message-ID: <1197580340-sup-2837@spooky.local>
2055
2056 Excerpts from Andrei Maxim's message of Thu Dec 13 14:59:15 -0500 2007:
2057 > I'm starting to use sup more and more often (Mail.app is crashing more
2058 > and more often and the Gmail web interface is just not good enough).
2059 > However, I can't seem to find out how to move from a threaded email
2060 > view back to inbox. Is there a shortcut that I'm missing?
2061
2062 'x'. It kills the current buffer (thread view, in this case) which should leave you back where you were, your inbox.
2063
2064 From wmorgan-sup@masanjin.net Thu Dec 13 19:51:54 2007
2065 From: wmorgan-sup@masanjin.net (William Morgan)
2066 Date: Thu, 13 Dec 2007 16:51:54 -0800
2067 Subject: [sup-talk] possible keymap changes
2068 In-Reply-To: <1197323589-sup-5528@silver>
2069 References: <1197323589-sup-5528@silver>
2070 Message-ID: <1197593442-sup-6309@south>
2071
2072 Excerpts from Ian Taylor's message of Mon Dec 10 13:57:45 -0800 2007:
2073 > Or maybe if menus got wrapped, you could map h/l to move within the
2074 > menu if the cursor is currently on that line, and h/l to shift the
2075 > view of the window otherwise. I find that right now, it does something
2076 > other than what I'm always expecting or wanting.
2077
2078 Although I don't think 'h' and 'l' are that useful any more because
2079 they're both overloaded in thread-view-mode, I've made them both act the
2080 same way in edit-message-mode in recent SVN: if you're on a menu item,
2081 move the menu item; otherwise, move the whole screen.
2082
2083 --
2084 William <wmorgan-sup at masanjin.net>
2085
2086 From wmorgan-sup@masanjin.net Thu Dec 13 20:01:24 2007
2087 From: wmorgan-sup@masanjin.net (William Morgan)
2088 Date: Thu, 13 Dec 2007 17:01:24 -0800
2089 Subject: [sup-talk] Status of GPG support?
2090 In-Reply-To: <1197324612-sup-4789@south>
2091 References: <475DB454.5020501@therning.org> <1197324612-sup-4789@south>
2092 Message-ID: <1197593643-sup-6305@south>
2093
2094 Excerpts from William Morgan's message of Mon Dec 10 14:13:42 -0800 2007:
2095 > I will send an announcement when it's in.
2096
2097 I've committed a patch to add sign, encrypt, and sign+encrypt
2098 capability. As with decryption and signature verification, this is gpg-
2099 specific, and relies on gpg-agent for all password interactions. I don't
2100 really want to get into the business of password management.
2101
2102 I need to add some mechanics for determining which setting is pre-
2103 selected on a per-message basis. This will almost certainly be a hook.
2104 Other than that, is should be basically functionally complete.
2105
2106 I did add one config option: :discard_snippets_from_encrypted_messages,
2107 which defaults to false. If this option is set to true, snippets that
2108 were generated from encrypted content will not be stored in the index.
2109 This is a limited security measure, because someone with access to the
2110 Ferret index can recover the contents of the message in several ways
2111 (that's the problem with the basic operation being full-text search!),
2112 but this eliminates the most trivial way of getting encrypted message
2113 content. It also means that the snippet for a message won't show up in
2114 thread-index-mode until you load the message and enter in the password.
2115
2116 --
2117 William <wmorgan-sup at masanjin.net>
2118
2119 From wmorgan-sup@masanjin.net Thu Dec 13 20:03:58 2007
2120 From: wmorgan-sup@masanjin.net (William Morgan)
2121 Date: Thu, 13 Dec 2007 17:03:58 -0800
2122 Subject: [sup-talk] Email extensions/alternate emails
2123 In-Reply-To: <1197325933-sup-1914@tomsk>
2124 References: <1196423833-sup-2326@tomsk> <1197150436-sup-2569@south>
2125 <1197234773-sup-132@tomsk> <1197236481-sup-1886@south>
2126 <1197300448-sup-7359@tomsk> <1197308174-sup-2458@south>
2127 <1197325495-sup-8186@tomsk> <1197325933-sup-1914@tomsk>
2128 Message-ID: <1197594217-sup-8617@south>
2129
2130 Excerpts from Marcus Williams's message of Mon Dec 10 14:36:03 -0800 2007:
2131 > ... forgot to add - by adding the Envelope-To in my setup I get the
2132 > correct reply addresses elsewhere as well.
2133
2134 Just curious---what do you mean by adding Envelope-To to your setup? Did
2135 you patch Sup to add this header, or is it added elsewhere in the
2136 process?
2137
2138 --
2139 William <wmorgan-sup at masanjin.net>
2140
2141 From wmorgan-sup@masanjin.net Thu Dec 13 20:13:05 2007
2142 From: wmorgan-sup@masanjin.net (William Morgan)
2143 Date: Thu, 13 Dec 2007 17:13:05 -0800
2144 Subject: [sup-talk] Unnecessary warning: "multipart/signed with
2145 signature content type application/pkcs7-signature
2146 In-Reply-To: <20071212231220.GF8720@cs.wisc.edu>
2147 References: <20071212231220.GF8720@cs.wisc.edu>
2148 Message-ID: <1197594649-sup-3317@south>
2149
2150 Excerpts from Alan De Smet's message of Wed Dec 12 15:12:20 -0800 2007:
2151 > I'm trying out sup 0.3, installed via "gem install sup". I was
2152 > importing a bunch of mboxes using "sup-add mbox:/path/to/mbox ;
2153 > sup-sync". I got the following warning repeatedly:
2154 >
2155 > [Wed Dec 12 16:49:32 -0600 2007] warning: multipart/signed with signature content type application/pkcs7-signature
2156
2157 I've removed the warning in SVN. Thanks for the report. One day we'll
2158 support that...
2159
2160 --
2161 William <wmorgan-sup at masanjin.net>
2162
2163 From manish@gslab.com Thu Dec 13 23:44:29 2007
2164 From: manish@gslab.com (Manish Sapariya)
2165 Date: Fri, 14 Dec 2007 10:14:29 +0530
2166 Subject: [sup-talk] lots of fake messages in my mailbox
2167 Message-ID: <47620A2D.6080602@gslab.com>
2168
2169 Hi All,
2170 I just wanted to confirm if this is the problem due to special character
2171 set used by mail?
2172 I used to get crash 2 weeks before, but after upgrading to 0.3 that
2173 problem seems to be
2174 gone away, but I see lots of fake messages with null body.
2175
2176 Does this mean that the mail contents were not understood by RubyMail?
2177
2178 [Fri Dec 14 10:12:29 +0530 2007] faking date header for
2179 sup-faked-89e4ed8175efd30de99101ed93a51869
2180 [Fri Dec 14 10:12:29 +0530 2007] warning: error
2181 (Redwood::MessageFormatError) decoding message body from : RubyMail
2182 decode returned a null body
2183
2184 Thanks and Regards,
2185 Manish
2186
2187
2188
2189
2190
2191 From marcus-sup@bar-coded.net Fri Dec 14 05:10:14 2007
2192 From: marcus-sup@bar-coded.net (Marcus Williams)
2193 Date: Fri, 14 Dec 2007 10:10:14 +0000
2194 Subject: [sup-talk] Email extensions/alternate emails
2195 In-Reply-To: <1197594217-sup-8617@south>
2196 References: <1196423833-sup-2326@tomsk> <1197150436-sup-2569@south>
2197 <1197234773-sup-132@tomsk> <1197236481-sup-1886@south>
2198 <1197300448-sup-7359@tomsk> <1197308174-sup-2458@south>
2199 <1197325495-sup-8186@tomsk> <1197325933-sup-1914@tomsk>
2200 <1197594217-sup-8617@south>
2201 Message-ID: <1197626941-sup-3100@tomsk>
2202
2203 On 14.12.2007, William Morgan wrote:
2204 > Excerpts from Marcus Williams's message of Mon Dec 10 14:36:03 -0800 2007:
2205 > > ... forgot to add - by adding the Envelope-To in my setup I get the
2206 > > correct reply addresses elsewhere as well.
2207 >
2208 > Just curious---what do you mean by adding Envelope-To to your setup? Did
2209 > you patch Sup to add this header, or is it added elsewhere in the
2210 > process?
2211
2212 Added it at the MTA level on my server.
2213
2214 Marcus
2215
2216 From itaylor@uark.edu Fri Dec 14 05:34:16 2007
2217 From: itaylor@uark.edu (Ian Taylor)
2218 Date: Fri, 14 Dec 2007 05:34:16 -0500
2219 Subject: [sup-talk] imap-related crash
2220 Message-ID: <1197628329-sup-723@silver>
2221
2222 I glanced over at sup and saw this instead. It was sprawled out over the
2223 screen in the way curses apps do when they output stuff via
2224 stdout/stderr. No sup-exception.txt seemed to be generated.
2225
2226 /usr/lib/ruby/1.8/net/imap.rb:932:in `close': closed stream (IOError)
2227 from /usr/lib/ruby/1.8/net/imap.rb:932:in `receive_responses'
2228 from /usr/lib/ruby/1.8/net/imap.rb:923:in `initialize'
2229 from /usr/lib/ruby/1.8/net/imap.rb:922:in `start'
2230 from /usr/lib/ruby/1.8/net/imap.rb:922:in `initialize'
2231 from /var/lib/gems/1.8/gems/sup-0.3/lib/sup/imap.rb:221:in `new'
2232 from /var/lib/gems/1.8/gems/sup-0.3/lib/sup/imap.rb:221:in `unsafe_connect'
2233 from /var/lib/gems/1.8/gems/sup-0.3/lib/sup/imap.rb:218:in `initialize'
2234 from /var/lib/gems/1.8/gems/sup-0.3/lib/sup/imap.rb:218:in `new'
2235 ... 15 levels...
2236 from /var/lib/gems/1.8/gems/sup-0.3/bin/sup:174:in `each'
2237 from /var/lib/gems/1.8/gems/sup-0.3/bin/sup:174
2238 from /var/lib/gems/1.8/bin/sup:16:in `load'
2239 from /var/lib/gems/1.8/bin/sup:16
2240 /usr/lib/ruby/1.8/net/imap.rb:932:in `close': closed stream (IOError)
2241 from /usr/lib/ruby/1.8/net/imap.rb:932:in `receive_responses'
2242 from /usr/lib/ruby/1.8/net/imap.rb:923:in `initialize'
2243 from /usr/lib/ruby/1.8/net/imap.rb:922:in `start'
2244 from /usr/lib/ruby/1.8/net/imap.rb:922:in `initialize'
2245 from /var/lib/gems/1.8/gems/sup-0.3/lib/sup/imap.rb:221:in `new'
2246 from /var/lib/gems/1.8/gems/sup-0.3/lib/sup/imap.rb:221:in `unsafe_connect'
2247 from /var/lib/gems/1.8/gems/sup-0.3/lib/sup/imap.rb:218:in `initialize'
2248 from /var/lib/gems/1.8/gems/sup-0.3/lib/sup/imap.rb:218:in `new'
2249 ... 15 levels...
2250 from /var/lib/gems/1.8/gems/sup-0.3/bin/sup:174:in `each'
2251 from /var/lib/gems/1.8/gems/sup-0.3/bin/sup:174
2252 from /var/lib/gems/1.8/bin/sup:16:in `load'
2253 from /var/lib/gems/1.8/bin/sup:16
2254
2255 --
2256 Ian Taylor
2257
2258 From gzjjgod@gmail.com Fri Dec 14 15:58:55 2007
2259 From: gzjjgod@gmail.com (Jjgod Jiang)
2260 Date: Sat, 15 Dec 2007 04:58:55 +0800
2261 Subject: [sup-talk] Using sup-config to add a GMail account as source
2262 Message-ID: <ddd65cda0712141258y47c49c38h4339943cbe0245ff@mail.gmail.com>
2263
2264 Hi,
2265
2266 What's wrong with the IMAP server address I entered? It seemed correct to me.
2267
2268 What is the IMAP server (host, or host:port notation)? (enter for
2269 "imap.gmail.com"): imap.gmail.com:993
2270 What's the folder path? (enter for "INBOX"):
2271 Whoopsie! I couldn't build a URI from that: bad component(expected
2272 host component): imap.gmail.com:993
2273 Try again? (enter for "n"):
2274
2275 I installed sup 0.3 via gem.
2276
2277 - Jiang
2278
2279 From gzjjgod@gmail.com Fri Dec 14 15:58:57 2007
2280 From: gzjjgod@gmail.com (Jjgod Jiang)
2281 Date: Sat, 15 Dec 2007 04:58:57 +0800
2282 Subject: [sup-talk] Using sup-config to add a GMail account as source
2283 Message-ID: <ddd65cda0712141258s2b0ebd85i29ff972f0c5f623d@mail.gmail.com>
2284
2285 Hi,
2286
2287 What's wrong with the IMAP server address I entered? It seemed correct to me.
2288
2289 What is the IMAP server (host, or host:port notation)? (enter for
2290 "imap.gmail.com"): imap.gmail.com:993
2291 What's the folder path? (enter for "INBOX"):
2292 Whoopsie! I couldn't build a URI from that: bad component(expected
2293 host component): imap.gmail.com:993
2294 Try again? (enter for "n"):
2295
2296 I installed sup 0.3 via gem.
2297
2298 - Jiang
2299
2300 From wmorgan-sup@masanjin.net Fri Dec 14 17:25:33 2007
2301 From: wmorgan-sup@masanjin.net (William Morgan)
2302 Date: Fri, 14 Dec 2007 14:25:33 -0800
2303 Subject: [sup-talk] Using sup-config to add a GMail account as source
2304 In-Reply-To: <ddd65cda0712141258s2b0ebd85i29ff972f0c5f623d@mail.gmail.com>
2305 References: <ddd65cda0712141258s2b0ebd85i29ff972f0c5f623d@mail.gmail.com>
2306 Message-ID: <1197670914-sup-3742@south>
2307
2308 Excerpts from Jjgod Jiang's message of Fri Dec 14 12:58:57 -0800 2007:
2309 > What's wrong with the IMAP server address I entered? It seemed correct
2310 > to me.
2311
2312 Oops, that's a bug. I've fixed it in SVN. Below is a patch you can use.
2313 You can also use sup-add manually instead of going through sup-config.
2314
2315 Index: lib/sup/imap.rb
2316 ===================================================================
2317 --- lib/sup/imap.rb (revision 765)
2318 +++ lib/sup/imap.rb (working copy)
2319 @@ -72,11 +72,7 @@
2320 end
2321
2322 def self.suggest_labels_for path
2323 - if path =~ /inbox/i
2324 - [path.intern]
2325 - else
2326 - []
2327 - end
2328 + path =~ /([^\/]*inbox[^\/]*)/i ? [$1.downcase.intern] : []
2329 end
2330
2331 def host; @parsed_uri.host; end
2332 Index: bin/sup-config
2333 ===================================================================
2334 --- bin/sup-config (revision 765)
2335 +++ bin/sup-config (working copy)
2336 @@ -96,7 +96,7 @@
2337 $last_folder = fn
2338
2339 fn = "/#{fn}" # lame
2340 - if srv =~ /^(\w+):(\d+)$/
2341 + if srv =~ /^(\S+):(\d+)$/
2342 host, port = $1, $2.to_i
2343 else
2344 host, port = srv, nil
2345
2346 --
2347 William <wmorgan-sup at masanjin.net>
2348
2349 From gzjjgod@gmail.com Sat Dec 15 10:05:04 2007
2350 From: gzjjgod@gmail.com (Jjgod Jiang)
2351 Date: Sat, 15 Dec 2007 23:05:04 +0800
2352 Subject: [sup-talk] Using DTrace to profile sup-sync
2353 Message-ID: <ddd65cda0712150705j6543cbd9ud13d479708171223@mail.gmail.com>
2354
2355 Hi,
2356
2357 When I was trying to build index for my GMail account (which has 28525
2358 mails in inbox)
2359 with sup-sync, I found the estimated finish time is too long (24
2360 hours) to accept. So I
2361 decided to use DTrace to do some profiling work on sup-sync, and here
2362 is the result.
2363
2364 The top n method spent most of the time is:
2365
2366 ___ OVERLAP TIMES: ___ ______ ELAPSED ______
2367 CLASS METHOD COUNT AVG(us) SUM(us)
2368
2369 Net::IMAP::ResponseParse next_token 570993 282 161345198
2370 Net::IMAP::ResponseParse lookahead 770871 283 218826568
2371 Class _parse 28612 8051 230376494
2372 Class parse 28902 9105 263159874
2373 Net::IMAP::ResponseParse match 485344 563 273536106
2374 Redwood::IMAP make_id 28534 9985 284928748
2375 Net::IMAP::ResponseParse msg_att 28534 11423 325954315
2376 Array each 86883 3819 331861324
2377 Net::IMAP::ResponseParse numeric_response 28538 15239 434895984
2378 Net::IMAP::ResponseParse response_untagged 28551 17003 485460410
2379 Net::IMAP::ResponseParse response 28566 19149 547032919
2380 Net::IMAP::ResponseParse parse 28566 19233 549418654
2381 Net::IMAP get_response 28551 19922 568811230
2382
2383 I can send the complete result if needed. HTH.
2384
2385 BTW: it only took mutt half an hour to fetch all the mail headers.
2386
2387 - Jiang
2388
2389 From ismo@iki.fi Sat Dec 15 13:25:35 2007
2390 From: ismo@iki.fi (Ismo Puustinen)
2391 Date: Sat, 15 Dec 2007 20:25:35 +0200
2392 Subject: [sup-talk] Unit tests, part 2
2393 Message-ID: <1197741811-sup-1386@arlanda>
2394
2395 Hi,
2396
2397 I wrote one new unit test. The difference to previous tests is that
2398 this test actually currently fails: for some reason, dividing a
2399 message body into chunks doesn't succeed. The message in question
2400 is an actual email message sent to vim-mac mailing list; only
2401 the names and email addresses have been obscured. I selected the
2402 message for the tests because it kept crashing my sup-sync. :-)
2403
2404 As the previous unit tests haven't been accepted to the svn, I
2405 made a new patch of the whole "test" directory (attached). In order
2406 to run the tests, just say "rake test" in the source directory.
2407
2408 --
2409 Ismo Puustinen <ismo at iki.fi>
2410 -------------- next part --------------
2411 A non-text attachment was scrubbed...
2412 Name: tests-2.patch
2413 Type: application/octet-stream
2414 Size: 16127 bytes
2415 Desc: not available
2416 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071215/255e8466/attachment.obj
2417
2418 From wmorgan-sup@masanjin.net Sat Dec 15 14:25:45 2007
2419 From: wmorgan-sup@masanjin.net (William Morgan)
2420 Date: Sat, 15 Dec 2007 11:25:45 -0800
2421 Subject: [sup-talk] Using DTrace to profile sup-sync
2422 In-Reply-To: <ddd65cda0712150705j6543cbd9ud13d479708171223@mail.gmail.com>
2423 References: <ddd65cda0712150705j6543cbd9ud13d479708171223@mail.gmail.com>
2424 Message-ID: <1197745662-sup-1441@south>
2425
2426 Excerpts from Jjgod Jiang's message of Sat Dec 15 07:05:04 -0800 2007:
2427 > When I was trying to build index for my GMail account (which has 28525
2428 > mails in inbox) with sup-sync, I found the estimated finish time is
2429 > too long (24 hours) to accept. So I decided to use DTrace to do some
2430 > profiling work on sup-sync, and here is the result.
2431
2432 Thanks for the analysis! I am very interested in speeding up this sort
2433 of thing. However, it looks like the culprit here is the Ruby IMAP
2434 library, which presumably is so much slower than Mutt because it's Ruby.
2435
2436 So probably the only significant way to speed this up would be to use a
2437 different IMAP library. If there's a C IMAP library with a Ruby bridge,
2438 I'll consider hooking it in, but I don't know of one...
2439
2440 --
2441 William <wmorgan-sup at masanjin.net>
2442
2443 From wmorgan-sup@masanjin.net Sat Dec 15 14:38:43 2007
2444 From: wmorgan-sup@masanjin.net (William Morgan)
2445 Date: Sat, 15 Dec 2007 11:38:43 -0800
2446 Subject: [sup-talk] Using DTrace to profile sup-sync
2447 In-Reply-To: <1197745662-sup-1441@south>
2448 References: <ddd65cda0712150705j6543cbd9ud13d479708171223@mail.gmail.com>
2449 <1197745662-sup-1441@south>
2450 Message-ID: <1197747488-sup-7714@south>
2451
2452 Oh, the other difference between what sup-sync does and what Mutt does
2453 is that sup-sync downloads the entire content of the message, parses it
2454 for text regions, and stores those in the Ferret index. That's
2455 significantly more work than just downloading the headers, though I
2456 don't know how much that accounts for the difference in speed.
2457
2458 --
2459 William <wmorgan-sup at masanjin.net>
2460
2461 From wmorgan-sup@masanjin.net Sat Dec 15 16:04:10 2007
2462 From: wmorgan-sup@masanjin.net (William Morgan)
2463 Date: Sat, 15 Dec 2007 13:04:10 -0800
2464 Subject: [sup-talk] Using DTrace to profile sup-sync
2465 In-Reply-To: <ddd65cda0712150705j6543cbd9ud13d479708171223@mail.gmail.com>
2466 References: <ddd65cda0712150705j6543cbd9ud13d479708171223@mail.gmail.com>
2467 Message-ID: <1197751337-sup-8140@south>
2468
2469 Excerpts from Jjgod Jiang's message of Sat Dec 15 07:05:04 -0800 2007:
2470 > When I was trying to build index for my GMail account (which has 28525
2471 > mails in inbox) with sup-sync, I found the estimated finish time is
2472 > too long (24 hours) to accept.
2473
2474 Actually, large IMAP folders will always present a significant problem
2475 for Sup, because IMAP sucks balls. Short story: Sup has to *always*
2476 download the headers of the entire mailbox in order to function
2477 correctly. So every time you start up Sup you're going to be sitting
2478 there, waiting for that to happen, before you can do anything with your
2479 IMAP messages.
2480
2481 Long story: This is because IMAP provides no way of getting a
2482 consistent, cross-session identifier for a single message, which is
2483 what Sup needs to retrieve message content when you view a thread. You
2484 can read more about why IMAP's UID is useless.
2485
2486 (Actually, what Sup really needs is a unique, cross-session identifier
2487 for messages, which increments as messages get newer, so that it can
2488 tell when new messages have appeared in the inbox. In case you were
2489 wondering, the IMAP \Recent flag is useless for this.)
2490
2491 So, to get around this, Sup has to construct its own unique message id,
2492 based on the size and the internal date of the message. It then maps
2493 this internal id into the server's message id, and can finally both
2494 retrieve any message in the index from the server, and can check for new
2495 messages since the last time it connected to the server.
2496
2497 So, if you really have a large IMAP account that you want to index with
2498 Sup, the solution is to convert it to mbox. That will solve all your
2499 problems. Don't blame Sup, blame IMAP.
2500
2501 --
2502 William <wmorgan-sup at masanjin.net>
2503
2504 From ismo@iki.fi Sat Dec 15 18:27:59 2007
2505 From: ismo@iki.fi (Ismo Puustinen)
2506 Date: Sun, 16 Dec 2007 01:27:59 +0200
2507 Subject: [sup-talk] Feature suggestion for hooks
2508 Message-ID: <1197760360-sup-5935@arlanda>
2509
2510 Hi,
2511
2512 I have a small script that works as a biff-like new mail indicator.
2513 The script would need as input the amount of unread mail in the
2514 inbox. The problem is that the after-poll hook apparently has no
2515 way of knowing how much unread mail there currenly is -- it only
2516 knows the number added during this poll. I think that after-poll
2517 is the only non-interactive place where the number of total unread
2518 mail might change. Would it be possible to add that number as an
2519 internal variable to be accessible from the after-poll hook?
2520
2521 An even better option might be to add these computationally
2522 intensive operations to an internal API that would be callable from
2523 the hooks. This way the variables would not need to be computed
2524 if the hook didn't need them.
2525
2526 --
2527 Ismo Puustinen <ismo at iki.fi>
2528
2529 From marcus-sup@bar-coded.net Mon Dec 17 15:26:49 2007
2530 From: marcus-sup@bar-coded.net (Marcus Williams)
2531 Date: Mon, 17 Dec 2007 20:26:49 +0000
2532 Subject: [sup-talk] Bug: snippets incorrect
2533 Message-ID: <1197923078-sup-146@tomsk>
2534
2535 Hi -
2536
2537 I'm finding the snippets arent updating correctly in the latest svn -
2538 a new message coming in gets an empty snippet initially but when you
2539 view it, it updates to the correct snippet.
2540
2541 Also replies to messages arent showing in the snippet until you look
2542 at the thread. Is this just on mine or is anyone else seeing this?
2543
2544 Marcus
2545
2546 From wmorgan-sup@masanjin.net Tue Dec 18 02:24:52 2007
2547 From: wmorgan-sup@masanjin.net (William Morgan)
2548 Date: Mon, 17 Dec 2007 23:24:52 -0800
2549 Subject: [sup-talk] from svn to git
2550 Message-ID: <1197962354-sup-8779@south>
2551
2552 Hi all,
2553
2554 I've moved development of Sup from subversion to git. Although this is
2555 somewhat experimental on my part (I'm still figuring out git), I think
2556 it will help things in the long run. In the worst case it will be easier
2557 for you to maintain your own patchsets when I'm not moving fast enough
2558 for you. :)
2559
2560 To keep up with the head:
2561 git clone git://repo.or.cz/sup.git (was: svn checkout ...)
2562 git pull (was: svn update)
2563
2564 --
2565 William <wmorgan-sup at masanjin.net>
2566
2567 From nicolas.pouillard@gmail.com Tue Dec 18 04:36:47 2007
2568 From: nicolas.pouillard@gmail.com (Nicolas Pouillard)
2569 Date: Tue, 18 Dec 2007 10:36:47 +0100
2570 Subject: [sup-talk] from svn to git
2571 In-Reply-To: <1197962354-sup-8779@south>
2572 References: <1197962354-sup-8779@south>
2573 Message-ID: <1197970598-sup-7985@ausone.inria.fr>
2574
2575 Excerpts from William Morgan's message of Tue Dec 18 08:24:52 +0100 2007:
2576 > Hi all,
2577 Hi,
2578
2579 > I've moved development of Sup from subversion to git. Although this is
2580 > somewhat experimental on my part (I'm still figuring out git), I think
2581 > it will help things in the long run. In the worst case it will be easier
2582 > for you to maintain your own patchsets when I'm not moving fast enough
2583 > for you. :)
2584 >
2585 > To keep up with the head:
2586 > git clone git://repo.or.cz/sup.git (was: svn checkout ...)
2587 > git pull (was: svn update)
2588
2589 Nice move! However have you looked at darcs[1]? It's even better IMHO, it's
2590 smarter, smaller and a lot more easy to understand.
2591
2592 I maintain a sup darcs repository [2] based on regularly importing the svn.
2593
2594 Best regards,
2595
2596 [1]: http://darcs.net
2597 [2]: darcs get --set-scripts-executable http://darcs.feydakins.org/mirror/sup
2598
2599 --
2600 Nicolas Pouillard aka Ertai
2601
2602 From wmorgan-sup@masanjin.net Tue Dec 18 04:38:54 2007
2603 From: wmorgan-sup@masanjin.net (William Morgan)
2604 Date: Tue, 18 Dec 2007 01:38:54 -0800
2605 Subject: [sup-talk] Bug: snippets incorrect
2606 In-Reply-To: <1197923078-sup-146@tomsk>
2607 References: <1197923078-sup-146@tomsk>
2608 Message-ID: <1197970680-sup-8193@south>
2609
2610 Excerpts from Marcus Williams's message of Mon Dec 17 12:26:49 -0800 2007:
2611 > I'm finding the snippets arent updating correctly in the latest svn -
2612 > a new message coming in gets an empty snippet initially but when you
2613 > view it, it updates to the correct snippet.
2614 >
2615 > Also replies to messages arent showing in the snippet until you look
2616 > at the thread. Is this just on mine or is anyone else seeing this?
2617
2618 Whoops, the GPG changes caused this. Should be fixed in s... er, git.
2619
2620 --
2621 William <wmorgan-sup at masanjin.net>
2622
2623 From marcus-sup@bar-coded.net Tue Dec 18 04:49:57 2007
2624 From: marcus-sup@bar-coded.net (Marcus Williams)
2625 Date: Tue, 18 Dec 2007 09:49:57 +0000
2626 Subject: [sup-talk] from svn to git
2627 In-Reply-To: <1197962354-sup-8779@south>
2628 References: <1197962354-sup-8779@south>
2629 Message-ID: <1197971300-sup-5813@tomsk>
2630
2631 On 18.12.2007, William Morgan wrote:
2632 > I've moved development of Sup from subversion to git. Although this is
2633 > somewhat experimental on my part (I'm still figuring out git), I think
2634 > it will help things in the long run. In the worst case it will be easier
2635 > for you to maintain your own patchsets when I'm not moving fast enough
2636 > for you. :)
2637
2638 Excellent - been playing with git for a while and loving it. Moving my
2639 patchset across now!
2640
2641 Marcus
2642
2643 From grant@antiflux.org Tue Dec 18 09:40:19 2007
2644 From: grant@antiflux.org (Grant Hollingworth)
2645 Date: Tue, 18 Dec 2007 09:40:19 -0500
2646 Subject: [sup-talk] from svn to git
2647 In-Reply-To: <1197962354-sup-8779@south>
2648 References: <1197962354-sup-8779@south>
2649 Message-ID: <1197988782-sup-5665@spooky.local>
2650
2651 Excerpts from William Morgan's message of Tue Dec 18 02:24:52 -0500 2007:
2652 > I've moved development of Sup from subversion to git.
2653
2654 Nice. Procrastinating about setting up git-svn pays off!
2655
2656 From wmorgan-sup@masanjin.net Tue Dec 18 12:40:38 2007
2657 From: wmorgan-sup@masanjin.net (William Morgan)
2658 Date: Tue, 18 Dec 2007 09:40:38 -0800
2659 Subject: [sup-talk] from svn to git
2660 In-Reply-To: <1197970598-sup-7985@ausone.inria.fr>
2661 References: <1197962354-sup-8779@south> <1197970598-sup-7985@ausone.inria.fr>
2662 Message-ID: <1197997488-sup-6128@south>
2663
2664 Excerpts from nicolas.pouillard's message of Tue Dec 18 01:36:47 -0800 2007:
2665 > Nice move! However have you looked at darcs[1]? It's even better
2666 > IMHO, it's smarter, smaller and a lot more easy to understand.
2667 >
2668 > I maintain a sup darcs repository [2] based on regularly importing the
2669 > svn.
2670
2671 I've actually fantasized about darcs for quite a while (e.g., [1]). I'm
2672 convinced it's better than git in most ways. But the alterior motive
2673 here is for me to get enough experience to introduce something at work,
2674 and darcs's conflict resolution bug pretty much negated that for me. Git
2675 also has going for it its pace of development, operational speed, and
2676 the existence of large, high-profile projects managed by it, which are
2677 really what will convince the crusty neophobe engineers I work with.
2678
2679 The upcoming Darcs 2 [2] may very well fix everything. But in the mean
2680 time, the existence of git-hunk-commit --darcs [3] makes daily git usage
2681 approach tolerability, although I do hold my nose.
2682
2683 [1] http://www.mail-archive.com/darcs-users at darcs.net/msg03431.html
2684 [2] http://article.gmane.org/gmane.comp.lang.haskell.cafe/33159
2685 [3] http://thread.gmane.org/gmane.comp.version-control.git/41033
2686
2687 --
2688 William <wmorgan-sup at masanjin.net>
2689
2690 From nicolas.pouillard@gmail.com Tue Dec 18 14:42:55 2007
2691 From: nicolas.pouillard@gmail.com (Nicolas Pouillard)
2692 Date: Tue, 18 Dec 2007 20:42:55 +0100
2693 Subject: [sup-talk] from svn to git
2694 In-Reply-To: <1197997488-sup-6128@south>
2695 References: <1197962354-sup-8779@south> <1197970598-sup-7985@ausone.inria.fr>
2696 <1197997488-sup-6128@south>
2697 Message-ID: <1198006000-sup-4146@ausone.local>
2698
2699 Excerpts from William Morgan's message of Tue Dec 18 18:40:38 +0100 2007:
2700 > Excerpts from nicolas.pouillard's message of Tue Dec 18 01:36:47 -0800 2007:
2701 > > Nice move! However have you looked at darcs[1]? It's even better
2702 > > IMHO, it's smarter, smaller and a lot more easy to understand.
2703 > >
2704 > > I maintain a sup darcs repository [2] based on regularly importing the
2705 > > svn.
2706 >
2707 > I've actually fantasized about darcs for quite a while (e.g., [1]). I'm
2708 > convinced it's better than git in most ways. But the alterior motive
2709 > here is for me to get enough experience to introduce something at work,
2710 > and darcs's conflict resolution bug pretty much negated that for me.
2711
2712 The conflict resolution bug seems pretty hard at a first look. The good news
2713 is that Darcs 2 is almost there (pre-released a few days ago) and don't
2714 suffer from this bug.
2715
2716 However most of the time you can avoid resolving conflicts by don't allowing
2717 conflicts in the main repository.
2718
2719 This is a very practical way (that I use) as far as you don't have two public
2720 forks of a same project (i.e. you publish conflicts and conflict resolutions).
2721
2722 > Git also has going for it its pace of development, operational speed, and
2723 > the existence of large, high-profile projects managed by it, which are
2724 > really what will convince the crusty neophobe engineers I work with.
2725
2726 I agree with you on this expect the fact that git is a lot more complex to
2727 get and then is not a pace of development during the learning time.
2728
2729 > The upcoming Darcs 2 [2] may very well fix everything. But in the mean
2730 > time, the existence of git-hunk-commit --darcs [3] makes daily git usage
2731 > approach tolerability, although I do hold my nose.
2732
2733 Darcs is a lot more than just having a nice interactive user interface.
2734
2735 Best regards,
2736 --
2737 Nicolas Pouillard aka Ertai
2738
2739 From wmorgan-sup@masanjin.net Tue Dec 18 15:14:16 2007
2740 From: wmorgan-sup@masanjin.net (William Morgan)
2741 Date: Tue, 18 Dec 2007 12:14:16 -0800
2742 Subject: [sup-talk] from svn to git
2743 In-Reply-To: <1197988782-sup-5665@spooky.local>
2744 References: <1197962354-sup-8779@south> <1197988782-sup-5665@spooky.local>
2745 Message-ID: <1198008753-sup-2245@south>
2746
2747 Excerpts from Grant Hollingworth's message of Tue Dec 18 06:40:19 -0800 2007:
2748 > Excerpts from William Morgan's message of Tue Dec 18 02:24:52 -0500 2007:
2749 > > I've moved development of Sup from subversion to git.
2750 >
2751 > Nice. Procrastinating about setting up git-svn pays off!
2752
2753 Procrastination pays! I used git-svn to convert the history over and it
2754 really wasn't bad at all. Everything worked perfectly.
2755
2756 --
2757 William <wmorgan-sup at masanjin.net>
2758
2759 From wmorgan-sup@masanjin.net Tue Dec 18 23:36:26 2007
2760 From: wmorgan-sup@masanjin.net (William Morgan)
2761 Date: Tue, 18 Dec 2007 20:36:26 -0800
2762 Subject: [sup-talk] Feature suggestion for hooks
2763 In-Reply-To: <1197760360-sup-5935@arlanda>
2764 References: <1197760360-sup-5935@arlanda>
2765 Message-ID: <1198038876-sup-2579@south>
2766
2767 Excerpts from Ismo Puustinen's message of Sat Dec 15 15:27:59 -0800 2007:
2768 > I have a small script that works as a biff-like new mail indicator.
2769 > The script would need as input the amount of unread mail in the
2770 > inbox. The problem is that the after-poll hook apparently has no
2771 > way of knowing how much unread mail there currenly is -- it only
2772 > knows the number added during this poll.
2773
2774 I've added a num_inbox_total_unread variable to the after-poll hook.
2775
2776 > An even better option might be to add these computationally intensive
2777 > operations to an internal API that would be callable from the hooks.
2778 > This way the variables would not need to be computed if the hook
2779 > didn't need them.
2780
2781 The hook system supports this though its "variables" already---passed in
2782 variables can be lambdas which are not evaluated unless needed (and then
2783 they're cached). I do this for the above, although it's not really an
2784 expensive operation thanks to Ferret.
2785
2786 --
2787 William <wmorgan-sup at masanjin.net>
2788
2789 From wmorgan-sup@masanjin.net Tue Dec 18 23:38:33 2007
2790 From: wmorgan-sup@masanjin.net (William Morgan)
2791 Date: Tue, 18 Dec 2007 20:38:33 -0800
2792 Subject: [sup-talk] Using DTrace to profile sup-sync
2793 In-Reply-To: <1197751337-sup-8140@south>
2794 References: <ddd65cda0712150705j6543cbd9ud13d479708171223@mail.gmail.com>
2795 <1197751337-sup-8140@south>
2796 Message-ID: <1198038994-sup-3413@south>
2797
2798 Excerpts from William Morgan's message of Sat Dec 15 13:04:10 -0800 2007:
2799 > Actually, large IMAP folders will always present a significant problem
2800 > for Sup, because IMAP sucks balls. Short story: Sup has to *always*
2801 > download the headers of the entire mailbox in order to function
2802 > correctly. So every time you start up Sup you're going to be sitting
2803 > there, waiting for that to happen, before you can do anything with
2804 > your IMAP messages.
2805
2806 It might be possible for this not to be the case for well-behaved IMAP
2807 clients, i.e. those that don't change UIDVALIDITY often. If I store the
2808 UIDs directly, then no header pull would be necessary, but a change in
2809 UIDVALIDITY would require a full rescan a la sup-sync --changed.
2810
2811 --
2812 William <wmorgan-sup at masanjin.net>
2813
2814 From wmorgan-sup@masanjin.net Tue Dec 18 23:45:01 2007
2815 From: wmorgan-sup@masanjin.net (William Morgan)
2816 Date: Tue, 18 Dec 2007 20:45:01 -0800
2817 Subject: [sup-talk] imap-related crash
2818 In-Reply-To: <1197628329-sup-723@silver>
2819 References: <1197628329-sup-723@silver>
2820 Message-ID: <1198039479-sup-4021@south>
2821
2822 Excerpts from Ian Taylor's message of Fri Dec 14 02:34:16 -0800 2007:
2823 > /usr/lib/ruby/1.8/net/imap.rb:932:in `close': closed stream (IOError)
2824 > from /usr/lib/ruby/1.8/net/imap.rb:932:in `receive_responses'
2825 > from /usr/lib/ruby/1.8/net/imap.rb:923:in `initialize'
2826 > from /usr/lib/ruby/1.8/net/imap.rb:922:in `start'
2827 > from /usr/lib/ruby/1.8/net/imap.rb:922:in `initialize'
2828 > from /var/lib/gems/1.8/gems/sup-0.3/lib/sup/imap.rb:221:in `new'
2829 > from /var/lib/gems/1.8/gems/sup-0.3/lib/sup/imap.rb:221:in `unsafe_connect'
2830 > from /var/lib/gems/1.8/gems/sup-0.3/lib/sup/imap.rb:218:in `initialize'
2831 > from /var/lib/gems/1.8/gems/sup-0.3/lib/sup/imap.rb:218:in `new'
2832
2833 Bizarre. Those lines are definitely in the context of a "rescue
2834 Exception" block. Typically when something nonsensical like this
2835 happens, it's because Net::IMAP is playing with threads and exceptions,
2836 but it's hard to figure out without the full exception.
2837
2838 So, I don't have a good answer for this...
2839
2840 --
2841 William <wmorgan-sup at masanjin.net>
2842
2843 From gzjjgod@gmail.com Fri Dec 14 15:55:02 2007
2844 From: gzjjgod@gmail.com (Jjgod Jiang)
2845 Date: Sat, 15 Dec 2007 04:55:02 +0800
2846 Subject: [sup-talk] Using sup-config to add a GMail account as source
2847 Message-ID: <ddd65cda0712141255j3fe71c0ajd2fa5f92b3c75667@mail.gmail.com>
2848
2849 Hi,
2850
2851 What's wrong with the IMAP server address I entered? It seemed correct to me.
2852
2853 What is the IMAP server (host, or host:port notation)? (enter for
2854 "imap.gmail.com"): imap.gmail.com:993
2855 What's the folder path? (enter for "INBOX"):
2856 Whoopsie! I couldn't build a URI from that: bad component(expected
2857 host component): imap.gmail.com:993
2858 Try again? (enter for "n"):
2859
2860 I installed sup 0.3 via gem.
2861
2862 - Jiang
2863
2864 From kingshivan@gmail.com Wed Dec 19 06:50:14 2007
2865 From: kingshivan@gmail.com (shivan)
2866 Date: Wed, 19 Dec 2007 12:50:14 +0100
2867 Subject: [sup-talk] various problems/questions.
2868 Message-ID: <1e5fdab70712190350s7b11a21do5dd1cffa1f89e2e4@mail.gmail.com>
2869
2870 Hi, as the title says, I have some problems/questions, so, here they are.
2871
2872 I find sup pretty slow : if I lanch sup, archive every mail presented
2873 to me (53) and exit, it takes roughly 7 seconds to save the changes,
2874 is this expected ?
2875 I use an mbox source (gmail account via mpop) and there are 26000
2876 mails in index, I'm on Ubuntu 8.04
2877
2878 I thought it could be because most of the mail are in the inbox, so I
2879 tried to archive them, which led me to the problem : how to do it ?
2880 I tried "ruby -Ilib bin/sup-sync --all --archive" which lasted 17
2881 minutes, but didn't seem to do anything.
2882
2883 I also have warning during the sup-sync command :
2884 [Wed Dec 19 12:39:19 +0100 2007] warning: error
2885 (Iconv::InvalidEncoding) decoding message body from unicode-1-1-utf-7:
2886 invalid encoding ("UTF-8//IGNORE", "unicode-1-1-utf-7")
2887 any idea ?
2888
2889 and it seems to be "faking message-id for message from : sup-faked-"
2890 alot, is that normal, or is my source the problem ?
2891
2892 thank you for reading :-)
2893
2894 --
2895 shivan
2896
2897 From wmorgan-sup@masanjin.net Wed Dec 19 21:54:59 2007
2898 From: wmorgan-sup@masanjin.net (William Morgan)
2899 Date: Wed, 19 Dec 2007 18:54:59 -0800
2900 Subject: [sup-talk] various problems/questions.
2901 In-Reply-To: <1e5fdab70712190350s7b11a21do5dd1cffa1f89e2e4@mail.gmail.com>
2902 References: <1e5fdab70712190350s7b11a21do5dd1cffa1f89e2e4@mail.gmail.com>
2903 Message-ID: <1198119270-sup-3635@south>
2904
2905 Excerpts from kingshivan's message of Wed Dec 19 03:50:14 -0800 2007:
2906 > I find sup pretty slow : if I lanch sup, archive every mail presented
2907 > to me (53) and exit, it takes roughly 7 seconds to save the changes,
2908 > is this expected ?
2909
2910 Saving state back to disk is slow, mainly because Ferret (the underlying
2911 search engine) doesn't have a modify command; it only has delete and
2912 add. Since the message body is not stored explicitly in the index, this
2913 requires loading the entire message, parsing it, etc. for every single
2914 label change.
2915
2916 > I thought it could be because most of the mail are in the inbox, so I
2917 > tried to archive them, which led me to the problem : how to do it ? I
2918 > tried "ruby -Ilib bin/sup-sync --all --archive" which lasted 17
2919 > minutes, but didn't seem to do anything.
2920
2921 Sup-sync is for syncing the index with a particular source. It's not the
2922 right tool for the job here. Actually there is no right tool for this
2923 job yet, so I will add one. (It is possible to do this currently with
2924 the development console, but there should be a better way.)
2925
2926 > I also have warning during the sup-sync command :
2927 > [Wed Dec 19 12:39:19 +0100 2007] warning: error
2928 > (Iconv::InvalidEncoding) decoding message body from unicode-1-1-utf-7:
2929 > invalid encoding ("UTF-8//IGNORE", "unicode-1-1-utf-7")
2930 > any idea ?
2931
2932 That just means you have a message with a weird encoding. No harm done,
2933 we just use it unconverted.
2934
2935 > and it seems to be "faking message-id for message from : sup-faked-"
2936 > alot, is that normal, or is my source the problem ?
2937
2938 That means you have some email without (required!) message-id headers.
2939 Typically these are the output of a mail client or mail script that was
2940 written by incompetents.
2941
2942 --
2943 William <wmorgan-sup at masanjin.net>
2944
2945 From wmorgan-sup@masanjin.net Wed Dec 19 21:59:59 2007
2946 From: wmorgan-sup@masanjin.net (William Morgan)
2947 Date: Wed, 19 Dec 2007 18:59:59 -0800
2948 Subject: [sup-talk] various problems/questions.
2949 In-Reply-To: <1198119270-sup-3635@south>
2950 References: <1e5fdab70712190350s7b11a21do5dd1cffa1f89e2e4@mail.gmail.com>
2951 <1198119270-sup-3635@south>
2952 Message-ID: <1198119511-sup-4414@south>
2953
2954 Excerpts from William Morgan's message of Wed Dec 19 18:54:59 -0800 2007:
2955 > Sup-sync is for syncing the index with a particular source. It's not
2956 > the right tool for the job here. Actually there is no right tool for
2957 > this job yet, so I will add one. (It is possible to do this currently
2958 > with the development console, but there should be a better way.)
2959
2960 I've added a bin/sup-tweak-labels script to git, which allows adding to
2961 or removing labels from all messages for a given source. This should be
2962 directly applicable to this type of problem.
2963
2964 --
2965 William <wmorgan-sup at masanjin.net>
2966
2967 From wmorgan-sup@masanjin.net Fri Dec 21 13:23:58 2007
2968 From: wmorgan-sup@masanjin.net (William Morgan)
2969 Date: Fri, 21 Dec 2007 10:23:58 -0800
2970 Subject: [sup-talk] Contact Manager and fullname aliasing
2971 In-Reply-To: <6205b42d0711241038j3f1b75e6s3ad7a2d7f4d5b316@mail.gmail.com>
2972 References: <6205b42d0711220057l79ecc2ect6c4a29dc5efff4ef@mail.gmail.com>
2973 <1195843961-sup-2106@south>
2974 <6205b42d0711241038j3f1b75e6s3ad7a2d7f4d5b316@mail.gmail.com>
2975 Message-ID: <1198260936-sup-7657@south>
2976
2977 Hi Pierre,
2978
2979 Excerpts from Pierre Baillet's message of Sat Nov 24 10:38:49 -0800 2007:
2980 > This is my first implementation. Interestingly enough, most of the
2981 > code modified is in person.rb because this class already seems to
2982 > store the full name of contacts.
2983
2984 Sorry for sitting on this for so long. After reviewing the patch I think
2985 I lead you down the wrong path by suggesting an array. I've just pushed
2986 a changeset based on your patch which accomplishes the same thing (empty
2987 contact aliases are allowed, and contact names can be edited) while
2988 still maintaining the mapping in two hashtables.
2989
2990 In contact-list-mode editing a contact is bound to both 'a' and 'i', but
2991 in thread-view-mode it's bound to 'i' only because people fought long
2992 and hard for 'a' to act as archive-and-kill-buffer.
2993
2994 Contacts whose name is edited but don't have an alias are still stored
2995 in contacts.txt, and anything there overrides what's found in the name
2996 cache. So there's currently no way to remove someone from there except
2997 by editing the file by hand, but there's not much of a reason to remove
2998 someone anyways.
2999
3000 Check it out and let me know what you think.
3001
3002 --
3003 William <wmorgan-sup at masanjin.net>
3004
3005 From wmorgan-sup@masanjin.net Sat Dec 22 19:45:54 2007
3006 From: wmorgan-sup@masanjin.net (William Morgan)
3007 Date: Sat, 22 Dec 2007 16:45:54 -0800
3008 Subject: [sup-talk] [PATCH] More gmail search goodness
3009 In-Reply-To: <1196202259-sup-7348@tomsk>
3010 References: <1196202259-sup-7348@tomsk>
3011 Message-ID: <1198367430-sup-936@south>
3012
3013 Excerpts from Marcus Williams's message of Tue Nov 27 14:34:02 -0800 2007:
3014 > Simple patch attached. Adds the "during" operator to the date searches
3015 > so you can say during:today or during:november.
3016
3017 Applied as is. Thanks!
3018
3019 > The last two required changing the return value to a list/pair in
3020 > parse_user_string_query and I'm not sure what the best way to do this
3021 > in ruby is. For now its a simple list.
3022
3023 That's the right way.
3024
3025 > Also is there a better way to deal with a nil result other than
3026 > returning [nil,nil]?
3027
3028 You can just return nil.
3029
3030 > I figured you'd never want to search killed threads... and it made the
3031 > patch nastier because of the :skip_killed flag.
3032
3033 Actually, by default, killed threads are always searched. It's only in
3034 inbox-mode that you don't want to see them.
3035
3036 > I'd like to add a has:attachment operator but the ferret index doesnt
3037 > appear to store enough info for this. It would be really nice to be
3038 > able to search for attachments (of certain types as well with
3039 > filename:...) I took a look at extending the index to add a new field
3040 > "filename" that contains a list of filenames attached to a message,
3041 > but this would break everyones index so I'm just requesting it as a
3042 > wishlist item rather than submitting a patch.
3043
3044 You're right, it requires adding an attachment field to the index. I
3045 think that adding a field to the Ferret index doesn't break index
3046 compatibility, so this actually might not be too hard to do. You'll have
3047 to rebuild the index to fill in the attachment status for pre-existing
3048 messages, but the change wouldn't invalidate anyone's index.
3049
3050 --
3051 William <wmorgan-sup at masanjin.net>
3052
3053 From wmorgan-sup@masanjin.net Wed Dec 26 16:52:08 2007
3054 From: wmorgan-sup@masanjin.net (William Morgan)
3055 Date: Wed, 26 Dec 2007 13:52:08 -0800
3056 Subject: [sup-talk] Searching into spams...
3057 In-Reply-To: <1197401210-sup-7326@ausone.local>
3058 References: <1197401210-sup-7326@ausone.local>
3059 Message-ID: <1198705517-sup-1980@south>
3060
3061 Excerpts from nicolas.pouillard's message of Tue Dec 11 11:31:40 -0800 2007:
3062 > It happens that spams are shown when hitting "L" then "Spam" but not
3063 > when searching for label:spam (looking at the code tells me the same).
3064 >
3065 > Would it be possible to make it works also in the case where one use
3066 > label:spam?
3067
3068 I've pushed a change for this to the master branch. The solution was
3069 more interesting than you'd expect. Read the comments in
3070 b2d78427be803808497aca1a8fcf868e3c778e0e if you're interested. :)
3071
3072 --
3073 William <wmorgan-sup at masanjin.net>
3074
3075 From wmorgan-sup@masanjin.net Thu Dec 27 13:50:26 2007
3076 From: wmorgan-sup@masanjin.net (William Morgan)
3077 Date: Thu, 27 Dec 2007 10:50:26 -0800
3078 Subject: [sup-talk] mailcap for os x
3079 In-Reply-To: <1196351498-sup-4803@spooky.local>
3080 References: <1196351498-sup-4803@spooky.local>
3081 Message-ID: <1198781360-sup-2193@south>
3082
3083 Excerpts from Grant Hollingworth's message of Thu Nov 29 08:22:10 -0800 2007:
3084 > run-mailcap(1), which sup uses to view attachments, doesn't exist on
3085 > OS X.
3086 >
3087 > I used the mime-decode hook to monkey patch Attachment.view! to also
3088 > use the mime-decode hook. A case statement works as a pretty good
3089 > replacement for my simple .mailcap.
3090
3091 Hi Grant,
3092
3093 I'd willingly accept a patch to hook into Attachment#view! and allow
3094 overriding of the default run-mailcap behavior.
3095
3096 --
3097 William <wmorgan-sup at masanjin.net>
3098
3099 From nicolas.pouillard@gmail.com Thu Dec 27 14:35:20 2007
3100 From: nicolas.pouillard@gmail.com (Nicolas Pouillard)
3101 Date: Thu, 27 Dec 2007 20:35:20 +0100
3102 Subject: [sup-talk] Searching into spams...
3103 In-Reply-To: <1198705517-sup-1980@south>
3104 References: <1197401210-sup-7326@ausone.local> <1198705517-sup-1980@south>
3105 Message-ID: <1198784108-sup-6836@ausone.local>
3106
3107 Excerpts from William Morgan's message of Wed Dec 26 22:52:08 +0100 2007:
3108 > Excerpts from nicolas.pouillard's message of Tue Dec 11 11:31:40 -0800 2007:
3109 > > It happens that spams are shown when hitting "L" then "Spam" but not
3110 > > when searching for label:spam (looking at the code tells me the same).
3111 > >
3112 > > Would it be possible to make it works also in the case where one use
3113 > > label:spam?
3114 >
3115 > I've pushed a change for this to the master branch. The solution was
3116 > more interesting than you'd expect. Read the comments in
3117 > b2d78427be803808497aca1a8fcf868e3c778e0e if you're interested. :)
3118
3119 Ok thanks.
3120
3121 --
3122 Nicolas Pouillard aka Ertai
3123
3124 From wmorgan-sup@masanjin.net Sun Dec 30 16:19:21 2007
3125 From: wmorgan-sup@masanjin.net (William Morgan)
3126 Date: Sun, 30 Dec 2007 13:19:21 -0800
3127 Subject: [sup-talk] new in git: dispatch-and-kill
3128 Message-ID: <1199049255-sup-120@south>
3129
3130 Finally, in thread-view-mode, you can dispatch the currently-viewed
3131 thread (archiving it, deleting it, marking it as spam, or nothing)
3132 and load the next thread from the originating thread-index-mode
3133 in one easy command.
3134
3135 The commands are: ",a", ",d", ",s", and ",n". Yes, this means that we
3136 finally have multi-key-sequence commands, which should help with the
3137 general problem of running out of letters to associate with commands.
3138 The previous thread-view-mode commands of "a" and "d" have been removed.
3139
3140 Let me know how it works for you,
3141
3142 --
3143 William <wmorgan-sup at masanjin.net>
3144
3145 From wmorgan-sup@masanjin.net Sun Dec 30 16:21:33 2007
3146 From: wmorgan-sup@masanjin.net (William Morgan)
3147 Date: Sun, 30 Dec 2007 13:21:33 -0800
3148 Subject: [sup-talk] Jumping directly to thread # X
3149 In-Reply-To: <1197444283-sup-4923@homeWork>
3150 References: <1197444283-sup-4923@homeWork>
3151 Message-ID: <1199049633-sup-9981@south>
3152
3153 Excerpts from Saji N Hameed's message of Tue Dec 11 23:30:46 -0800 2007:
3154 > It would be nice to have a keystroke to jump directly to any desired
3155 > thread. Right now one has to do several page up's or down's to select
3156 > a thread.
3157
3158 This shouldn't be too hard. Anyone else want this?
3159
3160 > Also while one is reading a message, it would be convenient to have a
3161 > key stroke that allows one to read the next thread in the list. I
3162 > guess I am supposed to do this using 'n' key stroke. However this
3163 > appears to be associated with search functionality.
3164
3165 ",n" should now work.
3166
3167 --
3168 William <wmorgan-sup at masanjin.net>
3169
3170 From ingmar.stdin@gmail.com Sun Dec 30 20:00:39 2007
3171 From: ingmar.stdin@gmail.com (Ingmar Vanhassel)
3172 Date: Mon, 31 Dec 2007 02:00:39 +0100
3173 Subject: [sup-talk] Backtrace with latest git
3174 Message-ID: <1199062549-sup-2436@indigo>
3175
3176 Hello,
3177
3178 At the risk of boring you to pieces: "thanks for sup! :-)".
3179 Finally a mail client that does what we want, how we want it.
3180
3181 As of latest git, I get a backtrace when I try to load more threads than
3182 what the initial buffer shows. Backtrace attached.
3183
3184 Thanks,
3185 Ingmar
3186 -------------- next part --------------
3187 A non-text attachment was scrubbed...
3188 Name: sup-backtrace-20071231.log
3189 Type: application/octet-stream
3190 Size: 3990 bytes
3191 Desc: not available
3192 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071231/7f881d0a/attachment.obj
3193
3194 From marcus-sup@bar-coded.net Mon Dec 31 09:34:27 2007
3195 From: marcus-sup@bar-coded.net (Marcus Williams)
3196 Date: Mon, 31 Dec 2007 14:34:27 +0000
3197 Subject: [sup-talk] Jumping directly to thread # X
3198 In-Reply-To: <1199049633-sup-9981@south>
3199 References: <1197444283-sup-4923@homeWork> <1199049633-sup-9981@south>
3200 Message-ID: <1199111229-sup-4097@tomsk>
3201
3202 On 30.12.2007, William Morgan wrote:
3203 > Excerpts from Saji N Hameed's message of Tue Dec 11 23:30:46 -0800 2007:
3204 > > It would be nice to have a keystroke to jump directly to any desired
3205 > > thread. Right now one has to do several page up's or down's to select
3206 > > a thread.
3207 >
3208 > This shouldn't be too hard. Anyone else want this?
3209
3210 .. if it was mapped to :<n> or something it might be nice and vi like
3211 :)
3212
3213 Cant see myself using it without also having an option to number the
3214 threads, by the time you've counted to the one you want you might as
3215 well have pressed down/up a few times. Equally if you're having to
3216 press up/down too many times then a search to restrict the threads to
3217 the set you're interested is usually better.
3218
3219 Marcus
3220
3221 From nicolas.pouillard@gmail.com Mon Dec 31 11:51:51 2007
3222 From: nicolas.pouillard@gmail.com (Nicolas Pouillard)
3223 Date: Mon, 31 Dec 2007 17:51:51 +0100
3224 Subject: [sup-talk] Jumping directly to thread # X
3225 In-Reply-To: <1199111229-sup-4097@tomsk>
3226 References: <1197444283-sup-4923@homeWork> <1199049633-sup-9981@south>
3227 <1199111229-sup-4097@tomsk>
3228 Message-ID: <1199119865-sup-4573@ausone.local>
3229
3230 Excerpts from Marcus Williams's message of Mon Dec 31 15:34:27 +0100 2007:
3231 > On 30.12.2007, William Morgan wrote:
3232 > > Excerpts from Saji N Hameed's message of Tue Dec 11 23:30:46 -0800 2007:
3233 > > > It would be nice to have a keystroke to jump directly to any desired
3234 > > > thread. Right now one has to do several page up's or down's to select
3235 > > > a thread.
3236 > >
3237 > > This shouldn't be too hard. Anyone else want this?
3238 >
3239 > .. if it was mapped to :<n> or something it might be nice and vi like
3240 > :)
3241
3242 +1 for :<command>
3243
3244 --
3245 Nicolas Pouillard aka Ertai
3246