community/pipermail-archives/sup-devel/2010-02.txt (136220B) - raw
1 From pi+sup@pihost.us Mon Feb 1 14:30:50 2010
2 From: pi+sup@pihost.us (Anthony Martinez)
3 Date: Mon, 1 Feb 2010 12:30:50 -0700
4 Subject: [sup-devel] [PATCH] in thread-view-mode,
5 doubling up on the multi-keys now DTRT
6 Message-ID: <1265052650-6641-1-git-send-email-pi+sup@pihost.us>
7
8 dot dot, comma comma, and bracket bracket now all "do nothing and"
9 whatever their prefixes mean.
10 ---
11 lib/sup/modes/thread-view-mode.rb | 6 ++++--
12 1 files changed, 4 insertions(+), 2 deletions(-)
13
14 diff --git a/lib/sup/modes/thread-view-mode.rb b/lib/sup/modes/thread-view-mode.rb
15 index 0e935a4..37c99c5 100644
16 --- a/lib/sup/modes/thread-view-mode.rb
17 +++ b/lib/sup/modes/thread-view-mode.rb
18 @@ -74,6 +74,7 @@ EOS
19 kk.add :delete_and_kill, "Delete this thread and kill buffer", 'd'
20 kk.add :spam_and_kill, "Mark this thread as spam and kill buffer", 's'
21 kk.add :unread_and_kill, "Mark this thread as unread and kill buffer", 'N'
22 + kk.add :do_nothing_and_kill, "Just kill this buffer", '.'
23 end
24
25 k.add_multi "(a)rchive/(d)elete/mark as (s)pam/mark as u(N)read/do (n)othing:", ',' do |kk|
26 @@ -81,7 +82,7 @@ EOS
27 kk.add :delete_and_next, "Delete this thread, kill buffer, and view next", 'd'
28 kk.add :spam_and_next, "Mark this thread as spam, kill buffer, and view next", 's'
29 kk.add :unread_and_next, "Mark this thread as unread, kill buffer, and view next", 'N'
30 - kk.add :do_nothing_and_next, "Kill buffer, and view next", 'n'
31 + kk.add :do_nothing_and_next, "Kill buffer, and view next", 'n', ','
32 end
33
34 k.add_multi "(a)rchive/(d)elete/mark as (s)pam/mark as u(N)read/do (n)othing:", ']' do |kk|
35 @@ -89,7 +90,7 @@ EOS
36 kk.add :delete_and_prev, "Delete this thread, kill buffer, and view previous", 'd'
37 kk.add :spam_and_prev, "Mark this thread as spam, kill buffer, and view previous", 's'
38 kk.add :unread_and_prev, "Mark this thread as unread, kill buffer, and view previous", 'N'
39 - kk.add :do_nothing_and_prev, "Kill buffer, and view previous", 'n'
40 + kk.add :do_nothing_and_prev, "Kill buffer, and view previous", 'n', ']'
41 end
42 end
43
44 @@ -508,6 +509,7 @@ EOS
45 def spam_and_kill; spam_and_then :kill end
46 def delete_and_kill; delete_and_then :kill end
47 def unread_and_kill; unread_and_then :kill end
48 + def do_nothing_and_kill; do_nothing_and_then :kill end
49
50 def archive_and_next; archive_and_then :next end
51 def spam_and_next; spam_and_then :next end
52 --
53 1.6.6
54
55
56 From sup-bugs@masanjin.net Tue Feb 2 17:02:59 2010
57 From: sup-bugs@masanjin.net (anonymous)
58 Date: Tue, 02 Feb 2010 22:02:59 +0000
59 Subject: [sup-devel] [issue60] Crash on sending a newly composed message
60 (ASCII-8BIT regexp with UTF-8 string)
61 In-Reply-To: <1265148179.27.0.521879651683.issue60@masanjin.net>
62 Message-ID: <1265148179.27.0.521879651683.issue60@masanjin.net>
63
64
65 New submission from anonymous:
66
67 It seems that when I compose a new message and try to send it sup crashes with
68 this error. I had it on two ocassions today. I don't even remember what the
69 first mail was about, the information is simply lost. The second case is
70 reproducable. Replying seems to work fine.
71
72 $ sup
73 which: no gpg in
74 (/bin:/usr/bin:/sbin:/usr/sbin:/opt/kde/bin:/usr/bin/perlbin/site:/usr/bin/perlb
75 in/vendor:/usr/bin/perlbin/core:/opt/qt/bin)
76 [2010-02-02 22:53:10 +0100] ERROR: oh crap, an exception
77 ----------------------------------------------------------------
78 I'm very sorry. It seems that an error occurred in Sup. Please
79 accept my sincere apologies. Please submit the contents of
80 /home/murks/.sup/exception-log.txt and a brief report of the
81 circumstances to http://masanjin.net/sup-bugs/ so that I might
82 address this problem. Thank you!
83
84 Sincerely,
85 William
86 ----------------------------------------------------------------
87 --- Encoding::CompatibilityError from thread: main
88 incompatible encoding regexp match (ASCII-8BIT regexp with UTF-8 string)
89 /usr/lib/ruby/gems/1.9.1/gems/sup-0.10.1/lib/sup/modes/edit-message-
90 mode.rb:205:in `match'
91 /usr/lib/ruby/gems/1.9.1/gems/sup-0.10.1/lib/sup/modes/edit-message-
92 mode.rb:205:in `match'
93 /usr/lib/ruby/gems/1.9.1/gems/sup-0.10.1/lib/sup/modes/edit-message-
94 mode.rb:205:in `mime_encode_address'
95 /usr/lib/ruby/gems/1.9.1/gems/sup-0.10.1/lib/sup/modes/edit-message-
96 mode.rb:374:in `block in build_message'
97 /usr/lib/ruby/gems/1.9.1/gems/sup-0.10.1/lib/sup/modes/edit-message-
98 mode.rb:369:in `each'
99 /usr/lib/ruby/gems/1.9.1/gems/sup-0.10.1/lib/sup/modes/edit-message-
100 mode.rb:369:in `build_message'
101 /usr/lib/ruby/gems/1.9.1/gems/sup-0.10.1/lib/sup/modes/edit-message-
102 mode.rb:322:in `send_message'
103 /usr/lib/ruby/gems/1.9.1/gems/sup-0.10.1/lib/sup/mode.rb:51:in `handle_input'
104 /usr/lib/ruby/gems/1.9.1/gems/sup-0.10.1/lib/sup/buffer.rb:270:in `handle_input'
105 /usr/lib/ruby/gems/1.9.1/gems/sup-0.10.1/bin/sup:270:in `<module:Redwood>'
106 /usr/lib/ruby/gems/1.9.1/gems/sup-0.10.1/bin/sup:64:in `<top (required)>'
107 /usr/bin/sup:19:in `load'
108 /usr/bin/sup:19:in `<main>'
109
110 ----------
111 files: exception-log.txt
112 messages: 147
113 nosy: anonymous
114 priority: bug
115 ruby_version: 1.9.1_p378
116 status: unread
117 sup_version: 0.10.1
118 title: Crash on sending a newly composed message (ASCII-8BIT regexp with UTF-8 string)
119
120 _________________________________________
121 Sup issue tracker <sup-bugs at masanjin.net>
122 <http://masanjin.net/sup-bugs/issue60>
123 _________________________________________
124 -------------- next part --------------
125 --- Encoding::CompatibilityError from thread: main
126 incompatible encoding regexp match (ASCII-8BIT regexp with UTF-8 string)
127 /usr/lib/ruby/gems/1.9.1/gems/sup-0.10.1/lib/sup/modes/edit-message-mode.rb:205:in `match'
128 /usr/lib/ruby/gems/1.9.1/gems/sup-0.10.1/lib/sup/modes/edit-message-mode.rb:205:in `match'
129 /usr/lib/ruby/gems/1.9.1/gems/sup-0.10.1/lib/sup/modes/edit-message-mode.rb:205:in `mime_encode_address'
130 /usr/lib/ruby/gems/1.9.1/gems/sup-0.10.1/lib/sup/modes/edit-message-mode.rb:374:in `block in build_message'
131 /usr/lib/ruby/gems/1.9.1/gems/sup-0.10.1/lib/sup/modes/edit-message-mode.rb:369:in `each'
132 /usr/lib/ruby/gems/1.9.1/gems/sup-0.10.1/lib/sup/modes/edit-message-mode.rb:369:in `build_message'
133 /usr/lib/ruby/gems/1.9.1/gems/sup-0.10.1/lib/sup/modes/edit-message-mode.rb:322:in `send_message'
134 /usr/lib/ruby/gems/1.9.1/gems/sup-0.10.1/lib/sup/mode.rb:51:in `handle_input'
135 /usr/lib/ruby/gems/1.9.1/gems/sup-0.10.1/lib/sup/buffer.rb:270:in `handle_input'
136 /usr/lib/ruby/gems/1.9.1/gems/sup-0.10.1/bin/sup:270:in `<module:Redwood>'
137 /usr/lib/ruby/gems/1.9.1/gems/sup-0.10.1/bin/sup:64:in `<top (required)>'
138 /usr/bin/sup:19:in `load'
139 /usr/bin/sup:19:in `<main>'
140
141 From sup-bugs@masanjin.net Wed Feb 3 11:06:43 2010
142 From: sup-bugs@masanjin.net (Peter Harkins)
143 Date: Wed, 03 Feb 2010 16:06:43 +0000
144 Subject: [sup-devel] [issue61] sup crashes if draft file missing
145 In-Reply-To: <1265213203.01.0.0861922015522.issue61@masanjin.net>
146 Message-ID: <1265213203.01.0.0861922015522.issue61@masanjin.net>
147
148
149 New submission from Peter Harkins <ph at malaprop.org>:
150
151 I started and stopped working on a message a few times and had leftover drafts
152 in ~/.sup/drafts that I rm'd. Or so I thought - apparently I was still working
153 on one of those. Now every time I try to open the thread, sup crashes with this
154 error:
155
156
157 [Wed Feb 03 09:59:44 -0600 2010] ERROR: oh crap, an exception
158 ----------------------------------------------------------------
159 I'm very sorry. It seems that an error occurred in Sup. Please
160 accept my sincere apologies. Please submit the contents of
161 /home/harkins/.sup/exception-log.txt and a brief report of the
162 circumstances to http://masanjin.net/sup-bugs/ so that I might
163 address this problem. Thank you!
164
165 Sincerely,
166 William
167 ----------------------------------------------------------------
168 --- Errno::ENOENT from thread: load messages for thread-view-mode
169 No such file or directory - /home/harkins/.sup/drafts/22
170 /home/harkins/.gems/gems/sup-0.10.2/lib/sup/draft.rb:78:in `initialize'
171 /home/harkins/.gems/gems/sup-0.10.2/lib/sup/draft.rb:78:in `open'
172 /home/harkins/.gems/gems/sup-0.10.2/lib/sup/draft.rb:78:in `load_message'
173 /home/harkins/.gems/gems/sup-0.10.2/lib/sup/util.rb:599:in `send'
174 /home/harkins/.gems/gems/sup-0.10.2/lib/sup/util.rb:599:in `__pass'
175 /home/harkins/.gems/gems/sup-0.10.2/lib/sup/util.rb:586:in `method_missing'
176 /home/harkins/.gems/gems/sup-0.10.2/lib/sup/message.rb:242:in `load_from_source!'
177 /home/harkins/.gems/gems/sup-0.10.2/lib/sup/modes/thread-index-mode.rb:108:in
178 `select'
179 /home/harkins/.gems/gems/sup-0.10.2/lib/sup/hook.rb:122:in `each_with_index'
180 /home/harkins/.gems/gems/sup-0.10.2/lib/sup/thread.rb:68:in `each'
181 /home/harkins/.gems/gems/sup-0.10.2/lib/sup/thread.rb:170:in `each_with_stuff'
182 /home/harkins/.gems/gems/sup-0.10.2/lib/sup/thread.rb:168:in `each_with_stuff'
183 /home/harkins/.gems/gems/sup-0.10.2/lib/sup/thread.rb:170:in `each_with_stuff'
184 /home/harkins/.gems/gems/sup-0.10.2/lib/sup/thread.rb:169:in `each'
185 /home/harkins/.gems/gems/sup-0.10.2/lib/sup/thread.rb:169:in `each_with_stuff'
186 /home/harkins/.gems/gems/sup-0.10.2/lib/sup/thread.rb:67:in `each'
187 /home/harkins/.gems/gems/sup-0.10.2/lib/sup/modes/thread-index-mode.rb:105:in
188 `each_with_index'
189 /home/harkins/.gems/gems/sup-0.10.2/lib/sup/modes/thread-index-mode.rb:105:in
190 `select'
191 /home/harkins/.gems/gems/sup-0.10.2/lib/sup/buffer.rb:719:in `say'
192 /home/harkins/.gems/gems/sup-0.10.2/lib/sup/util.rb:559:in `send'
193 /home/harkins/.gems/gems/sup-0.10.2/lib/sup/util.rb:559:in `method_missing'
194 /home/harkins/.gems/gems/sup-0.10.2/lib/sup/modes/thread-index-mode.rb:104:in
195 `select'
196 /home/harkins/.gems/gems/sup-0.10.2/lib/sup.rb:77:in `reporting_thread'
197 /home/harkins/.gems/gems/sup-0.10.2/lib/sup.rb:75:in `initialize'
198 /home/harkins/.gems/gems/sup-0.10.2/lib/sup.rb:75:in `new'
199 /home/harkins/.gems/gems/sup-0.10.2/lib/sup.rb:75:in `reporting_thread'
200 /home/harkins/.gems/gems/sup-0.10.2/lib/sup/modes/thread-index-mode.rb:101:in
201 `select'
202 /home/harkins/.gems/gems/sup-0.10.2/lib/sup/modes/thread-index-mode.rb:151:in
203 `launch_another_thread'
204 /home/harkins/.gems/gems/sup-0.10.2/lib/sup/modes/thread-index-mode.rb:133:in
205 `launch_next_thread_after'
206 /home/harkins/.gems/gems/sup-0.10.2/lib/sup/modes/thread-view-mode.rb:586:in
207 `dispatch'
208 /home/harkins/.gems/gems/sup-0.10.2/lib/sup/modes/thread-view-mode.rb:525:in
209 `archive_and_then'
210 /home/harkins/.gems/gems/sup-0.10.2/lib/sup/modes/thread-view-mode.rb:512:in
211 `archive_and_next'
212 /home/harkins/.gems/gems/sup-0.10.2/lib/sup/mode.rb:51:in `send'
213 /home/harkins/.gems/gems/sup-0.10.2/lib/sup/mode.rb:51:in `handle_input'
214 /home/harkins/.gems/gems/sup-0.10.2/lib/sup/buffer.rb:270:in `handle_input'
215 /home/harkins/.gems/gems/sup-0.10.2/bin/sup:270
216 /home/harkins/.gems/bin/sup:19:in `load'
217 /home/harkins/.gems/bin/sup:19
218
219 ----------
220 messages: 148
221 nosy: Harkins
222 priority: bug
223 ruby_version: 1.8.6
224 status: unread
225 sup_version: 0.10.2
226 title: sup crashes if draft file missing
227
228 _________________________________________
229 Sup issue tracker <sup-bugs at masanjin.net>
230 <http://masanjin.net/sup-bugs/issue61>
231 _________________________________________
232
233 From daniel.schoepe@googlemail.com Wed Feb 3 15:16:35 2010
234 From: daniel.schoepe@googlemail.com (Daniel Schoepe)
235 Date: Wed, 3 Feb 2010 21:16:35 +0100
236 Subject: [sup-devel] [PATCH] Add config option to limit text wrapping width
237 Message-ID: <1265228195-4063-1-git-send-email-daniel.schoepe@googlemail.com>
238
239 This patch adds a configuration `wrap_width' option to limit the width
240 text wrapping uses(e.g. to wrap after 80 characters).
241 ---
242 lib/sup.rb | 3 ++-
243 lib/sup/modes/thread-view-mode.rb | 7 ++++++-
244 2 files changed, 8 insertions(+), 2 deletions(-)
245
246 diff --git a/lib/sup.rb b/lib/sup.rb
247 index b9dc749..df85636 100644
248 --- a/lib/sup.rb
249 +++ b/lib/sup.rb
250 @@ -263,7 +263,8 @@ else
251 :discard_snippets_from_encrypted_messages => false,
252 :default_attachment_save_dir => "",
253 :sent_source => "sup://sent",
254 - :poll_interval => 300
255 + :poll_interval => 300,
256 + :wrap_width => 0
257 }
258 begin
259 FileUtils.mkdir_p Redwood::BASE_DIR
260 diff --git a/lib/sup/modes/thread-view-mode.rb b/lib/sup/modes/thread-view-mode.rb
261 index 0e935a4..e109a2d 100644
262 --- a/lib/sup/modes/thread-view-mode.rb
263 +++ b/lib/sup/modes/thread-view-mode.rb
264 @@ -792,7 +792,12 @@ private
265 if chunk.inlineable?
266 lines = chunk.lines
267 if @wrap
268 - width = buffer.content_width
269 + config_width = $config[:wrap_width]
270 + if config_width and config_width != 0
271 + width = [config_width, buffer.content_width].min
272 + else
273 + width = buffer.content_width
274 + end
275 lines = lines.map { |l| l.chomp.wrap width }.flatten
276 end
277 lines.map { |line| [[chunk.color, "#{prefix}#{line}"]] }
278 --
279 1.6.6.1
280
281
282 From tero@tilus.net Thu Feb 4 02:06:03 2010
283 From: tero@tilus.net (Tero Tilus)
284 Date: Thu, 04 Feb 2010 09:06:03 +0200
285 Subject: [sup-devel] [PATCH] I can haz moar hooks: attachment-mentioned,
286 index-mode-date-widget
287 In-Reply-To: <1264123657-sup-4929@tilus.net>
288 References: <1261167840-sup-592@orion> <1261179239-sup-9258@tilus.net>
289 <1261246334-sup-1438@masanjin.net> <1261276156-sup-5510@tilus.net>
290 <1261402666-sup-8068@masanjin.net> <1264123657-sup-4929@tilus.net>
291 Message-ID: <1265266889-sup-260@tilus.net>
292
293 Tero Tilus, 2010-01-22 03:32:
294 > William Morgan, 2009-12-21 15:38:
295 > > Reformatted excerpts from Tero Tilus's message of 2009-12-19:
296 > > > detect-missing-attachment hook
297 > >
298 > > index-mode-date-widget
299 >
300 > Here they are, finally...
301
302 Any feedback on these? Do they need any tuning?
303
304 --
305 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
306
307 From tero@tilus.net Thu Feb 4 02:58:29 2010
308 From: tero@tilus.net (Tero Tilus)
309 Date: Thu, 04 Feb 2010 09:58:29 +0200
310 Subject: [sup-devel] [PATCH] Message#edit_labels [was: Ruby question:
311 before-add-message.rb and adding multiple labels at once]
312 In-Reply-To: <1264384775-sup-925@tilus.net>
313 References: <1263574849-sup-3477@sam.mediasupervision.de>
314 <1263680819-sup-415@tilus.net> <1264117436-sup-4429@tilus.net>
315 <1264252198-sup-6507@masanjin.net> <1264384775-sup-925@tilus.net>
316 Message-ID: <1265270246-sup-151@tilus.net>
317
318 Tero Tilus, 2010-01-25 04:05:
319 > William Morgan, 2010-01-23 15:11:
320 > > It's also important to call LabelManager.<< for each label, to
321 > > make sure they appear in label-list-mode.
322 >
323 > I went a step further with this. Counting on people not having
324 > billion-mail threads and gazillions of tags (and thus this
325 > potentially having performance implications) I dropped all the
326 > LabelManager.<< calls down to Message to ensure that every time
327 > labels change, LabelManager is informed.
328
329 ...and that broke sup-dump. Patch v3 (rebased to next) attached.
330
331 --
332 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
333 -------------- next part --------------
334 A non-text attachment was scrubbed...
335 Name: 0001-Message-edit_labels.patch
336 Type: application/octet-stream
337 Size: 8196 bytes
338 Desc: not available
339 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20100204/9a6104cb/attachment-0001.obj>
340
341 From sup-bugs@masanjin.net Thu Feb 4 06:11:38 2010
342 From: sup-bugs@masanjin.net (anonymous)
343 Date: Thu, 04 Feb 2010 11:11:38 +0000
344 Subject: [sup-devel] [issue62] Sup crashes when trying to put a new message
345 to the Sent folder
346 In-Reply-To: <1265281898.54.0.722634324299.issue62@masanjin.net>
347 Message-ID: <1265281898.54.0.722634324299.issue62@masanjin.net>
348
349
350 New submission from anonymous:
351
352 Quite often (~50% of trials) an email gets sent but right after that sup tries to
353 save it in the INBOX.Sent folder and crashes. Sometimes it works though. Here's
354 the stripped config for that folder:
355
356 sources.yaml:
357 - !masanjin.net,2006-10-01/Redwood/IMAP
358 uri: imaps://mail.example.com/INBOX.Sent
359 ...
360 usual: false
361 archived: false
362 id: 2
363 labels: []
364
365 config.yaml:
366 :sent_source: imaps://mail.idiles.com/INBOX.Sent
367
368 Thank you!
369
370 ----------
371 files: exception-log.txt
372 messages: 149
373 nosy: anonymous
374 priority: bug
375 ruby_version: 1.8.7
376 status: unread
377 sup_version: Branch next with ncurses utf-8 patch
378 title: Sup crashes when trying to put a new message to the Sent folder
379
380 _________________________________________
381 Sup issue tracker <sup-bugs at masanjin.net>
382 <http://masanjin.net/sup-bugs/issue62>
383 _________________________________________
384 -------------- next part --------------
385 --- Redwood::FatalSourceError from thread: main
386 While communicating with IMAP server (type Net::IMAP::NoResponseError): "Current box is selected READ-ONLY."
387 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/imap.rb:343:in `safely'
388 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/imap.rb:121:in `store_message'
389 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/util.rb:599:in `send'
390 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/util.rb:599:in `__pass'
391 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/util.rb:586:in `method_missing'
392 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/sent.rb:28:in `write_sent_message'
393 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/util.rb:559:in `send'
394 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/util.rb:559:in `method_missing'
395 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/modes/edit-message-mode.rb:325:in `send_message'
396 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/mode.rb:51:in `send'
397 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/mode.rb:51:in `handle_input'
398 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/buffer.rb:272:in `handle_input'
399 /var/lib/gems/1.8/gems/sup-0.9/bin/sup:276
400 /var/lib/gems/1.8/bin/sup:19:in `load'
401 /var/lib/gems/1.8/bin/sup:19
402
403 From sup-bugs@masanjin.net Thu Feb 4 12:03:41 2010
404 From: sup-bugs@masanjin.net (Gregor Hoffleit)
405 Date: Thu, 04 Feb 2010 17:03:41 +0000
406 Subject: [sup-devel] [issue63] Attachment filenames: RFC2184 and extension
407 guessing
408 In-Reply-To: <1265303021.03.0.840779379479.issue63@masanjin.net>
409 Message-ID: <1265303021.03.0.840779379479.issue63@masanjin.net>
410
411
412 New submission from Gregor Hoffleit <gregor at hoffleit.de>:
413
414 I noticed sup has trouble handling attachments sent by Roundcube webmail.
415 Somehow, those mails use an alternative encoding of filenames, specified in
416 RFC2184:
417
418 Content-Transfer-Encoding: base64
419 Content-Type: image/jpeg;
420 name*="UTF-8''20090912-i004232-gr000.jpg";
421 Content-Disposition: attachment;
422 filename*="UTF-8''20090912-i004232-gr000.jpg";
423
424 Sup fails to detect these filenames.
425
426 When trying to save these attachements, the filenames generated by sup have a
427 trailing semicolon.
428
429 The attached patch is a quick and dirty fix for these specific problems.
430 There's probably a better way to implement this.
431
432 ----------
433 files: rfc2184.diff
434 messages: 150
435 nosy: flight
436 priority: bug
437 ruby_version: 1.8.5
438 status: unread
439 sup_version: 0.10.2
440 title: Attachment filenames: RFC2184 and extension guessing
441
442 _________________________________________
443 Sup issue tracker <sup-bugs at masanjin.net>
444 <http://masanjin.net/sup-bugs/issue63>
445 _________________________________________
446 -------------- next part --------------
447 A non-text attachment was scrubbed...
448 Name: rfc2184.diff
449 Type: application/octet-stream
450 Size: 954 bytes
451 Desc: not available
452 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20100204/a0bd5c56/attachment.obj>
453
454 From hyperbolist@gmail.com Fri Feb 5 11:19:03 2010
455 From: hyperbolist@gmail.com (Eric Sherman)
456 Date: Fri, 05 Feb 2010 11:19:03 -0500
457 Subject: [sup-devel] [PATCH] prevent "year too big to marshal" crashes
458 Message-ID: <1265386698-sup-8060@changeling.local>
459
460 Xapian::Document#entry= performs a Marshal.dump which was throwing a
461 "year too big to marshal" when adding a new message. I just
462 truncate_date'd the message's date when the entry hash is created in
463 sync_message and this problem went away for me.
464
465 It was a spam message, as the MIN_DATE/MAX_DATE comments hinted.
466 ---
467 lib/sup/xapian_index.rb | 2 +-
468 1 files changed, 1 insertions(+), 1 deletions(-)
469
470 diff --git a/lib/sup/xapian_index.rb b/lib/sup/xapian_index.rb
471 index 443b88d..44531a2 100644
472 --- a/lib/sup/xapian_index.rb
473 +++ b/lib/sup/xapian_index.rb
474 @@ -435,7 +435,7 @@ EOS
475 :message_id => m.id,
476 :source_id => m.source.id,
477 :source_info => m.source_info,
478 - :date => m.date,
479 + :date => truncate_date(m.date),
480 :snippet => snippet,
481 :labels => m.labels.to_a,
482 :from => [m.from.email, m.from.name],
483 --
484 1.6.6
485
486
487 From sup-bugs@masanjin.net Mon Feb 8 23:03:14 2010
488 From: sup-bugs@masanjin.net (anonymous)
489 Date: Tue, 09 Feb 2010 04:03:14 +0000
490 Subject: [sup-devel] [issue64] Crash on sup start
491 In-Reply-To: <1265688194.03.0.035958787068.issue64@masanjin.net>
492 Message-ID: <1265688194.03.0.035958787068.issue64@masanjin.net>
493
494
495 New submission from anonymous:
496
497 sup crashed after I sent an email, and won't start anymore.
498
499 This is with the latest git version. Ubuntu/Karmic.
500
501 [Tue Feb 09 14:59:30 +1100 2010] ERROR: oh crap, an exception
502 ----------------------------------------------------------------
503 I'm very sorry. It seems that an error occurred in Sup. Please
504 accept my sincere apologies. Please submit the contents of
505 /home/brian/.sup/exception-log.txt and a brief report of the
506 circumstances to http://masanjin.net/sup-bugs/ so that I might
507 address this problem. Thank you!
508
509 Sincerely,
510 William
511 ----------------------------------------------------------------
512 --- RuntimeError from thread: load threads for thread-index-mode
513
514 /home/brian/tree/sup/lib/sup/xapian_index.rb:348:in `find_docid'
515 /home/brian/tree/sup/lib/sup/xapian_index.rb:353:in `find_doc'
516 /home/brian/tree/sup/lib/sup/xapian_index.rb:363:in `get_entry'
517 /home/brian/tree/sup/lib/sup/xapian_index.rb:77:in `build_message'
518 /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
519 /home/brian/tree/sup/lib/sup/xapian_index.rb:372:in `synchronize'
520 /home/brian/tree/sup/lib/sup/xapian_index.rb:77:in `build_message'
521 /home/brian/tree/sup/lib/sup/xapian_index.rb:121:in `each_id_by_date'
522 /home/brian/tree/sup/lib/sup/thread.rb:332:in `call'
523 /home/brian/tree/sup/lib/sup/thread.rb:332:in `load_n_threads'
524 /home/brian/tree/sup/lib/sup/xapian_index.rb:121:in `each_id_by_date'
525 /home/brian/tree/sup/lib/sup/xapian_index.rb:114:in `each_id'
526 /home/brian/tree/sup/lib/sup/xapian_index.rb:114:in `each'
527 /home/brian/tree/sup/lib/sup/xapian_index.rb:114:in `each_id'
528 /home/brian/tree/sup/lib/sup/xapian_index.rb:121:in `each_id_by_date'
529 /home/brian/tree/sup/lib/sup/thread.rb:328:in `load_n_threads'
530 /home/brian/tree/sup/lib/sup/modes/thread-index-mode.rb:630:in
531 `__unprotected_load_n_threads'
532 (eval):12:in `load_n_threads'
533 /home/brian/tree/sup/lib/sup/modes/thread-index-mode.rb:614:in
534 `load_n_threads_background'
535 /home/brian/tree/sup/lib/sup.rb:77:in `reporting_thread'
536 /home/brian/tree/sup/lib/sup.rb:75:in `initialize'
537 /home/brian/tree/sup/lib/sup.rb:75:in `new'
538 /home/brian/tree/sup/lib/sup.rb:75:in `reporting_thread'
539 /home/brian/tree/sup/lib/sup/modes/thread-index-mode.rb:613:in
540 `load_n_threads_background'
541 /home/brian/tree/sup/lib/sup/modes/thread-index-mode.rb:684:in
542 `__unprotected_load_threads'
543 (eval):12:in `load_threads'
544 /home/brian/tree/sup/bin/sup:226
545
546 Brian May
547
548 ----------
549 messages: 155
550 nosy: anonymous
551 priority: bug
552 ruby_version: 4.2
553 status: unread
554 sup_version: git
555 title: Crash on sup start
556
557 _________________________________________
558 Sup issue tracker <sup-bugs at masanjin.net>
559 <http://masanjin.net/sup-bugs/issue64>
560 _________________________________________
561
562 From tero@tilus.net Tue Feb 9 02:16:34 2010
563 From: tero@tilus.net (Tero Tilus)
564 Date: Tue, 09 Feb 2010 09:16:34 +0200
565 Subject: [sup-devel] [issue64] Crash on sup start
566 In-Reply-To: <1265688194.03.0.035958787068.issue64@masanjin.net>
567 References: <1265688194.03.0.035958787068.issue64@masanjin.net>
568 Message-ID: <1265699020-sup-3244@tilus.net>
569
570 anonymous, 2010-02-09 06:03:
571 > sup crashed after I sent an email, and won't start anymore.
572
573 I expect the exception log is the failing start? Index seems to be in
574 inconsistent state.
575
576 Could you describe in more detail how exactly sup crashed after
577 sending mail. When exactly it crashed? What did it say?
578
579 You can try to get back on your feet by recreating your index. Try
580 creating sup-dump (back up index) first so that you can preserve
581 labels. If that doesn't work, you unfortunately can't preserve your
582 message states. But don't throw your old index away just yet, before
583 sup-sync do cd ~/.sup/; mv xapian xapian.bak . We might find another
584 way to recover.
585
586 Quoting from http://sup.rubyforge.org/FAQ.txt
587
588 Q: How do I back up my index?
589 A: Since the contents of the messages are recoverable from their
590 sources using sup-sync, all you need to back up is the message
591 state. To do this, simply run:
592 sup-dump > <dumpfile>
593 This will save all message state in a big text file, which you
594 should probably compress.
595
596 Q: How do I restore the message state I saved in my state dump?
597 A: Run:
598 sup-sync [<source>+] --restored --restore <dumpfile>
599 where <dumpfile> was created as above.
600
601 --
602 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
603
604 From tero@tilus.net Tue Feb 9 02:41:31 2010
605 From: tero@tilus.net (Tero Tilus)
606 Date: Tue, 09 Feb 2010 09:41:31 +0200
607 Subject: [sup-devel] [issue64] Crash on sup start
608 In-Reply-To: <1265688194.03.0.035958787068.issue64@masanjin.net>
609 References: <1265688194.03.0.035958787068.issue64@masanjin.net>
610 Message-ID: <1265701233-sup-895@tilus.net>
611
612 Sorry, I replied using mail before I checked further messages in this
613 tracker.
614
615 Could you be able to identify the offending docid and maybe the
616 mail(s) that docid points to? Just to get a hint on what happened.
617 Hit ~ to get console buffer where you can play just like in
618 devel/console.sh, see
619 <http://sup.rubyforge.org/wiki/wiki.pl?ProgrammaticallyAccessingSupsIndex>
620
621 --
622 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
623
624 From sup-bugs@masanjin.net Tue Feb 9 02:49:09 2010
625 From: sup-bugs@masanjin.net (Tero Tilus)
626 Date: Tue, 09 Feb 2010 07:49:09 +0000
627 Subject: [sup-devel] [issue65] tput: No value for $TERM and no -T specified
628 In-Reply-To: <1265701749.73.0.531351997652.issue65@masanjin.net>
629 Message-ID: <1265701749.73.0.531351997652.issue65@masanjin.net>
630
631
632 New submission from Tero Tilus <tero at tilus.net>:
633
634 Sup-dump complains
635
636 tput: No value for $TERM and no -T specified
637
638 when run from cron. This is caused by terminal colors monkeypatch to Curses in
639 sup/colormap.rb. Either sup.rb should not expect $TERM or sup-dump should not
640 `require "sup"`. Which way to go?
641
642 ----------
643 messages: 161
644 nosy: terotil
645 priority: bug
646 ruby_version: ruby 1.8.7 (2008-08-11 patchlevel 72)
647 status: unread
648 sup_version: git next
649 title: tput: No value for $TERM and no -T specified
650
651 _________________________________________
652 Sup issue tracker <sup-bugs at masanjin.net>
653 <http://masanjin.net/sup-bugs/issue65>
654 _________________________________________
655
656 From scott@foolishpride.org Tue Feb 9 15:39:54 2010
657 From: scott@foolishpride.org (Scott Henson)
658 Date: Tue, 9 Feb 2010 15:39:54 -0500
659 Subject: [sup-devel] Maildir work
660 Message-ID: <6c0c31751002091239g6002c7fl6bfa93908c4d4301@mail.gmail.com>
661
662 I've been working on maildirs cause I wanted to improve how sup works on
663 maildirs. This includes some sync-back support for maildirs. I've had my
664 head inside the maildir source and I've noticed something. The maildir
665 source can easily lose messages because there is nothing guaranteeing that
666 the souce_id is monotonically increasing.
667
668 So I would like to be able to search the sup index to see what source_ids it
669 knows about and compare that to what is currently in the maildir and create
670 a list of ids that are new or even ones that are deleted (making sup-sync
671 --changed a lot quicker). Is there a way for the source to search the
672 index, or is what I'm thinking not possible within sup? Thanks.
673
674 --
675 Scott Henson
676 -------------- next part --------------
677 An HTML attachment was scrubbed...
678 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20100209/d61de45f/attachment.html>
679
680 From bwalton@artsci.utoronto.ca Tue Feb 9 16:33:26 2010
681 From: bwalton@artsci.utoronto.ca (Ben Walton)
682 Date: Tue, 09 Feb 2010 16:33:26 -0500
683 Subject: [sup-devel] Maildir work
684 In-Reply-To: <6c0c31751002091239g6002c7fl6bfa93908c4d4301@mail.gmail.com>
685 References: <6c0c31751002091239g6002c7fl6bfa93908c4d4301@mail.gmail.com>
686 Message-ID: <1265751093-sup-9942@ntdws12.chass.utoronto.ca>
687
688 Excerpts from Scott Henson's message of Tue Feb 09 15:39:54 -0500 2010:
689
690 Hi Scott,
691
692 > I've been working on maildirs cause I wanted to improve how sup works on
693 > maildirs. This includes some sync-back support for maildirs. I've had my
694 > head inside the maildir source and I've noticed something. The maildir
695 > source can easily lose messages because there is nothing guaranteeing that
696 > the souce_id is monotonically increasing.
697
698 This was noted some time back, but nothing has been done to correct
699 it. William had some thoughts on it, but I don't know if he put hand
700 to keyboard on it...
701
702 I can't help you with the rest of your question as I'm not familiar
703 with that code at all.
704
705 Thanks
706 -Ben
707 --
708 Ben Walton
709 Systems Programmer - CHASS
710 University of Toronto
711 C:416.407.5610 | W:416.978.4302
712
713 -------------- next part --------------
714 A non-text attachment was scrubbed...
715 Name: signature.asc
716 Type: application/pgp-signature
717 Size: 189 bytes
718 Desc: not available
719 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20100209/5848abd5/attachment-0001.bin>
720
721 From marka@pobox.com Wed Feb 10 15:50:42 2010
722 From: marka@pobox.com (Mark Alexander)
723 Date: Wed, 10 Feb 2010 15:50:42 -0500
724 Subject: [sup-devel] Maildir work
725 In-Reply-To: <6c0c31751002091239g6002c7fl6bfa93908c4d4301@mail.gmail.com>
726 References: <6c0c31751002091239g6002c7fl6bfa93908c4d4301@mail.gmail.com>
727 Message-ID: <a412e2a71002101250hff7efa3i1290c01ba8874f81@mail.gmail.com>
728
729 On Tue, Feb 9, 2010 at 3:39 PM, Scott Henson <scott at foolishpride.org> wrote:
730 >The maildir source can easily lose messages because there is nothing guaranteeing that
731 > the source_id is monotonically increasing.
732
733 I reported this on Apr 16 2009:
734
735 http://old.nabble.com/Possible-problem-with-maildir-ID-generation-ts23087464.html
736
737 From gregor@hoffleit.de Wed Feb 10 16:04:57 2010
738 From: gregor@hoffleit.de (Gregor Hoffleit)
739 Date: Wed, 10 Feb 2010 22:04:57 +0100
740 Subject: [sup-devel] Person.from_address and Contacts (or
741 John.Smith@example.com)
742 Message-ID: <1265828498-sup-6054@sam.mediasupervision.de>
743
744 I have quite a few contacts that send their mails without a display
745 name, i.e. something like "From: John.Smith at example.com".
746
747 Sup does some magic (in Person.from_address) to derive something like a
748 display name from the local-part of the e-mail address. That's fine so
749 far.
750
751 But, if the person is in my list of contacts, I want Sup to show the
752 display name definied in the contacts entry. In the above case, that
753 might be "John Smith" or "John E. Smith" or whatever. Instead, Sup
754 sticks to the display name derived from the local part, "john.smith".
755
756 It's especially odd in the detailed header view of the thread-view-mode,
757 where Sup resolves and shows the alias, but still sticks to the derived
758 display name:
759
760 From: john.smith <john.smith at example.com> (Johnny Boy)
761
762
763 The obvious place to start a fix would be Person.from_address, where the
764 (display) name, if missing, is derived from the email address.
765
766 I wanted to modify Person.from_address in order to use, in the case of
767 an empty display name, the ContactManager, to look up any alias in the
768 contact list, but somehow I didn't succeed integrating ContactManager in
769 person.rb.
770
771 Any better idea? Should I file a bug about this?
772
773 Regards,
774 Gregor Hoffleit
775
776 From s2532038@inf.tu-dresden.de Thu Feb 11 03:43:52 2010
777 From: s2532038@inf.tu-dresden.de (Michael Raitza)
778 Date: Thu, 11 Feb 2010 09:43:52 +0100
779 Subject: [sup-devel] [PATCH] Added support for multiple sent sources.
780 Message-ID: <1265877393-sup-3156@leandros>
781
782 Hi,
783
784 I just wondered if it was possible to use several different sources to
785 store sent mail. After I read the recent posts on the mailing list and
786 did not find any progress in the HEAD of mainline.git I just implemented
787 a solution. I took the configuration file based approach. Because of
788 laziness I think?
789
790 Here you are (see also spacefroggs-clone on gitorious):
791
792 diff --git a/bin/sup b/bin/sup
793 index 7824aca..45693b5 100755
794 --- a/bin/sup
795 +++ b/bin/sup
796 @@ -180,10 +180,12 @@ begin
797 Redwood::SourceManager.add_source DraftManager.new_source
798 end
799
800 - if(s = Redwood::SourceManager.source_for SentManager.source_uri)
801 - SentManager.source = s
802 - else
803 - Redwood::SourceManager.add_source SentManager.default_source
804 + Redwood::AccountManager.user_accounts.each do |account|
805 + if(s = Redwood::SourceManager.source_for account.sentmanager.source_uri)
806 + account.sentmanager.source = s
807 + else
808 + Redwood::SourceManager.add_source account.sentmanager.default_source
809 + end
810 end
811
812 HookManager.run "startup"
813 diff --git a/bin/sup-config b/bin/sup-config
814 index bc58a59..4373822 100755
815 --- a/bin/sup-config
816 +++ b/bin/sup-config
817 @@ -207,7 +207,7 @@ say "Only sources capable of storing mail will be listed.\n\n"
818 Redwood::SourceManager.load_sources
819 if Redwood::SourceManager.sources.empty?
820 say "\nUsing the default sup://sent, since you haven't configured other sources yet."
821 - $config[:sent_source] = 'sup://sent'
822 + $config[:accounts][:default][:sent_source] = 'sup://sent'
823 else
824 # this handles the event that source.yaml already contains the SentLoader
825 # source.
826 @@ -216,11 +216,11 @@ else
827 choose do |menu|
828 menu.prompt = "Store my sent mail in? "
829
830 - menu.choice('Default (an mbox in ~/.sup, aka sup://sent)') { $config[:sent_source] = 'sup://sent'} unless have_sup_sent
831 + menu.choice('Default (an mbox in ~/.sup, aka sup://sent)') { $config[:accounts][:default][:sent_source] = 'sup://sent'} unless have_sup_sent
832
833 valid_sents = Redwood::SourceManager.sources.each do |s|
834 have_sup_sent = true if s.to_s.eql?('sup://sent')
835 - menu.choice(s.to_s) { $config[:sent_source] = s.to_s } if s.respond_to? :store_message
836 + menu.choice(s.to_s) { $config[:accounts][:default][:sent_source] = s.to_s } if s.respond_to? :store_message
837 end
838 end
839 end
840 diff --git a/lib/sup.rb b/lib/sup.rb
841 index e03a35d..704be07 100644
842 --- a/lib/sup.rb
843 +++ b/lib/sup.rb
844 @@ -121,7 +121,6 @@ module Redwood
845 end
846
847 def start
848 - Redwood::SentManager.init $config[:sent_source] || 'sup://sent'
849 Redwood::ContactManager.init Redwood::CONTACT_FN
850 Redwood::LabelManager.init Redwood::LABEL_FN
851 Redwood::AccountManager.init $config[:accounts]
852 diff --git a/lib/sup/account.rb b/lib/sup/account.rb
853 index bf8a8a0..c284719 100644
854 --- a/lib/sup/account.rb
855 +++ b/lib/sup/account.rb
856 @@ -1,16 +1,22 @@
857 module Redwood
858
859 class Account < Person
860 - attr_accessor :sendmail, :signature
861 + attr_accessor :sendmail, :signature, :sentmanager
862
863 def initialize h
864 raise ArgumentError, "no name for account" unless h[:name]
865 raise ArgumentError, "no email for account" unless h[:email]
866 super h[:name], h[:email]
867 +
868 + @sentmanager = Redwood::SentManager.new h[:sent_source]
869 @sendmail = h[:sendmail]
870 @signature = h[:signature]
871 end
872
873 + def sent_source
874 + @sentmanager.source_uri
875 + end
876 +
877 # Default sendmail command for bouncing mail,
878 # deduced from #sendmail
879 def bounce_sendmail
880 @@ -46,10 +52,12 @@ class AccountManager
881 def add_account hash, default=false
882 raise ArgumentError, "no email specified for account" unless hash[:email]
883 unless default
884 - [:name, :sendmail, :signature].each { |k| hash[k] ||= @default_account.send(k) }
885 + [:name, :sendmail, :signature, :sent_source].each { |k| hash[k] ||= @default_account.send(k) }
886 end
887 hash[:alternates] ||= []
888
889 + hash[:sent_source] ||= 'sup://sent'
890 +
891 a = Account.new hash
892 @accounts[a] = true
893
894 diff --git a/lib/sup/modes/edit-message-mode.rb b/lib/sup/modes/edit-message-mode.rb
895 index 8849271..7d7618b 100644
896 --- a/lib/sup/modes/edit-message-mode.rb
897 +++ b/lib/sup/modes/edit-message-mode.rb
898 @@ -322,7 +322,7 @@ protected
899 m = build_message date
900 IO.popen(acct.sendmail, "w") { |p| p.puts m }
901 raise SendmailCommandFailed, "Couldn't execute #{acct.sendmail}" unless $? == 0
902 - SentManager.write_sent_message(date, from_email) { |f| f.puts sanitize_body(m.to_s) }
903 + acct.sentmanager.write_sent_message(date, from_email) { |f| f.puts sanitize_body(m.to_s) }
904 BufferManager.kill_buffer buffer
905 BufferManager.flash "Message sent!"
906 true
907 diff --git a/lib/sup/sent.rb b/lib/sup/sent.rb
908 index 87ca6c6..1fe398c 100644
909 --- a/lib/sup/sent.rb
910 +++ b/lib/sup/sent.rb
911 @@ -1,7 +1,6 @@
912 module Redwood
913
914 class SentManager
915 - include Singleton
916
917 attr_reader :source, :source_uri
918
919 @@ -14,7 +13,7 @@ class SentManager
920
921 def source= s
922 raise FatalSourceError.new("Configured sent_source [#{s.uri}] can't store mail. Correct your configuration.") unless s.respond_to? :store_message
923 - @souce_uri = s.uri
924 + @source_uri = s.uri
925 @source = s
926 end
927
928
929
930 From sup-bugs@masanjin.net Fri Feb 12 11:17:47 2010
931 From: sup-bugs@masanjin.net (anonymous)
932 Date: Fri, 12 Feb 2010 16:17:47 +0000
933 Subject: [sup-devel] [issue66] Occasional crash
934 In-Reply-To: <1265991467.23.0.295613281978.issue66@masanjin.net>
935 Message-ID: <1265991467.23.0.295613281978.issue66@masanjin.net>
936
937
938 New submission from anonymous:
939
940 --- IOError from thread: main
941 closed stream
942 /usr/lib/ruby/1.9.1/openssl/buffering.rb:240:in `close'
943 /usr/lib/ruby/1.9.1/openssl/buffering.rb:240:in `sysclose'
944 /usr/lib/ruby/1.9.1/openssl/buffering.rb:240:in `close'
945 /usr/lib/ruby/1.9.1/net/imap.rb:968:in `block in receive_responses'
946 /usr/lib/ruby/1.9.1/monitor.rb:190:in `mon_synchronize'
947 /usr/lib/ruby/1.9.1/net/imap.rb:967:in `rescue in receive_responses'
948 /usr/lib/ruby/1.9.1/net/imap.rb:964:in `receive_responses'
949 /usr/lib/ruby/1.9.1/net/imap.rb:955:in `block in initialize'
950
951 This happens to me about once or twice a week. Installed via the AUR. (
952 http://aur.archlinux.org/packages.php?ID=26439&detail=1 )
953
954 ----------
955 messages: 166
956 nosy: anonymous
957 priority: bug
958 ruby_version: 1.9.1_p378-1
959 status: unread
960 sup_version: 0.10.1-1
961 title: Occasional crash
962
963 _________________________________________
964 Sup issue tracker <sup-bugs at masanjin.net>
965 <http://masanjin.net/sup-bugs/issue66>
966 _________________________________________
967
968 From sup-bugs@masanjin.net Fri Feb 12 22:07:00 2010
969 From: sup-bugs@masanjin.net (anonymous)
970 Date: Sat, 13 Feb 2010 03:07:00 +0000
971 Subject: [sup-devel] [issue67] sup-config crashes at start
972 In-Reply-To: <1266030419.97.0.799946608385.issue67@masanjin.net>
973 Message-ID: <1266030419.97.0.799946608385.issue67@masanjin.net>
974
975
976 New submission from anonymous:
977
978 I've just installed sup from AUR (Archlinux User Repository). I'm trying to run
979 sup-config but I'm getting the following error. It may hasve to do with the fact
980 that my name contains Unicode characters (and this is how my linux account name,
981 not username, is configured):
982
983 $ sup-config
984 /usr/lib/ruby/gems/1.9.1/gems/sup-0.10.1/lib/sup/person.rb:10:in `strip':
985 invalid byte sequence in UTF-8 (ArgumentError)
986 from /usr/lib/ruby/gems/1.9.1/gems/sup-0.10.1/lib/sup/person.rb:10:in
987 `initialize'
988 from /usr/lib/ruby/gems/1.9.1/gems/sup-0.10.1/lib/sup/account.rb:9:in
989 `initialize'
990 from /usr/lib/ruby/gems/1.9.1/gems/sup-0.10.1/lib/sup/account.rb:53:in
991 `new'
992 from /usr/lib/ruby/gems/1.9.1/gems/sup-0.10.1/lib/sup/account.rb:53:in
993 `add_account'
994 from /usr/lib/ruby/gems/1.9.1/gems/sup-0.10.1/lib/sup/account.rb:37:in
995 `initialize'
996 from /usr/lib/ruby/gems/1.9.1/gems/sup-0.10.1/lib/sup/util.rb:557:in
997 `new'
998 from /usr/lib/ruby/gems/1.9.1/gems/sup-0.10.1/lib/sup/util.rb:557:in
999 `init'
1000 from /usr/lib/ruby/gems/1.9.1/gems/sup-0.10.1/lib/sup.rb:127:in `start'
1001 from /usr/lib/ruby/gems/1.9.1/gems/sup-0.10.1/bin/sup-config:149:in
1002 `<top (required)>'
1003 from /usr/bin/sup-config:19:in `load'
1004 from /usr/bin/sup-config:19:in `<main>'
1005
1006 ----------
1007 messages: 167
1008 nosy: anonymous
1009 priority: bug
1010 ruby_version: 1.9.1
1011 status: unread
1012 sup_version: 0.10.1
1013 title: sup-config crashes at start
1014
1015 _________________________________________
1016 Sup issue tracker <sup-bugs at masanjin.net>
1017 <http://masanjin.net/sup-bugs/issue67>
1018 _________________________________________
1019
1020 From michael@content-space.de Sat Feb 13 08:51:53 2010
1021 From: michael@content-space.de (Michael Hamann)
1022 Date: Sat, 13 Feb 2010 14:51:53 +0100
1023 Subject: [sup-devel] [PATCH] utf-8 script encoding
1024 In-Reply-To: <1264250655-sup-3062@masanjin.net>
1025 References: <1262533823-sup-5348@dolk>
1026 <1262534836-29113-1-git-send-email-rlane@club.cc.cmu.edu>
1027 <1262535218-sup-9718@dolk> <1264250655-sup-3062@masanjin.net>
1028 Message-ID: <1266066673-sup-5419@mithink>
1029
1030 Hi,
1031
1032 Excerpts from William Morgan's message of 2010-01-23 13:44:39 +0100:
1033 > Reformatted excerpts from Gaute Hope's message of 2010-01-03:
1034 > > No. Tab completion fails, and sending fails, I can add names with
1035 > > UTF-8 chars to the recipient list, but it fails with the last attached
1036 > > exception. This is the same behaviour as earlier.
1037 >
1038 > That's weird, I would've expected this to help. What's the alternative,
1039 > adding "u" to the end of every regexp?
1040
1041 Has there been any progress on this subject? This is imho a quite annoying bug
1042 as it makes me regularly recover mails from the buffer of screen when having
1043 written a reply to a message with a subject containing utf-8 chars without
1044 noticing that.
1045
1046 Sorry if this should have been fixed already, I'm currently using git next and
1047 there the problem still exists.
1048
1049 Greetings
1050 Michael Hamann
1051
1052 From sup-bugs@masanjin.net Mon Feb 15 00:09:52 2010
1053 From: sup-bugs@masanjin.net (anonymous)
1054 Date: Mon, 15 Feb 2010 05:09:52 +0000
1055 Subject: [sup-devel] [issue68] stack level too deep crash on startup after
1056 loading large source
1057 In-Reply-To: <1266210592.75.0.0708955030256.issue68@masanjin.net>
1058 Message-ID: <1266210592.75.0.0708955030256.issue68@masanjin.net>
1059
1060
1061 New submission from anonymous:
1062
1063 I have an OfflineIMAP source that mirrors my Gmail All Mail. After running sup-
1064 config and trying to launch sup I get the attached exception logged in the
1065 exception log.
1066
1067 ----------
1068 files: exception-log.txt
1069 messages: 168
1070 nosy: anonymous
1071 priority: bug
1072 ruby_version: 1.8
1073 status: unread
1074 sup_version: 0.10.2
1075 title: stack level too deep crash on startup after loading large source
1076
1077 _________________________________________
1078 Sup issue tracker <sup-bugs at masanjin.net>
1079 <http://masanjin.net/sup-bugs/issue68>
1080 _________________________________________
1081 -------------- next part --------------
1082 --- SystemStackError from thread: load threads for thread-index-mode
1083 stack level too deep
1084 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/thread.rb:170:in `each_with_stuff'
1085 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/thread.rb:170:in `each_with_stuff'
1086 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/thread.rb:169:in `each'
1087 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/thread.rb:169:in `each_with_stuff'
1088 ...
1089 A whole bunch more of these
1090 ...
1091 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/thread.rb:169:in `each'
1092 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/thread.rb:169:in `each_with_stuff'
1093 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/thread.rb:170:in `each_with_stuff'
1094 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/thread.rb:169:in `each_with_stuff'
1095 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/thread.rb:67:in `each'
1096 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/thread.rb:89:in `map'
1097 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/thread.rb:89:in `date'
1098 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/modes/thread-index-mode.rb:226:in `update'
1099 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/hook.rb:122:in `sort_by'
1100 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/modes/thread-index-mode.rb:226:in `each'
1101 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/modes/thread-index-mode.rb:226:in `sort_by'
1102 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/modes/thread-index-mode.rb:226:in `update'
1103 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/modes/thread-index-mode.rb:224:in `synchronize'
1104 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/modes/thread-index-mode.rb:224:in `update'
1105 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/modes/thread-index-mode.rb:633:in `__unprotected_load_n_threads'
1106 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/thread.rb:334:in `load_n_threads'
1107 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/xapian_index.rb:121:in `each_id_by_date'
1108 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/xapian_index.rb:114:in `each_id'
1109 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/xapian_index.rb:114:in `each'
1110 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/xapian_index.rb:114:in `each_id'
1111 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/xapian_index.rb:121:in `each_id_by_date'
1112 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/thread.rb:328:in `load_n_threads'
1113 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/modes/thread-index-mode.rb:630:in `__unprotected_load_n_threads'
1114 (eval):12:in `load_n_threads'
1115 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/modes/thread-index-mode.rb:614:in `load_n_threads_background'
1116 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup.rb:77:in `reporting_thread'
1117 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup.rb:75:in `initialize'
1118 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup.rb:75:in `new'
1119 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup.rb:75:in `reporting_thread'
1120 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/modes/thread-index-mode.rb:613:in `load_n_threads_background'
1121 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/modes/thread-index-mode.rb:684:in `__unprotected_load_threads'
1122 (eval):12:in `load_threads'
1123 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/bin/sup:226
1124 /usr/bin/sup:19:in `load'
1125 /usr/bin/sup:19
1126
1127 From michael+sup@stapelberg.de Mon Feb 15 13:30:59 2010
1128 From: michael+sup@stapelberg.de (Michael Stapelberg)
1129 Date: Mon, 15 Feb 2010 19:30:59 +0100
1130 Subject: [sup-devel] [PATCH] catch xapian query parser exceptions and
1131 display them to the user
1132 Message-ID: <1266258536-sup-3345@midna.zekjur.net>
1133
1134 Hi,
1135
1136 a query such as "NOT label:debian" will generate an error in the xapian query
1137 parser. Instead of crashing, the user should see the error message to get his
1138 query right. The attached patch fixes this.
1139
1140 Please note that the appropriate type instead of RuntimeError would be
1141 Xapian::QueryParserError, but the latter is not defined for some reason. A
1142 problem with the xapian ruby bindings?
1143
1144 Best regards,
1145 Michael
1146 -------------- next part --------------
1147 A non-text attachment was scrubbed...
1148 Name: 0001-xapian.patch
1149 Type: application/octet-stream
1150 Size: 1307 bytes
1151 Desc: not available
1152 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20100215/ac63d42a/attachment-0001.obj>
1153
1154 From michael+sup@stapelberg.de Mon Feb 15 17:13:00 2010
1155 From: michael+sup@stapelberg.de (Michael Stapelberg)
1156 Date: Mon, 15 Feb 2010 23:13:00 +0100
1157 Subject: [sup-devel] [PATCH] Bugfix: Create dynamically growing fields (long
1158 filenames are now supported)
1159 Message-ID: <1266271874-sup-6404@midna.zekjur.net>
1160
1161 Hi,
1162
1163 the attached patch modifies textfield.rb to create a dynamically growable field
1164 instead of one with a fixed size. The text field can now hold a dynamic amount
1165 of characters which is often necessary if you have long file names.
1166
1167 How to reproduce the bug:
1168 1) mkdir -p /tmp/very/long-folder-name-foo-bar-baz/longer-than-one-line-foo-bar-bleh-bleh/maw-maw-maw-maw-maw-maw-maw-maw-maw-maw-maw
1169 2) echo foo > /tmp/very/long-folder-name-foo-bar-baz/longer-than-one-line-foo-bar-bleh-bleh/maw-maw-maw-maw-maw-maw-maw-maw-maw-maw-maw/foo.txt
1170 3) create a new message in sup and try to add the new file as an attachment
1171
1172 Please merge this one for the next release.
1173
1174 Best regards,
1175 Michael
1176 -------------- next part --------------
1177 A non-text attachment was scrubbed...
1178 Name: 0001-tf-dynamic-grow.patch
1179 Type: application/octet-stream
1180 Size: 1015 bytes
1181 Desc: not available
1182 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20100215/d5c78bb3/attachment.obj>
1183
1184 From olly@survex.com Tue Feb 16 06:10:14 2010
1185 From: olly@survex.com (Olly Betts)
1186 Date: Tue, 16 Feb 2010 11:10:14 +0000 (UTC)
1187 Subject: [sup-devel] [PATCH] catch xapian query parser exceptions and
1188 display them to the user
1189 References: <1266258536-sup-3345@midna.zekjur.net>
1190 Message-ID: <loom.20100216T120754-634@post.gmane.org>
1191
1192 Michael Stapelberg writes:
1193 > Please note that the appropriate type instead of RuntimeError would be
1194 > Xapian::QueryParserError, but the latter is not defined for some reason. A
1195 > problem with the xapian ruby bindings?
1196
1197 Currently Xapian's exception hierarchy isn't wrapped for Ruby. I suspect my
1198 Ruby skills aren't up to fixing that, though I'm certainly happy to help if
1199 anyone wants to tackle it.
1200
1201 Cheers,
1202 Olly
1203
1204
1205 From michael+sup@stapelberg.de Wed Feb 17 17:30:24 2010
1206 From: michael+sup@stapelberg.de (Michael Stapelberg)
1207 Date: Wed, 17 Feb 2010 23:30:24 +0100
1208 Subject: [sup-devel] [PATCH] Add hook gpg-args to allow the user to
1209 add/remove flags
1210 Message-ID: <1266445763-sup-8545@midna.zekjur.net>
1211
1212 Hi,
1213
1214 attached you find a patch allowing the user to add/remove flags before running
1215 GPG. This is useful for specifying "--trust-model always" only for certain
1216 GPG calls without introducing a whole bunch of new configuration options.
1217 An example hook (which will add the ability to send encrypted email to
1218 people to whom you have no trust relation):
1219
1220 if args =~ /--encrypt/
1221 "--trust-model always #{args}"
1222 else
1223 args
1224 end
1225
1226 Please merge this patch for the next release
1227
1228 Best regards,
1229 Michael
1230 -------------- next part --------------
1231 A non-text attachment was scrubbed...
1232 Name: 0001-Add-hook-gpg-args-to-allow-the-user-to-add-remove-fl.patch
1233 Type: application/octet-stream
1234 Size: 1551 bytes
1235 Desc: not available
1236 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20100217/3d1926fa/attachment.obj>
1237
1238 From sup-bugs@masanjin.net Thu Feb 18 02:50:08 2010
1239 From: sup-bugs@masanjin.net (anonymous)
1240 Date: Thu, 18 Feb 2010 07:50:08 +0000
1241 Subject: [sup-devel] [issue69] SSL_read:: internal error
1242 In-Reply-To: <1266479408.53.0.109095722428.issue69@masanjin.net>
1243 Message-ID: <1266479408.53.0.109095722428.issue69@masanjin.net>
1244
1245
1246 New submission from anonymous:
1247
1248 --- SystemExit from thread: main
1249 SSL_read:: internal error
1250 /usr/lib/ruby/1.8/net/imap.rb:935:in `select'
1251 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/buffer.rb:38:in `nonblocking_getch'
1252 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/bin/sup:246
1253 /usr/bin/sup:19:in `load'
1254 /usr/bin/sup:19
1255
1256 ----------
1257 messages: 171
1258 nosy: anonymous
1259 priority: bug
1260 ruby_version: 1.8.6
1261 status: unread
1262 sup_version: 0.10.2
1263 title: SSL_read:: internal error
1264
1265 _________________________________________
1266 Sup issue tracker <sup-bugs at masanjin.net>
1267 <http://masanjin.net/sup-bugs/issue69>
1268 _________________________________________
1269
1270 From sup-bugs@masanjin.net Thu Feb 18 02:58:05 2010
1271 From: sup-bugs@masanjin.net (James Turnbull)
1272 Date: Thu, 18 Feb 2010 07:58:05 +0000
1273 Subject: [sup-devel] [issue70] Sync fails
1274 In-Reply-To: <1266479885.81.0.515177021489.issue70@masanjin.net>
1275 Message-ID: <1266479885.81.0.515177021489.issue70@masanjin.net>
1276
1277
1278 New submission from James Turnbull <james at lovedthanlost.net>:
1279
1280 ## read 5m (~17%) @ 0.1m/s. 0:00:42 elapsed, ~0:03:21 remaining, offset
1281 12621960456559605
1282 ## read 15m (~61%) @ 0.2m/s. 0:01:10 elapsed, ~0:00:45 remaining, offset
1283 12662778380989211
1284 [Thu Feb 18 18:57:02 +1100 2010] WARNING: problem getting messages from
1285 imaps://imap.gmail.com/INBOX: no IMAP response for 25..23 containing all fields
1286 RFC822.SIZE, INTERNALDATE, FLAGS (got 1 results)
1287 /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/xapian_index.rb:572:in `mkterm':
1288 undefined method `[]' for nil:NilClass (NoMethodError)
1289 from /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/xapian_index.rb:347:in
1290 `find_docid'
1291 from /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/xapian_index.rb:353:in
1292 `find_doc'
1293 from /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/xapian_index.rb:363:in
1294 `get_entry'
1295 from /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/xapian_index.rb:77:in
1296 `build_message'
1297 from /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
1298 from /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/xapian_index.rb:372:in
1299 `synchronize'
1300 from /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/xapian_index.rb:77:in
1301 `build_message'
1302 from /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/bin/sup-sync:150
1303 ... 11 levels...
1304 from /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/bin/sup-sync:142:in `each'
1305 from /usr/lib/ruby/gems/1.8/gems/sup-0.10.2/bin/sup-sync:142
1306 from /usr/bin/sup-sync:19:in `load'
1307 from /usr/bin/sup-sync:19
1308 Rats, that failed. You may have to do it manually.
1309
1310 ----------
1311 messages: 173
1312 nosy: jamtur01
1313 priority: bug
1314 ruby_version: 1.8.6
1315 status: unread
1316 sup_version: 10.0.2
1317 title: Sync fails
1318
1319 _________________________________________
1320 Sup issue tracker <sup-bugs at masanjin.net>
1321 <http://masanjin.net/sup-bugs/issue70>
1322 _________________________________________
1323
1324 From michael+sup@stapelberg.de Thu Feb 18 06:40:45 2010
1325 From: michael+sup@stapelberg.de (Michael Stapelberg)
1326 Date: Thu, 18 Feb 2010 12:40:45 +0100
1327 Subject: [sup-devel] [PATCH] Implement inline GPG
1328 Message-ID: <1266493070-sup-7733@midna.zekjur.net>
1329
1330 Hi,
1331
1332 as my previous patch was not merged, I have updated the patch to apply against
1333 the current code. Furthermore, it now correctly handles character sets for the
1334 GPG encrypted part.
1335
1336 The patch has been tested by me and another user and seems to work fine.
1337
1338 Please merge it for the next release.
1339
1340 Best regards,
1341 Michael
1342 -------------- next part --------------
1343 A non-text attachment was scrubbed...
1344 Name: 0001-Implement-inline-GPG.patch
1345 Type: application/octet-stream
1346 Size: 7629 bytes
1347 Desc: not available
1348 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20100218/890032f9/attachment.obj>
1349
1350 From wking@drexel.edu Thu Feb 18 06:49:44 2010
1351 From: wking@drexel.edu (W. Trevor King)
1352 Date: Thu, 18 Feb 2010 06:49:44 -0500
1353 Subject: [sup-devel] email threading - tree vs. graph
1354 Message-ID: <20100218114943.GB911@mjolnir>
1355
1356 Hey all,
1357
1358 I thought I'd ask this on sup-devel, since you guys have been thinking
1359 about email organization and "a better mutt" sounds pretty awesome ;).
1360 Sorry if it's too far off topic.
1361
1362 Since email can have multiple parents [1], why does everyone make
1363 threads trees rather than directed, acyclic graphs (DAGs)? DAGs seem
1364 really common for version control systems, and completely missing for
1365 email clients, even though the inheritence structure is identical.
1366 For example, here's a slice from the recent be-devel list as a graph:
1367 ...............
1368 | *-|-\ | | Mon Jan 25 W. Trevor King Re: Project releases
1369 | * | | | | Sat Jan 23 Gianluca Montecchi Re: Project releases
1370 | | | | t | | Sat Jan 23 Gianluca Montecchi Re: Project releases
1371 | *-|-|-|-\ | | Fri Jan 22 Ben Finney Re: Project releases
1372 | | | * | | | | Fri Jan 22 W. Trevor King Re: Project releases
1373 | | | *-/ | | | Thu Jan 21 Ben Finney Re: Project releases
1374 | * | | | | | Thu Jan 21 Gianluca Montecchi Re: Project releases
1375 *-|-|-/ | | | Thu Jan 21 W. Trevor King Re: Project releases
1376 ...............
1377 ^--- inheritence graph.
1378 You can see that Ben's Fri message and my Mon message both have two
1379 parents.
1380
1381 On a sup-specific level, problems with the graph (vs. tree) is that it
1382 may make threads too 'sticky'. With your thread-centric approach,
1383 you'll want to break threads when the topic mutates too far from the
1384 original, and that could be difficult for meshy-graphs. Perhaps you
1385 will want to leave the sup guts unchanged, tack on an optional graph
1386 view, and add an 'other-parents' option when browsing from messages
1387 with multiple parents.
1388
1389 On an implementation level, I've got the above graph browser going
1390 in python/curses, so it should be easy to port to ruby/curses.
1391
1392 Thoughs?
1393
1394 Thanks,
1395 Trevor
1396
1397
1398 [1] RFC 2822, section 3.6.4, http://www.faqs.org/rfcs/rfc2822.html
1399
1400 The "In-Reply-To:" field will contain the contents of the
1401 "Message-ID:" field of the message to which this one is a reply (the
1402 "parent message"). If there is more than one parent message, then
1403 the "In-Reply-To:" field will contain the contents of all of the
1404 parents' "Message-ID:" fields.
1405
1406 --
1407 This email may be signed or encrypted with GPG (http://www.gnupg.org).
1408 The GPG signature (if present) will be attached as 'signature.asc'.
1409 For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy
1410
1411 My public key is at http://www.physics.drexel.edu/~wking/pubkey.txt
1412 -------------- next part --------------
1413 A non-text attachment was scrubbed...
1414 Name: not available
1415 Type: application/pgp-signature
1416 Size: 198 bytes
1417 Desc: not available
1418 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20100218/563c8bf9/attachment-0001.bin>
1419
1420 From michael+sup@stapelberg.de Thu Feb 18 22:26:37 2010
1421 From: michael+sup@stapelberg.de (Michael Stapelberg)
1422 Date: Fri, 19 Feb 2010 04:26:37 +0100
1423 Subject: [sup-devel]
1424 =?utf-8?q?[PATCH]_Bugfix:_Don=E2=80=99t_call_Ncurses.getch_when_in_shell=96out_mode?=
1425 Message-ID: <1266549876-sup-2041@midna.zekjur.net>
1426
1427 Hi,
1428
1429 (at least for me) the attached patch finally fixes the pinentry-ncurses
1430 problems we were still having (as soon as you press a key, the screen is
1431 garbage).
1432
1433 To quote the commit message:
1434
1435 Previously, when using threads, Ncurses.getch was called while
1436 the gpg pinentry was running (as an example of using the shell_out
1437 method). Now, the Ncurses mutex will be used to wait until shell_out
1438 mode is finished.
1439
1440 Please have a look if this patch is working for you and merge it for the next
1441 release.
1442
1443 Best regards,
1444 Michael
1445 -------------- next part --------------
1446 A non-text attachment was scrubbed...
1447 Name: 0001-Bugfix-Don-t-call-Ncurses.getch-when-in-shell_out-mo.patch
1448 Type: application/octet-stream
1449 Size: 2207 bytes
1450 Desc: not available
1451 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20100219/038422fa/attachment.obj>
1452
1453 From tero@tilus.net Sun Feb 21 01:38:35 2010
1454 From: tero@tilus.net (Tero Tilus)
1455 Date: Sun, 21 Feb 2010 08:38:35 +0200
1456 Subject: [sup-devel] email threading - tree vs. graph
1457 In-Reply-To: <20100218114943.GB911@mjolnir>
1458 References: <20100218114943.GB911@mjolnir>
1459 Message-ID: <1266730498-sup-78@tilus.net>
1460
1461 W. Trevor King, 2010-02-18 13:49:
1462 > Since email can have multiple parents [1], why does everyone make
1463 > threads trees rather than directed, acyclic graphs (DAGs)?
1464
1465 Trees are easier to render and multi-parent messages are a rare
1466 exception, not the rule. Heck, many widely used mailclients are
1467 totally missing the option to reply to many messages at once.
1468
1469 > DAGs seem really common for version control systems, and completely
1470 > missing for email clients, even though the inheritence structure is
1471 > identical.
1472
1473 Failing to visually present merges would be far more fundamental
1474 failure than failing to present multi-parent mails.
1475
1476 > For example, here's a slice from the recent be-devel list as a graph:
1477 > ...............
1478 > | *-|-\ | | Mon Jan 25 W. Trevor King Re: Project releases
1479 > | * | | | | Sat Jan 23 Gianluca Montecchi Re: Project releases
1480 > | | | | t | | Sat Jan 23 Gianluca Montecchi Re: Project releases
1481 > | *-|-|-|-\ | | Fri Jan 22 Ben Finney Re: Project releases
1482 > | | | * | | | | Fri Jan 22 W. Trevor King Re: Project releases
1483 > | | | *-/ | | | Thu Jan 21 Ben Finney Re: Project releases
1484 > | * | | | | | Thu Jan 21 Gianluca Montecchi Re: Project releases
1485 > *-|-|-/ | | | Thu Jan 21 W. Trevor King Re: Project releases
1486 > ...............
1487 > ^--- inheritence graph.
1488 > You can see that Ben's Fri message and my Mon message both have two
1489 > parents.
1490
1491 Honestly. That took fair bit of staring and prolly wouldn't have
1492 opened to me without your explanation. :) But that might only be due
1493 to the external noise in the graph. Without those extra through-lines
1494 it looks a bit more readable.
1495
1496 .........
1497 | *-\ Mon Jan 25 W. Trevor King Re: Project releases
1498 | * | Sat Jan 23 Gianluca Montecchi Re: Project releases
1499 | | | t Sat Jan 23 Gianluca Montecchi Re: Project releases
1500 | *-|-|-\ Fri Jan 22 Ben Finney Re: Project releases
1501 | | * | | Fri Jan 22 W. Trevor King Re: Project releases
1502 | | *-/ | Thu Jan 21 Ben Finney Re: Project releases
1503 | * | | Thu Jan 21 Gianluca Montecchi Re: Project releases
1504 *-|-/ | Thu Jan 21 W. Trevor King Re: Project releases
1505 .........
1506
1507 > On a sup-specific level, problems with the graph (vs. tree) is that
1508 > it may make threads too 'sticky'.
1509
1510 I can't really see how this would lump significantly more mail into
1511 one thread. Do you have examples of otherwise disconnected trees
1512 connected only by multi-parent mail?
1513
1514 > With your thread-centric approach, you'll want to break threads when
1515 > the topic mutates too far from the original, and that could be
1516 > difficult for meshy-graphs.
1517
1518 Topic-mutation happens within a tree as well. And pruning (boy I've
1519 wanted to do that quite a few times, I notice) afaik essentially
1520 requires scanning (and potentially modifying) all the messages in the
1521 thread. Technically I don't see how this is very different.
1522 "Politically" it however could be. If your mail graph is one big lump
1523 of spaghetti, it might be difficult to decide where to cut it off. ;)
1524
1525 > On an implementation level, I've got the above graph browser going
1526 > in python/curses, so it should be easy to port to ruby/curses.
1527
1528 Have a pointer to code?
1529
1530 I would love to see sup being able to do something usefull with
1531 multiple parent messages.
1532
1533 --
1534 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
1535
1536 From tero@tilus.net Sun Feb 21 04:09:39 2010
1537 From: tero@tilus.net (Tero Tilus)
1538 Date: Sun, 21 Feb 2010 11:09:39 +0200
1539 Subject: [sup-devel] [PATCH] Make automatic jumping to first/next open
1540 message configurable
1541 Message-ID: <1266742955-sup-7923@tilus.net>
1542
1543 Automatic jumping to first/next open message when opening/collapsing
1544 messages on thread view more got annoying. I made it configurable.
1545 Patch attached and feature branch also available on github.
1546
1547 http://github.com/terotil/sup/tree/feature-configurable-auto-jump-to-msg
1548
1549 I first had the configuration key other way round so missing it from
1550 conf file would not have changed sup behavior, but it looked pretty
1551 convoluted that way so I just dropped "backwards compatibility".
1552
1553 --
1554 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
1555 -------------- next part --------------
1556 A non-text attachment was scrubbed...
1557 Name: 0001-Make-automatic-jumping-to-first-next-open-message-co.patch
1558 Type: application/octet-stream
1559 Size: 1931 bytes
1560 Desc: not available
1561 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20100221/2d6de072/attachment.obj>
1562
1563 From wking@drexel.edu Sun Feb 21 08:42:49 2010
1564 From: wking@drexel.edu (W. Trevor King)
1565 Date: Sun, 21 Feb 2010 08:42:49 -0500
1566 Subject: [sup-devel] email threading - tree vs. graph
1567 In-Reply-To: <1266730498-sup-78@tilus.net>
1568 References: <20100218114943.GB911@mjolnir>
1569 <1266730498-sup-78@tilus.net>
1570 Message-ID: <20100221134249.GA11429@mjolnir>
1571
1572 On Sun, Feb 21, 2010 at 08:38:35AM +0200, Tero Tilus wrote:
1573 > > For example, here's a slice from the recent be-devel list as a graph:
1574 > > ...............
1575 > > | *-|-\ | | Mon Jan 25 W. Trevor King Re: Project releases
1576 > > | * | | | | Sat Jan 23 Gianluca Montecchi Re: Project releases
1577 > > | | | | t | | Sat Jan 23 Gianluca Montecchi Re: Project releases
1578 > > | *-|-|-|-\ | | Fri Jan 22 Ben Finney Re: Project releases
1579 > > | | | * | | | | Fri Jan 22 W. Trevor King Re: Project releases
1580 > > | | | *-/ | | | Thu Jan 21 Ben Finney Re: Project releases
1581 > > | * | | | | | Thu Jan 21 Gianluca Montecchi Re: Project releases
1582 > > *-|-|-/ | | | Thu Jan 21 W. Trevor King Re: Project releases
1583 > > ...............
1584 > > ^--- inheritence graph.
1585 > > You can see that Ben's Fri message and my Mon message both have two
1586 > > parents.
1587 >
1588 > Honestly. That took fair bit of staring and prolly wouldn't have
1589 > opened to me without your explanation. :) But that might only be due
1590 > to the external noise in the graph. Without those extra through-lines
1591 > it looks a bit more readable.
1592
1593 It's a snip from the full list sorted by date, so there are a bunch of
1594 through-lines when threads went out of fasion for a while ;).
1595 If you sorted by oldest parent date first, you would probably have
1596 fewer.
1597
1598 > I can't really see how this would lump significantly more mail into
1599 > one thread. Do you have examples of otherwise disconnected trees
1600 > connected only by multi-parent mail?
1601
1602 *-\-\-\-\-\-\-\-\ Fri May 16 Chris Ball how to use the git backend?
1603 r | | | | | | | | Fri May 16 Christian Garbs how to use the git backend?
1604 r-/ | | | | | | | Wed May 14 Jelmer Vernooij [MERGE] Two tiny fixes
1605 r---/ | | | | | | Mon Apr 21 Ben Finney [MERGE] Manual page for 'be' command.
1606 *-----/ | | | | | Mon Apr 21 Ben Finney [MERGE] Makefile: add skeleton 'build' ..
1607 r | | | | | Mon Apr 21 Ben Finney [MERGE] Makefile: Add with 'clean' targ..
1608 *-------/ | | | | Fri Apr 18 Ben Finney [MERGE] Add bug 00f (now fixed)
1609 r | | | | Fri Apr 18 Ben Finney [MERGE] Updated GPLv2 text and FSF addr..
1610 r---------/ | | | Fri Apr 18 Ben Finney [MERGE] Bugs-Everywhere-Web/libbe: Fix ..
1611 *-----------/ | | Mon Apr 14 j at oil21.org [PATCH] Bugs-Everywhere-Web identity
1612 r | | Mon Apr 14 j at oil21.org [PATCH] Bugs-Everywhere-Web identity
1613 r-------------/ | Mon Apr 14 j at oil21.org [MERGE] update about
1614 r---------------/ Mon Apr 14 j at oil21.org [MERGE] Bugs-Everywhere-Web works with .
1615
1616 Where Chris' mail was "... I also merged patches from...". Another
1617 case that comes up is that a user will post with a problem that's been
1618 discussed before, and we reply and link to the previous discussion.
1619 These are both software mailing list specific though. I don't have
1620 examples from other settings.
1621
1622 > > With your thread-centric approach, you'll want to break threads when
1623 > > the topic mutates too far from the original, and that could be
1624 > > difficult for meshy-graphs.
1625 >
1626 > Topic-mutation happens within a tree as well. And pruning (boy I've
1627 > wanted to do that quite a few times, I notice) afaik essentially
1628 > requires scanning (and potentially modifying) all the messages in the
1629 > thread. Technically I don't see how this is very different.
1630 > "Politically" it however could be. If your mail graph is one big lump
1631 > of spaghetti, it might be difficult to decide where to cut it off. ;)
1632
1633 My infant be.mailing-list branch (link below) is an attempt to address
1634 this by leaving the spaghetti alone, and attaching entry-point tags
1635 wherever you feel the subject makes a significant shift. Really, you
1636 *want* the spaghetti, since its human-generated cross-linking that
1637 reduces duplication-of-search effort. Assuming you trust the human in
1638 question ;).
1639
1640 > > On an implementation level, I've got the above graph browser going
1641 > > in python/curses, so it should be easy to port to ruby/curses.
1642 >
1643 > Have a pointer to code?
1644
1645 My code is currently stuffed into an in-transition BE project, but it
1646 should be easy to separate. Grab the whole repo with Bazaar:
1647 bzr branch http://www.physics.drexel.edu/~wking/code/bzr/be.mailing-list
1648 Graphing module is libbe/util/graph.py. My very minimal browser is
1649 misc/mailbox-tools/mailgraph.py. Set up the BE version file with
1650 cd be.mailing-list
1651 make libbe/_version.py
1652 and run the browser with
1653 misc/mailbox-tools/mailgraph.py *.mbox
1654 Press 'h' for help.
1655
1656 The graph module is pretty clean, but the others are not ;).
1657
1658 > I would love to see sup being able to do something usefull with
1659 > multiple parent messages.
1660
1661 If you want to use this in the wild, you'll need to figure out how to
1662 integrate multiple-parent In-Reply-To\s with your current JWZ
1663 threading which only uses References. From RFC 2822, section 3.6.4:
1664
1665 Note: Some implementations parse the "References:" field to display
1666 the "thread of the discussion". These implementations assume that
1667 each new message is a reply to a single parent and hence that they
1668 can walk backwards through the "References:" field to find the parent
1669 of each message listed there. Therefore, trying to form a
1670 "References:" field for a reply that has multiple parents is
1671 discouraged and how to do so is not defined in this document.
1672
1673 On major benefit of JWZ-threading is that it's self-healing. If some
1674 users don't thread their replies, you can thread them locally and
1675 reply, fixing the threading for others recieving your reply. The
1676 In-Reply-To alternative is to reply to both the broken message and the
1677 original thread:
1678 *-\ fixing response
1679 | r broken message
1680 * original thread
1681 which is needlessly uglier than
1682 * fixing response
1683 * broken message
1684 * original thread
1685 if it is clear from the content of the broken message that it really
1686 was a reply.
1687
1688 I think it would be best to leave view-graph and
1689 browse-to-other-parent as peripheral options, to be used on curated
1690 archives where you can trust In-Reply-To to be RFC 2822 compliant
1691 (e.g. the eventual be.mailing-list ;).
1692
1693 --
1694 This email may be signed or encrypted with GPG (http://www.gnupg.org).
1695 The GPG signature (if present) will be attached as 'signature.asc'.
1696 For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy
1697
1698 My public key is at http://www.physics.drexel.edu/~wking/pubkey.txt
1699 -------------- next part --------------
1700 A non-text attachment was scrubbed...
1701 Name: not available
1702 Type: application/pgp-signature
1703 Size: 198 bytes
1704 Desc: not available
1705 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20100221/d202fb91/attachment.bin>
1706
1707 From nicolas.pouillard@gmail.com Sun Feb 21 12:52:28 2010
1708 From: nicolas.pouillard@gmail.com (Nicolas Pouillard)
1709 Date: Sun, 21 Feb 2010 09:52:28 -0800 (PST)
1710 Subject: [sup-devel] email threading - tree vs. graph
1711 In-Reply-To: <20100221134249.GA11429@mjolnir>
1712 References: <20100218114943.GB911@mjolnir> <1266730498-sup-78@tilus.net>
1713 <20100221134249.GA11429@mjolnir>
1714 Message-ID: <4b8172dc.0f67f10a.4111.7dce@mx.google.com>
1715
1716 On Sun, 21 Feb 2010 08:42:49 -0500, "W. Trevor King" <wking at drexel.edu> wrote:
1717 > On Sun, Feb 21, 2010 at 08:38:35AM +0200, Tero Tilus wrote:
1718 [...]
1719 > > Have a pointer to code?
1720 >
1721 > My code is currently stuffed into an in-transition BE project, but it
1722 > should be easy to separate. Grab the whole repo with Bazaar:
1723 > bzr branch http://www.physics.drexel.edu/~wking/code/bzr/be.mailing-list
1724 > Graphing module is libbe/util/graph.py. My very minimal browser is
1725 > misc/mailbox-tools/mailgraph.py. Set up the BE version file with
1726 > cd be.mailing-list
1727 > make libbe/_version.py
1728 > and run the browser with
1729 > misc/mailbox-tools/mailgraph.py *.mbox
1730 > Press 'h' for help.
1731
1732 I've tried your program on a 100 messages mbox and got this:
1733
1734 missing Message-ID: <HIDDEN>
1735 missing Message-ID: <HIDDEN>
1736 missing Message-ID: <HIDDEN>
1737 missing Message-ID: <HIDDEN>
1738 missing Message-ID: <HIDDEN>
1739 missing Message-ID: <HIDDEN>
1740 missing Message-ID: <HIDDEN>
1741 missing Message-ID: <HIDDEN>
1742 missing Message-ID: <HIDDEN>
1743 missing Message-ID: <HIDDEN>
1744 missing Message-ID: <HIDDEN>
1745 missing Message-ID: <HIDDEN>
1746 missing Message-ID: <HIDDEN>
1747 missing Message-ID: <HIDDEN>
1748 missing Message-ID: <HIDDEN>
1749 missing Message-ID: <HIDDEN>
1750 missing Message-ID: <HIDDEN>
1751 missing Message-ID: <HIDDEN>
1752 missing Message-ID: <HIDDEN>
1753 missing Message-ID: <HIDDEN>
1754 missing Message-ID: <HIDDEN>
1755 missing Message-ID: <HIDDEN>
1756 missing Message-ID: <HIDDEN>
1757 missing Message-ID: <HIDDEN>
1758 missing Message-ID: <HIDDEN>
1759 missing Message-ID: <HIDDEN>
1760 missing Message-ID: <HIDDEN>
1761 missing Message-ID: <HIDDEN>
1762 missing Message-ID: <HIDDEN>
1763 Traceback (most recent call last):
1764 File "misc/mailbox-tools/mailgraph.py", line 194, in <module>
1765 app.run()
1766 File "/home/ertai/w/a/be.mailing-list/libbe/ui/util/curses_framework.py", line 487, in run
1767 return curses.wrapper(self._run, list(keys))
1768 File "/usr/lib/python2.6/curses/wrapper.py", line 44, in wrapper
1769 return func(stdscr, *args, **kwds)
1770 File "/home/ertai/w/a/be.mailing-list/libbe/ui/util/curses_framework.py", line 494, in _run
1771 self._run_init(stdscr)
1772 File "/home/ertai/w/a/be.mailing-list/libbe/ui/util/curses_framework.py", line 520, in _run_init
1773 window.initialize()
1774 File "/home/ertai/w/a/be.mailing-list/libbe/ui/util/curses_framework.py", line 172, in initialize
1775 self._setup_buffer()
1776 File "misc/mailbox-tools/mailgraph.py", line 51, in _setup_buffer
1777 self._buffer = self._graph.ascii_graph().splitlines()
1778 File "/home/ertai/w/a/be.mailing-list/libbe/util/graph.py", line 379, in ascii_graph
1779 for row,node in self.graph_rows():
1780 File "/home/ertai/w/a/be.mailing-list/libbe/util/graph.py", line 367, in graph_rows
1781 self.topological_sort()
1782 File "/home/ertai/w/a/be.mailing-list/libbe/util/graph.py", line 355, in topological_sort
1783 % (orig_len - final_len, orig_len))
1784 libbe.util.graph.CyclicGraph: 3 of 100 elements not reachable from tips
1785
1786 Best regards,
1787
1788 --
1789 Nicolas Pouillard
1790 http://nicolaspouillard.fr
1791
1792 From wking@drexel.edu Sun Feb 21 14:29:47 2010
1793 From: wking@drexel.edu (W. Trevor King)
1794 Date: Sun, 21 Feb 2010 14:29:47 -0500
1795 Subject: [sup-devel] email threading - tree vs. graph
1796 In-Reply-To: <4b8172dc.0f67f10a.4111.7dce@mx.google.com>
1797 References: <20100218114943.GB911@mjolnir> <1266730498-sup-78@tilus.net>
1798 <20100221134249.GA11429@mjolnir>
1799 <4b8172dc.0f67f10a.4111.7dce@mx.google.com>
1800 Message-ID: <20100221192947.GA16075@mjolnir>
1801
1802 On Sun, Feb 21, 2010 at 09:52:28AM -0800, Nicolas Pouillard wrote:
1803 > On Sun, 21 Feb 2010 08:42:49 -0500, "W. Trevor King" <wking at drexel.edu> wrote:
1804 > > On Sun, Feb 21, 2010 at 08:38:35AM +0200, Tero Tilus wrote:
1805 > [...]
1806 > > > Have a pointer to code?
1807 > >
1808 > > My code is currently stuffed into an in-transition BE project, but it
1809 > > should be easy to separate. Grab the whole repo with Bazaar:
1810 > > bzr branch http://www.physics.drexel.edu/~wking/code/bzr/be.mailing-list
1811 > > Graphing module is libbe/util/graph.py. My very minimal browser is
1812 > > misc/mailbox-tools/mailgraph.py. Set up the BE version file with
1813 > > cd be.mailing-list
1814 > > make libbe/_version.py
1815 > > and run the browser with
1816 > > misc/mailbox-tools/mailgraph.py *.mbox
1817 > > Press 'h' for help.
1818 >
1819 > I've tried your program on a 100 messages mbox and got this:
1820 >
1821 > missing Message-ID: <HIDDEN>
1822 > ...
1823
1824 You probably had a bunch of emails in you mbox with
1825 In-Reply-To: <HIDDEN>
1826 But no message(s) with
1827 Message-ID: <HIDDEN>
1828
1829 If mailgraph.py can't find the parent message, it prints that warning
1830 and continues, so you can probably just ignore it.
1831
1832 > Traceback (most recent call last):
1833 > ...
1834 > libbe.util.graph.CyclicGraph: 3 of 100 elements not reachable from tips
1835
1836 You have a cyclic reference in your mbox somewhere. I've added some
1837 really inefficient code to actually *find* cycles (rather than just
1838 deducing their existence) and print useful error messages. Pull my
1839 current repo and try:
1840
1841 $ misc/mailbox-tools/mailgraph.py --check-for-cycle *.mbox
1842
1843 Then you'll have to go through the mbox (or a copy) by hand and break
1844 the cycle. The check only finds one cycle at a time, so you may need
1845 to iterate...
1846
1847 --
1848 This email may be signed or encrypted with GPG (http://www.gnupg.org).
1849 The GPG signature (if present) will be attached as 'signature.asc'.
1850 For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy
1851
1852 My public key is at http://www.physics.drexel.edu/~wking/pubkey.txt
1853 -------------- next part --------------
1854 A non-text attachment was scrubbed...
1855 Name: not available
1856 Type: application/pgp-signature
1857 Size: 198 bytes
1858 Desc: not available
1859 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20100221/edb4b8e2/attachment-0001.bin>
1860
1861 From tero@tilus.net Sun Feb 21 15:24:17 2010
1862 From: tero@tilus.net (Tero Tilus)
1863 Date: Sun, 21 Feb 2010 22:24:17 +0200
1864 Subject: [sup-devel] [PATCH] Publish hook
1865 Message-ID: <1266783512-sup-8493@tilus.net>
1866
1867 Quite a few times I've found myself wanting to send a mail text to
1868 etherpad/pastebin/etc or attachment doc to flicr/evernote/etc. I went
1869 to drill an appropriately small hole to sup to enable just that.
1870
1871 Patch attached and online
1872 http://github.com/terotil/sup/tree/feature-publish-attachment
1873
1874 --
1875 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
1876 -------------- next part --------------
1877 A non-text attachment was scrubbed...
1878 Name: 0001-Publishing-hook.patch
1879 Type: application/octet-stream
1880 Size: 1782 bytes
1881 Desc: not available
1882 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20100221/134261d6/attachment.obj>
1883
1884 From rlane@club.cc.cmu.edu Sun Feb 21 19:20:52 2010
1885 From: rlane@club.cc.cmu.edu (Rich Lane)
1886 Date: Sun, 21 Feb 2010 19:20:52 -0500
1887 Subject: [sup-devel] updated edge branch
1888 Message-ID: <1266797479-sup-3532@zyrg.net>
1889
1890 There are a bunch of patches that haven't been merged to mainline yet,
1891 so I merged them to my edge branch. I didn't look too hard at them so
1892 don't assume that this branch could be merged to mainline as-is.
1893
1894 git://github.com/rlane/sup.git
1895
1896 git log --no-merges --abbrev-commit --pretty=oneline mainline/next...edge
1897 e3821be... Added support for multiple sent sources.
1898 21070d5... index-mode-date-widget hook for rendering dates in thread index
1899 5f67e69... Implement inline GPG
1900 0d1fe80... Make automatic jumping to first/next open message configurable
1901 f6c0f29... Bugfix: Don<E2><80><99>t call Ncurses.getch when in shell_out mode
1902 c8f83d6... Add hook gpg-args to allow the user to add/remove flags
1903 3aabf1a... Added crypto-settings hook
1904 411b7ce... Publishing hook
1905 287c281... Use multiple body arrays when calling before-edit for each reply type
1906 3da9c18... Add config option to limit text wrapping width
1907 b942caf... prevent "year too big to marshal" crashes
1908 9819900... flush index on idle
1909 8246259... catch xapian query parser exceptions and display them to the user
1910 31141e2... fix missing parentheses warning
1911 923521d... fix participants queries
1912 c30d2fe... Conditionally define Fixnum#ord
1913 7f4830a... poll updates accumulate while idle
1914 9951acf... idle and unidle updates
1915 a76c577... fix textfield truncation
1916 979f64a... show (recipients) instead of lone "me"
1917 a074184... dont restrict colors to those in Colormap::DEFAULT_COLORS
1918 3a96053... configurable color highlights
1919 02b1926... dont check thread-index-mode dirtiness on every keypress
1920 afe8eb8... enable ruby-prof with SUP_PROFILE environment variable
1921 4af9a93... keybindings hook
1922 1fb13f5... add keymap rebinding support
1923 23e872a... make mode keymap easily accessible to hooks
1924
1925 From tero@tilus.net Mon Feb 22 00:48:30 2010
1926 From: tero@tilus.net (Tero Tilus)
1927 Date: Mon, 22 Feb 2010 07:48:30 +0200
1928 Subject: [sup-devel] updated edge branch
1929 In-Reply-To: <1266797479-sup-3532@zyrg.net>
1930 References: <1266797479-sup-3532@zyrg.net>
1931 Message-ID: <1266817465-sup-993@tilus.net>
1932
1933 Rich Lane, 2010-02-22 02:20:
1934 > There are a bunch of patches that haven't been merged to mainline
1935 > yet, so I merged them to my edge branch.
1936
1937 Thanks. Now I don't have to (re)integrate them to my daily sup all
1938 the time.
1939
1940 > I didn't look too hard at them so don't assume that this branch
1941 > could be merged to mainline as-is.
1942
1943 Was hookifying missing attachment detector intentionally left out?
1944 http://github.com/terotil/sup/commit/ae317d351b9b1e4210d472cfe43b8e60cd4257c4
1945
1946 --
1947 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
1948
1949 From rlane@club.cc.cmu.edu Mon Feb 22 02:22:25 2010
1950 From: rlane@club.cc.cmu.edu (Rich Lane)
1951 Date: Mon, 22 Feb 2010 02:22:25 -0500
1952 Subject: [sup-devel] [PATCH] I can haz moar hooks: attachment-mentioned,
1953 index-mode-date-widget
1954 In-Reply-To: <1264123657-sup-4929@tilus.net>
1955 References: <1261167840-sup-592@orion> <1261179239-sup-9258@tilus.net>
1956 <1261246334-sup-1438@masanjin.net> <1261276156-sup-5510@tilus.net>
1957 <1261402666-sup-8068@masanjin.net> <1264123657-sup-4929@tilus.net>
1958 Message-ID: <1266822897-sup-8818@zyrg.net>
1959
1960 Excerpts from Tero Tilus's message of 2010-01-21 20:32:00 -0500:
1961 > William Morgan, 2009-12-21 15:38:
1962 > > Reformatted excerpts from Tero Tilus's message of 2009-12-19:
1963 > > > The detect-missing-attachment hook is pretty self evident but what you
1964 > > > had in mind for the dates? Formatter for the thread-index-mode date
1965 > > > widget maybe?
1966 > >
1967 > > Exactly. We already have index-mode-size-widget, so
1968 > > index-mode-date-widget would be analogous.
1969 >
1970 > Here they are, finally...
1971
1972 Wouldn't the detect-missing-attachment hook patch cause a regression for
1973 people who don't write their own hook?
1974
1975 From tero@tilus.net Mon Feb 22 03:07:34 2010
1976 From: tero@tilus.net (Tero Tilus)
1977 Date: Mon, 22 Feb 2010 10:07:34 +0200
1978 Subject: [sup-devel] [PATCH] I can haz moar hooks: attachment-mentioned,
1979 index-mode-date-widget
1980 In-Reply-To: <1266822897-sup-8818@zyrg.net>
1981 References: <1261167840-sup-592@orion> <1261179239-sup-9258@tilus.net>
1982 <1261246334-sup-1438@masanjin.net> <1261276156-sup-5510@tilus.net>
1983 <1261402666-sup-8068@masanjin.net>
1984 <1264123657-sup-4929@tilus.net> <1266822897-sup-8818@zyrg.net>
1985 Message-ID: <1266825994-sup-5466@tilus.net>
1986
1987 Rich Lane, 2010-02-22 09:22:
1988 > Wouldn't the detect-missing-attachment hook patch cause a regression
1989 > for people who don't write their own hook?
1990
1991 Oops. It definitely would. Amended patch attached.
1992
1993 --
1994 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
1995
1996 From tero@tilus.net Mon Feb 22 03:09:24 2010
1997 From: tero@tilus.net (Tero Tilus)
1998 Date: Mon, 22 Feb 2010 10:09:24 +0200
1999 Subject: [sup-devel] [PATCH] I can haz moar hooks: attachment-mentioned,
2000 index-mode-date-widget
2001 In-Reply-To: <1266825994-sup-5466@tilus.net>
2002 References: <1261167840-sup-592@orion> <1261179239-sup-9258@tilus.net>
2003 <1261246334-sup-1438@masanjin.net> <1261276156-sup-5510@tilus.net>
2004 <1261402666-sup-8068@masanjin.net>
2005 <1264123657-sup-4929@tilus.net> <1266822897-sup-8818@zyrg.net>
2006 <1266825994-sup-5466@tilus.net>
2007 Message-ID: <1266826098-sup-4481@tilus.net>
2008
2009 Tero Tilus, 2010-02-22 10:07:
2010 > Amended patch attached.
2011
2012 Didn't pass my own test. :D
2013 Better luck this time with the attachment.
2014
2015 --
2016 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
2017 -------------- next part --------------
2018 A non-text attachment was scrubbed...
2019 Name: 0001-mentions-attachments-hook-to-detect-missing-attachme.patch
2020 Type: application/octet-stream
2021 Size: 1423 bytes
2022 Desc: not available
2023 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20100222/16eadfd4/attachment.obj>
2024
2025 From nicolas.pouillard@gmail.com Mon Feb 22 09:00:53 2010
2026 From: nicolas.pouillard@gmail.com (Nicolas Pouillard)
2027 Date: Mon, 22 Feb 2010 06:00:53 -0800 (PST)
2028 Subject: [sup-devel] email threading - tree vs. graph
2029 In-Reply-To: <20100221192947.GA16075@mjolnir>
2030 References: <20100218114943.GB911@mjolnir> <1266730498-sup-78@tilus.net>
2031 <20100221134249.GA11429@mjolnir>
2032 <4b8172dc.0f67f10a.4111.7dce@mx.google.com>
2033 <20100221192947.GA16075@mjolnir>
2034 Message-ID: <4b828e15.0e67f10a.21cd.ffffc19d@mx.google.com>
2035
2036 On Sun, 21 Feb 2010 14:29:47 -0500, "W. Trevor King" <wking at drexel.edu> wrote:
2037 > On Sun, Feb 21, 2010 at 09:52:28AM -0800, Nicolas Pouillard wrote:
2038 > > On Sun, 21 Feb 2010 08:42:49 -0500, "W. Trevor King" <wking at drexel.edu> wrote:
2039 > > > On Sun, Feb 21, 2010 at 08:38:35AM +0200, Tero Tilus wrote:
2040 > > [...]
2041 > > > > Have a pointer to code?
2042 > > >
2043 > > > My code is currently stuffed into an in-transition BE project, but it
2044 > > > should be easy to separate. Grab the whole repo with Bazaar:
2045 > > > bzr branch http://www.physics.drexel.edu/~wking/code/bzr/be.mailing-list
2046 > > > Graphing module is libbe/util/graph.py. My very minimal browser is
2047 > > > misc/mailbox-tools/mailgraph.py. Set up the BE version file with
2048 > > > cd be.mailing-list
2049 > > > make libbe/_version.py
2050 > > > and run the browser with
2051 > > > misc/mailbox-tools/mailgraph.py *.mbox
2052 > > > Press 'h' for help.
2053 > >
2054 > > I've tried your program on a 100 messages mbox and got this:
2055 > >
2056 > > missing Message-ID: <HIDDEN>
2057 > > ...
2058 >
2059 > You probably had a bunch of emails in you mbox with
2060 > In-Reply-To: <HIDDEN>
2061 > But no message(s) with
2062 > Message-ID: <HIDDEN>
2063 >
2064 > If mailgraph.py can't find the parent message, it prints that warning
2065 > and continues, so you can probably just ignore it.
2066 >
2067 > > Traceback (most recent call last):
2068 > > ...
2069 > > libbe.util.graph.CyclicGraph: 3 of 100 elements not reachable from tips
2070 >
2071 > You have a cyclic reference in your mbox somewhere. I've added some
2072 > really inefficient code to actually *find* cycles (rather than just
2073 > deducing their existence) and print useful error messages. Pull my
2074 > current repo and try:
2075 >
2076 > $ misc/mailbox-tools/mailgraph.py --check-for-cycle *.mbox
2077 >
2078 > Then you'll have to go through the mbox (or a copy) by hand and break
2079 > the cycle. The check only finds one cycle at a time, so you may need
2080 > to iterate...
2081
2082 I get:
2083
2084 ...
2085 libbe.util.graph.CyclicGraphError: cycle detected:
2086 Sun, 21 Fe Reinier Lamers [darcs-users] [patch167] Reintroduce UTF-8 tagging...
2087 Sun, 21 Fe Reinier Lamers [darcs-users] [patch167] Reintroduce UTF-8 tagging...
2088
2089 Actually the mentioned mail have Message-ID equals to In-Reply-To.
2090
2091 While I'm reporting this issue and thus won't get any such messages, it would be
2092 "nice" to have a more robust behavior in case of cycles. In particular these
2093 auto-cycles can be just ignored.
2094
2095 --
2096 Nicolas Pouillard
2097 http://nicolaspouillard.fr
2098
2099 From wking@drexel.edu Mon Feb 22 10:54:19 2010
2100 From: wking@drexel.edu (W. Trevor King)
2101 Date: Mon, 22 Feb 2010 10:54:19 -0500
2102 Subject: [sup-devel] email threading - tree vs. graph
2103 In-Reply-To: <4b828e15.0e67f10a.21cd.ffffc19d@mx.google.com>
2104 References: <20100218114943.GB911@mjolnir> <1266730498-sup-78@tilus.net>
2105 <20100221134249.GA11429@mjolnir>
2106 <4b8172dc.0f67f10a.4111.7dce@mx.google.com>
2107 <20100221192947.GA16075@mjolnir>
2108 <4b828e15.0e67f10a.21cd.ffffc19d@mx.google.com>
2109 Message-ID: <20100222155419.GC26338@mjolnir>
2110
2111 On Mon, Feb 22, 2010 at 06:00:53AM -0800, Nicolas Pouillard wrote:
2112 > ...
2113 > libbe.util.graph.CyclicGraphError: cycle detected:
2114 > Sun, 21 Fe Reinier Lamers [darcs-users] [patch167] Reintroduce UTF-8 tagging...
2115 > Sun, 21 Fe Reinier Lamers [darcs-users] [patch167] Reintroduce UTF-8 tagging...
2116 >
2117 > Actually the mentioned mail have Message-ID equals to In-Reply-To.
2118
2119 Hah. That is great :p.
2120
2121 > While I'm reporting this issue and thus won't get any such messages,
2122 > it would be "nice" to have a more robust behavior in case of
2123 > cycles. In particular these auto-cycles can be just ignored.
2124
2125 Added a 'correct-mailbox.py' script that tries to handle all of these
2126 (and probably more in the future) issues in one shot.
2127
2128 --
2129 This email may be signed or encrypted with GPG (http://www.gnupg.org).
2130 The GPG signature (if present) will be attached as 'signature.asc'.
2131 For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy
2132
2133 My public key is at http://www.physics.drexel.edu/~wking/pubkey.txt
2134 -------------- next part --------------
2135 A non-text attachment was scrubbed...
2136 Name: not available
2137 Type: application/pgp-signature
2138 Size: 198 bytes
2139 Desc: not available
2140 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20100222/842fc172/attachment.bin>
2141
2142 From nicolas.pouillard@gmail.com Mon Feb 22 11:04:20 2010
2143 From: nicolas.pouillard@gmail.com (Nicolas Pouillard)
2144 Date: Mon, 22 Feb 2010 08:04:20 -0800 (PST)
2145 Subject: [sup-devel] email threading - tree vs. graph
2146 In-Reply-To: <20100222155419.GC26338@mjolnir>
2147 References: <20100218114943.GB911@mjolnir> <1266730498-sup-78@tilus.net>
2148 <20100221134249.GA11429@mjolnir>
2149 <4b8172dc.0f67f10a.4111.7dce@mx.google.com>
2150 <20100221192947.GA16075@mjolnir>
2151 <4b828e15.0e67f10a.21cd.ffffc19d@mx.google.com>
2152 <20100222155419.GC26338@mjolnir>
2153 Message-ID: <4b82ab04.1067f10a.2460.ffffc8a4@mx.google.com>
2154
2155 On Mon, 22 Feb 2010 10:54:19 -0500, "W. Trevor King" <wking at drexel.edu> wrote:
2156 > On Mon, Feb 22, 2010 at 06:00:53AM -0800, Nicolas Pouillard wrote:
2157 > > ...
2158 > > libbe.util.graph.CyclicGraphError: cycle detected:
2159 > > Sun, 21 Fe Reinier Lamers [darcs-users] [patch167] Reintroduce UTF-8 tagging...
2160 > > Sun, 21 Fe Reinier Lamers [darcs-users] [patch167] Reintroduce UTF-8 tagging...
2161 > >
2162 > > Actually the mentioned mail have Message-ID equals to In-Reply-To.
2163 >
2164 > Hah. That is great :p.
2165 >
2166 > > While I'm reporting this issue and thus won't get any such messages,
2167 > > it would be "nice" to have a more robust behavior in case of
2168 > > cycles. In particular these auto-cycles can be just ignored.
2169 >
2170 > Added a 'correct-mailbox.py' script that tries to handle all of these
2171 > (and probably more in the future) issues in one shot.
2172
2173 Tried it (correct-mailbox.py) on a bigger part of my mail box and got:
2174
2175 libbe.util.graph.CyclicGraphError: 17 of 1000 elements not reachable from tips
2176
2177 --
2178 Nicolas Pouillard
2179 http://nicolaspouillard.fr
2180
2181 From wking@drexel.edu Mon Feb 22 11:48:39 2010
2182 From: wking@drexel.edu (W. Trevor King)
2183 Date: Mon, 22 Feb 2010 11:48:39 -0500
2184 Subject: [sup-devel] email threading - tree vs. graph
2185 In-Reply-To: <4b82ab04.1067f10a.2460.ffffc8a4@mx.google.com>
2186 <1266730498-sup-78@tilus.net>
2187 Message-ID: <20100222164836.GB27306@mjolnir>
2188
2189 On Mon, Feb 22, 2010 at 08:04:20AM -0800, Nicolas Pouillard wrote:
2190 > ...
2191 > Tried it (correct-mailbox.py) on a bigger part of my mail box and got:
2192 >
2193 > libbe.util.graph.CyclicGraphError: 17 of 1000 elements not reachable from tips
2194
2195 I've moved the correct-mailbox.py/mailgraph.py bugs portion of this
2196 thread off-list, since they are not sup-related. Feel free to send
2197 more bugs directly to me.
2198
2199 On Sun, Feb 21, 2010 at 08:38:35AM +0200, Tero Tilus wrote:
2200 > I would love to see sup being able to do something usefull with
2201 > multiple parent messages.
2202
2203 Any more comments along this line? ;). I don't know much ruby yet,
2204 but I can probably patch my graph code into sup if someone can tell me
2205 where it should go (sup/graph.rb and sup/modes/thread-index-mode.rb?).
2206
2207 --
2208 This email may be signed or encrypted with GPG (http://www.gnupg.org).
2209 The GPG signature (if present) will be attached as 'signature.asc'.
2210 For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy
2211
2212 My public key is at http://www.physics.drexel.edu/~wking/pubkey.txt
2213 -------------- next part --------------
2214 A non-text attachment was scrubbed...
2215 Name: not available
2216 Type: application/pgp-signature
2217 Size: 198 bytes
2218 Desc: not available
2219 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20100222/63c8408f/attachment.bin>
2220
2221 From nicolas.pouillard@gmail.com Tue Feb 23 05:29:20 2010
2222 From: nicolas.pouillard@gmail.com (Nicolas Pouillard)
2223 Date: Tue, 23 Feb 2010 02:29:20 -0800 (PST)
2224 Subject: [sup-devel] email threading - tree vs. graph
2225 In-Reply-To: <20100222164836.GB27306@mjolnir>
2226 References: <20100222164836.GB27306@mjolnir>
2227 Message-ID: <4b83ae00.0637560a.7d67.ffffeca4@mx.google.com>
2228
2229 On Mon, 22 Feb 2010 11:48:39 -0500, "W. Trevor King" <wking at drexel.edu> wrote:
2230 > On Mon, Feb 22, 2010 at 08:04:20AM -0800, Nicolas Pouillard wrote:
2231 > > ...
2232 > > Tried it (correct-mailbox.py) on a bigger part of my mail box and got:
2233 > >
2234 > > libbe.util.graph.CyclicGraphError: 17 of 1000 elements not reachable from tips
2235 >
2236 > I've moved the correct-mailbox.py/mailgraph.py bugs portion of this
2237 > thread off-list, since they are not sup-related. Feel free to send
2238 > more bugs directly to me.
2239 >
2240 > On Sun, Feb 21, 2010 at 08:38:35AM +0200, Tero Tilus wrote:
2241 > > I would love to see sup being able to do something usefull with
2242 > > multiple parent messages.
2243 >
2244 > Any more comments along this line? ;). I don't know much ruby yet,
2245 > but I can probably patch my graph code into sup if someone can tell me
2246 > where it should go (sup/graph.rb and sup/modes/thread-index-mode.rb?).
2247
2248 I find that this is a nice idea. If it can be done without changing
2249 to much of the current code of sup, and without performance loss for those
2250 who don't want to use it, I think it could be a nice addition.
2251
2252 Best regards,
2253
2254 --
2255 Nicolas Pouillard
2256 http://nicolaspouillard.fr
2257
2258 From sup-bugs@masanjin.net Tue Feb 23 17:17:36 2010
2259 From: sup-bugs@masanjin.net (anonymous)
2260 Date: Tue, 23 Feb 2010 22:17:36 +0000
2261 Subject: [sup-devel] [issue71] Move sources last update from
2262 .sup/sources.yaml
2263 In-Reply-To: <1266963456.92.0.651747611938.issue71@masanjin.net>
2264 Message-ID: <1266963456.92.0.651747611938.issue71@masanjin.net>
2265
2266
2267 New submission from anonymous:
2268
2269 I save sup configuration files on sources control so I can move freely between
2270 computers. .sup/sources.yaml is updated on every pull - makes it very annoying
2271 to commit all the time.
2272
2273 Can you separate the "where" in sources from the "when"? This way I can track
2274 only the "where" file.
2275
2276 Thanks,
2277 --
2278 Miki
2279
2280 ----------
2281 messages: 178
2282 nosy: anonymous
2283 priority: feature request
2284 ruby_version: 1.8.7
2285 status: unread
2286 sup_version: 0.10.1
2287 title: Move sources last update from .sup/sources.yaml
2288
2289 _________________________________________
2290 Sup issue tracker <sup-bugs at masanjin.net>
2291 <http://masanjin.net/sup-bugs/issue71>
2292 _________________________________________
2293
2294 From bwalton@artsci.utoronto.ca Tue Feb 23 19:34:29 2010
2295 From: bwalton@artsci.utoronto.ca (Ben Walton)
2296 Date: Tue, 23 Feb 2010 19:34:29 -0500
2297 Subject: [sup-devel] [issue71] Move sources last update from
2298 .sup/sources.yaml
2299 In-Reply-To: <1266963456.92.0.651747611938.issue71@masanjin.net>
2300 References: <1266963456.92.0.651747611938.issue71@masanjin.net>
2301 Message-ID: <1266971475-sup-5748@ntdws12.chass.utoronto.ca>
2302
2303 Excerpts from anonymous's message of Tue Feb 23 17:17:36 -0500 2010:
2304
2305 > Can you separate the "where" in sources from the "when"? This way I
2306 > can track only the "where" file.
2307
2308 In general, I support this idea[1]. Storing state with configuration
2309 isn't ideal for many reasons.
2310
2311 That being said, there is some tight coupling that would need some
2312 attention to overcome this.
2313
2314 Just my $0.02 CDN.
2315 -Ben
2316
2317 [1] See Sun's (Oracle's) NIH reimplementation of log rotation (logadm)
2318 for one of my personal favourite Solaris gripes.
2319 --
2320 Ben Walton
2321 Systems Programmer - CHASS
2322 University of Toronto
2323 C:416.407.5610 | W:416.978.4302
2324
2325 -------------- next part --------------
2326 A non-text attachment was scrubbed...
2327 Name: signature.asc
2328 Type: application/pgp-signature
2329 Size: 189 bytes
2330 Desc: not available
2331 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20100223/493c3240/attachment.bin>
2332
2333 From wmorgan-sup@masanjin.net Thu Feb 25 09:51:55 2010
2334 From: wmorgan-sup@masanjin.net (William Morgan)
2335 Date: Thu, 25 Feb 2010 09:51:55 -0500
2336 Subject: [sup-devel] sup for sale
2337 Message-ID: <1267109223-sup-351@masanjin.net>
2338
2339 Hi all,
2340
2341 As has probably become painfully obvious to you all, my motivation for
2342 developing and maintaing Sup has been waning over the past year.
2343
2344 I use Sup every day as my primary email client, so its bugs, problems
2345 and misfeatures irritate me every day. This provides just enough
2346 motivation for the current glacial pace of maintainership, which I'm
2347 happy to continue doing. Sup will not die so long as I am around to use
2348 it.
2349
2350 But if someone wants to take the ball and be an official maintainer, I
2351 will give you my blessing and the power to gem push new releases. You
2352 don't even have to maintain my current crazy branching scheme!
2353
2354 Otherwise, things will continue as they do now.
2355 --
2356 William <wmorgan-sup at masanjin.net>
2357
2358 From stettberger@dokucode.de Thu Feb 25 10:32:39 2010
2359 From: stettberger@dokucode.de (Christian Dietrich)
2360 Date: Thu, 25 Feb 2010 16:32:39 +0100
2361 Subject: [sup-devel] sup for sale
2362 In-Reply-To: <1267109223-sup-351@masanjin.net>
2363 References: <1267109223-sup-351@masanjin.net>
2364 Message-ID: <1267111506-sup-1389@peer.zerties.org>
2365
2366 Excerpts from William Morgan's message of Thu Feb 25 15:51:55 +0100 2010:
2367 > But if someone wants to take the ball and be an official maintainer, I
2368 > will give you my blessing and the power to gem push new releases. You
2369 > don't even have to maintain my current crazy branching scheme!
2370
2371 Hi,
2372 i haven't contributed much to sup yet (except one patch, that wasn't
2373 applied) but i thinks its a really great mailer, that is it worth to
2374 be activly continued.
2375
2376 In the last half year i made the experience that it is easier for
2377 the single programmer (pusher) if he isn't the only one who is
2378 allowed to push the upstream repository. Because there you have
2379 always the possibility to say: Hm, i don't have the time in the next
2380 3 weeks or so, but there is somebody else, who does merging/patching
2381 and bugfixing. Perhaps it isn't that bad to give push right to a
2382 group of people, who activly developed sup in the past.
2383
2384 Just my 2 cents
2385
2386 greetz didi
2387
2388 > Otherwise, things will continue as they do now.
2389
2390 I would really like to do more developing in sup, but without
2391 getting your patches applied its a little bit frustrating.
2392 --
2393 No documentation is better than bad documentation
2394 -- Das Ausdrucken dieser Mail wird urheberrechtlich verfolgt.
2395 -------------- next part --------------
2396 A non-text attachment was scrubbed...
2397 Name: signature.asc
2398 Type: application/pgp-signature
2399 Size: 836 bytes
2400 Desc: not available
2401 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20100225/1d13e8c2/attachment.bin>
2402
2403 From stettberger@dokucode.de Thu Feb 25 11:52:57 2010
2404 From: stettberger@dokucode.de (Christian Dietrich)
2405 Date: Thu, 25 Feb 2010 17:52:57 +0100
2406 Subject: [sup-devel] Adding a default_crypto option to autosign
2407 Message-ID: <1267116669-sup-19@peer.zerties.org>
2408
2409 Hi,
2410 I added[1] a :default_crypt option to make it possible to say:
2411 "normally i want messages to be signed"
2412
2413 greetz didi
2414
2415 [1] http://github.com/stettberger/sup-mail/commit/8c6d66eaf0e681fe8b0936a72036c2fece65d69a
2416
2417
2418
2419 --
2420 No documentation is better than bad documentation
2421 -- Das Ausdrucken dieser Mail wird urheberrechtlich verfolgt.
2422 -------------- next part --------------
2423 A non-text attachment was scrubbed...
2424 Name: signature.asc
2425 Type: application/pgp-signature
2426 Size: 836 bytes
2427 Desc: not available
2428 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20100225/99db366f/attachment.bin>
2429
2430 From stettberger@dokucode.de Thu Feb 25 12:09:06 2010
2431 From: stettberger@dokucode.de (Christian Dietrich)
2432 Date: Thu, 25 Feb 2010 18:09:06 +0100
2433 Subject: [sup-devel] Searching unread messages in label-search-mode
2434 Message-ID: <1267117624-sup-7108@peer.zerties.org>
2435
2436 Hi,
2437 i just added the keystroke 'U' to the label search mode, so you just
2438 jump into a search with "AND is:unread" directly from the
2439 label-search-mode
2440
2441 greetz didi
2442
2443 http://github.com/stettberger/sup-mail/commit/fbf0f92a6e65ea2e5c56565a92166af2b0c07446
2444 --
2445 No documentation is better than bad documentation
2446 -- Das Ausdrucken dieser Mail wird urheberrechtlich verfolgt.
2447 -------------- next part --------------
2448 A non-text attachment was scrubbed...
2449 Name: signature.asc
2450 Type: application/pgp-signature
2451 Size: 836 bytes
2452 Desc: not available
2453 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20100225/6bd75541/attachment.bin>
2454
2455 From tero@tilus.net Thu Feb 25 15:04:25 2010
2456 From: tero@tilus.net (Tero Tilus)
2457 Date: Thu, 25 Feb 2010 22:04:25 +0200
2458 Subject: [sup-devel] sup for sale
2459 In-Reply-To: <1267109223-sup-351@masanjin.net>
2460 References: <1267109223-sup-351@masanjin.net>
2461 Message-ID: <1267126809-sup-9599@tilus.net>
2462
2463 William Morgan, 2010-02-25 16:51:
2464 > But if someone wants to take the ball and be an official maintainer,
2465 > I will give you my blessing and the power to gem push new releases.
2466
2467 One in particular comes into my mind. Rich Lane has done an awesome
2468 job with sup and shown exceptional vision with his work on sup-server.
2469 IMHO, if Rich wants to catch the ball, he would make a great lead
2470 maintainer.
2471
2472 > Otherwise, things will continue as they do now.
2473
2474 Which, I have to say, is not really bad at all. People develop,
2475 patches get merged and released. Cycle could always be tighter, of
2476 course. But sup is alive and strong.
2477
2478 --
2479 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
2480
2481 From rlane@club.cc.cmu.edu Thu Feb 25 16:55:36 2010
2482 From: rlane@club.cc.cmu.edu (Rich Lane)
2483 Date: Thu, 25 Feb 2010 16:55:36 -0500
2484 Subject: [sup-devel] sup for sale
2485 In-Reply-To: <1267109223-sup-351@masanjin.net>
2486 References: <1267109223-sup-351@masanjin.net>
2487 Message-ID: <1267132217-sup-2260@zyrg.net>
2488
2489 I'm willing to do it. I've been working on other projects lately, but I
2490 can make time for Sup. I created accounts (rlane) at gitorious and
2491 rubyforge.
2492
2493 From wmorgan-sup@masanjin.net Thu Feb 25 18:26:54 2010
2494 From: wmorgan-sup@masanjin.net (William Morgan)
2495 Date: Thu, 25 Feb 2010 18:26:54 -0500
2496 Subject: [sup-devel] sup for sale
2497 In-Reply-To: <1267132217-sup-2260@zyrg.net>
2498 References: <1267109223-sup-351@masanjin.net> <1267132217-sup-2260@zyrg.net>
2499 Message-ID: <1267140372-sup-1058@masanjin.net>
2500
2501 Reformatted excerpts from Rich Lane's message of 2010-02-25:
2502 > I'm willing to do it. I've been working on other projects lately, but
2503 > I can make time for Sup. I created accounts (rlane) at gitorious and
2504 > rubyforge.
2505
2506 Awesome. I have added you to RubyForge and Gitorious. For Gemcutter, I
2507 think I will need the secret email address that you signed up with to
2508 add you as someone who can push new releases.
2509 --
2510 William <wmorgan-sup at masanjin.net>
2511
2512 From wmorgan-sup@masanjin.net Fri Feb 26 09:05:57 2010
2513 From: wmorgan-sup@masanjin.net (William Morgan)
2514 Date: Fri, 26 Feb 2010 09:05:57 -0500
2515 Subject: [sup-devel] sup for sale
2516 In-Reply-To: <1267140372-sup-1058@masanjin.net>
2517 References: <1267109223-sup-351@masanjin.net> <1267132217-sup-2260@zyrg.net>
2518 <1267140372-sup-1058@masanjin.net>
2519 Message-ID: <1267193151-sup-3060@masanjin.net>
2520
2521 Reformatted excerpts from William Morgan's message of 2010-02-25:
2522 > For Gemcutter, I think I will need the secret email address that you
2523 > signed up with to add you as someone who can push new releases.
2524
2525 Ok, you're able to push new gems as well. Please go crazy, and thanks!
2526 --
2527 William <wmorgan-sup at masanjin.net>
2528
2529 From tero@tilus.net Fri Feb 26 11:07:40 2010
2530 From: tero@tilus.net (Tero Tilus)
2531 Date: Fri, 26 Feb 2010 18:07:40 +0200
2532 Subject: [sup-devel] sup for sale
2533 In-Reply-To: <1267132217-sup-2260@zyrg.net>
2534 References: <1267109223-sup-351@masanjin.net> <1267132217-sup-2260@zyrg.net>
2535 Message-ID: <1267200220-sup-4454@tilus.net>
2536
2537 Rich Lane, 2010-02-25 23:55:
2538 > I'm willing to do it.
2539
2540 Awesome! We love you Rich! ;)
2541
2542 --
2543 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
2544
2545 From rlane@club.cc.cmu.edu Fri Feb 26 16:24:08 2010
2546 From: rlane@club.cc.cmu.edu (Rich Lane)
2547 Date: Fri, 26 Feb 2010 16:24:08 -0500
2548 Subject: [sup-devel] [PATCH] Implement inline GPG
2549 In-Reply-To: <1266493070-sup-7733@midna.zekjur.net>
2550 References: <1266493070-sup-7733@midna.zekjur.net>
2551 Message-ID: <1267219197-sup-2428@zyrg.net>
2552
2553 Excerpts from Michael Stapelberg's message of 2010-02-18 06:40:45 -0500:
2554 > Hi,
2555 >
2556 > as my previous patch was not merged, I have updated the patch to apply against
2557 > the current code. Furthermore, it now correctly handles character sets for the
2558 > GPG encrypted part.
2559 >
2560 > The patch has been tested by me and another user and seems to work fine.
2561 >
2562 > Please merge it for the next release.
2563 >
2564 > Best regards,
2565 > Michael
2566
2567 Not a full review yet, just a bug that bit me:
2568
2569 message.rb:531 assumes the text will be on its own line, while the
2570 regex on 530 does not. (check my edge branch for line numbers)
2571
2572 From sup-bugs@masanjin.net Fri Feb 26 18:05:00 2010
2573 From: sup-bugs@masanjin.net (anonymous)
2574 Date: Fri, 26 Feb 2010 23:05:00 +0000
2575 Subject: [sup-devel] [issue72] xapian_index.rb: undefined method `[]' for
2576 nil:NilClass
2577 In-Reply-To: <1267225500.12.0.0154738713854.issue72@masanjin.net>
2578 Message-ID: <1267225500.12.0.0154738713854.issue72@masanjin.net>
2579
2580
2581 New submission from anonymous:
2582
2583 I think this was triggered by a "shift-p". I'm at version
2584 117b4f08efb948c8aabf432beb64c74ee18c3aeb in mainline/next.
2585
2586 [Fri Feb 26 15:01:53 -0800 2010] ERROR: oh crap, an exception
2587 ----------------------------------------------------------------
2588 I'm very sorry. It seems that an error occurred in Sup. Please
2589 accept my sincere apologies. Please submit the contents of
2590 /home/emarinelli/.sup/exception-log.txt and a brief report of the
2591 circumstances to http://masanjin.net/sup-bugs/ so that I might
2592 address this problem. Thank you!
2593
2594 Sincerely,
2595 William
2596 ----------------------------------------------------------------
2597 k--- NoMethodError from thread: user-invoked poll
2598 undefined method `[]' for nil:NilClass
2599 /home/emarinelli/sup_experimental/sup/lib/sup/xapian_index.rb:580:in `mkterm'
2600 /home/emarinelli/sup_experimental/sup/lib/sup/xapian_index.rb:358:in
2601 `find_docid'
2602 /home/emarinelli/sup_experimental/sup/lib/sup/xapian_index.rb:364:in `find_doc'
2603 /home/emarinelli/sup_experimental/sup/lib/sup/xapian_index.rb:374:in `get_entry'
2604 /home/emarinelli/sup_experimental/sup/lib/sup/xapian_index.rb:80:in
2605 `build_message'
2606 /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
2607 /home/emarinelli/sup_experimental/sup/lib/sup/xapian_index.rb:383:in
2608 `synchronize'
2609 /home/emarinelli/sup_experimental/sup/lib/sup/xapian_index.rb:80:in
2610 `build_message'
2611 /home/emarinelli/sup_experimental/sup/lib/sup/index.rb:236:in `send'
2612 /home/emarinelli/sup_experimental/sup/lib/sup/index.rb:236:in `method_missing'
2613 /home/emarinelli/sup_experimental/sup/lib/sup/poll.rb:110:in `do_poll'
2614 /home/emarinelli/sup_experimental/sup/lib/sup/poll.rb:169:in `each_message_from'
2615 /home/emarinelli/sup_experimental/sup/lib/sup/maildir.rb:160:in `each'
2616 /home/emarinelli/sup_experimental/sup/lib/sup/maildir.rb:157:in `upto'
2617 /home/emarinelli/sup_experimental/sup/lib/sup/maildir.rb:157:in `each'
2618 /home/emarinelli/sup_experimental/sup/lib/sup/util.rb:599:in `send'
2619 /home/emarinelli/sup_experimental/sup/lib/sup/util.rb:599:in `__pass'
2620 /home/emarinelli/sup_experimental/sup/lib/sup/util.rb:586:in `method_missing'
2621 /home/emarinelli/sup_experimental/sup/lib/sup/poll.rb:157:in `each_message_from'
2622 /home/emarinelli/sup_experimental/sup/lib/sup/poll.rb:109:in `do_poll'
2623 /home/emarinelli/sup_experimental/sup/lib/sup/poll.rb:97:in `each'
2624 /home/emarinelli/sup_experimental/sup/lib/sup/poll.rb:97:in `do_poll'
2625 /home/emarinelli/sup_experimental/sup/lib/sup/poll.rb:96:in `synchronize'
2626 /home/emarinelli/sup_experimental/sup/lib/sup/poll.rb:96:in `do_poll'
2627 /home/emarinelli/sup_experimental/sup/lib/sup/util.rb:559:in `send'
2628 /home/emarinelli/sup_experimental/sup/lib/sup/util.rb:559:in `method_missing'
2629 /home/emarinelli/sup_experimental/sup/lib/sup/modes/poll-mode.rb:15:in `poll'
2630 /home/emarinelli/sup_experimental/sup/lib/sup/poll.rb:47:in `poll_with_sources'
2631 /home/emarinelli/sup_experimental/sup/lib/sup/poll.rb:62:in `poll'
2632 /home/emarinelli/sup_experimental/sup/lib/sup/util.rb:559:in `send'
2633 /home/emarinelli/sup_experimental/sup/lib/sup/util.rb:559:in `method_missing'
2634 /home/emarinelli/sup_experimental/sup/bin/sup:329
2635 /home/emarinelli/sup_experimental/sup/lib/sup.rb:78:in `reporting_thread'
2636 /home/emarinelli/sup_experimental/sup/lib/sup.rb:76:in `initialize'
2637 /home/emarinelli/sup_experimental/sup/lib/sup.rb:76:in `new'
2638 /home/emarinelli/sup_experimental/sup/lib/sup.rb:76:in `reporting_thread'
2639 /home/emarinelli/sup_experimental/sup/bin/sup:329
2640
2641 ----------
2642 messages: 179
2643 nosy: anonymous
2644 priority: bug
2645 ruby_version: ruby 1.8.7 (2009-06-12 patchlevel 174) [x86_64-linux]
2646 status: unread
2647 sup_version: 117b4f08efb948c8aabf432beb64c74ee18c3aeb
2648 title: xapian_index.rb: undefined method `[]' for nil:NilClass
2649
2650 _________________________________________
2651 Sup issue tracker <sup-bugs at masanjin.net>
2652 <http://masanjin.net/sup-bugs/issue72>
2653 _________________________________________
2654
2655 From rlane@club.cc.cmu.edu Sat Feb 27 02:28:01 2010
2656 From: rlane@club.cc.cmu.edu (Rich Lane)
2657 Date: Sat, 27 Feb 2010 02:28:01 -0500
2658 Subject: [sup-devel] merged into master: colors, xapian-updates, saved-search
2659 Message-ID: <1267254620-sup-3470@zyrg.net>
2660
2661 Also some random stray diffs that had accumulated in next.
2662
2663 From rlane@club.cc.cmu.edu Sat Feb 27 02:34:17 2010
2664 From: rlane@club.cc.cmu.edu (Rich Lane)
2665 Date: Sat, 27 Feb 2010 02:34:17 -0500
2666 Subject: [sup-devel] [PATCH 3/3] keybindings hook
2667 In-Reply-To: <1264388973-5804-3-git-send-email-rlane@club.cc.cmu.edu>
2668 References: <1264388973-5804-1-git-send-email-rlane@club.cc.cmu.edu>
2669 <1264388973-5804-2-git-send-email-rlane@club.cc.cmu.edu>
2670 <1264388973-5804-3-git-send-email-rlane@club.cc.cmu.edu>
2671 Message-ID: <1267256024-sup-9116@zyrg.net>
2672
2673 Branch keybindings, merged into next.
2674
2675 From rlane@club.cc.cmu.edu Sat Feb 27 02:44:36 2010
2676 From: rlane@club.cc.cmu.edu (Rich Lane)
2677 Date: Sat, 27 Feb 2010 02:44:36 -0500
2678 Subject: [sup-devel] [PATCH] fix textfield truncation
2679 In-Reply-To: <1264146400-2101-1-git-send-email-rlane@club.cc.cmu.edu>
2680 References: <1264146400-2101-1-git-send-email-rlane@club.cc.cmu.edu>
2681 Message-ID: <1267256338-sup-2977@zyrg.net>
2682
2683 Applied to master.
2684
2685 From rlane@club.cc.cmu.edu Sat Feb 27 02:45:04 2010
2686 From: rlane@club.cc.cmu.edu (Rich Lane)
2687 Date: Sat, 27 Feb 2010 02:45:04 -0500
2688 Subject: [sup-devel] [PATCH] enable ruby-prof with SUP_PROFILE
2689 environment variable
2690 In-Reply-To: <1264302960-17337-1-git-send-email-rlane@club.cc.cmu.edu>
2691 References: <1264302960-17337-1-git-send-email-rlane@club.cc.cmu.edu>
2692 Message-ID: <1267256689-sup-2967@zyrg.net>
2693
2694 Applied to master.
2695
2696 From rlane@club.cc.cmu.edu Sat Feb 27 02:46:40 2010
2697 From: rlane@club.cc.cmu.edu (Rich Lane)
2698 Date: Sat, 27 Feb 2010 02:46:40 -0500
2699 Subject: [sup-devel] [PATCH] catch xapian query parser exceptions and
2700 display them to the user
2701 In-Reply-To: <1266258536-sup-3345@midna.zekjur.net>
2702 References: <1266258536-sup-3345@midna.zekjur.net>
2703 Message-ID: <1267256753-sup-57@zyrg.net>
2704
2705 Applied to master.
2706
2707 From rlane@club.cc.cmu.edu Sat Feb 27 02:48:00 2010
2708 From: rlane@club.cc.cmu.edu (Rich Lane)
2709 Date: Sat, 27 Feb 2010 02:48:00 -0500
2710 Subject: [sup-devel] [PATCH] dont check thread-index-mode dirtiness on
2711 every keypress
2712 In-Reply-To: <1264303037-17440-1-git-send-email-rlane@club.cc.cmu.edu>
2713 References: <1264303037-17440-1-git-send-email-rlane@club.cc.cmu.edu>
2714 Message-ID: <1267256852-sup-4469@zyrg.net>
2715
2716 Applied to master.
2717
2718 From rlane@club.cc.cmu.edu Sat Feb 27 02:48:52 2010
2719 From: rlane@club.cc.cmu.edu (Rich Lane)
2720 Date: Sat, 27 Feb 2010 02:48:52 -0500
2721 Subject: [sup-devel] [PATCH] prevent "year too big to marshal" crashes
2722 In-Reply-To: <1265386698-sup-8060@changeling.local>
2723 References: <1265386698-sup-8060@changeling.local>
2724 Message-ID: <1267256913-sup-1020@zyrg.net>
2725
2726 Applied to master.
2727
2728 From rlane@club.cc.cmu.edu Sat Feb 27 02:54:01 2010
2729 From: rlane@club.cc.cmu.edu (Rich Lane)
2730 Date: Sat, 27 Feb 2010 02:54:01 -0500
2731 Subject: [sup-devel] [PATCH] show (recipients) instead of lone "me"
2732 In-Reply-To: <1264087996-sup-5125@changeling.local>
2733 References: <1264087996-sup-5125@changeling.local>
2734 Message-ID: <1267257207-sup-6406@zyrg.net>
2735
2736 Applied to master.
2737
2738 From rlane@club.cc.cmu.edu Sat Feb 27 02:56:31 2010
2739 From: rlane@club.cc.cmu.edu (Rich Lane)
2740 Date: Sat, 27 Feb 2010 02:56:31 -0500
2741 Subject: [sup-devel] [PATCH] dont restrict colors to those in
2742 Colormap::DEFAULT_COLORS
2743 In-Reply-To: <1264361820-4176-1-git-send-email-rlane@club.cc.cmu.edu>
2744 References: <1264204034-7088-1-git-send-email-rlane@club.cc.cmu.edu>
2745 <1264361820-4176-1-git-send-email-rlane@club.cc.cmu.edu>
2746 Message-ID: <1267257337-sup-6666@zyrg.net>
2747
2748 Branch highlights, merged to next.
2749
2750 From rlane@club.cc.cmu.edu Sat Feb 27 03:06:50 2010
2751 From: rlane@club.cc.cmu.edu (Rich Lane)
2752 Date: Sat, 27 Feb 2010 03:06:50 -0500
2753 Subject: [sup-devel] [PATCHv3] idle and unidle updates
2754 In-Reply-To: <1264225074-sup-7366@changeling.local>
2755 References: <1264225074-sup-7366@changeling.local>
2756 Message-ID: <1267257972-sup-6980@zyrg.net>
2757
2758 Branch idle, merged to next.
2759
2760 From rlane@club.cc.cmu.edu Sat Feb 27 03:07:13 2010
2761 From: rlane@club.cc.cmu.edu (Rich Lane)
2762 Date: Sat, 27 Feb 2010 03:07:13 -0500
2763 Subject: [sup-devel] [PATCHv5] [issue14] poll updates accumulate while
2764 idle
2765 In-Reply-To: <1263560293-sup-9529@changeling.local>
2766 References: <1263560293-sup-9529@changeling.local>
2767 Message-ID: <1267258020-sup-7311@zyrg.net>
2768
2769 Branch idle, merged to next.
2770
2771 From rlane@club.cc.cmu.edu Sat Feb 27 03:07:37 2010
2772 From: rlane@club.cc.cmu.edu (Rich Lane)
2773 Date: Sat, 27 Feb 2010 03:07:37 -0500
2774 Subject: [sup-devel] [PATCH] flush index on idle
2775 In-Reply-To: <1264047274-sup-6830@changeling.local>
2776 References: <1264047274-sup-6830@changeling.local>
2777 Message-ID: <1267258040-sup-5629@zyrg.net>
2778
2779 Branch idle, merged to next.
2780
2781 From rlane@club.cc.cmu.edu Sat Feb 27 03:11:54 2010
2782 From: rlane@club.cc.cmu.edu (Rich Lane)
2783 Date: Sat, 27 Feb 2010 03:11:54 -0500
2784 Subject: [sup-devel] [PATCH] I can haz moar hooks: attachment-mentioned,
2785 index-mode-date-widget
2786 In-Reply-To: <1266826098-sup-4481@tilus.net>
2787 References: <1261167840-sup-592@orion> <1261179239-sup-9258@tilus.net>
2788 <1261246334-sup-1438@masanjin.net> <1261276156-sup-5510@tilus.net>
2789 <1261402666-sup-8068@masanjin.net>
2790 <1264123657-sup-4929@tilus.net> <1266822897-sup-8818@zyrg.net>
2791 <1266825994-sup-5466@tilus.net> <1266826098-sup-4481@tilus.net>
2792 Message-ID: <1267258283-sup-6324@zyrg.net>
2793
2794 Branch mentions-attachments-hook, merged into next.
2795
2796 From rlane@club.cc.cmu.edu Sat Feb 27 03:16:48 2010
2797 From: rlane@club.cc.cmu.edu (Rich Lane)
2798 Date: Sat, 27 Feb 2010 03:16:48 -0500
2799 Subject: [sup-devel] [PATCH] I can haz moar hooks: attachment-mentioned,
2800 index-mode-date-widget
2801 In-Reply-To: <1264123657-sup-4929@tilus.net>
2802 References: <1261167840-sup-592@orion> <1261179239-sup-9258@tilus.net>
2803 <1261246334-sup-1438@masanjin.net> <1261276156-sup-5510@tilus.net>
2804 <1261402666-sup-8068@masanjin.net> <1264123657-sup-4929@tilus.net>
2805 Message-ID: <1267258458-sup-1517@zyrg.net>
2806
2807 Branch date-widget-hook, merged to next.
2808
2809 From rlane@club.cc.cmu.edu Sat Feb 27 03:18:17 2010
2810 From: rlane@club.cc.cmu.edu (Rich Lane)
2811 Date: Sat, 27 Feb 2010 03:18:17 -0500
2812 Subject: [sup-devel] [PATCH] Bugfix: Create dynamically growing fields
2813 (long filenames are now supported)
2814 In-Reply-To: <1266271874-sup-6404@midna.zekjur.net>
2815 References: <1266271874-sup-6404@midna.zekjur.net>
2816 Message-ID: <1267258647-sup-2076@zyrg.net>
2817
2818 Excerpts from Michael Stapelberg's message of 2010-02-15 17:13:00 -0500:
2819 > Hi,
2820 >
2821 > the attached patch modifies textfield.rb to create a dynamically growable field
2822 > instead of one with a fixed size. The text field can now hold a dynamic amount
2823 > of characters which is often necessary if you have long file names.
2824 >
2825 > How to reproduce the bug:
2826 > 1) mkdir -p /tmp/very/long-folder-name-foo-bar-baz/longer-than-one-line-foo-bar-bleh-bleh/maw-maw-maw-maw-maw-maw-maw-maw-maw-maw-maw
2827 > 2) echo foo > /tmp/very/long-folder-name-foo-bar-baz/longer-than-one-line-foo-bar-bleh-bleh/maw-maw-maw-maw-maw-maw-maw-maw-maw-maw-maw/foo.txt
2828 > 3) create a new message in sup and try to add the new file as an attachment
2829 >
2830 > Please merge this one for the next release.
2831 >
2832 > Best regards,
2833 > Michael
2834
2835 Is this still necessary on latest master?
2836
2837 From rlane@club.cc.cmu.edu Sat Feb 27 03:23:39 2010
2838 From: rlane@club.cc.cmu.edu (Rich Lane)
2839 Date: Sat, 27 Feb 2010 03:23:39 -0500
2840 Subject: [sup-devel] [PATCH] Bugfix: Don\xe2\x80\x99t call Ncurses.getch
2841 when in shell\x96out mode
2842 In-Reply-To: <1266549876-sup-2041@midna.zekjur.net>
2843 References: <1266549876-sup-2041@midna.zekjur.net>
2844 Message-ID: <1267258772-sup-9178@zyrg.net>
2845
2846 Excerpts from Michael Stapelberg's message of 2010-02-18 22:26:37 -0500:
2847 > Hi,
2848 >
2849 > (at least for me) the attached patch finally fixes the pinentry-ncurses
2850 > problems we were still having (as soon as you press a key, the screen is
2851 > garbage).
2852 >
2853 > To quote the commit message:
2854 >
2855 > Previously, when using threads, Ncurses.getch was called while
2856 > the gpg pinentry was running (as an example of using the shell_out
2857 > method). Now, the Ncurses mutex will be used to wait until shell_out
2858 > mode is finished.
2859 >
2860 > Please have a look if this patch is working for you and merge it for the next
2861 > release.
2862 >
2863 > Best regards,
2864 > Michael
2865
2866 What's the reason for passing the BufferManager singleton as an
2867 argument?
2868
2869 What does "drop the input" mean?
2870
2871 From rlane@club.cc.cmu.edu Sat Feb 27 03:26:27 2010
2872 From: rlane@club.cc.cmu.edu (Rich Lane)
2873 Date: Sat, 27 Feb 2010 03:26:27 -0500
2874 Subject: [sup-devel] [PATCH] Publish hook
2875 In-Reply-To: <1266783512-sup-8493@tilus.net>
2876 References: <1266783512-sup-8493@tilus.net>
2877 Message-ID: <1267259141-sup-1539@zyrg.net>
2878
2879 Branch publish-hook, merged to next.
2880
2881 From rlane@club.cc.cmu.edu Sat Feb 27 03:29:29 2010
2882 From: rlane@club.cc.cmu.edu (Rich Lane)
2883 Date: Sat, 27 Feb 2010 03:29:29 -0500
2884 Subject: [sup-devel] [PATCH] Make automatic jumping to first/next open
2885 message configurable
2886 In-Reply-To: <1266742955-sup-7923@tilus.net>
2887 References: <1266742955-sup-7923@tilus.net>
2888 Message-ID: <1267259356-sup-2283@zyrg.net>
2889
2890 Applied to master.
2891
2892 From rlane@club.cc.cmu.edu Sat Feb 27 03:32:44 2010
2893 From: rlane@club.cc.cmu.edu (Rich Lane)
2894 Date: Sat, 27 Feb 2010 03:32:44 -0500
2895 Subject: [sup-devel] [PATCH] Add config option to limit text wrapping
2896 width
2897 In-Reply-To: <1265228195-4063-1-git-send-email-daniel.schoepe@googlemail.com>
2898 References: <1265228195-4063-1-git-send-email-daniel.schoepe@googlemail.com>
2899 Message-ID: <1267259545-sup-2593@zyrg.net>
2900
2901 Applied to master.
2902
2903 From rlane@club.cc.cmu.edu Sat Feb 27 03:34:24 2010
2904 From: rlane@club.cc.cmu.edu (Rich Lane)
2905 Date: Sat, 27 Feb 2010 03:34:24 -0500
2906 Subject: [sup-devel] [PATCH] in thread-view-mode,
2907 doubling up on the multi-keys now DTRT
2908 In-Reply-To: <1265052650-6641-1-git-send-email-pi+sup@pihost.us>
2909 References: <1265052650-6641-1-git-send-email-pi+sup@pihost.us>
2910 Message-ID: <1267259649-sup-120@zyrg.net>
2911
2912 Applied to master.
2913
2914 From rlane@club.cc.cmu.edu Sat Feb 27 03:37:56 2010
2915 From: rlane@club.cc.cmu.edu (Rich Lane)
2916 Date: Sat, 27 Feb 2010 03:37:56 -0500
2917 Subject: [sup-devel] [PATCH] Add hook gpg-args to allow the user to
2918 add/remove flags
2919 In-Reply-To: <1266445763-sup-8545@midna.zekjur.net>
2920 References: <1266445763-sup-8545@midna.zekjur.net>
2921 Message-ID: <1267259783-sup-4169@zyrg.net>
2922
2923 Applied to master.
2924
2925 From michael+sup@stapelberg.de Sat Feb 27 07:45:17 2010
2926 From: michael+sup@stapelberg.de (Michael Stapelberg)
2927 Date: Sat, 27 Feb 2010 13:45:17 +0100
2928 Subject: [sup-devel] [PATCH] Bugfix: Create dynamically growing fields
2929 (long filenames are now supported)
2930 In-Reply-To: <1267258647-sup-2076@zyrg.net>
2931 References: <1266271874-sup-6404@midna.zekjur.net>
2932 <1267258647-sup-2076@zyrg.net>
2933 Message-ID: <1267274681-sup-9531@midna.zekjur.net>
2934
2935 Hi Rich,
2936
2937 Excerpts from Rich Lane's message of Sa Feb 27 09:18:17 +0100 2010:
2938 > Is this still necessary on latest master?
2939 I just saw that you already posted and merged a patch which does the same,
2940 so it should not be necessary.
2941
2942 Best regards,
2943 Michael
2944
2945 From michael+sup@stapelberg.de Sat Feb 27 07:48:39 2010
2946 From: michael+sup@stapelberg.de (Michael Stapelberg)
2947 Date: Sat, 27 Feb 2010 13:48:39 +0100
2948 Subject: [sup-devel] [PATCH] Bugfix: Don\xe2\x80\x99t call Ncurses.getch
2949 when in shell\x96out mode
2950 In-Reply-To: <1267258772-sup-9178@zyrg.net>
2951 References: <1266549876-sup-2041@midna.zekjur.net>
2952 <1267258772-sup-9178@zyrg.net>
2953 Message-ID: <1267274808-sup-1569@midna.zekjur.net>
2954
2955 Hi Rich,
2956
2957 Excerpts from Rich Lane's message of Sa Feb 27 09:23:39 +0100 2010:
2958 > What's the reason for passing the BufferManager singleton as an
2959 > argument?
2960 I am passing the BufferManager because I could not figure out how to access
2961 it from inside the Ncurses module. Maybe there is a better way, if so, please
2962 tell me :-).
2963
2964 > What does "drop the input" mean?
2965 It means returning nil instead of Ncurses.getch, so maybe a better way of
2966 saying it is "We do not check for input because it would restart Ncurses
2967 while in shell-out mode".
2968
2969 Best regards,
2970 Michael
2971
2972 From sup-bugs@masanjin.net Sat Feb 27 08:05:58 2010
2973 From: sup-bugs@masanjin.net (anonymous)
2974 Date: Sat, 27 Feb 2010 13:05:58 +0000
2975 Subject: [sup-devel] [issue73] Missing dependency "sup/idle"
2976 In-Reply-To: <1267275958.68.0.129062700378.issue73@masanjin.net>
2977 Message-ID: <1267275958.68.0.129062700378.issue73@masanjin.net>
2978
2979
2980 New submission from anonymous:
2981
2982 I'm tracking mainline/next branch and since yesterday,
2983 more exactly since:
2984
2985 commit 4c49c32ead797518bd96d24ef88391b2b555aecc
2986 Merge: 0acbe14 807fd49
2987 Author: Rich Lane <rlane at club.cc.cmu.edu>
2988 Date: Sat Feb 27 00:05:17 2010 -0800
2989
2990 Merge branch 'idle' into next
2991
2992 i am seeing this, when trying to start sup:
2993
2994 $ start-sup
2995 /opt/ruby1.8/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
2996 `gem_original_require': no such file to load -- sup/idle (LoadError)
2997 from
2998 /opt/ruby1.8/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
2999 from ./lib/sup.rb:352
3000 from
3001 /opt/ruby1.8/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
3002 `gem_original_require'
3003 from
3004 /opt/ruby1.8/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
3005 from bin/sup:15
3006
3007 I searched around the history and found this commit to introduce the dependency:
3008
3009 commit 920f40d6c5ba04af2e79cf8c5350bb91e00d712f
3010 Author: Eric Sherman <hyperbolist at gmail.com>
3011 Date: Sat Jan 23 00:42:56 2010 -0500
3012
3013 idle and unidle updates
3014
3015 Now handled outside of the main thread to accommodate shelling out to
3016 the editor.
3017
3018 [PATCH] flush index on idle
3019 and
3020 [PATCHv5] [issue14] poll updates accumulate while idle
3021 will still work with this patch.
3022
3023 I tried the idle branch, but there was no lib/sup/idle.rb either.
3024
3025 Now, I don't know my way around ruby and i am no git guru, so maybe
3026 this is my fault, but my guess is the file has been forgotten to be
3027 added?
3028
3029 Ciao,
3030 Sven
3031
3032 ----------
3033 messages: 180
3034 nosy: anonymous
3035 priority: bug
3036 ruby_version: ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux]
3037 status: unread
3038 sup_version: 4c49c32ead797518bd96d24ef88391b2b555aecc
3039 title: Missing dependency "sup/idle"
3040
3041 _________________________________________
3042 Sup issue tracker <sup-bugs at masanjin.net>
3043 <http://masanjin.net/sup-bugs/issue73>
3044 _________________________________________
3045
3046 From michael+sup@stapelberg.de Sat Feb 27 08:11:28 2010
3047 From: michael+sup@stapelberg.de (Michael Stapelberg)
3048 Date: Sat, 27 Feb 2010 14:11:28 +0100
3049 Subject: [sup-devel] [PATCH] Implement inline GPG
3050 In-Reply-To: <1267219197-sup-2428@zyrg.net>
3051 References: <1266493070-sup-7733@midna.zekjur.net>
3052 <1267219197-sup-2428@zyrg.net>
3053 Message-ID: <1267276103-sup-6406@midna.zekjur.net>
3054
3055 Hi Rich,
3056
3057 Excerpts from Rich Lane's message of Fr Feb 26 22:24:08 +0100 2010:
3058 > message.rb:531 assumes the text will be on its own line, while the
3059 > regex on 530 does not. (check my edge branch for line numbers)
3060 Right. RFC 2440 is not really clear about that. In 6.2 it only says:
3061
3062 "An Armor Header Line consists of the appropriate header line text
3063 surrounded by five (5) dashes ('-', 0x2D) on either side of the
3064 header line text."
3065
3066 But I guess that no client would put any data before/after these lines,
3067 so adding ^ and $ to the regex in 530 seems right.
3068
3069 Let me know if you need any help validating this patch.
3070
3071 Best regards,
3072 Michael
3073
3074 From rlane@club.cc.cmu.edu Sat Feb 27 13:00:55 2010
3075 From: rlane@club.cc.cmu.edu (Rich Lane)
3076 Date: Sat, 27 Feb 2010 13:00:55 -0500
3077 Subject: [sup-devel] [issue73] Missing dependency "sup/idle"
3078 In-Reply-To: <1267275958.68.0.129062700378.issue73@masanjin.net>
3079 References: <1267275958.68.0.129062700378.issue73@masanjin.net>
3080 Message-ID: <1267293504-sup-3668@zyrg.net>
3081
3082 Excerpts from anonymous's message of 2010-02-27 08:05:58 -0500:
3083 > Now, I don't know my way around ruby and i am no git guru, so maybe
3084 > this is my fault, but my guess is the file has been forgotten to be
3085 > added?
3086
3087 Yep, I forgot to add the file. Sorry about that. Should be fixed now.
3088
3089 From rlane@club.cc.cmu.edu Sat Feb 27 13:05:58 2010
3090 From: rlane@club.cc.cmu.edu (Rich Lane)
3091 Date: Sat, 27 Feb 2010 13:05:58 -0500
3092 Subject: [sup-devel] [PATCH] Implement inline GPG
3093 In-Reply-To: <1267276103-sup-6406@midna.zekjur.net>
3094 References: <1266493070-sup-7733@midna.zekjur.net>
3095 <1267219197-sup-2428@zyrg.net>
3096 <1267276103-sup-6406@midna.zekjur.net>
3097 Message-ID: <1267293663-sup-2241@zyrg.net>
3098
3099 Excerpts from Michael Stapelberg's message of 2010-02-27 08:11:28 -0500:
3100 > But I guess that no client would put any data before/after these lines,
3101 > so adding ^ and $ to the regex in 530 seems right.
3102
3103 The problem is sign_start will be nil if the text isn't on a line by
3104 itself, causing a crash a few lines later. This happened to me when I
3105 was running with this patch on my edge branch. I'd remove the
3106 duplication by making the condition of the if the sign_start assignment.
3107
3108 From rlane@club.cc.cmu.edu Sat Feb 27 13:12:19 2010
3109 From: rlane@club.cc.cmu.edu (Rich Lane)
3110 Date: Sat, 27 Feb 2010 13:12:19 -0500
3111 Subject: [sup-devel] [PATCH] Bugfix: Don\xe2\x80\x99t call Ncurses.getch
3112 when in shell\x96out mode
3113 In-Reply-To: <1267274808-sup-1569@midna.zekjur.net>
3114 References: <1266549876-sup-2041@midna.zekjur.net>
3115 <1267258772-sup-9178@zyrg.net>
3116 <1267274808-sup-1569@midna.zekjur.net>
3117 Message-ID: <1267293975-sup-6753@zyrg.net>
3118
3119 Excerpts from Michael Stapelberg's message of 2010-02-27 07:48:39 -0500:
3120 > Hi Rich,
3121 >
3122 > Excerpts from Rich Lane's message of Sa Feb 27 09:23:39 +0100 2010:
3123 > > What's the reason for passing the BufferManager singleton as an
3124 > > argument?
3125 > I am passing the BufferManager because I could not figure out how to access
3126 > it from inside the Ncurses module. Maybe there is a better way, if so, please
3127 > tell me :-).
3128
3129 The reason we use these ugly singleton *Manager objects is to avoid
3130 exactly this kind of plumbing. Since Ncurses is outside the Redwood
3131 namespace you'll need to refer to it as Redwood::BufferManager.
3132
3133 > > What does "drop the input" mean?
3134 > It means returning nil instead of Ncurses.getch, so maybe a better way of
3135 > saying it is "We do not check for input because it would restart Ncurses
3136 > while in shell-out mode".
3137
3138 Ok, that's how I read the code. When I saw "drop" in the comment I
3139 thought it was going to read input and throw it away.
3140
3141 From rlane@club.cc.cmu.edu Sat Feb 27 13:29:27 2010
3142 From: rlane@club.cc.cmu.edu (Rich Lane)
3143 Date: Sat, 27 Feb 2010 13:29:27 -0500
3144 Subject: [sup-devel] [PATCH] Use multiple body arrays when calling
3145 before-edit for each reply type
3146 In-Reply-To: <1264026370-sup-8092@midna.zekjur.net>
3147 References: <1264026370-sup-8092@midna.zekjur.net>
3148 Message-ID: <1267295207-sup-7090@zyrg.net>
3149
3150 What happens when you edit the message and then select another reply type?
3151
3152 From rlane@club.cc.cmu.edu Sat Feb 27 13:46:11 2010
3153 From: rlane@club.cc.cmu.edu (Rich Lane)
3154 Date: Sat, 27 Feb 2010 13:46:11 -0500
3155 Subject: [sup-devel] [PATCH] Added support for multiple sent sources.
3156 In-Reply-To: <1265877393-sup-3156@leandros>
3157 References: <1265877393-sup-3156@leandros>
3158 Message-ID: <1267295844-sup-2000@zyrg.net>
3159
3160 I don't see any backwards compatibility code for people who previously
3161 used a different sent source.
3162
3163 I'm not sure there's much of a reason to have a number of SentManager
3164 objects lightly wrapping a source. I'd just store the source directly.
3165 I'd like to keep a tiny SentManager singleton around for its
3166 default_source method.
3167
3168 From wmorgan-sup@masanjin.net Sat Feb 27 13:58:13 2010
3169 From: wmorgan-sup@masanjin.net (William Morgan)
3170 Date: Sat, 27 Feb 2010 13:58:13 -0500
3171 Subject: [sup-devel] it's like christmas!
3172 Message-ID: <1267297079-sup-5671@masanjin.net>
3173
3174 Thanks, Rich. Should've done this long ago.
3175 --
3176 William <wmorgan-sup at masanjin.net>
3177
3178 From wmorgan-sup@masanjin.net Sat Feb 27 14:00:30 2010
3179 From: wmorgan-sup@masanjin.net (William Morgan)
3180 Date: Sat, 27 Feb 2010 14:00:30 -0500
3181 Subject: [sup-devel] [PATCH] Bugfix: Don't call Ncurses.getch when in
3182 shell-out mode
3183 In-Reply-To: <1267293975-sup-6753@zyrg.net>
3184 References: <1266549876-sup-2041@midna.zekjur.net>
3185 <1267258772-sup-9178@zyrg.net>
3186 <1267274808-sup-1569@midna.zekjur.net>
3187 <1267293975-sup-6753@zyrg.net>
3188 Message-ID: <1267297110-sup-6991@masanjin.net>
3189
3190 Reformatted excerpts from Rich Lane's message of 2010-02-27:
3191 > The reason we use these ugly singleton *Manager objects is to avoid
3192 > exactly this kind of plumbing. Since Ncurses is outside the Redwood
3193 > namespace you'll need to refer to it as Redwood::BufferManager.
3194
3195 I know it's fashionable to call singletons ugly nowadays, but I've never
3196 quite bought into it. Classes are singletons too, and no one calls them
3197 ugly...
3198
3199 (Well, I do, but for different reasons.)
3200 --
3201 William <wmorgan-sup at masanjin.net>
3202
3203 From rlane@club.cc.cmu.edu Sat Feb 27 14:03:31 2010
3204 From: rlane@club.cc.cmu.edu (Rich Lane)
3205 Date: Sat, 27 Feb 2010 14:03:31 -0500
3206 Subject: [sup-devel] [PATCH] Bugfix: Don't call Ncurses.getch when in
3207 shell-out mode
3208 In-Reply-To: <1267297110-sup-6991@masanjin.net>
3209 References: <1266549876-sup-2041@midna.zekjur.net>
3210 <1267258772-sup-9178@zyrg.net>
3211 <1267274808-sup-1569@midna.zekjur.net>
3212 <1267293975-sup-6753@zyrg.net> <1267297110-sup-6991@masanjin.net>
3213 Message-ID: <1267297285-sup-3569@zyrg.net>
3214
3215 Excerpts from William Morgan's message of 2010-02-27 14:00:30 -0500:
3216 > Reformatted excerpts from Rich Lane's message of 2010-02-27:
3217 > > The reason we use these ugly singleton *Manager objects is to avoid
3218 > > exactly this kind of plumbing. Since Ncurses is outside the Redwood
3219 > > namespace you'll need to refer to it as Redwood::BufferManager.
3220 >
3221 > I know it's fashionable to call singletons ugly nowadays, but I've never
3222 > quite bought into it. Classes are singletons too, and no one calls them
3223 > ugly...
3224 >
3225 > (Well, I do, but for different reasons.)
3226
3227 You've never tried to write an Index testsuite :).
3228
3229 From wmorgan-sup@masanjin.net Sat Feb 27 14:29:48 2010
3230 From: wmorgan-sup@masanjin.net (William Morgan)
3231 Date: Sat, 27 Feb 2010 14:29:48 -0500
3232 Subject: [sup-devel] [PATCH] Bugfix: Don't call Ncurses.getch when in
3233 shell-out mode
3234 In-Reply-To: <1267297285-sup-3569@zyrg.net>
3235 References: <1266549876-sup-2041@midna.zekjur.net>
3236 <1267258772-sup-9178@zyrg.net>
3237 <1267274808-sup-1569@midna.zekjur.net>
3238 <1267293975-sup-6753@zyrg.net> <1267297110-sup-6991@masanjin.net>
3239 <1267297285-sup-3569@zyrg.net>
3240 Message-ID: <1267297753-sup-2038@masanjin.net>
3241
3242 Reformatted excerpts from Rich Lane's message of 2010-02-27:
3243 > You've never tried to write an Index testsuite :).
3244
3245 What is complicated about it?
3246 --
3247 William <wmorgan-sup at masanjin.net>
3248
3249 From michael@stapelberg.de Sat Feb 27 14:27:45 2010
3250 From: michael@stapelberg.de (Michael Stapelberg)
3251 Date: Sat, 27 Feb 2010 20:27:45 +0100
3252 Subject: [sup-devel] [PATCH] Bugfix: Don\xe2\x80\x99t call Ncurses.getch
3253 when in shell\x96out mode
3254 In-Reply-To: <1267293975-sup-6753@zyrg.net>
3255 References: <1266549876-sup-2041@midna.zekjur.net>
3256 <1267258772-sup-9178@zyrg.net>
3257 <1267274808-sup-1569@midna.zekjur.net>
3258 <1267293975-sup-6753@zyrg.net>
3259 Message-ID: <1267298816-sup-2432@midna.zekjur.net>
3260
3261 Hi Rich,
3262
3263 Excerpts from Rich Lane's message of Sa Feb 27 19:12:19 +0100 2010:
3264 > The reason we use these ugly singleton *Manager objects is to avoid
3265 > exactly this kind of plumbing. Since Ncurses is outside the Redwood
3266 > namespace you'll need to refer to it as Redwood::BufferManager.
3267 Alright. Should I change the patch and re-send it or can you change
3268 these little details?
3269
3270 Best regards,
3271 Michael
3272
3273 From rlane@club.cc.cmu.edu Sat Feb 27 15:14:27 2010
3274 From: rlane@club.cc.cmu.edu (Rich Lane)
3275 Date: Sat, 27 Feb 2010 15:14:27 -0500
3276 Subject: [sup-devel] [PATCH] Bugfix: Don\xe2\x80\x99t call Ncurses.getch
3277 when in shell\x96out mode
3278 In-Reply-To: <1267298816-sup-2432@midna.zekjur.net>
3279 References: <1266549876-sup-2041@midna.zekjur.net>
3280 <1267258772-sup-9178@zyrg.net>
3281 <1267274808-sup-1569@midna.zekjur.net>
3282 <1267293975-sup-6753@zyrg.net>
3283 <1267298816-sup-2432@midna.zekjur.net>
3284 Message-ID: <1267301596-sup-8948@zyrg.net>
3285
3286 Excerpts from Michael Stapelberg's message of 2010-02-27 14:27:45 -0500:
3287 > Excerpts from Rich Lane's message of Sa Feb 27 19:12:19 +0100 2010:
3288 > > The reason we use these ugly singleton *Manager objects is to avoid
3289 > > exactly this kind of plumbing. Since Ncurses is outside the Redwood
3290 > > namespace you'll need to refer to it as Redwood::BufferManager.
3291 > Alright. Should I change the patch and re-send it or can you change
3292 > these little details?
3293
3294 I'll handle it. Applied to master.
3295
3296 From rlane@club.cc.cmu.edu Sat Feb 27 15:29:35 2010
3297 From: rlane@club.cc.cmu.edu (Rich Lane)
3298 Date: Sat, 27 Feb 2010 15:29:35 -0500
3299 Subject: [sup-devel] patch backlog cleared / plans
3300 Message-ID: <1267296421-sup-7450@zyrg.net>
3301
3302 AFAIK I've applied or replied to all the patches floating on the list.
3303 If I've ignored one please reply to it to let me know.
3304
3305 My current plan is to nuke ferret, make a few utf8 fixes, and then
3306 release 0.11 in about a week with what's currently on master (big
3307 features: saved searches and 256 color support). I'll also add a
3308 deprecation warning to IMAP/mbox+ssh so that I can kill them on master
3309 immediately after the release (giving me freedom to refactor the source
3310 interface).
3311
3312 Once that's done, I'm going to gradually start integrating sup-server
3313 features. First up is sup-cmd, which is basically an (incompatible)
3314 notmuch CLI. This could be useful by itself (it outputs YAML, so it's
3315 surprisingly human readable). Next is a sup-server executable that
3316 sup-cmd connects to. Then comes an intermediate stage where a sup-server
3317 can run inside the Ncurses UI, so that sup-cmd and the UI can be used
3318 simultaneously. Finally, the difficult work of converting the UI to use
3319 sup-server instead of accessing the index directly.
3320
3321 A major benefit of having a sup-server even if the UI can't use it is to
3322 get some test coverage on Index internals.
3323
3324 I'll want to have a discussion about how best to change the UI to use
3325 sup-server closer to that time. sup-server uses Actors and in the long
3326 run I'd like to move the UI to that if only to kill our locking bugs. It
3327 probably isn't necessary to actorify the UI to get it to use sup-server.
3328
3329 The release schedule for 0.12 will mostly depend on incoming patches. I
3330 want to include sup-cmd at least so that people can figure out cool
3331 things to do with it (more UIs).
3332
3333 I also hope to see maildir sync-back support in 0.12. Many people I've
3334 tried to convert use mobile clients and tell me this is a dealbreaker,
3335 so I think this is a very important feature. Is anyone currently working
3336 on it?
3337
3338 From rlane@club.cc.cmu.edu Sun Feb 28 16:20:00 2010
3339 From: rlane@club.cc.cmu.edu (Rich Lane)
3340 Date: Sun, 28 Feb 2010 16:20:00 -0500
3341 Subject: [sup-devel] now in next: fix-utf8, ferret-removal,
3342 and remote-source-deprecation
3343 Message-ID: <1267389645-sup-7736@zyrg.net>
3344
3345 I fixed a couple of bugs related to sending utf8 mail. If you've been
3346 having problems with that please try latest next.
3347
3348 Ferret is gone. If you've ignored the deprecation warning until now
3349 you'll need to run sup-convert-ferret-index before upgrading Sup.
3350
3351 I've removed the code in sup-config and sup-add for adding imap and
3352 mbox+ssh sources. I also added a deprecation warning on sup startup.
3353 These sources will be removed from master immediately following the
3354 release of 0.11, so please switch to rsync/offlineimap/fetchmail/etc
3355 before then.
3356
3357 If no one reports problems with these branches I'll merge them to master
3358 before releasing 0.11.
3359
3360 From michael@content-space.de Sun Feb 28 16:58:25 2010
3361 From: michael@content-space.de (Michael Hamann)
3362 Date: Sun, 28 Feb 2010 22:58:25 +0100
3363 Subject: [sup-devel] now in next: fix-utf8, ferret-removal,
3364 and remote-source-deprecation
3365 In-Reply-To: <1267389645-sup-7736@zyrg.net>
3366 References: <1267389645-sup-7736@zyrg.net>
3367 Message-ID: <1267393803-sup-784@mithink>
3368
3369 Hi,
3370
3371 thanks for your work, it seems I am able to send messages with UTF-8 subjects,
3372 recipients, ... again, but after pulling from next I first had to do the
3373 following fixes in order to get sup working again (I don't know if there are
3374 more, these are just the two ones that made sup unusable):
3375
3376 diff --git a/lib/sup/index.rb b/lib/sup/index.rb
3377 index 548daf0..79bd1af 100644
3378 --- a/lib/sup/index.rb
3379 +++ b/lib/sup/index.rb
3380 @@ -216,10 +216,10 @@ EOS
3381
3382 ## Given an array of email addresses, return an array of Person objects that
3383 ## have sent mail to or received mail from any of the given addresses.
3384 - def load_contacts email_addresses, h={}
3385 + def load_contacts email_addresses, opts={}
3386 contacts = Set.new
3387 num = opts[:num] || 20
3388 - each_id_by_date :participants => emails do |id,b|
3389 + each_id_by_date :participants => email_addresses do |id,b|
3390 break if contacts.size >= num
3391 m = b.call
3392 ([m.from]+m.to+m.cc+m.bcc).compact.each { |p| contacts << [p.name, p.email] }
3393 @@ -739,14 +739,14 @@ class Xapian::Document
3394
3395 def index_text text, prefix, weight=1
3396 term_generator = Xapian::TermGenerator.new
3397 - term_generator.stemmer = Xapian::Stem.new(Redwood::XapianIndex::STEM_LANGUAGE)
3398 + term_generator.stemmer = Xapian::Stem.new(Redwood::Index::STEM_LANGUAGE)
3399 term_generator.document = self
3400 term_generator.index_text text, weight, prefix
3401 end
3402
3403 alias old_add_term add_term
3404 def add_term term
3405 - if term.length <= Redwood::XapianIndex::MAX_TERM_LENGTH
3406 + if term.length <= Redwood::Index::MAX_TERM_LENGTH
3407 old_add_term term, 0
3408 else
3409 warn "dropping excessively long term #{term}"
3410
3411 Greetings
3412 Michael
3413
3414 From rlane@club.cc.cmu.edu Sun Feb 28 18:36:26 2010
3415 From: rlane@club.cc.cmu.edu (Rich Lane)
3416 Date: Sun, 28 Feb 2010 18:36:26 -0500
3417 Subject: [sup-devel] now in next: fix-utf8, ferret-removal,
3418 and remote-source-deprecation
3419 In-Reply-To: <1267393803-sup-784@mithink>
3420 References: <1267389645-sup-7736@zyrg.net> <1267393803-sup-784@mithink>
3421 Message-ID: <1267400161-sup-4307@zyrg.net>
3422
3423 Thanks, applied to ferret-removal and merged to next.
3424