community/pipermail-archives/sup-devel/2010-11.txt (82644B) - raw
1 From sup-bugs@masanjin.net Thu Nov 4 07:02:53 2010
2 From: sup-bugs@masanjin.net (anonymous)
3 Date: Thu, 04 Nov 2010 11:02:53 +0000
4 Subject: [sup-devel] [issue125] sup-mail broke
5 In-Reply-To: <1288868572.96.0.0451510169956.issue125@masanjin.net>
6 Message-ID: <1288868572.96.0.0451510169956.issue125@masanjin.net>
7
8
9 New submission from anonymous:
10
11 sup-mail
12 [Thu Nov 04 16:26:59 +0530 2010] WARNING: can't find character set by using
13 locale, defaulting to utf-8
14 [Thu Nov 04 16:28:53 +0530 2010] ERROR: oh crap, an exception
15 ----------------------------------------------------------------
16 I'm very sorry. It seems that an error occurred in Sup. Please
17 accept my sincere apologies. Please submit the contents of
18 /home/jagadeesh/.sup/exception-log.txt and a brief report of the
19 circumstances to http://masanjin.net/sup-bugs/ so that I might
20 address this problem. Thank you!
21
22 Sincerely,
23 William
24 ----------------------------------------------------------------
25 --- NoMethodError from thread: poll after loading inbox
26 undefined method `[]' for nil:NilClass
27 /usr/lib/ruby/1.8/sup/xapian_index.rb:572:in `mkterm'
28 /usr/lib/ruby/1.8/sup/xapian_index.rb:347:in `find_docid'
29 /usr/lib/ruby/1.8/sup/xapian_index.rb:353:in `find_doc'
30 /usr/lib/ruby/1.8/sup/xapian_index.rb:363:in `get_entry'
31 /usr/lib/ruby/1.8/sup/xapian_index.rb:77:in `build_message'
32 /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
33 /usr/lib/ruby/1.8/sup/xapian_index.rb:372:in `synchronize'
34 /usr/lib/ruby/1.8/sup/xapian_index.rb:77:in `build_message'
35 /usr/lib/ruby/1.8/sup/index.rb:236:in `send'
36 /usr/lib/ruby/1.8/sup/index.rb:236:in `method_missing'
37 /usr/lib/ruby/1.8/sup/poll.rb:110:in `do_poll'
38 /usr/lib/ruby/1.8/sup/poll.rb:169:in `each_message_from'
39 /usr/lib/ruby/1.8/sup/maildir.rb:160:in `each'
40 /usr/lib/ruby/1.8/sup/maildir.rb:157:in `upto'
41 /usr/lib/ruby/1.8/sup/maildir.rb:157:in `each'
42 /usr/lib/ruby/1.8/sup/util.rb:599:in `send'
43 /usr/lib/ruby/1.8/sup/util.rb:599:in `__pass'
44 /usr/lib/ruby/1.8/sup/util.rb:586:in `method_missing'
45 /usr/lib/ruby/1.8/sup/poll.rb:157:in `each_message_from'
46 /usr/lib/ruby/1.8/sup/poll.rb:109:in `do_poll'
47 /usr/lib/ruby/1.8/sup/poll.rb:97:in `each'
48 /usr/lib/ruby/1.8/sup/poll.rb:97:in `do_poll'
49 /usr/lib/ruby/1.8/sup/poll.rb:96:in `synchronize'
50 /usr/lib/ruby/1.8/sup/poll.rb:96:in `do_poll'
51 /usr/lib/ruby/1.8/sup/util.rb:559:in `send'
52 /usr/lib/ruby/1.8/sup/util.rb:559:in `method_missing'
53 /usr/lib/ruby/1.8/sup/modes/poll-mode.rb:15:in `poll'
54 /usr/lib/ruby/1.8/sup/poll.rb:47:in `poll_with_sources'
55 /usr/lib/ruby/1.8/sup/poll.rb:62:in `poll'
56 /usr/lib/ruby/1.8/sup/util.rb:559:in `send'
57 /usr/lib/ruby/1.8/sup/util.rb:559:in `method_missing'
58 /usr/bin/sup-mail:224
59 /usr/lib/ruby/1.8/sup.rb:76:in `reporting_thread'
60 /usr/lib/ruby/1.8/sup.rb:74:in `initialize'
61 /usr/lib/ruby/1.8/sup.rb:74:in `new'
62 /usr/lib/ruby/1.8/sup.rb:74:in `reporting_thread'
63 /usr/bin/sup-mail:224
64 /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:674:in `call'
65 /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:674
66 /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:615:in `call'
67 /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:615:in
68 `load_n_threads_background'
69 /usr/lib/ruby/1.8/sup.rb:76:in `reporting_thread'
70 /usr/lib/ruby/1.8/sup.rb:74:in `initialize'
71 /usr/lib/ruby/1.8/sup.rb:74:in `new'
72 /usr/lib/ruby/1.8/sup.rb:74:in `reporting_thread'
73 /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:613:in
74 `load_n_threads_background'
75 /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:684:in
76 `__unprotected_load_threads'
77 (eval):12:in `load_threads'
78 /usr/bin/sup-mail:224
79
80 ----------
81 messages: 297
82 nosy: anonymous
83 priority: bug
84 ruby_version: ruby 1.8.7 (2010-01-10 patchlevel 249) [i486-linux]
85 status: unread
86 sup_version: 0.10.2
87 title: sup-mail broke
88
89 _________________________________________
90 Sup issue tracker <sup-bugs at masanjin.net>
91 <http://masanjin.net/sup-bugs/issue125>
92 _________________________________________
93
94 From eg@gaute.vetsj.com Thu Nov 4 09:21:20 2010
95 From: eg@gaute.vetsj.com (Gaute Hope)
96 Date: Thu, 04 Nov 2010 14:21:20 +0100
97 Subject: [sup-devel] [PATCH] More UTF-8 support; load all labels as UTF-8
98 Message-ID: <1288876769-sup-4049@qwerzila>
99
100 Even if the labels.txt file is read as UTF-8 apparantly after a label is
101 symoblized, it will be US-ASCII on .to_s if possible. This patch forces
102 UTF-8.
103
104 If you use L to select a US-ASCII label (i.e. Sent) then want to narrow
105 the search by pressing L again and use tab to match against an UTF-8
106 label sup crashes.
107
108 Also fixes one whitespace error in bin/sup
109 ---
110 bin/sup | 4 +++-
111 lib/sup/buffer.rb | 2 +-
112 2 files changed, 4 insertions(+), 2 deletions(-)
113
114 diff --git a/bin/sup b/bin/sup
115 index fd1dde8..10be161 100755
116 --- a/bin/sup
117 +++ b/bin/sup
118 @@ -49,7 +49,7 @@ No variables.
119 No return value.
120 EOS
121
122 -Redwood::HookManager.register "shutdown", <<EOS
123 +Redwood::HookManager.register "shutdown", <<EOS
124 Executes when sup is shutting down. May be run when sup is crashing,
125 so don\'t do anything too important. Run before the label, contacts,
126 and people are saved.
127 @@ -299,6 +299,8 @@ begin
128 SearchResultsMode.spawn_from_query "is:unread"
129 when :list_labels
130 labels = LabelManager.all_labels.map { |l| LabelManager.string_for l }
131 + labels = labels.each { |l| l.force_encoding 'UTF-8' if l.methods.include?(:encoding) }
132 +
133 user_label = bm.ask_with_completions :label, "Show threads with label (enter for listing): ", labels
134 unless user_label.nil?
135 if user_label.empty?
136 diff --git a/lib/sup/buffer.rb b/lib/sup/buffer.rb
137 index f3cfb8a..c36ca56 100644
138 --- a/lib/sup/buffer.rb
139 +++ b/lib/sup/buffer.rb
140 @@ -454,7 +454,7 @@ EOS
141 def ask_with_completions domain, question, completions, default=nil
142 ask domain, question, default do |s|
143 s.force_encoding 'UTF-8' if s.methods.include?(:encoding)
144 - completions.select { |x| x =~ /^#{Regexp::escape s}/i }.map { |x| [x, x] }
145 + completions.select { |x| x =~ /^#{Regexp::escape s}/iu }.map { |x| [x, x] }
146 end
147 end
148
149 --
150 1.7.3.2
151
152 -------------- next part --------------
153 A non-text attachment was scrubbed...
154 Name: 0001-More-UTF-8-support-load-all-labels-as-UTF-8.patch
155 Type: application/octet-stream
156 Size: 2061 bytes
157 Desc: not available
158 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101104/cd3ed621/attachment.obj>
159
160 From cjparsons1@yahoo.co.uk Thu Nov 4 11:49:03 2010
161 From: cjparsons1@yahoo.co.uk (Chris Parsons)
162 Date: Thu, 04 Nov 2010 15:49:03 +0000
163 Subject: [sup-devel] [PATCH] 'u' in thread-view-mode copies URL to X
164 selection
165 Message-ID: <1288885683-sup-601@chris-eee>
166
167 I know there's been some discussion about opening URLs from e-mails in Sup, and
168 because many people use Sup via an SSH session, client-side solutions are not
169 universally useful... but here is a patch that seems to copy a URL on the
170 currently highlighted line to the X selection buffer. (From there I use Kupfer
171 http://kaizer.se/wiki/kupfer/ to open the link in a web client.)
172 Obviously you can do something similar with a mouse but I use a
173 netbook and try to avoid using the trackpad if I can.
174
175 It relies on having the program xsel available in your path.
176
177 I've never fiddled in Ruby before so accept my apologies if the lines are
178 ridiculous, and also if this has been done before by others.
179
180 For the reasons I mention (not universal, requires xsel) I don't
181 expect it to make it into the Sup code base but I put it out here in
182 case it suits anyone else.
183 ---
184 lib/sup/modes/line-cursor-mode.rb | 13 +++++++++++++
185 1 files changed, 13 insertions(+), 0 deletions(-)
186
187 diff --git a/lib/sup/modes/line-cursor-mode.rb b/lib/sup/modes/line-cursor-mode.rb
188 index 1cae994..e65cbee 100644
189 --- a/lib/sup/modes/line-cursor-mode.rb
190 +++ b/lib/sup/modes/line-cursor-mode.rb
191 @@ -8,6 +8,7 @@ class LineCursorMode < ScrollMode
192 k.add :cursor_down, "Move cursor down one line", :down, 'j'
193 k.add :cursor_up, "Move cursor up one line", :up, 'k'
194 k.add :select, "Select this item", :enter
195 + k.add :selurl, "Copy URL to selection", 'u'
196 end
197
198 attr_reader :curpos
199 @@ -90,6 +91,18 @@ protected
200 set_cursor_pos botline - 1 if @curpos > botline - 1
201 end
202
203 + def selurl
204 + regex = /(?:http|https|mailto):\/\/\S+/i
205 + this_line = self[curpos][0][1]
206 + match = regex.match(this_line)
207 + return if not match
208 +
209 + output = pipe_to_process("xsel -i") do |stream|
210 + stream.print match
211 + end
212 + BufferManager.flash "selected url #{match}"
213 + end
214 +
215 def cursor_down
216 call_load_more_callbacks buffer.content_height if @curpos >= lines - [buffer.content_height/2,1].max
217 return false unless @curpos < lines - 1
218 --
219 1.7.3.2
220
221 From rlane@club.cc.cmu.edu Thu Nov 4 12:03:59 2010
222 From: rlane@club.cc.cmu.edu (Rich Lane)
223 Date: Thu, 04 Nov 2010 12:03:59 -0400
224 Subject: [sup-devel] [PATCH] More UTF-8 support; load all labels as UTF-8
225 In-Reply-To: <1288876769-sup-4049@qwerzila>
226 References: <1288876769-sup-4049@qwerzila>
227 Message-ID: <1288886612-sup-8205@zyrg.net>
228
229 Applied to master.
230
231 From rlane@club.cc.cmu.edu Thu Nov 4 12:04:23 2010
232 From: rlane@club.cc.cmu.edu (Rich Lane)
233 Date: Thu, 04 Nov 2010 12:04:23 -0400
234 Subject: [sup-devel] [PATCH] Bugfix: mime_encode: Encode _ as =5F
235 instead of =96
236 In-Reply-To: <1288044796-sup-6774@midna.zekjur.net>
237 References: <1288044796-sup-6774@midna.zekjur.net>
238 Message-ID: <1288886647-sup-5714@zyrg.net>
239
240 Applied to master.
241
242 From rlane@club.cc.cmu.edu Thu Nov 4 12:04:49 2010
243 From: rlane@club.cc.cmu.edu (Rich Lane)
244 Date: Thu, 04 Nov 2010 12:04:49 -0400
245 Subject: [sup-devel] [PATCH] Stop double quoting the protocol when
246 sending encrypted emails
247 In-Reply-To: <AANLkTimk4yTtJxDj5+H4HfjthdPLQtvE=9enx6GQykRo@mail.gmail.com>
248 References: <AANLkTimk4yTtJxDj5+H4HfjthdPLQtvE=9enx6GQykRo@mail.gmail.com>
249 Message-ID: <1288886673-sup-9342@zyrg.net>
250
251 Applied to master.
252
253 From rlane@club.cc.cmu.edu Thu Nov 4 12:05:35 2010
254 From: rlane@club.cc.cmu.edu (Rich Lane)
255 Date: Thu, 04 Nov 2010 12:05:35 -0400
256 Subject: [sup-devel] Message#text_to_chunks performance
257 In-Reply-To: <1288264300-sup-7747@tilus.net>
258 References: <1288264300-sup-7747@tilus.net>
259 Message-ID: <1288886709-sup-7087@zyrg.net>
260
261 Excerpts from Tero Tilus's message of Thu Oct 28 08:05:33 -0400 2010:
262 > Is the patch-to-mailinglist still the preferred flow of contribution
263 > as stated in Wiki? http://sup.rubyforge.org/wiki/wiki.pl?Contributing
264
265 Yes, please send patches to the list.
266
267 From alvherre@alvh.no-ip.org Thu Nov 4 13:54:55 2010
268 From: alvherre@alvh.no-ip.org (Alvaro Herrera)
269 Date: Thu, 04 Nov 2010 14:54:55 -0300
270 Subject: [sup-devel] [PATCH] 'u' in thread-view-mode copies URL to X
271 selection
272 In-Reply-To: <1288885683-sup-601@chris-eee>
273 References: <1288885683-sup-601@chris-eee>
274 Message-ID: <1288893256-sup-8304@alvh.no-ip.org>
275
276 Excerpts from Chris Parsons's message of jue nov 04 12:49:03 -0300 2010:
277 > I know there's been some discussion about opening URLs from e-mails in Sup, and
278 > because many people use Sup via an SSH session, client-side solutions are not
279 > universally useful... but here is a patch that seems to copy a URL on the
280 > currently highlighted line to the X selection buffer. (From there I use Kupfer
281 > http://kaizer.se/wiki/kupfer/ to open the link in a web client.)
282 > Obviously you can do something similar with a mouse but I use a
283 > netbook and try to avoid using the trackpad if I can.
284
285 It seems like this should be more generally doable with a hook.
286
287 --
288 ?lvaro Herrera <alvherre at alvh.no-ip.org>
289
290 From michael+sup@stapelberg.de Fri Nov 5 06:37:49 2010
291 From: michael+sup@stapelberg.de (Michael Stapelberg)
292 Date: Fri, 05 Nov 2010 11:37:49 +0100
293 Subject: [sup-devel] [PATCH] 'u' in thread-view-mode copies URL to X
294 selection
295 In-Reply-To: <1288885683-sup-601@chris-eee>
296 References: <1288885683-sup-601@chris-eee>
297 Message-ID: <1288953383-sup-1045@midna.zekjur.net>
298
299 Hi Chris,
300
301 Excerpts from Chris Parsons's message of 2010-11-04 16:49:03 +0100:
302 > I know there's been some discussion about opening URLs from e-mails in Sup, and
303 > because many people use Sup via an SSH session, client-side solutions are not
304 > universally useful... but here is a patch that seems to copy a URL on the
305 Not sure which side you mean with client-side now, but I usually want to open
306 the URL on the computer I am currently using (not always the side on which sup
307 is running, but always the side on which my terminal is running). For that, I
308 use the mark-and-yank plugin for urxvt:
309
310 http://www.jukie.net/bart/blog/urxvt-url-yank
311
312 Best regards,
313 Michael
314
315 From sup-bugs@masanjin.net Sat Nov 6 07:45:46 2010
316 From: sup-bugs@masanjin.net (anonymous)
317 Date: Sat, 06 Nov 2010 11:45:46 +0000
318 Subject: [sup-devel] [issue126] exception at the first poll after a message
319 has been sent
320 In-Reply-To: <1289043945.99.0.911687811063.issue126@masanjin.net>
321 Message-ID: <1289043945.99.0.911687811063.issue126@masanjin.net>
322
323
324 New submission from anonymous:
325
326 sup throws the exception below at the first poll after I have sent a message.
327
328 This is the setup: I'm fetching mail with offlineimap to a maildir. Sent mails
329 go to the maildir "Gesendet", so offlineimap pushes them to my mail server:
330 :sent_source: maildir:/home/mkl/Mail/Gesendet
331
332 The before-poll hook runs offlineimap
333
334 if (@last_fetch || Time.at(0)) < Time.now - 120
335 say "Running offlineimap..."
336 cmd = "offlineimap -q -u Noninteractive.Basic"
337 `#{cmd} 2>&1`
338 say "Finished offlineimap run."
339 end
340 @last_fetch = Time.now
341
342 For completeness, here the offlineimaprc:
343 [general]
344 accounts = mkl
345 ui = TTY.TTYUI
346
347 [Account mkl]
348 localrepository = Local
349 remoterepository = Remote
350
351 [Repository Local]
352 type = Maildir
353 localfolders = ~/Mail
354
355 [Repository Remote]
356 type = IMAP
357 remotehost = xxx
358 remoteuser = xxx
359 ssl=yes
360 remotepass=xxx
361
362 The exception is:
363 --- NoMethodError from thread: user-invoked poll
364 undefined method `[]' for nil:NilClass
365 /usr/lib/ruby/1.8/sup/index.rb:722:in `mkterm'
366 /usr/lib/ruby/1.8/sup/index.rb:500:in `find_docid'
367 /usr/lib/ruby/1.8/sup/index.rb:506:in `find_doc'
368 /usr/lib/ruby/1.8/sup/index.rb:516:in `get_entry'
369 /usr/lib/ruby/1.8/sup/index.rb:193:in `build_message'
370 /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
371 /usr/lib/ruby/1.8/sup/index.rb:525:in `synchronize'
372 /usr/lib/ruby/1.8/sup/index.rb:193:in `build_message'
373 /usr/lib/ruby/1.8/sup/util.rb:570:in `send'
374 /usr/lib/ruby/1.8/sup/util.rb:570:in `method_missing'
375 /usr/lib/ruby/1.8/sup/poll.rb:117:in `do_poll'
376 /usr/lib/ruby/1.8/sup/poll.rb:176:in `each_message_from'
377 /usr/lib/ruby/1.8/sup/maildir.rb:160:in `each'
378 /usr/lib/ruby/1.8/sup/maildir.rb:157:in `upto'
379 /usr/lib/ruby/1.8/sup/maildir.rb:157:in `each'
380 /usr/lib/ruby/1.8/sup/util.rb:610:in `send'
381 /usr/lib/ruby/1.8/sup/util.rb:610:in `__pass'
382 /usr/lib/ruby/1.8/sup/util.rb:597:in `method_missing'
383 /usr/lib/ruby/1.8/sup/poll.rb:164:in `each_message_from'
384 /usr/lib/ruby/1.8/sup/poll.rb:116:in `do_poll'
385 /usr/lib/ruby/1.8/sup/poll.rb:104:in `each'
386 /usr/lib/ruby/1.8/sup/poll.rb:104:in `do_poll'
387 /usr/lib/ruby/1.8/sup/poll.rb:103:in `synchronize'
388 /usr/lib/ruby/1.8/sup/poll.rb:103:in `do_poll'
389 /usr/lib/ruby/1.8/sup/util.rb:570:in `send'
390 /usr/lib/ruby/1.8/sup/util.rb:570:in `method_missing'
391 /usr/lib/ruby/1.8/sup/modes/poll-mode.rb:15:in `poll'
392 /usr/lib/ruby/1.8/sup/poll.rb:50:in `poll_with_sources'
393 /usr/lib/ruby/1.8/sup/poll.rb:69:in `poll'
394 /usr/lib/ruby/1.8/sup/util.rb:570:in `send'
395 /usr/lib/ruby/1.8/sup/util.rb:570:in `method_missing'
396 /usr/bin/sup-mail:330
397 /usr/lib/ruby/1.8/sup.rb:75:in `reporting_thread'
398 /usr/lib/ruby/1.8/sup.rb:73:in `initialize'
399 /usr/lib/ruby/1.8/sup.rb:73:in `new'
400 /usr/lib/ruby/1.8/sup.rb:73:in `reporting_thread'
401 /usr/bin/sup-mail:330
402
403 ----------
404 messages: 299
405 nosy: anonymous
406 priority: bug
407 ruby_version: 1.8
408 status: unread
409 sup_version: 0.11
410 title: exception at the first poll after a message has been sent
411
412 _________________________________________
413 Sup issue tracker <sup-bugs at masanjin.net>
414 <http://masanjin.net/sup-bugs/issue126>
415 _________________________________________
416
417 From dmishd@gmail.com Sat Nov 6 16:08:01 2010
418 From: dmishd@gmail.com (Hamish D)
419 Date: Sat, 6 Nov 2010 20:08:01 +0000
420 Subject: [sup-devel] [PATCH] Converted crypto to use the gpgme gem
421 Message-ID: <AANLkTinrSAheJb2F4Xw9AmgXcGLxeQh0_MEnuTSATye_@mail.gmail.com>
422
423 I often find that loading long threads of encrypted messages (I have
424 several of over 10 messages and one of nearly 40) leads to lots of
425 flickering as the console replaces sup, sup comes back, the console
426 comes back again ... It is also very slow, and involves writing
427 decrypted messages to disk (if only temporarily) which could be a
428 security hole. So I've looked about and found the gpgme gem which
429 provides an API to use, and allows decryption entirely in memory.
430
431 So I've rewritten lib/sup/crypto.rb to use gpgme. The functionality is
432 pretty much the same. Things I'm aware of that are different:
433
434 * we can't set the signature algorithm, so we have to use whatever is
435 set in the user's preferences
436 * the gpg-args hook has been replaced by the gpg-options hook
437
438 Other than that I think it is the same, although it took some work to
439 get the signature output to be the same. The other main difference is
440 that it's much faster and nicer now :)
441
442 It could do with some testing - I don't have much in the way of
443 messages that cause gpg to complain, so if you do, please try opening
444 those messages with this code and see if the behaviour is reasonable -
445 no crashes, given messages about why your message was bad etc.
446
447 Also I guess I should ask if people are happy to use this gem. Is it
448 hard to use on Macs? I guess I could rewrite this patch so it falls
449 back to the gpg binary if gpgme is not available ...
450
451 To install this patch on Debian/Ubuntu you can either
452
453 * apt-get install libgpgme-ruby
454 * apt-get install libgpgme11-dev; gem install gpgme
455
456 Hamish Downer
457 -------------- next part --------------
458 A non-text attachment was scrubbed...
459 Name: 0001-Converted-crypto-to-use-the-gpgme-gem.patch
460 Type: text/x-patch
461 Size: 13168 bytes
462 Desc: not available
463 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101106/69fefdfe/attachment-0001.bin>
464
465 From dmishd@gmail.com Mon Nov 8 06:21:12 2010
466 From: dmishd@gmail.com (Hamish D)
467 Date: Mon, 8 Nov 2010 11:21:12 +0000
468 Subject: [sup-devel] [PATCH] Converted crypto to use the gpgme gem
469 In-Reply-To: <AANLkTinrSAheJb2F4Xw9AmgXcGLxeQh0_MEnuTSATye_@mail.gmail.com>
470 References: <AANLkTinrSAheJb2F4Xw9AmgXcGLxeQh0_MEnuTSATye_@mail.gmail.com>
471 Message-ID: <AANLkTinXwKiJqgKyFrrcVV21a8j8hV=fw4QcvDLhtM8E@mail.gmail.com>
472
473 Best hang fire on this patch. It appears to crash when verifying a signature
474 when the public key is not available. I'm investigating the problem and how
475 to fix it cleanly and I'll resubmit once I've done that.
476
477 Hamish
478
479 On Nov 6, 2010 8:08 PM, "Hamish D" <dmishd at gmail.com> wrote:
480
481 I often find that loading long threads of encrypted messages (I have
482 several of over 10 messages and one of nearly 40) leads to lots of
483 flickering as the console replaces sup, sup comes back, the console
484 comes back again ... It is also very slow, and involves writing
485 decrypted messages to disk (if only temporarily) which could be a
486 security hole. So I've looked about and found the gpgme gem which
487 provides an API to use, and allows decryption entirely in memory.
488
489 So I've rewritten lib/sup/crypto.rb to use gpgme. The functionality is
490 pretty much the same. Things I'm aware of that are different:
491
492 * we can't set the signature algorithm, so we have to use whatever is
493 set in the user's preferences
494 * the gpg-args hook has been replaced by the gpg-options hook
495
496 Other than that I think it is the same, although it took some work to
497 get the signature output to be the same. The other main difference is
498 that it's much faster and nicer now :)
499
500 It could do with some testing - I don't have much in the way of
501 messages that cause gpg to complain, so if you do, please try opening
502 those messages with this code and see if the behaviour is reasonable -
503 no crashes, given messages about why your message was bad etc.
504
505 Also I guess I should ask if people are happy to use this gem. Is it
506 hard to use on Macs? I guess I could rewrite this patch so it falls
507 back to the gpg binary if gpgme is not available ...
508
509 To install this patch on Debian/Ubuntu you can either
510
511 * apt-get install libgpgme-ruby
512 * apt-get install libgpgme11-dev; gem install gpgme
513
514 Hamish Downer
515 -------------- next part --------------
516 An HTML attachment was scrubbed...
517 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101108/e614209c/attachment.html>
518
519 From dmishd@gmail.com Mon Nov 8 17:32:15 2010
520 From: dmishd@gmail.com (Hamish D)
521 Date: Mon, 8 Nov 2010 22:32:15 +0000
522 Subject: [sup-devel] [PATCH] Converted crypto to use the gpgme gem
523 In-Reply-To: <AANLkTinXwKiJqgKyFrrcVV21a8j8hV=fw4QcvDLhtM8E@mail.gmail.com>
524 References: <AANLkTinrSAheJb2F4Xw9AmgXcGLxeQh0_MEnuTSATye_@mail.gmail.com>
525 <AANLkTinXwKiJqgKyFrrcVV21a8j8hV=fw4QcvDLhtM8E@mail.gmail.com>
526 Message-ID: <AANLkTi=7yasVvAW4P85v3GJxf+quJrE3-1XruDgUZq+D@mail.gmail.com>
527
528 OK, the second patch fixes the problem with the first patch.
529
530 Hamish Downer
531
532 On 8 November 2010 11:21, Hamish D <dmishd at gmail.com> wrote:
533 > Best hang fire on this patch. It appears to crash when verifying a signature
534 > when the public key is not available. I'm investigating the problem and how
535 > to fix it cleanly and I'll resubmit once I've done that.
536 >
537 > Hamish
538 >
539 > On Nov 6, 2010 8:08 PM, "Hamish D" <dmishd at gmail.com> wrote:
540 >
541 > I often find that loading long threads of encrypted messages (I have
542 > several of over 10 messages and one of nearly 40) leads to lots of
543 > flickering as the console replaces sup, sup comes back, the console
544 > comes back again ... It is also very slow, and involves writing
545 > decrypted messages to disk (if only temporarily) which could be a
546 > security hole. So I've looked about and found the gpgme gem which
547 > provides an API to use, and allows decryption entirely in memory.
548 >
549 > So I've rewritten lib/sup/crypto.rb to use gpgme. The functionality is
550 > pretty much the same. Things I'm aware of that are different:
551 >
552 > * we can't set the signature algorithm, so we have to use whatever is
553 > set in the user's preferences
554 > * the gpg-args hook has been replaced by the gpg-options hook
555 >
556 > Other than that I think it is the same, although it took some work to
557 > get the signature output to be the same. The other main difference is
558 > that it's much faster and nicer now :)
559 >
560 > It could do with some testing - I don't have much in the way of
561 > messages that cause gpg to complain, so if you do, please try opening
562 > those messages with this code and see if the behaviour is reasonable -
563 > no crashes, given messages about why your message was bad etc.
564 >
565 > Also I guess I should ask if people are happy to use this gem. Is it
566 > hard to use on Macs? I guess I could rewrite this patch so it falls
567 > back to the gpg binary if gpgme is not available ...
568 >
569 > To install this patch on Debian/Ubuntu you can either
570 >
571 > * apt-get install libgpgme-ruby
572 > * apt-get install libgpgme11-dev; gem install gpgme
573 >
574 > Hamish Downer
575 >
576 -------------- next part --------------
577 A non-text attachment was scrubbed...
578 Name: 0001-Converted-crypto-to-use-the-gpgme-gem.patch
579 Type: text/x-patch
580 Size: 13172 bytes
581 Desc: not available
582 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101108/7f25d4e2/attachment-0002.bin>
583 -------------- next part --------------
584 A non-text attachment was scrubbed...
585 Name: 0002-catch-exception-when-no-public-key-present.patch
586 Type: text/x-patch
587 Size: 1571 bytes
588 Desc: not available
589 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101108/7f25d4e2/attachment-0003.bin>
590
591 From eg@gaute.vetsj.com Tue Nov 9 05:19:47 2010
592 From: eg@gaute.vetsj.com (Gaute Hope)
593 Date: Tue, 09 Nov 2010 11:19:47 +0100
594 Subject: [sup-devel] [PATCHES] more utf + whitespace
595 Message-ID: <1289297820-sup-9801@qwerzila>
596
597 Hi,
598
599 attached is another patch fixing a crash first tab completing an UTF-8
600 contact; then an ASCII contact.
601
602 Also some whitespace corrections for lib/sup/buffer.rb
603
604 Also available on:
605 http://git.gitorious.org/~gauteh/sup/gautehs-mainline.git (master)
606
607
608 - gaute
609 -------------- next part --------------
610 A non-text attachment was scrubbed...
611 Name: 0001-Fix-Whitespace-errors-in-buffer.rb.patch
612 Type: application/octet-stream
613 Size: 2393 bytes
614 Desc: not available
615 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101109/bfddf0a1/attachment.obj>
616 -------------- next part --------------
617 A non-text attachment was scrubbed...
618 Name: 0002-UTF-8-Force-UTF-8-in-ask_many_emails.patch
619 Type: application/octet-stream
620 Size: 1199 bytes
621 Desc: not available
622 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101109/bfddf0a1/attachment-0001.obj>
623
624 From sup-bugs@masanjin.net Tue Nov 9 09:29:25 2010
625 From: sup-bugs@masanjin.net (anonymous)
626 Date: Tue, 09 Nov 2010 14:29:25 +0000
627 Subject: [sup-devel] [issue127] crash on searchin for "on:yesterday"
628 In-Reply-To: <1289312965.5.0.992137177273.issue127@masanjin.net>
629 Message-ID: <1289312965.5.0.992137177273.issue127@masanjin.net>
630
631
632 New submission from anonymous:
633
634 Hi,
635
636 I've been reading the NewUserGuide.txt and did a search with \. At first, the
637 status bar was like this:
638 [search-results-mode] search: "on:yesterday" line 0 of 0
639 After quite some minutes of really high CPU load, it was like this:
640 [Tue Nov 09 15:18:06 +0100 2010] ERROR: oh crap, an exception
641
642 I've attached the the exception log of the exception as an attachment.
643
644 Cu.
645
646 ----------
647 files: exception-log.txt
648 messages: 301
649 nosy: anonymous
650 priority: bug
651 ruby_version: 1.8.7
652 status: unread
653 sup_version: 0.11
654 title: crash on searchin for "on:yesterday"
655
656 _________________________________________
657 Sup issue tracker <sup-bugs at masanjin.net>
658 <http://masanjin.net/sup-bugs/issue127>
659 _________________________________________
660 -------------- next part --------------
661 --- NoMethodError from thread: periodic poll
662 undefined method `content_width' for nil:NilClass
663 /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:920:in `from_width'
664 /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:840:in `text_for_thread_at'
665 /usr/lib/ruby/1.8/sup/index.rb:487:in `each_with_index'
666 /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:839:in `each'
667 /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:839:in `each_with_index'
668 /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:839:in `text_for_thread_at'
669 /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:781:in `regen_text'
670 /usr/lib/ruby/1.8/sup/util.rb:414:in `map_with_index'
671 /usr/lib/ruby/1.8/sup/index.rb:487:in `each_with_index'
672 /usr/lib/ruby/1.8/sup/util.rb:414:in `each'
673 /usr/lib/ruby/1.8/sup/util.rb:414:in `each_with_index'
674 /usr/lib/ruby/1.8/sup/util.rb:414:in `map_with_index'
675 /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:781:in `regen_text'
676 /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:242:in `update'
677 /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:717:in `add_or_unhide'
678 /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:196:in `handle_added_update'
679 /usr/lib/ruby/1.8/sup/update.rb:26:in `send'
680 /usr/lib/ruby/1.8/sup/update.rb:26:in `relay'
681 /usr/lib/ruby/1.8/sup/update.rb:26:in `each'
682 /usr/lib/ruby/1.8/sup/update.rb:26:in `relay'
683 /usr/lib/ruby/1.8/sup/util.rb:570:in `send'
684 /usr/lib/ruby/1.8/sup/util.rb:570:in `method_missing'
685 /usr/lib/ruby/1.8/sup/poll.rb:191:in `add_new_message'
686 /usr/lib/ruby/1.8/sup/poll.rb:132:in `do_poll'
687 /usr/lib/ruby/1.8/sup/poll.rb:176:in `each_message_from'
688 /usr/lib/ruby/1.8/sup/maildir.rb:160:in `each'
689 /usr/lib/ruby/1.8/sup/maildir.rb:157:in `upto'
690 /usr/lib/ruby/1.8/sup/maildir.rb:157:in `each'
691 /usr/lib/ruby/1.8/sup/util.rb:610:in `send'
692 /usr/lib/ruby/1.8/sup/util.rb:610:in `__pass'
693 /usr/lib/ruby/1.8/sup/util.rb:597:in `method_missing'
694 /usr/lib/ruby/1.8/sup/poll.rb:164:in `each_message_from'
695 /usr/lib/ruby/1.8/sup/poll.rb:116:in `do_poll'
696 /usr/lib/ruby/1.8/sup/poll.rb:104:in `each'
697 /usr/lib/ruby/1.8/sup/poll.rb:104:in `do_poll'
698 /usr/lib/ruby/1.8/sup/poll.rb:103:in `synchronize'
699 /usr/lib/ruby/1.8/sup/poll.rb:103:in `do_poll'
700 /usr/lib/ruby/1.8/sup/util.rb:570:in `send'
701 /usr/lib/ruby/1.8/sup/util.rb:570:in `method_missing'
702 /usr/lib/ruby/1.8/sup/modes/poll-mode.rb:15:in `poll'
703 /usr/lib/ruby/1.8/sup/poll.rb:50:in `poll_with_sources'
704 /usr/lib/ruby/1.8/sup/poll.rb:69:in `poll'
705 /usr/lib/ruby/1.8/sup/poll.rb:87:in `start'
706 /usr/lib/ruby/1.8/sup.rb:75:in `reporting_thread'
707 /usr/lib/ruby/1.8/sup.rb:73:in `initialize'
708 /usr/lib/ruby/1.8/sup.rb:73:in `new'
709 /usr/lib/ruby/1.8/sup.rb:73:in `reporting_thread'
710 /usr/lib/ruby/1.8/sup/poll.rb:84:in `start'
711 /usr/lib/ruby/1.8/sup/util.rb:570:in `send'
712 /usr/lib/ruby/1.8/sup/util.rb:570:in `method_missing'
713 /usr/bin/sup-mail:239
714
715 From alvherre@alvh.no-ip.org Tue Nov 9 10:22:39 2010
716 From: alvherre@alvh.no-ip.org (Alvaro Herrera)
717 Date: Tue, 09 Nov 2010 12:22:39 -0300
718 Subject: [sup-devel] Fix crash on attachment with / in the name
719 Message-ID: <1289316052-sup-7690@alvh.no-ip.org>
720
721 This patch fixes an exception when the attachment specifies a filename
722 with slashes. This is rare but possible.
723
724 --
725 ?lvaro Herrera <alvherre at alvh.no-ip.org>
726 -------------- next part --------------
727 A non-text attachment was scrubbed...
728 Name: 0001-Fix-crash-on-handling-attachment-filenames-with.patch
729 Type: application/octet-stream
730 Size: 764 bytes
731 Desc: not available
732 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101109/aef235de/attachment.obj>
733
734 From alvherre@alvh.no-ip.org Tue Nov 9 10:24:13 2010
735 From: alvherre@alvh.no-ip.org (Alvaro Herrera)
736 Date: Tue, 09 Nov 2010 12:24:13 -0300
737 Subject: [sup-devel] Use "-- " as a signature separator
738 Message-ID: <1289316177-sup-6046@alvh.no-ip.org>
739
740 This patch makes the signature separator always be dash-dash-space; the
741 current code is inconsistent in that one place is missing the space.
742 Apparently, it was removed by someone who thought it was unnecessary.
743
744 --
745 ?lvaro Herrera <alvherre at alvh.no-ip.org>
746 -------------- next part --------------
747 A non-text attachment was scrubbed...
748 Name: 0002-Use-for-signature-separator.patch
749 Type: application/octet-stream
750 Size: 797 bytes
751 Desc: not available
752 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101109/dc51b54c/attachment.obj>
753
754 From alvherre@alvh.no-ip.org Tue Nov 9 10:27:06 2010
755 From: alvherre@alvh.no-ip.org (Alvaro Herrera)
756 Date: Tue, 09 Nov 2010 12:27:06 -0300
757 Subject: [sup-devel] pass //IGNORE to iconv
758 Message-ID: <1289316270-sup-7500@alvh.no-ip.org>
759
760
761 With the current code, an encoding failure means we see (and quote)
762 stuff like \xab\xbc\x07 in the text. Using the //IGNORE flag allows the
763 code to ignore broken chars instead of displaying large amounts of junk.
764
765 I note that the text containing broken chars is coming from external
766 sources, so there's nothing that could be done locally to fix it.
767
768 --
769 ?lvaro Herrera <alvherre at alvh.no-ip.org>
770 -------------- next part --------------
771 A non-text attachment was scrubbed...
772 Name: 0003-Make-encoding-conversion-pass-IGNORE-to-iconv.patch
773 Type: application/octet-stream
774 Size: 1609 bytes
775 Desc: not available
776 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101109/4ae5566b/attachment.obj>
777
778 From chris.mason@ORACLE.COM Tue Nov 9 19:40:58 2010
779 From: chris.mason@ORACLE.COM (Chris Mason)
780 Date: Tue, 09 Nov 2010 19:40:58 -0500
781 Subject: [sup-devel] really high wakeup count in powertop
782 Message-ID: <1289349454-sup-1015@think>
783
784 Hi everyone,
785
786 I'm new to sup and really like the interface and the features. But, I
787 popped up powertop while it was running and sup accounts for a constant 100
788 wakeups/second, much more than the one or two wakeups/sec from our old
789 friend mutt.
790
791 I haven't done much ruby but can make my way through most things. If
792 someone could point me at the polling function most likely to cause the
793 wakeups I can work out a patch.
794
795 I'm running git from this Monday, so pretty recent. Ruby 1.9.1
796
797 Thanks!
798
799 -chris
800
801 From chris.mason@oracle.com Wed Nov 10 09:41:30 2010
802 From: chris.mason@oracle.com (Chris Mason)
803 Date: Wed, 10 Nov 2010 09:41:30 -0500
804 Subject: [sup-devel] really high wakeup count in powertop
805 In-Reply-To: <1289349454-sup-1015@think>
806 References: <1289349454-sup-1015@think>
807 Message-ID: <1289399902-sup-201@think>
808
809 Excerpts from Chris Mason's message of 2010-11-09 19:40:58 -0500:
810 > Hi everyone,
811 >
812 > I'm new to sup and really like the interface and the features. But, I
813 > popped up powertop while it was running and sup accounts for a constant 100
814 > wakeups/second, much more than the one or two wakeups/sec from our old
815 > friend mutt.
816 >
817 > I haven't done much ruby but can make my way through most things. If
818 > someone could point me at the polling function most likely to cause the
819 > wakeups I can work out a patch.
820 >
821 > I'm running git from this Monday, so pretty recent. Ruby 1.9.1
822
823 (This got dumped into the moderator approval queue, so I'm resending,
824 this time with more details)
825
826 strace showed we were hammering on futexes, and a little digging made it
827 clear sup isn't to blame. The ruby timer thread is polling for
828 signals (or something) every 10ms:
829
830 http://redmine.ruby-lang.org/issues/show/3436
831
832 I patched up ruby to poll every 500ms and things seem to work. Not sure
833 why the ruby developers didn't just change the timeout, but chances are
834 good they have a real reason. I'll post to that bug.
835
836 -chris
837
838 From eg@gaute.vetsj.com Wed Nov 10 11:13:48 2010
839 From: eg@gaute.vetsj.com (Gaute Hope)
840 Date: Wed, 10 Nov 2010 17:13:48 +0100
841 Subject: [sup-devel] really high wakeup count in powertop
842 In-Reply-To: <1289399902-sup-201@think>
843 References: <1289349454-sup-1015@think> <1289399902-sup-201@think>
844 Message-ID: <1289405570-sup-2035@qwerzila>
845
846 Excerpts from Chris Mason's message of 2010-11-10 15:41:30 +0100:
847 > strace showed we were hammering on futexes, and a little digging made it
848 > clear sup isn't to blame. The ruby timer thread is polling for
849 > signals (or something) every 10ms:
850 >
851 > http://redmine.ruby-lang.org/issues/show/3436
852 >
853 > I patched up ruby to poll every 500ms and things seem to work. Not sure
854 > why the ruby developers didn't just change the timeout, but chances are
855 > good they have a real reason. I'll post to that bug.
856
857 Also noticed sup in powertop; so there's nothing to do on the Sup side ?
858
859 - gaute
860
861 From wmorgan-sup@masanjin.net Wed Nov 10 13:35:41 2010
862 From: wmorgan-sup@masanjin.net (William Morgan)
863 Date: Wed, 10 Nov 2010 13:35:41 -0500
864 Subject: [sup-devel] really high wakeup count in powertop
865 In-Reply-To: <1289399902-sup-201@think>
866 References: <1289349454-sup-1015@think> <1289399902-sup-201@think>
867 Message-ID: <1289414078-sup-6701@masanjin.net>
868
869 Reformatted excerpts from Chris Mason's message of 2010-11-10:
870 > I patched up ruby to poll every 500ms and things seem to work. Not
871 > sure why the ruby developers didn't just change the timeout, but
872 > chances are good they have a real reason.
873
874 Yeah, the last time someone investigated this, they decided it was a
875 Ruby issue as well. Keep us informed if that patch gets applied. You
876 could also try 1.9.2 for kicks.
877 --
878 William <wmorgan-sup at masanjin.net>
879
880 From chris.mason@oracle.com Wed Nov 10 15:18:58 2010
881 From: chris.mason@oracle.com (Chris Mason)
882 Date: Wed, 10 Nov 2010 15:18:58 -0500
883 Subject: [sup-devel] really high wakeup count in powertop
884 In-Reply-To: <1289414078-sup-6701@masanjin.net>
885 References: <1289349454-sup-1015@think> <1289399902-sup-201@think>
886 <1289414078-sup-6701@masanjin.net>
887 Message-ID: <1289420219-sup-8511@think>
888
889 Excerpts from William Morgan's message of 2010-11-10 13:35:41 -0500:
890 > Reformatted excerpts from Chris Mason's message of 2010-11-10:
891 > > I patched up ruby to poll every 500ms and things seem to work. Not
892 > > sure why the ruby developers didn't just change the timeout, but
893 > > chances are good they have a real reason.
894 >
895 > Yeah, the last time someone investigated this, they decided it was a
896 > Ruby issue as well. Keep us informed if that patch gets applied. You
897 > could also try 1.9.2 for kicks.
898
899 The 500ms patch apparently isn't good because it limits how often ruby
900 can switch between threads. This seems strange to me, because the
901 kernel should be scheduling the threads, so I'll ask again.
902
903 At any rate, it did trigger some discussion and doesn't seem to be fixed
904 yet in any ruby version.
905
906 (For sup uses, 500ms works just fine, and that's my only ruby app).
907
908 -chris
909
910 From gaudenz@soziologie.ch Thu Nov 11 04:09:18 2010
911 From: gaudenz@soziologie.ch (Gaudenz Steinlin)
912 Date: Thu, 11 Nov 2010 10:09:18 +0100
913 Subject: [sup-devel] [PATCH] Converted crypto to use the gpgme gem
914 In-Reply-To: <AANLkTi=7yasVvAW4P85v3GJxf+quJrE3-1XruDgUZq+D@mail.gmail.com>
915 References: <AANLkTinrSAheJb2F4Xw9AmgXcGLxeQh0_MEnuTSATye_@mail.gmail.com>
916 <AANLkTinXwKiJqgKyFrrcVV21a8j8hV=fw4QcvDLhtM8E@mail.gmail.com>
917 <AANLkTi=7yasVvAW4P85v3GJxf+quJrE3-1XruDgUZq+D@mail.gmail.com>
918 Message-ID: <1289466286-sup-7540@meteor.durcheinandertal.local>
919
920 Hi
921
922 Excerpts from Hamish D's message of Mon Nov 08 23:32:15 +0100 2010:
923 > OK, the second patch fixes the problem with the first patch.
924
925 I tried your patches and the problem with crash on missing keys seems
926 to be solved. However I have some more comments:
927
928 - With this patch the output of the gpg run is no longer available.
929 Like this the plus sign in front of the message does not make sense.
930 Is there a way to get at the gpg output with your approach?
931 - Signatures made by keys that are available in my keyring but aren't
932 trusted are shown as valid. They should be specially marked!
933 This is not a new problem. It also exists with the current code, but
934 there you can access the gpg output which shows you that the
935 signature is valid but not trusted.
936
937 Gaudenz
938
939 >
940 > Hamish Downer
941 >
942 > On 8 November 2010 11:21, Hamish D <dmishd at gmail.com> wrote:
943 > > Best hang fire on this patch. It appears to crash when verifying a signature
944 > > when the public key is not available. I'm investigating the problem and how
945 > > to fix it cleanly and I'll resubmit once I've done that.
946 > >
947 > > Hamish
948 > >
949 > > On Nov 6, 2010 8:08 PM, "Hamish D" <dmishd at gmail.com> wrote:
950 > >
951 > > I often find that loading long threads of encrypted messages (I have
952 > > several of over 10 messages and one of nearly 40) leads to lots of
953 > > flickering as the console replaces sup, sup comes back, the console
954 > > comes back again ... It is also very slow, and involves writing
955 > > decrypted messages to disk (if only temporarily) which could be a
956 > > security hole. So I've looked about and found the gpgme gem which
957 > > provides an API to use, and allows decryption entirely in memory.
958 > >
959 > > So I've rewritten lib/sup/crypto.rb to use gpgme. The functionality is
960 > > pretty much the same. Things I'm aware of that are different:
961 > >
962 > > * we can't set the signature algorithm, so we have to use whatever is
963 > > set in the user's preferences
964 > > * the gpg-args hook has been replaced by the gpg-options hook
965 > >
966 > > Other than that I think it is the same, although it took some work to
967 > > get the signature output to be the same. The other main difference is
968 > > that it's much faster and nicer now :)
969 > >
970 > > It could do with some testing - I don't have much in the way of
971 > > messages that cause gpg to complain, so if you do, please try opening
972 > > those messages with this code and see if the behaviour is reasonable -
973 > > no crashes, given messages about why your message was bad etc.
974 > >
975 > > Also I guess I should ask if people are happy to use this gem. Is it
976 > > hard to use on Macs? I guess I could rewrite this patch so it falls
977 > > back to the gpg binary if gpgme is not available ...
978 > >
979 > > To install this patch on Debian/Ubuntu you can either
980 > >
981 > > * apt-get install libgpgme-ruby
982 > > * apt-get install libgpgme11-dev; gem install gpgme
983 > >
984 > > Hamish Downer
985 > >
986 --
987 Ever tried. Ever failed. No matter.
988 Try again. Fail again. Fail better.
989 ~ Samuel Beckett ~
990 -------------- next part --------------
991 A non-text attachment was scrubbed...
992 Name: signature.asc
993 Type: application/pgp-signature
994 Size: 482 bytes
995 Desc: not available
996 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101111/0cb505ea/attachment.bin>
997
998 From dmishd@gmail.com Thu Nov 11 12:25:13 2010
999 From: dmishd@gmail.com (Hamish D)
1000 Date: Thu, 11 Nov 2010 17:25:13 +0000
1001 Subject: [sup-devel] [PATCH] Converted crypto to use the gpgme gem
1002 In-Reply-To: <1289466286-sup-7540@meteor.durcheinandertal.local>
1003 References: <AANLkTinrSAheJb2F4Xw9AmgXcGLxeQh0_MEnuTSATye_@mail.gmail.com>
1004 <AANLkTinXwKiJqgKyFrrcVV21a8j8hV=fw4QcvDLhtM8E@mail.gmail.com>
1005 <AANLkTi=7yasVvAW4P85v3GJxf+quJrE3-1XruDgUZq+D@mail.gmail.com>
1006 <1289466286-sup-7540@meteor.durcheinandertal.local>
1007 Message-ID: <AANLkTikUwyX6xj-f_ZnLp6s2s9vaCpgayPKygniWndoJ@mail.gmail.com>
1008
1009 > - With this patch the output of the gpg run is no longer available.
1010 > ?Like this the plus sign in front of the message does not make sense.
1011 > ?Is there a way to get at the gpg output with your approach?
1012
1013 The gpg binary is not called, so there is no output from it. What do
1014 you mean by the "plus sign" - where does this turn up? I haven't
1015 noticed that. If you tell me exactly what your expected behaviour is
1016 I'll see if I can replicate it.
1017
1018 > - Signatures made by keys that are available in my keyring but aren't
1019 > ?trusted are shown as valid. They should be specially marked!
1020 > ?This is not a new problem. It also exists with the current code, but
1021 > ?there you can access the gpg output which shows you that the
1022 > ?signature is valid but not trusted.
1023
1024 I have a hook I'm working on so that you can access the full Signature
1025 object returned by gpgme. I'll post about it when it's working and I
1026 have some example hook code. This would be able to tell you whether
1027 the key that signed the message is trusted by you etc. I'll hopefully
1028 get to that within a week.
1029
1030 Hamish
1031
1032 From sup-bugs@masanjin.net Sat Nov 13 05:49:52 2010
1033 From: sup-bugs@masanjin.net (anonymous)
1034 Date: Sat, 13 Nov 2010 10:49:52 +0000
1035 Subject: [sup-devel] [issue128] can't modify frozen string
1036 In-Reply-To: <1289645392.0.0.856118231746.issue128@masanjin.net>
1037 Message-ID: <1289645392.0.0.856118231746.issue128@masanjin.net>
1038
1039
1040 New submission from anonymous:
1041
1042 see the exception log..
1043
1044 ----------
1045 messages: 302
1046 nosy: anonymous
1047 priority: bug
1048 ruby_version: 1.9.1
1049 status: unread
1050 sup_version: 0.11
1051 title: can't modify frozen string
1052
1053 _________________________________________
1054 Sup issue tracker <sup-bugs at masanjin.net>
1055 <http://masanjin.net/sup-bugs/issue128>
1056 _________________________________________
1057
1058 From rlane@club.cc.cmu.edu Sun Nov 14 23:16:35 2010
1059 From: rlane@club.cc.cmu.edu (Rich Lane)
1060 Date: Sun, 14 Nov 2010 23:16:35 -0500
1061 Subject: [sup-devel] [PATCHES] more utf + whitespace
1062 In-Reply-To: <1289297820-sup-9801@qwerzila>
1063 References: <1289297820-sup-9801@qwerzila>
1064 Message-ID: <1289794572-sup-2762@zyrg.net>
1065
1066 Applied to master.
1067
1068 From rlane@club.cc.cmu.edu Sun Nov 14 23:17:03 2010
1069 From: rlane@club.cc.cmu.edu (Rich Lane)
1070 Date: Sun, 14 Nov 2010 23:17:03 -0500
1071 Subject: [sup-devel] Fix crash on attachment with / in the name
1072 In-Reply-To: <1289316052-sup-7690@alvh.no-ip.org>
1073 References: <1289316052-sup-7690@alvh.no-ip.org>
1074 Message-ID: <1289794607-sup-2409@zyrg.net>
1075
1076 Applied to master.
1077
1078 From rlane@club.cc.cmu.edu Sun Nov 14 23:17:31 2010
1079 From: rlane@club.cc.cmu.edu (Rich Lane)
1080 Date: Sun, 14 Nov 2010 23:17:31 -0500
1081 Subject: [sup-devel] Use "-- " as a signature separator
1082 In-Reply-To: <1289316177-sup-6046@alvh.no-ip.org>
1083 References: <1289316177-sup-6046@alvh.no-ip.org>
1084 Message-ID: <1289794629-sup-8400@zyrg.net>
1085
1086 Applied to master.
1087
1088 From rlane@club.cc.cmu.edu Sun Nov 14 23:17:59 2010
1089 From: rlane@club.cc.cmu.edu (Rich Lane)
1090 Date: Sun, 14 Nov 2010 23:17:59 -0500
1091 Subject: [sup-devel] pass //IGNORE to iconv
1092 In-Reply-To: <1289316270-sup-7500@alvh.no-ip.org>
1093 References: <1289316270-sup-7500@alvh.no-ip.org>
1094 Message-ID: <1289794660-sup-7534@zyrg.net>
1095
1096 Applied to master.
1097
1098 From sup-bugs@masanjin.net Mon Nov 15 03:40:11 2010
1099 From: sup-bugs@masanjin.net (anonymous)
1100 Date: Mon, 15 Nov 2010 08:40:11 +0000
1101 Subject: [sup-devel] [issue129] error while trying to reply to a message
1102 with CC and gpg sign
1103 In-Reply-To: <1289810410.96.0.779211820573.issue129@masanjin.net>
1104 Message-ID: <1289810410.96.0.779211820573.issue129@masanjin.net>
1105
1106
1107 New submission from anonymous:
1108
1109 I can't reply to a conversation signing with gpg, if the email has some cc
1110
1111 ----------
1112 files: exception-log.txt
1113 messages: 303
1114 nosy: anonymous
1115 priority: bug
1116 ruby_version: 1.9.1
1117 status: unread
1118 sup_version: 0.11
1119 title: error while trying to reply to a message with CC and gpg sign
1120
1121 _________________________________________
1122 Sup issue tracker <sup-bugs at masanjin.net>
1123 <http://masanjin.net/sup-bugs/issue129>
1124 _________________________________________
1125 -------------- next part --------------
1126 --- Redwood::FatalSourceError from thread: main
1127 While communicating with IMAP server (type Net::IMAP::BadResponseError): "Could not parse command"
1128 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/imap.rb:343:in `rescue in safely'
1129 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/imap.rb:329:in `safely'
1130 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/imap.rb:121:in `store_message'
1131 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/util.rb:610:in `__pass'
1132 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/util.rb:597:in `method_missing'
1133 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/sent.rb:28:in `write_sent_message'
1134 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/util.rb:570:in `method_missing'
1135 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/modes/edit-message-mode.rb:346:in `send_message'
1136 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/mode.rb:59:in `handle_input'
1137 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/buffer.rb:279:in `handle_input'
1138 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/bin/sup:279:in `<module:Redwood>'
1139 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/bin/sup:68:in `<top (required)>'
1140 /usr/bin/sup:19:in `load'
1141 /usr/bin/sup:19:in `<main>'
1142
1143 From chris.mason@oracle.com Mon Nov 15 07:21:57 2010
1144 From: chris.mason@oracle.com (Chris Mason)
1145 Date: Mon, 15 Nov 2010 07:21:57 -0500
1146 Subject: [sup-devel] searching by message instead of thread
1147 Message-ID: <1289823372-sup-3394@think>
1148
1149 Hi everyone,
1150
1151 The default search setup in sup seems to just pop up the whole thread in
1152 the results, which helps a lot because you can easily find the
1153 related context.
1154
1155 But, I often get stuck on threads that last for weeks and have many many
1156 messages. It's hard to find the actual messages that match the search.
1157
1158 Three things would help:
1159
1160 1) Toggle between the whole thread and the matching messages in the
1161 thread view
1162 2) Expand just the matching messages and collapse the others
1163 3) When you hit / to search for text in the thread display, have a key
1164 for next.
1165
1166 Do any of these already exist? If not, which ones seem most likely to
1167 be acceptable?
1168
1169 -chris
1170
1171 From ali@lown.me.uk Mon Nov 15 14:29:22 2010
1172 From: ali@lown.me.uk (Ali Lown)
1173 Date: Mon, 15 Nov 2010 19:29:22 +0000
1174 Subject: [sup-devel] state of maildir-sync branch?
1175 Message-ID: <1289849196-sup-128@alipc-laptop>
1176
1177 What happened to this branch, because it hasn't been worked on since July, but doesn't appear to have been merged into master/next.
1178 Does anyone know what else needs to be done to get it suitable for merging (besides a git rebase)?
1179 -Ali
1180
1181
1182 From rlane@club.cc.cmu.edu Mon Nov 15 15:52:59 2010
1183 From: rlane@club.cc.cmu.edu (Rich Lane)
1184 Date: Mon, 15 Nov 2010 15:52:59 -0500
1185 Subject: [sup-devel] state of maildir-sync branch?
1186 In-Reply-To: <1289849196-sup-128@alipc-laptop>
1187 References: <1289849196-sup-128@alipc-laptop>
1188 Message-ID: <1289854240-sup-7909@zyrg.net>
1189
1190 Excerpts from Ali Lown's message of Mon Nov 15 14:29:22 -0500 2010:
1191 > What happened to this branch, because it hasn't been worked on since July, but doesn't appear to have been merged into master/next.
1192 > Does anyone know what else needs to be done to get it suitable for merging (besides a git rebase)?
1193 > -Ali
1194
1195 I'll take a look.
1196
1197 From gaudenz@soziologie.ch Tue Nov 16 06:42:33 2010
1198 From: gaudenz@soziologie.ch (Gaudenz Steinlin)
1199 Date: Tue, 16 Nov 2010 12:42:33 +0100
1200 Subject: [sup-devel] [PATCH] Converted crypto to use the gpgme gem
1201 In-Reply-To: <AANLkTikUwyX6xj-f_ZnLp6s2s9vaCpgayPKygniWndoJ@mail.gmail.com>
1202 References: <AANLkTinrSAheJb2F4Xw9AmgXcGLxeQh0_MEnuTSATye_@mail.gmail.com>
1203 <AANLkTinXwKiJqgKyFrrcVV21a8j8hV=fw4QcvDLhtM8E@mail.gmail.com>
1204 <AANLkTi=7yasVvAW4P85v3GJxf+quJrE3-1XruDgUZq+D@mail.gmail.com>
1205 <1289466286-sup-7540@meteor.durcheinandertal.local>
1206 <AANLkTikUwyX6xj-f_ZnLp6s2s9vaCpgayPKygniWndoJ@mail.gmail.com>
1207 Message-ID: <1289907535-sup-3989@meteor.durcheinandertal.local>
1208
1209 Excerpts from Hamish D's message of Don Nov 11 18:25:13 +0100 2010:
1210 > > - With this patch the output of the gpg run is no longer available.
1211 > > ?Like this the plus sign in front of the message does not make sense.
1212 > > ?Is there a way to get at the gpg output with your approach?
1213 >
1214 > The gpg binary is not called, so there is no output from it. What do
1215 > you mean by the "plus sign" - where does this turn up? I haven't
1216 > noticed that. If you tell me exactly what your expected behaviour is
1217 > I'll see if I can replicate it.
1218
1219 The "+" character is right in front of the string "Good signature from
1220 ...". If you move the cursor to that line and press enter it changes
1221 to a "-" character, but no additional text is shown. The gpg command
1222 output used to show up there when pressing enter.
1223
1224 I expect there to be some additional output about the signature
1225 validation like keyid, signature date, trust level, ...
1226
1227 At least if you can't provide any additional information, the "+"
1228 character should not show up as this is an indicator that there is
1229 some collapsed text to show.
1230
1231 Gaudenz
1232 --
1233 Ever tried. Ever failed. No matter.
1234 Try again. Fail again. Fail better.
1235 ~ Samuel Beckett ~
1236 -------------- next part --------------
1237 A non-text attachment was scrubbed...
1238 Name: signature.asc
1239 Type: application/pgp-signature
1240 Size: 482 bytes
1241 Desc: not available
1242 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101116/17b84df7/attachment.bin>
1243
1244 From dmishd@gmail.com Tue Nov 16 09:20:03 2010
1245 From: dmishd@gmail.com (Hamish D)
1246 Date: Tue, 16 Nov 2010 14:20:03 +0000
1247 Subject: [sup-devel] [PATCH] Converted crypto to use the gpgme gem
1248 In-Reply-To: <1289907535-sup-3989@meteor.durcheinandertal.local>
1249 References: <AANLkTinrSAheJb2F4Xw9AmgXcGLxeQh0_MEnuTSATye_@mail.gmail.com>
1250 <AANLkTinXwKiJqgKyFrrcVV21a8j8hV=fw4QcvDLhtM8E@mail.gmail.com>
1251 <AANLkTi=7yasVvAW4P85v3GJxf+quJrE3-1XruDgUZq+D@mail.gmail.com>
1252 <1289466286-sup-7540@meteor.durcheinandertal.local>
1253 <AANLkTikUwyX6xj-f_ZnLp6s2s9vaCpgayPKygniWndoJ@mail.gmail.com>
1254 <1289907535-sup-3989@meteor.durcheinandertal.local>
1255 Message-ID: <AANLkTi=xz16ecZ0C5=RUcOG4wzojVVzs70PZ2ueKa0ht@mail.gmail.com>
1256
1257 > The "+" character is right in front of the string "Good signature from
1258 > ...". If you move the cursor to that line and press enter it changes
1259 > to a "-" character, but no additional text is shown. The gpg command
1260 > output used to show up there when pressing enter.
1261 >
1262 > I expect there to be some additional output about the signature
1263 > validation like keyid, signature date, trust level, ...
1264
1265 Right, now I know what you are referring to. It is a CryptoNotice
1266 object. That didn't work in the first version of the patch, but I
1267 fixed it in the patch I submitted the second time.
1268
1269 So with the patches submitted in the message with time stamp "8
1270 November 2010 22:32"?there will be lines when you expand, telling you
1271 the key ID, the timestamp of the signature and all names and email
1272 addresses associated with that key.
1273
1274 I am also working on having extra information generated when the key
1275 is not trusted, but this is not done yet. And I am also working on a
1276 hook where you can generate as much information as you want from the
1277 signature for the CryptoNotice. Hopefully be ready to submit before
1278 the weekend.
1279
1280 While doing this I'm wondering about the preferred way of submitting
1281 patches that represent quite a bit of work. Should I use git rebase -i
1282 to just have a single patch with all changes, or is it preferred to
1283 have a series of smaller changes?
1284
1285 I also have my code at http://github.com/foobacca/sup - this patch is
1286 being developed in the gpgme branch -
1287 https://github.com/foobacca/sup/tree/gpgme
1288
1289 Hamish
1290
1291 From damien.leone@fensalir.fr Tue Nov 16 09:30:14 2010
1292 From: damien.leone@fensalir.fr (Damien Leone)
1293 Date: Tue, 16 Nov 2010 15:30:14 +0100
1294 Subject: [sup-devel] state of maildir-sync branch?
1295 In-Reply-To: <1289849196-sup-128@alipc-laptop>
1296 References: <1289849196-sup-128@alipc-laptop>
1297 Message-ID: <1289917099-sup-3698@mailer>
1298
1299 Hello,
1300
1301 I would say that the work is almost done, I still have things on my
1302 todo list which are:
1303
1304 - Merge the replied/forwarded tag at the first synchronisation back to
1305 the IMAP so no information is lost
1306
1307 - There is still some work to do on the Polling#do_poll function
1308 because the way it is in the branch is too hackish
1309
1310 - Allow to move an email from a maildir to another
1311
1312 - Put a special flag or file for the first time you run sup with the
1313 branch so you get asked if you want to sync everything now
1314
1315 Beside that I have been running the branch for months without issue,
1316 just a little bug that might be related to the point 2 of the list.
1317
1318 I often rebase the branch to master so it stays up to date, you can
1319 find this on my repository [0] in the maildir-sync-master branch. The
1320 damien branch is the same with extra patches I made months ago that
1321 have not been reviewed.
1322
1323 Cheers,
1324
1325 [0] : http://git.fensalir.fr/?p=dleone/sup.git;a=summary
1326
1327 Excerpts from Ali Lown's message of lun. nov. 15 20:29:22 +0100 2010:
1328 > What happened to this branch, because it hasn't been worked on since July, but doesn't appear to have been merged into master/next.
1329 > Does anyone know what else needs to be done to get it suitable for merging (besides a git rebase)?
1330
1331 --
1332 Damien Leone <damien.leone at fensalir.fr>
1333
1334 Web: http://dleone.fensalir.fr/
1335 GPG: 0x82EB4DDF
1336
1337 From alvherre@alvh.no-ip.org Tue Nov 16 10:35:32 2010
1338 From: alvherre@alvh.no-ip.org (Alvaro Herrera)
1339 Date: Tue, 16 Nov 2010 12:35:32 -0300
1340 Subject: [sup-devel] state of maildir-sync branch?
1341 In-Reply-To: <1289917099-sup-3698@mailer>
1342 References: <1289849196-sup-128@alipc-laptop> <1289917099-sup-3698@mailer>
1343 Message-ID: <1289921639-sup-8166@alvh.no-ip.org>
1344
1345 Excerpts from Damien Leone's message of mar nov 16 11:30:14 -0300 2010:
1346
1347 > - Allow to move an email from a maildir to another
1348
1349 Somewhat related: I'd like to have a display of which source(s) a
1350 message belongs to, in the header widget. I have no idea how to
1351 implement this though. Any pointers?
1352
1353 --
1354 ?lvaro Herrera <alvherre at alvh.no-ip.org>
1355
1356 From gaudenz@soziologie.ch Tue Nov 16 13:36:55 2010
1357 From: gaudenz@soziologie.ch (Gaudenz Steinlin)
1358 Date: Tue, 16 Nov 2010 19:36:55 +0100
1359 Subject: [sup-devel] [PATCH] Converted crypto to use the gpgme gem
1360 In-Reply-To: <AANLkTi=xz16ecZ0C5=RUcOG4wzojVVzs70PZ2ueKa0ht@mail.gmail.com>
1361 References: <AANLkTinrSAheJb2F4Xw9AmgXcGLxeQh0_MEnuTSATye_@mail.gmail.com>
1362 <AANLkTinXwKiJqgKyFrrcVV21a8j8hV=fw4QcvDLhtM8E@mail.gmail.com>
1363 <AANLkTi=7yasVvAW4P85v3GJxf+quJrE3-1XruDgUZq+D@mail.gmail.com>
1364 <1289466286-sup-7540@meteor.durcheinandertal.local>
1365 <AANLkTikUwyX6xj-f_ZnLp6s2s9vaCpgayPKygniWndoJ@mail.gmail.com>
1366 <1289907535-sup-3989@meteor.durcheinandertal.local>
1367 <AANLkTi=xz16ecZ0C5=RUcOG4wzojVVzs70PZ2ueKa0ht@mail.gmail.com>
1368 Message-ID: <1289932061-sup-96@meteor.durcheinandertal.local>
1369
1370 Excerpts from Hamish D's message of Die Nov 16 15:20:03 +0100 2010:
1371 > > The "+" character is right in front of the string "Good signature from
1372 > > ...". If you move the cursor to that line and press enter it changes
1373 > > to a "-" character, but no additional text is shown. The gpg command
1374 > > output used to show up there when pressing enter.
1375 > >
1376 > > I expect there to be some additional output about the signature
1377 > > validation like keyid, signature date, trust level, ...
1378 >
1379 > Right, now I know what you are referring to. It is a CryptoNotice
1380 > object. That didn't work in the first version of the patch, but I
1381 > fixed it in the patch I submitted the second time.
1382 >
1383 > So with the patches submitted in the message with time stamp "8
1384 > November 2010 22:32"?there will be lines when you expand, telling you
1385 > the key ID, the timestamp of the signature and all names and email
1386 > addresses associated with that key.
1387
1388 This does not work for me when running the foobacca/gpgme tree (commit
1389 7b9a1eeeaaa25931963e2de49410d7cb0c7e6772). The CryptoNotice is empty.
1390 I'm using the following packages from Debians testing distribution:
1391 - ruby1.8 1.8.7.302-2
1392 - libgpgme-ruby1.8 1.0.8-3
1393 - libgpgme11 1.2.0-1.2
1394 - libgpg-error0 1.6-1
1395
1396 Please tell me if you need further information to debug the problem.
1397
1398 >
1399 > I am also working on having extra information generated when the key
1400 > is not trusted, but this is not done yet. And I am also working on a
1401 > hook where you can generate as much information as you want from the
1402 > signature for the CryptoNotice. Hopefully be ready to submit before
1403 > the weekend.
1404
1405 This sounds nice. Thanks for your work!
1406
1407 >
1408 > While doing this I'm wondering about the preferred way of submitting
1409 > patches that represent quite a bit of work. Should I use git rebase -i
1410 > to just have a single patch with all changes, or is it preferred to
1411 > have a series of smaller changes?
1412
1413 Dunno about the official policy. I'd say break it if the pieces are
1414 usefull on their own (but may depend on each other), otherwise make
1415 them one patch.
1416
1417 Gaudenz
1418 --
1419 Ever tried. Ever failed. No matter.
1420 Try again. Fail again. Fail better.
1421 ~ Samuel Beckett ~
1422
1423 From dmishd@gmail.com Tue Nov 16 18:05:50 2010
1424 From: dmishd@gmail.com (Hamish D)
1425 Date: Tue, 16 Nov 2010 23:05:50 +0000
1426 Subject: [sup-devel] [PATCH] Converted crypto to use the gpgme gem
1427 In-Reply-To: <1289932061-sup-96@meteor.durcheinandertal.local>
1428 References: <AANLkTinrSAheJb2F4Xw9AmgXcGLxeQh0_MEnuTSATye_@mail.gmail.com>
1429 <AANLkTinXwKiJqgKyFrrcVV21a8j8hV=fw4QcvDLhtM8E@mail.gmail.com>
1430 <AANLkTi=7yasVvAW4P85v3GJxf+quJrE3-1XruDgUZq+D@mail.gmail.com>
1431 <1289466286-sup-7540@meteor.durcheinandertal.local>
1432 <AANLkTikUwyX6xj-f_ZnLp6s2s9vaCpgayPKygniWndoJ@mail.gmail.com>
1433 <1289907535-sup-3989@meteor.durcheinandertal.local>
1434 <AANLkTi=xz16ecZ0C5=RUcOG4wzojVVzs70PZ2ueKa0ht@mail.gmail.com>
1435 <1289932061-sup-96@meteor.durcheinandertal.local>
1436 Message-ID: <AANLkTin=1MRrW0vuj_7uMvjcyLc3Aaw4ddZ_Rq6TBiyx@mail.gmail.com>
1437
1438 > This does not work for me when running the foobacca/gpgme tree (commit
1439 > 7b9a1eeeaaa25931963e2de49410d7cb0c7e6772). The CryptoNotice is empty.
1440
1441 Oops. I had one too many flatten! calls and was using the
1442 output_lines.flatten! as a return value. However flatten! returns nil
1443 if there is no flattening to be done. I've now fixed this in the
1444 github tree. Please try it out and let me know how it works for you.
1445
1446 >> I am also working on having extra information generated when the key
1447 >> is not trusted, but this is not done yet. And I am also working on a
1448 >> hook where you can generate as much information as you want from the
1449 >> signature for the CryptoNotice. Hopefully be ready to submit before
1450 >> the weekend.
1451 >
1452 > This sounds nice. Thanks for your work!
1453
1454 And thank you for your testing and patience :)
1455
1456 The github version also has the sig-output hook set up. From the hook text:
1457
1458 START
1459 Runs when the signature output is being generated, allowing you to
1460 add extra information to your signatures if you want.
1461
1462 Variables:
1463 signature: the signature object (class is GPGME::Signature)
1464 from_key: the key that generated the signature (class is GPGME::Key)
1465
1466 Return value: an array of lines of output
1467 END
1468
1469 I've attached a sample hook file if you want to have a play with it.
1470 I'll document this all on the wiki if it gets accepted.
1471
1472 I'll give you a few days to find some more problems, but if you fail
1473 to find any then I'll package this up as a single patch and resubmit
1474 it all.
1475
1476 Hamish
1477 -------------- next part --------------
1478 A non-text attachment was scrubbed...
1479 Name: sig-output.rb
1480 Type: application/x-ruby
1481 Size: 1221 bytes
1482 Desc: not available
1483 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101116/364d19ee/attachment-0001.bin>
1484
1485 From cam+sup@cammunism.org Tue Nov 16 18:25:47 2010
1486 From: cam+sup@cammunism.org (Cameron Matheson)
1487 Date: Tue, 16 Nov 2010 16:25:47 -0700
1488 Subject: [sup-devel] searching by message instead of thread
1489 In-Reply-To: <1289823372-sup-3394@think>
1490 References: <1289823372-sup-3394@think>
1491 Message-ID: <1289949866-sup-2187@cammunism.org>
1492
1493 Excerpts from Chris Mason's message of Mon Nov 15 05:21:57 -0700 2010:
1494 > 3) When you hit / to search for text in the thread display, have a key
1495 > for next.
1496 >
1497 > Do any of these already exist? If not, which ones seem most likely to
1498 > be acceptable?
1499
1500 You can hit 'n' for the next match when searching. (Not sure about the
1501 others)
1502
1503 Cam
1504
1505 From sup-bugs@masanjin.net Wed Nov 17 16:49:11 2010
1506 From: sup-bugs@masanjin.net (anonymous)
1507 Date: Wed, 17 Nov 2010 21:49:11 +0000
1508 Subject: [sup-devel] [issue130] Use list of labels to add label
1509 In-Reply-To: <1290030551.54.0.220148230728.issue130@masanjin.net>
1510 Message-ID: <1290030551.54.0.220148230728.issue130@masanjin.net>
1511
1512
1513 New submission from anonymous:
1514
1515 In thread viewing mode it is possible to search for labels using a last of all existing labels by pressing <L><enter>. It would help adding new labels and avoiding typing errors if such a list of existing labels was implemented for the <l> command for adding labels.
1516
1517 ----------
1518 messages: 305
1519 nosy: anonymous
1520 priority: feature request
1521 ruby_version: 1.8
1522 status: unread
1523 sup_version: 0.10.2
1524 title: Use list of labels to add label
1525
1526 _________________________________________
1527 Sup issue tracker <sup-bugs at masanjin.net>
1528 <http://masanjin.net/sup-bugs/issue130>
1529 _________________________________________
1530
1531 From damien.leone@fensalir.fr Thu Nov 18 07:30:24 2010
1532 From: damien.leone@fensalir.fr (Damien Leone)
1533 Date: Thu, 18 Nov 2010 13:30:24 +0100
1534 Subject: [sup-devel] state of maildir-sync branch?
1535 In-Reply-To: <1289921639-sup-8166@alvh.no-ip.org>
1536 References: <1289849196-sup-128@alipc-laptop> <1289917099-sup-3698@mailer>
1537 <1289921639-sup-8166@alvh.no-ip.org>
1538 Message-ID: <1290082837-sup-9842@mailer>
1539
1540 Hi,
1541
1542 Excerpts from Alvaro Herrera's message of mar. nov. 16 16:35:32 +0100 2010:
1543 > Somewhat related: I'd like to have a display of which source(s) a
1544 > message belongs to, in the header widget. I have no idea how to
1545 > implement this though. Any pointers?
1546
1547 If I remember correctly you can retrieve the source informations of a
1548 mail by its "locations" attribute in the Message class.
1549
1550 A Location is a class which has a "source" attribute that can be
1551 Maildir or Mbox and an "info" attribute that holds the filename on the
1552 disk.
1553
1554 --
1555 Damien Leone <damien.leone at fensalir.fr>
1556
1557 Web: http://dleone.fensalir.fr/
1558 GPG: 0x82EB4DDF
1559
1560 From alvherre@alvh.no-ip.org Thu Nov 18 09:50:48 2010
1561 From: alvherre@alvh.no-ip.org (Alvaro Herrera)
1562 Date: Thu, 18 Nov 2010 11:50:48 -0300
1563 Subject: [sup-devel] state of maildir-sync branch?
1564 In-Reply-To: <1290082837-sup-9842@mailer>
1565 References: <1289849196-sup-128@alipc-laptop> <1289917099-sup-3698@mailer>
1566 <1289921639-sup-8166@alvh.no-ip.org> <1290082837-sup-9842@mailer>
1567 Message-ID: <1290091834-sup-636@alvh.no-ip.org>
1568
1569 Excerpts from Damien Leone's message of jue nov 18 09:30:24 -0300 2010:
1570 > Hi,
1571 >
1572 > Excerpts from Alvaro Herrera's message of mar. nov. 16 16:35:32 +0100 2010:
1573 > > Somewhat related: I'd like to have a display of which source(s) a
1574 > > message belongs to, in the header widget. I have no idea how to
1575 > > implement this though. Any pointers?
1576 >
1577 > If I remember correctly you can retrieve the source informations of a
1578 > mail by its "locations" attribute in the Message class.
1579 >
1580 > A Location is a class which has a "source" attribute that can be
1581 > Maildir or Mbox and an "info" attribute that holds the filename on the
1582 > disk.
1583
1584 Ah, great, thanks.
1585
1586 --
1587 ?lvaro Herrera <alvherre at alvh.no-ip.org>
1588
1589 From sup-bugs@masanjin.net Sun Nov 21 11:55:08 2010
1590 From: sup-bugs@masanjin.net (anonymous)
1591 Date: Sun, 21 Nov 2010 16:55:08 +0000
1592 Subject: [sup-devel] [issue131] Both 0.11 from Ubuntu and current git head
1593 fail
1594 In-Reply-To: <1290358508.13.0.586728234645.issue131@masanjin.net>
1595 Message-ID: <1290358508.13.0.586728234645.issue131@masanjin.net>
1596
1597
1598 New submission from anonymous:
1599
1600 I've been using Sup 0.11 on Ubuntu 10.10 from the distribution packages. I use a
1601 local Maildir and sync it with my remote IMAP account. I'm running with Unicode
1602 support using libncursesw5.
1603
1604 Sup crashes from time to time and sometimes asks to run sup-sync (presumably
1605 because I move/delete messages in my remote mailbox).
1606
1607 Unfortunately I'm not able to recover from today's crash. I tried checking out
1608 the current development head from git and running that with `ruby -I lib -w
1609 bin/sup` but it crashed as well.
1610
1611 I'm attaching the exception logs from crashes of both versions.
1612
1613 ----------
1614 files: sup-0.11-2-ubuntu-exception-log.txt
1615 messages: 306
1616 nosy: anonymous
1617 priority: bug
1618 ruby_version: 1.8
1619 status: unread
1620 sup_version: 0.11
1621 title: Both 0.11 from Ubuntu and current git head fail
1622
1623 _________________________________________
1624 Sup issue tracker <sup-bugs at masanjin.net>
1625 <http://masanjin.net/sup-bugs/issue131>
1626 _________________________________________
1627 -------------- next part --------------
1628 --- RuntimeError from thread: load threads for thread-index-mode
1629
1630 /usr/lib/ruby/1.8/sup/index.rb:501:in `find_docid'
1631 /usr/lib/ruby/1.8/sup/index.rb:506:in `find_doc'
1632 /usr/lib/ruby/1.8/sup/index.rb:516:in `get_entry'
1633 /usr/lib/ruby/1.8/sup/index.rb:193:in `build_message'
1634 /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
1635 /usr/lib/ruby/1.8/sup/index.rb:525:in `synchronize'
1636 /usr/lib/ruby/1.8/sup/index.rb:193:in `build_message'
1637 /usr/lib/ruby/1.8/sup/index.rb:148:in `each_id_by_date'
1638 /usr/lib/ruby/1.8/sup/thread.rb:332:in `call'
1639 /usr/lib/ruby/1.8/sup/thread.rb:332:in `load_n_threads'
1640 /usr/lib/ruby/1.8/sup/index.rb:148:in `each_id_by_date'
1641 /usr/lib/ruby/1.8/sup/index.rb:239:in `each_id'
1642 /usr/lib/ruby/1.8/sup/index.rb:239:in `each'
1643 /usr/lib/ruby/1.8/sup/index.rb:239:in `each_id'
1644 /usr/lib/ruby/1.8/sup/index.rb:148:in `each_id_by_date'
1645 /usr/lib/ruby/1.8/sup/thread.rb:328:in `load_n_threads'
1646 /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:640:in `__unprotected_load_n_threads'
1647 (eval):12:in `load_n_threads'
1648 /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:624:in `load_n_threads_background'
1649 /usr/lib/ruby/1.8/sup.rb:75:in `reporting_thread'
1650 /usr/lib/ruby/1.8/sup.rb:73:in `initialize'
1651 /usr/lib/ruby/1.8/sup.rb:73:in `new'
1652 /usr/lib/ruby/1.8/sup.rb:73:in `reporting_thread'
1653 /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:623:in `load_n_threads_background'
1654 /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:694:in `__unprotected_load_threads'
1655 (eval):12:in `load_threads'
1656 /usr/bin/sup-mail:230
1657
1658 From sup-bugs@masanjin.net Tue Nov 23 05:36:48 2010
1659 From: sup-bugs@masanjin.net (anonymous)
1660 Date: Tue, 23 Nov 2010 10:36:48 +0000
1661 Subject: [sup-devel] [issue132] strange encoding error
1662 In-Reply-To: <1290508608.33.0.253409523291.issue132@masanjin.net>
1663 Message-ID: <1290508608.33.0.253409523291.issue132@masanjin.net>
1664
1665
1666 New submission from anonymous:
1667
1668 this happens when i try to send an email...
1669
1670 ----------------------------------------------------------------
1671 --- Encoding::CompatibilityError from thread: main
1672 incompatible character encodings: UTF-8 and ASCII-8BIT
1673 /usr/lib/ruby/gems/1.9.1/gems/rmail-1.0.0/lib/rmail/serialize.rb:112:in
1674 `serialize_low'
1675 /usr/lib/ruby/gems/1.9.1/gems/rmail-1.0.0/lib/rmail/serialize.rb:99:in `block in
1676 serialize_low'
1677 /usr/lib/ruby/gems/1.9.1/gems/rmail-1.0.0/lib/rmail/message.rb:155:in `block in
1678 each_part'
1679 /usr/lib/ruby/gems/1.9.1/gems/rmail-1.0.0/lib/rmail/message.rb:154:in `each'
1680 /usr/lib/ruby/gems/1.9.1/gems/rmail-1.0.0/lib/rmail/message.rb:154:in `each_part'
1681 /usr/lib/ruby/gems/1.9.1/gems/rmail-1.0.0/lib/rmail/serialize.rb:96:in
1682 `serialize_low'
1683 /usr/lib/ruby/gems/1.9.1/gems/rmail-1.0.0/lib/rmail/serialize.rb:63:in `serialize'
1684 /usr/lib/ruby/gems/1.9.1/gems/rmail-1.0.0/lib/rmail/message.rb:146:in `to_s'
1685 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/modes/edit-message-mode.rb:344:in
1686 `puts'
1687 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/modes/edit-message-mode.rb:344:in
1688 `block in send_message'
1689 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/modes/edit-message-mode.rb:344:in
1690 `popen'
1691 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/modes/edit-message-mode.rb:344:in
1692 `send_message'
1693 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/mode.rb:59:in `handle_input'
1694 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/lib/sup/buffer.rb:279:in `handle_input'
1695 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/bin/sup:279:in `<module:Redwood>'
1696 /usr/lib/ruby/gems/1.9.1/gems/sup-0.11/bin/sup:68:in `<top (required)>'
1697 /usr/bin/sup:19:in `load'
1698 /usr/bin/sup:19:in `<main>'
1699
1700 ----------
1701 messages: 311
1702 nosy: anonymous
1703 priority: bug
1704 ruby_version: 1.9.1
1705 status: unread
1706 sup_version: 0.11
1707 title: strange encoding error
1708
1709 _________________________________________
1710 Sup issue tracker <sup-bugs at masanjin.net>
1711 <http://masanjin.net/sup-bugs/issue132>
1712 _________________________________________
1713
1714 From sup-bugs@masanjin.net Sat Nov 27 06:15:50 2010
1715 From: sup-bugs@masanjin.net (anonymous)
1716 Date: Sat, 27 Nov 2010 11:15:50 +0000
1717 Subject: [sup-devel] [issue133] add support for the mh mailbox format
1718 In-Reply-To: <1290856550.06.0.787394879314.issue133@masanjin.net>
1719 Message-ID: <1290856550.06.0.787394879314.issue133@masanjin.net>
1720
1721
1722 New submission from anonymous:
1723
1724 I've been using the mh format (via nmh) for years, and it would be fantastic if
1725 sup could support it so people don't have to convert mailboxes to maildir or mbox
1726 to be able to use sup.
1727
1728 ----------
1729 messages: 312
1730 nosy: anonymous
1731 priority: feature request
1732 ruby_version: 1.8
1733 status: unread
1734 sup_version: 0.11
1735 title: add support for the mh mailbox format
1736
1737 _________________________________________
1738 Sup issue tracker <sup-bugs at masanjin.net>
1739 <http://masanjin.net/sup-bugs/issue133>
1740 _________________________________________
1741
1742 From rlane@club.cc.cmu.edu Sat Nov 27 20:19:30 2010
1743 From: rlane@club.cc.cmu.edu (Rich Lane)
1744 Date: Sat, 27 Nov 2010 20:19:30 -0500
1745 Subject: [sup-devel] preparing for sup 0.12 release
1746 Message-ID: <1290906846-sup-2867@zyrg.net>
1747
1748 Let me know of any release-blocking bugs (regressions from 0.11) that
1749 should be fixed first. The only one I know of is the broken sup-sync
1750 progress bar.
1751
1752 From dmishd@gmail.com Sun Nov 28 17:51:43 2010
1753 From: dmishd@gmail.com (Hamish D)
1754 Date: Sun, 28 Nov 2010 22:51:43 +0000
1755 Subject: [sup-devel] [PATCH] Converted crypto to use the gpgme gem
1756 In-Reply-To: <AANLkTin=1MRrW0vuj_7uMvjcyLc3Aaw4ddZ_Rq6TBiyx@mail.gmail.com>
1757 References: <AANLkTinrSAheJb2F4Xw9AmgXcGLxeQh0_MEnuTSATye_@mail.gmail.com>
1758 <AANLkTinXwKiJqgKyFrrcVV21a8j8hV=fw4QcvDLhtM8E@mail.gmail.com>
1759 <AANLkTi=7yasVvAW4P85v3GJxf+quJrE3-1XruDgUZq+D@mail.gmail.com>
1760 <1289466286-sup-7540@meteor.durcheinandertal.local>
1761 <AANLkTikUwyX6xj-f_ZnLp6s2s9vaCpgayPKygniWndoJ@mail.gmail.com>
1762 <1289907535-sup-3989@meteor.durcheinandertal.local>
1763 <AANLkTi=xz16ecZ0C5=RUcOG4wzojVVzs70PZ2ueKa0ht@mail.gmail.com>
1764 <1289932061-sup-96@meteor.durcheinandertal.local>
1765 <AANLkTin=1MRrW0vuj_7uMvjcyLc3Aaw4ddZ_Rq6TBiyx@mail.gmail.com>
1766 Message-ID: <AANLkTinvv59bWu0UfjW2K-xDRUP42tDwmgMh5yZdmaN_@mail.gmail.com>
1767
1768 OK, here is a set of 4 patches that implement the change over to the
1769 gpgme library. There's quite a bit of work in there so I thought I'd
1770 leave it as a few patches, but I have done some tidying.
1771
1772 I have some more ideas for improvements, but I'm happy that this
1773 reproduces the behaviour of using the gpg binary, and I find sup usage
1774 much smoother with this change.
1775
1776 I'll leave it for others to decide whether to stick this in sup 0.12 -
1777 I guess it could be risky to stick it in without it being tested, but
1778 maybe it could be applied to the next tree, and then moved to main
1779 after 0.12 has been released.
1780
1781 Hamish Downer
1782
1783 >
1784 > >> I am also working on having extra information generated when the key
1785 > >> is not trusted, but this is not done yet. And I am also working on a
1786 > >> hook where you can generate as much information as you want from the
1787 > >> signature for the CryptoNotice. Hopefully be ready to submit before
1788 > >> the weekend.
1789 > >
1790 > > This sounds nice. Thanks for your work!
1791 >
1792 > And thank you for your testing and patience :)
1793 >
1794 > The github version also has the sig-output hook set up. From the hook text:
1795 >
1796 > START
1797 > Runs when the signature output is being generated, allowing you to
1798 > add extra information to your signatures if you want.
1799 >
1800 > Variables:
1801 > signature: the signature object (class is GPGME::Signature)
1802 > from_key: the key that generated the signature (class is GPGME::Key)
1803 >
1804 > Return value: an array of lines of output
1805 > END
1806 >
1807 > I've attached a sample hook file if you want to have a play with it.
1808 > I'll document this all on the wiki if it gets accepted.
1809 >
1810 > I'll give you a few days to find some more problems, but if you fail
1811 > to find any then I'll package this up as a single patch and resubmit
1812 > it all.
1813 >
1814 > Hamish
1815 -------------- next part --------------
1816 A non-text attachment was scrubbed...
1817 Name: 0001-Converted-crypto-to-use-the-gpgme-gem.patch
1818 Type: text/x-patch
1819 Size: 13172 bytes
1820 Desc: not available
1821 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101128/256191b6/attachment-0004.bin>
1822 -------------- next part --------------
1823 A non-text attachment was scrubbed...
1824 Name: 0002-catch-exception-when-no-public-key-present.patch
1825 Type: text/x-patch
1826 Size: 1571 bytes
1827 Desc: not available
1828 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101128/256191b6/attachment-0005.bin>
1829 -------------- next part --------------
1830 A non-text attachment was scrubbed...
1831 Name: 0003-improved-signature-messages.patch
1832 Type: text/x-patch
1833 Size: 2446 bytes
1834 Desc: not available
1835 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101128/256191b6/attachment-0006.bin>
1836 -------------- next part --------------
1837 A non-text attachment was scrubbed...
1838 Name: 0004-added-signature-output-hook.patch
1839 Type: text/x-patch
1840 Size: 1395 bytes
1841 Desc: not available
1842 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101128/256191b6/attachment-0007.bin>
1843
1844 From sup-bugs@masanjin.net Mon Nov 29 04:23:15 2010
1845 From: sup-bugs@masanjin.net (anonymous)
1846 Date: Mon, 29 Nov 2010 09:23:15 +0000
1847 Subject: [sup-devel] [issue134] Exception when scrolling down...
1848 In-Reply-To: <1291022595.09.0.312153163509.issue134@masanjin.net>
1849 Message-ID: <1291022595.09.0.312153163509.issue134@masanjin.net>
1850
1851
1852 New submission from anonymous:
1853
1854 I scrolled down to a second page in my inbox while Sup was filling the top of
1855 the inbox having just polled for messages, and at about that time I got:
1856
1857 --- RuntimeError from thread: load threads for thread-index-mode
1858 unknown drawable object: nil in #<Redwood::InboxMode:0x7fdcb829c538> for line 64
1859 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/modes/scroll-mode.rb:200:in `draw_line'
1860 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/modes/line-cursor-mode.rb:52:in
1861 `draw_line'
1862 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/modes/scroll-mode.rb:48:in `draw'
1863 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/modes/scroll-mode.rb:48:in `each'
1864 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/modes/scroll-mode.rb:48:in `draw'
1865 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/modes/line-cursor-mode.rb:37:in `draw'
1866 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/buffer.rb:119:in `draw'
1867 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/buffer.rb:103:in `redraw'
1868 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/buffer.rb:341:in `draw_screen'
1869 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/util.rb:570:in `send'
1870 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/util.rb:570:in `method_missing'
1871 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/modes/thread-index-mode.rb:644:in
1872 `__unprotected_load_n_threads'
1873 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/thread.rb:334:in `load_n_threads'
1874 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/index.rb:148:in `each_id_by_date'
1875 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/index.rb:239:in `each_id'
1876 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/index.rb:239:in `each'
1877 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/index.rb:239:in `each_id'
1878 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/index.rb:148:in `each_id_by_date'
1879 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/thread.rb:328:in `load_n_threads'
1880 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/modes/thread-index-mode.rb:640:in
1881 `__unprotected_load_n_threads'
1882 (eval):12:in `load_n_threads'
1883 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/modes/thread-index-mode.rb:624:in
1884 `load_n_threads_background'
1885 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup.rb:76:in `reporting_thread'
1886 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup.rb:74:in `initialize'
1887 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup.rb:74:in `new'
1888 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup.rb:74:in `reporting_thread'
1889 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/modes/thread-index-mode.rb:623:in
1890 `load_n_threads_background'
1891 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/modes/thread-index-mode.rb:694:in
1892 `__unprotected_load_threads'
1893 (eval):12:in `load_threads'
1894 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/modes/thread-index-mode.rb:89:in
1895 `initialize'
1896 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/modes/line-cursor-mode.rb:22:in `call'
1897 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/modes/line-cursor-mode.rb:22:in
1898 `initialize'
1899 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/modes/line-cursor-mode.rb:22:in `each'
1900 /usr/lib/ruby/gems/1.8/gems/sup-0.11/lib/sup/modes/
1901
1902 ----------
1903 messages: 313
1904 nosy: anonymous
1905 priority: bug
1906 ruby_version: 1.8.7
1907 status: unread
1908 sup_version: 0.11
1909 title: Exception when scrolling down...
1910
1911 _________________________________________
1912 Sup issue tracker <sup-bugs at masanjin.net>
1913 <http://masanjin.net/sup-bugs/issue134>
1914 _________________________________________
1915
1916 From gaudenz@soziologie.ch Mon Nov 29 04:41:35 2010
1917 From: gaudenz@soziologie.ch (Gaudenz Steinlin)
1918 Date: Mon, 29 Nov 2010 10:41:35 +0100
1919 Subject: [sup-devel] [PATCH] Converted crypto to use the gpgme gem
1920 In-Reply-To: <AANLkTinvv59bWu0UfjW2K-xDRUP42tDwmgMh5yZdmaN_@mail.gmail.com>
1921 References: <AANLkTinrSAheJb2F4Xw9AmgXcGLxeQh0_MEnuTSATye_@mail.gmail.com>
1922 <AANLkTinXwKiJqgKyFrrcVV21a8j8hV=fw4QcvDLhtM8E@mail.gmail.com>
1923 <AANLkTi=7yasVvAW4P85v3GJxf+quJrE3-1XruDgUZq+D@mail.gmail.com>
1924 <1289466286-sup-7540@meteor.durcheinandertal.local>
1925 <AANLkTikUwyX6xj-f_ZnLp6s2s9vaCpgayPKygniWndoJ@mail.gmail.com>
1926 <1289907535-sup-3989@meteor.durcheinandertal.local>
1927 <AANLkTi=xz16ecZ0C5=RUcOG4wzojVVzs70PZ2ueKa0ht@mail.gmail.com>
1928 <1289932061-sup-96@meteor.durcheinandertal.local>
1929 <AANLkTin=1MRrW0vuj_7uMvjcyLc3Aaw4ddZ_Rq6TBiyx@mail.gmail.com>
1930 <AANLkTinvv59bWu0UfjW2K-xDRUP42tDwmgMh5yZdmaN_@mail.gmail.com>
1931 Message-ID: <1291023322-sup-8457@meteor.durcheinandertal.local>
1932
1933 Hi Hamish
1934
1935 Excerpts from Hamish D's message of Son Nov 28 23:51:43 +0100 2010:
1936 > OK, here is a set of 4 patches that implement the change over to the
1937 > gpgme library. There's quite a bit of work in there so I thought I'd
1938 > leave it as a few patches, but I have done some tidying.
1939
1940 I just discovered another problem: If the secret key is not available
1941 (because it's on a removable media and the media is not mounted), the
1942 mail is sent anyway. While this is just a bit annoying for signed mail
1943 it definitely should not happen for encrypted mails. Current sup
1944 corectly fails in this case.
1945
1946 It would also be nice to have different colors for different trust
1947 levels. So you don't have to expand the extra information to see if a
1948 valid signature is trusted or not. Is this already possible with the
1949 current hook?
1950
1951 >
1952 > I have some more ideas for improvements, but I'm happy that this
1953 > reproduces the behaviour of using the gpg binary, and I find sup usage
1954 > much smoother with this change.
1955 >
1956 > I'll leave it for others to decide whether to stick this in sup 0.12 -
1957 > I guess it could be risky to stick it in without it being tested, but
1958 > maybe it could be applied to the next tree, and then moved to main
1959 > after 0.12 has been released.
1960
1961 As far as I understood the branch layout the flow of changes is master
1962 -> next -> release. So applying to next would mean it ends up in the
1963 next release (0.12).
1964
1965 Gaudenz
1966 --
1967 Ever tried. Ever failed. No matter.
1968 Try again. Fail again. Fail better.
1969 ~ Samuel Beckett ~
1970 -------------- next part --------------
1971 A non-text attachment was scrubbed...
1972 Name: signature.asc
1973 Type: application/pgp-signature
1974 Size: 482 bytes
1975 Desc: not available
1976 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20101129/ee78612e/attachment.bin>
1977
1978 From tero@tilus.net Tue Nov 30 01:22:48 2010
1979 From: tero@tilus.net (Tero Tilus)
1980 Date: Tue, 30 Nov 2010 08:22:48 +0200
1981 Subject: [sup-devel] [PATCH] Converted crypto to use the gpgme gem
1982 In-Reply-To: <1291023322-sup-8457@meteor.durcheinandertal.local>
1983 References: <AANLkTinrSAheJb2F4Xw9AmgXcGLxeQh0_MEnuTSATye_@mail.gmail.com>
1984 <AANLkTinXwKiJqgKyFrrcVV21a8j8hV=fw4QcvDLhtM8E@mail.gmail.com>
1985 <AANLkTi=7yasVvAW4P85v3GJxf+quJrE3-1XruDgUZq+D@mail.gmail.com>
1986 <1289466286-sup-7540@meteor.durcheinandertal.local>
1987 <AANLkTikUwyX6xj-f_ZnLp6s2s9vaCpgayPKygniWndoJ@mail.gmail.com>
1988 <1289907535-sup-3989@meteor.durcheinandertal.local>
1989 <AANLkTi=xz16ecZ0C5=RUcOG4wzojVVzs70PZ2ueKa0ht@mail.gmail.com>
1990 <1289932061-sup-96@meteor.durcheinandertal.local>
1991 <AANLkTin=1MRrW0vuj_7uMvjcyLc3Aaw4ddZ_Rq6TBiyx@mail.gmail.com>
1992 <AANLkTinvv59bWu0UfjW2K-xDRUP42tDwmgMh5yZdmaN_@mail.gmail.com>
1993 <1291023322-sup-8457@meteor.durcheinandertal.local>
1994 Message-ID: <1291097850-sup-6043@tilus.net>
1995
1996 Gaudenz Steinlin, 2010-11-29 11:41:
1997 > As far as I understood the branch layout the flow of changes is
1998 > master -> next -> release. So applying to next would mean it ends up
1999 > in the next release (0.12).
2000
2001 Master is considered "stable" and next "unstable". Releases are
2002 tagged from master and small changes may go directly to master. New
2003 features are introduced in next and merged to master when they are
2004 considered stable (enough).
2005
2006 Applying to next would mean it ends up in 0.13 (or later if there are
2007 bugfix releases).
2008
2009 --
2010 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
2011
2012 From nicolas.pouillard@gmail.com Tue Nov 30 08:01:35 2010
2013 From: nicolas.pouillard@gmail.com (Nicolas Pouillard)
2014 Date: Tue, 30 Nov 2010 05:01:35 -0800 (PST)
2015 Subject: [sup-devel] [issue133] add support for the mh mailbox format
2016 In-Reply-To: <1290856550.06.0.787394879314.issue133@masanjin.net>
2017 References: <1290856550.06.0.787394879314.issue133@masanjin.net>
2018 Message-ID: <4cf4f5af.8b02e30a.7219.ffff9349@mx.google.com>
2019
2020 On Sat, 27 Nov 2010 11:15:50 +0000, anonymous <sup-bugs at masanjin.net> wrote:
2021 >
2022 > New submission from anonymous:
2023 >
2024 > I've been using the mh format (via nmh) for years, and it would be fantastic if
2025 > sup could support it so people don't have to convert mailboxes to maildir or mbox
2026 > to be able to use sup.
2027
2028 I'm in favor of this feature as well. The nmh format for mailboxes is pretty
2029 simple, just directories of email files plus some (one?) special file that
2030 sup can just ignore. In other terms this is just maildir without their
2031 complicated naming conventions of files and directories.
2032
2033 --
2034 Nicolas Pouillard
2035 http://nicolaspouillard.fr
2036