community/pipermail-archives/sup-talk/2011-01.txt (90274B) - raw
1 From vallentin@icsi.berkeley.edu Sun Jan 2 08:28:32 2011
2 From: vallentin@icsi.berkeley.edu (Matthias Vallentin)
3 Date: Sun, 02 Jan 2011 05:28:32 -0800
4 Subject: [sup-talk] Standard message operations
5 Message-ID: <1293974819-sup-7114@samurai.icir.org>
6
7 How do I move a message to the inbox? When I try to add the label
8 inbox, sup complains: 'inbox' is a reserved label!
9
10 Also, how do I mark messages as read other than reading it in a buffer?
11
12 Matthias
13
14 From kljohann@gmail.com Sun Jan 2 09:38:12 2011
15 From: kljohann@gmail.com (=?utf-8?q?Johann_Kl=C3=A4hn?=)
16 Date: Sun, 02 Jan 2011 15:38:12 +0100
17 Subject: [sup-talk] Standard message operations
18 In-Reply-To: <1293974819-sup-7114@samurai.icir.org>
19 References: <1293974819-sup-7114@samurai.icir.org>
20 Message-ID: <1293978932-sup-1127@ahoi>
21
22 Hi Matthias, pressing '?' at any time provides you with all key
23 bindings available.
24
25 > How do I move a message to the inbox? When I try to add the label
26 > inbox, sup complains: 'inbox' is a reserved label!
27 I usually do this by pressing 'a' (the same key binding is used for
28 archiving messages)
29
30 > Also, how do I mark messages as read other than reading it in a buffer?
31 Try 'N'
32
33 Johann
34
35 From bwalton@artsci.utoronto.ca Sun Jan 2 09:39:09 2011
36 From: bwalton@artsci.utoronto.ca (Ben Walton)
37 Date: Sun, 02 Jan 2011 09:39:09 -0500
38 Subject: [sup-talk] Standard message operations
39 In-Reply-To: <1293974819-sup-7114@samurai.icir.org>
40 References: <1293974819-sup-7114@samurai.icir.org>
41 Message-ID: <1293979127-sup-9066@pinkfloyd.chass.utoronto.ca>
42
43 Excerpts from Matthias Vallentin's message of Sun Jan 02 08:28:32 -0500 2011:
44
45 > How do I move a message to the inbox? When I try to add the label
46 > inbox, sup complains: 'inbox' is a reserved label!
47
48 The 'archive' toggle controls the inbox label. Use 'a' on a message
49 in the inbox to archive it. Use 'A' on a message in the inbox to mark
50 it read and archive it.
51
52 > Also, how do I mark messages as read other than reading it in a
53 > buffer?
54
55 Use the 'n' key to do this.
56
57 Use the '?' key on any sup view to see the available key strokes and
58 their descriptions.
59
60 HTH.
61 -Ben
62 --
63 Ben Walton
64 Systems Programmer - CHASS
65 University of Toronto
66 C:416.407.5610 | W:416.978.4302
67
68
69 From moritz+sup@wzff.de Sun Jan 2 10:47:03 2011
70 From: moritz+sup@wzff.de (Moritz Wilhelmy)
71 Date: Sun, 02 Jan 2011 16:47:03 +0100
72 Subject: [sup-talk] Standard message operations
73 In-Reply-To: <1293979127-sup-9066@pinkfloyd.chass.utoronto.ca>
74 References: <1293974819-sup-7114@samurai.icir.org>
75 <1293979127-sup-9066@pinkfloyd.chass.utoronto.ca>
76 Message-ID: <1293982844-sup-20@niflheimr>
77
78 Excerpts from Ben Walton's message of Sun Jan 02 15:39:09 +0100 2011:
79 > Excerpts from Matthias Vallentin's message of Sun Jan 02 08:28:32 -0500 2011:
80 >
81 > > How do I move a message to the inbox? When I try to add the label
82 > > inbox, sup complains: 'inbox' is a reserved label!
83 >
84 > The 'archive' toggle controls the inbox label. Use 'a' on a message
85 > in the inbox to archive it. Use 'A' on a message in the inbox to mark
86 > it read and archive it.
87
88 Which raises the question: why are there some special labels reserved by sup?
89 I don't see any disadvantages by making labels such as sent or inbox applicable
90 to messages by normal means. In fact, I think the the current behaviour is
91 rather inconvenient. Can anyone enlighten me?
92
93 Best regards,
94
95 Moritz
96
97 From vallentin@icsi.berkeley.edu Sun Jan 2 11:13:39 2011
98 From: vallentin@icsi.berkeley.edu (Matthias Vallentin)
99 Date: Sun, 02 Jan 2011 08:13:39 -0800
100 Subject: [sup-talk] message.list_address weirdness
101 In-Reply-To: <20101227100718.GL60419@icsi.berkeley.edu>
102 References: <20101227100718.GL60419@icsi.berkeley.edu>
103 Message-ID: <1293984326-sup-8884@samurai.icir.org>
104
105 On Dec 27 2010 at 02:07AM PST, Matthias Vallentin wrote:
106 > I cannot get message.list_address to match to add labels before adding
107 > messages although the messages definitively have the List-Post header.
108
109 Actually, the proposed changes will cause a crash when replying to a
110 list address (i.e., hitting 'G'), which expects message.list_address to
111 return a Person object rather than a string containing the email
112 address. This is inconsistent with the wiki [1] and started my confusion
113 in the first place. Automatically adding labels for mailing lists would
114 then change from
115
116 if message.list_address =~ /sup-talk/
117 message.add_label "sup"
118 message.add_label "list"
119 end
120
121 to
122
123 if message.list_address and message.list_address.email =~ /sup-talk/
124 message.add_label "sup"
125 message.add_label "list"
126 end
127
128 in order to work correctly. In [1], list_address is documented to be of
129 type String, which should probably be changed to type Person. I find the
130 naming (list_address) slightly misleading because it suggest a plain
131 email address. What about introducing a new member message.list that
132 returns a Person object and making
133 message.list_{address,subscribe,unsubscribe} return a string?
134
135 Matthias
136
137 [1] http://sup.rubyforge.org/wiki/wiki.pl?AutoAddLabelsToNewMessages
138
139 From vallentin@icsi.berkeley.edu Mon Jan 3 05:24:12 2011
140 From: vallentin@icsi.berkeley.edu (Matthias Vallentin)
141 Date: Mon, 03 Jan 2011 02:24:12 -0800
142 Subject: [sup-talk] Standard message operations
143 In-Reply-To: <1293978932-sup-1127@ahoi>
144 References: <1293974819-sup-7114@samurai.icir.org> <1293978932-sup-1127@ahoi>
145 Message-ID: <1294050106-sup-9643@samurai.icir.org>
146
147 On Jan 02 2011 at 06:38AM PST, Johann Kl?hn wrote:
148 > Hi Matthias, pressing '?' at any time provides you with all key
149 > bindings available.
150
151 My main problem was getting used to the concept of toggling, i.e., using
152 the same key for different operations. Now I wonder how I missed them in
153 the first place!
154
155 Matthias
156
157 From vallentin@icsi.berkeley.edu Mon Jan 3 05:33:23 2011
158 From: vallentin@icsi.berkeley.edu (Matthias Vallentin)
159 Date: Mon, 03 Jan 2011 02:33:23 -0800
160 Subject: [sup-talk] Standard message operations
161 In-Reply-To: <1293982844-sup-20@niflheimr>
162 References: <1293974819-sup-7114@samurai.icir.org>
163 <1293979127-sup-9066@pinkfloyd.chass.utoronto.ca>
164 <1293982844-sup-20@niflheimr>
165 Message-ID: <1294050366-sup-1412@samurai.icir.org>
166
167 On Jan 02 2011 at 07:47AM PST, Moritz Wilhelmy wrote:
168 > Which raises the question: why are there some special labels reserved by sup?
169 > I don't see any disadvantages by making labels such as sent or inbox applicable
170 > to messages by normal means. In fact, I think the the current behaviour is
171 > rather inconvenient.
172
173 I agree that it is sometimes desirable to use reserved labels. For
174 example, while I was loading my 100k+ messages into sup, I found some
175 messages of mine that slipped through the automatic labelling as sent
176 during the import, but I would still like to label them as such now.
177
178 Matthias
179
180 From vallentin@icsi.berkeley.edu Mon Jan 3 07:09:10 2011
181 From: vallentin@icsi.berkeley.edu (Matthias Vallentin)
182 Date: Mon, 03 Jan 2011 04:09:10 -0800
183 Subject: [sup-talk] Tilde expansion in signature path
184 Message-ID: <1294053615-sup-2448@samurai.icir.org>
185
186 Is there a specific reason why a tilde in the :signature: path is not
187 expanded? If not, this patch will enable it:
188
189 diff --git a/lib/sup/account.rb b/lib/sup/account.rb
190 index 1718d94..6e078cf 100644
191 --- a/lib/sup/account.rb
192 +++ b/lib/sup/account.rb
193 @@ -8,7 +8,7 @@ class Account < Person
194 raise ArgumentError, "no email for account" unless h[:email]
195 super h[:name], h[:email]
196 @sendmail = h[:sendmail]
197 - @signature = h[:signature]
198 + @signature = File.expand_path h[:signature]
199 @gpgkey = h[:gpgkey]
200 end
201
202 Matthias
203
204 From vallentin@icsi.berkeley.edu Mon Jan 3 14:34:00 2011
205 From: vallentin@icsi.berkeley.edu (Matthias Vallentin)
206 Date: Mon, 03 Jan 2011 11:34:00 -0800
207 Subject: [sup-talk] Multiple execution of before-edit hook
208 Message-ID: <1294082627-sup-4287@samurai.icir.org>
209
210 I noticed that before-edit is executed several times when replying:
211
212 @headers.each do |k, v|
213 @bodies[k] = body
214 HookManager.run "before-edit", :header => v, :body => @bodies[k]
215 end
216
217 What's the rational behind this? Why not invoking the hook once, for all
218 headers and the body. (Also, the hook is executed again in the parent
219 class EditMessageMode.) Since I use the hook to append some text at the
220 end of the body
221
222 body << "foo"
223
224 the text is added multiple times. Currently I use a crude hack to avoid
225 the duplicate appending by
226
227 body << "foo" unless body.last == "foo"
228
229 but I wonder whether this behavior is intentional.
230
231 Matthias
232
233 From vallentin@icsi.berkeley.edu Mon Jan 3 15:15:46 2011
234 From: vallentin@icsi.berkeley.edu (Matthias Vallentin)
235 Date: Mon, 03 Jan 2011 12:15:46 -0800
236 Subject: [sup-talk] Tilde expansion in signature path
237 In-Reply-To: <1294053615-sup-2448@samurai.icir.org>
238 References: <1294053615-sup-2448@samurai.icir.org>
239 Message-ID: <1294085707-sup-6047@samurai.icir.org>
240
241 Better: this tweak supports account configurations with lacking
242 :signature: fields.
243
244 + @signature = File.expand_path h[:signature] if h[:signature]
245
246 Matthias
247
248 From tero@tilus.net Mon Jan 3 15:46:59 2011
249 From: tero@tilus.net (Tero Tilus)
250 Date: Mon, 03 Jan 2011 22:46:59 +0200
251 Subject: [sup-talk] Hook before-add-message,
252 any way to know if this message is in a topic I replied to ?
253 In-Reply-To: <1293105681-sup-7985@Phoenix>
254 References: <1292845256-sup-6025@Phoenix> <1292846110-sup-9522@tilus.net>
255 <1293105681-sup-7985@Phoenix>
256 Message-ID: <1294086796-sup-9450@tilus.net>
257
258 Wael Nasreddine, 2010-12-23 14:04:
259 > I added this method to my before-add-message hook and I call it at the
260 > very end of the before-add-hook (so it's executed at the end)
261 >
262 > ------- CUT
263 > def show_if_participated(message)
264 > return if message.has_label? :inbox
265 >
266 > my_emails = ['wael.nasreddine at gmail.com', 'anotheremail at example.com']
267 > ts = ThreadSet.new Index.instance, $config[:thread_by_subject]
268 > ts.load_thread_for_message message
269 > message_thread = ts.thread_for message
270 > return unless message_thread
271 > message.add_label :inbox if my_emails.any? { |email|
272 > message_thread.authors.include? email }
273 > end
274 > ------- CUT
275 >
276 > However it's not working, I remove ~/.sup/xapian and ran sup-sync,
277 > this email does not have the inbox label however it's one of the
278 > thread that I replied to in a mailing list, what's wrong with my
279 > function?
280
281 On the surface it looks like it should work. Couple of questions
282 raise when I look at the code. Does the thread loading actually work
283 like that? I might have been awfully wrong. Does #authors return
284 email addresses or Person instances? Did your reply come from one of
285 the addresses listed in my_emails? Did you reply only once and was
286 that message the last one of it's thread to be indexed? Your first
287 mail to particular thread obviously won't trigger
288 show_if_participated(), but subsequent mails will.
289
290 Does your hook look like this? (Judging by your explanation, it most
291 probably does)
292
293 ...
294 def show_if_participated(message)
295 end
296 ...
297 show_if_participated(message)
298 ...
299
300 --
301 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
302
303 From wael.nasreddine@gmail.com Mon Jan 3 16:02:06 2011
304 From: wael.nasreddine@gmail.com (Wael Nasreddine)
305 Date: Mon, 03 Jan 2011 22:02:06 +0100
306 Subject: [sup-talk] Hook before-add-message,
307 any way to know if this message is in a topic I replied to ?
308 In-Reply-To: <1294086796-sup-9450@tilus.net>
309 References: <1292845256-sup-6025@Phoenix> <1292846110-sup-9522@tilus.net>
310 <1293105681-sup-7985@Phoenix> <1294086796-sup-9450@tilus.net>
311 Message-ID: <1294088289-sup-6218@Phoenix>
312
313 This one time, at SUP Camp, Tero Tilus said, On 2011-01-03 21:46:
314 > Wael Nasreddine, 2010-12-23 14:04:
315 > > I added this method to my before-add-message hook and I call it at the
316 > > very end of the before-add-hook (so it's executed at the end)
317
318 > > ------- CUT
319 > > def show_if_participated(message)
320 > > return if message.has_label? :inbox
321
322 > > my_emails = ['wael.nasreddine at gmail.com', 'anotheremail at example.com']
323 > > ts = ThreadSet.new Index.instance, $config[:thread_by_subject]
324 > > ts.load_thread_for_message message
325 > > message_thread = ts.thread_for message
326 > > return unless message_thread
327 > > message.add_label :inbox if my_emails.any? { |email|
328 > > message_thread.authors.include? email }
329 > > end
330 > > ------- CUT
331
332 > > However it's not working, I remove ~/.sup/xapian and ran sup-sync,
333 > > this email does not have the inbox label however it's one of the
334 > > thread that I replied to in a mailing list, what's wrong with my
335 > > function?
336
337 > On the surface it looks like it should work. Couple of questions
338 > raise when I look at the code. Does the thread loading actually work
339 > like that? I might have been awfully wrong. Does #authors return
340 > email addresses or Person instances?
341 I'm not sure, someone else might know about this.
342
343
344 > Did your reply come from one of
345 > the addresses listed in my_emails?
346 Of course, I made sure all my aliases are listed in this Array (BTW
347 any way to get all the addresses listed in the config file into this
348 array?)
349
350 > Did you reply only once and was
351 > that message the last one of it's thread to be indexed? Your first
352 > mail to particular thread obviously won't trigger
353 > show_if_participated(), but subsequent mails will.
354
355 Well This email ended up in the list_sup_talk and out of the inbox,
356 even though I did reply couple of times to it
357
358 > Does your hook look like this? (Judging by your explanation, it most
359 > probably does)
360
361 Yes exactly like this, I'll attach the before-add-hook in another
362 personal email to you since it has many addresses to people I know
363 won't like to be spammed (@list: sorry)
364
365 > ...
366 > def show_if_participated(message)
367 > end
368 > ...
369 > show_if_participated(message)
370 > ...
371
372 --
373 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
374 Wa?l Nasreddine
375 website http://wael.nasreddine.com
376 Blog http://emxyptlk.com
377 TechnoGate http://technogate.fr
378 mobile 06.32.94.70.13
379 landline 09.70.444.236
380 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
381
382 From vallentin@icsi.berkeley.edu Tue Jan 4 11:54:36 2011
383 From: vallentin@icsi.berkeley.edu (Matthias Vallentin)
384 Date: Tue, 04 Jan 2011 08:54:36 -0800
385 Subject: [sup-talk] Exporting search query result to a Maildir directory
386 Message-ID: <1294159745-sup-4314@samurai.icir.org>
387
388 I would like to export the result of a search query to a Maildir
389 directory. Is that possible? I feel that it starts like this
390
391 Index.each_message(Index.parse_query("select recent mail")) ...
392
393 but don't know the machinery works that does the Maildir export. Because
394 the result can span multiple sources the trivial solution, i.e., to
395 access the raw Maildir source, is not an option.
396
397 Matthias
398
399 From rlane@club.cc.cmu.edu Sat Jan 15 02:07:28 2011
400 From: rlane@club.cc.cmu.edu (Rich Lane)
401 Date: Sat, 15 Jan 2011 02:07:28 -0500
402 Subject: [sup-talk] Sup 0.12 released
403 Message-ID: <1295068347-sup-3453@zyrg.net>
404
405 I'm pleased to announce the release of Sup 0.12.
406
407 Sup is a console-based email client for people with a lot of email.
408 It supports tagging, very fast full-text search, automatic contact-
409 list management, and more. If you're the type of person who treats
410 email as an extension of your long-term memory, Sup is for you.
411
412 Get it: gem install sup
413 Learn it: http://sup.rubyforge.org
414 Love it: sup-talk at rubyforge.org
415
416 Release notes:
417
418 Deprecated remote sources have been removed.
419
420 Maildir support has been improved to gracefully handle messages that
421 move or disappear. The "out of sync" errors should no longer occur.
422
423 Inline GPG is now supported.
424
425 Changelog for 0.12:
426
427 * Remove deprecated IMAP, IMAPS, and mbox+ssh sources
428 * Inline GPG support
429 * Robust maildir support
430 * sup-dump compatibility between Sup versions
431 * New hook: sendmail
432 * Better Ruby 1.9/UTF8 support
433 * As always, many bugfixes and tweaks.
434
435 From self@antono.info Sun Jan 16 21:56:22 2011
436 From: self@antono.info (Antono Vasiljev)
437 Date: Mon, 17 Jan 2011 04:56:22 +0200
438 Subject: [sup-talk] Custom cursor color
439 Message-ID: <1295232827-sup-7356@ubook.local>
440
441 Hello, All.
442
443 First of all thanks to developers for great MUA!
444
445 I trying to customize colors for sup and cannot find
446 any yaml key for cursor color (highlighted line moved by J/K).
447 Anyone can help me?
448
449 --
450 xmpp:self at antono.info
451 http://antono.info/
452 gopher://antono.info/
453
454 From shadowfirebird@gmail.com Mon Jan 17 05:44:42 2011
455 From: shadowfirebird@gmail.com (Shadowfirebird)
456 Date: Mon, 17 Jan 2011 10:44:42 +0000
457 Subject: [sup-talk] Sup 0.12 released
458 In-Reply-To: <1295068347-sup-3453@zyrg.net>
459 References: <1295068347-sup-3453@zyrg.net>
460 Message-ID: <AANLkTimE-40sx8xXxQbjz=Jok3FnWJZgmNTBiMObRahx@mail.gmail.com>
461
462 That's nice.
463
464 Can I make a criticism? Perhaps there should have been a warning that
465 upgrading is not just a matter of running "gem upgrade sup" because there
466 are engine changes, with a link to the detailed description on the web of
467 how to upgrade?
468
469 And perhaps you should put a detailed descrption on the web of how to
470 upgrade?
471
472 "This Sup version expects a v4 index, but you have an existing v2 index.
473 Please run sup-dump to save your labels, move /home/fred/.sup/xapian out of
474 the way, and run sup-sync --restore."
475
476 Perhaps it really is as simple as this, but this is my "live" data we are
477 talking about here. A little hand-holding would not have gone amis.
478
479
480 On Sat, Jan 15, 2011 at 7:07 AM, Rich Lane <rlane at club.cc.cmu.edu> wrote:
481
482 > I'm pleased to announce the release of Sup 0.12.
483 >
484 > Sup is a console-based email client for people with a lot of email.
485 > It supports tagging, very fast full-text search, automatic contact-
486 > list management, and more. If you're the type of person who treats
487 > email as an extension of your long-term memory, Sup is for you.
488 >
489 > Get it: gem install sup
490 > Learn it: http://sup.rubyforge.org
491 > Love it: sup-talk at rubyforge.org
492 >
493 > Release notes:
494 >
495 > Deprecated remote sources have been removed.
496 >
497 > Maildir support has been improved to gracefully handle messages that
498 > move or disappear. The "out of sync" errors should no longer occur.
499 >
500 > Inline GPG is now supported.
501 >
502 > Changelog for 0.12:
503 >
504 > * Remove deprecated IMAP, IMAPS, and mbox+ssh sources
505 > * Inline GPG support
506 > * Robust maildir support
507 > * sup-dump compatibility between Sup versions
508 > * New hook: sendmail
509 > * Better Ruby 1.9/UTF8 support
510 > * As always, many bugfixes and tweaks.
511 > _______________________________________________
512 > sup-talk mailing list
513 > sup-talk at rubyforge.org
514 > http://rubyforge.org/mailman/listinfo/sup-talk
515 >
516
517
518
519 --
520 What a tangled web we weave / Go 'round with circumstance / Someone show me
521 how to tell / The dancer from the dance...
522 -------------- next part --------------
523 An HTML attachment was scrubbed...
524 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20110117/51fcfcfa/attachment.html>
525
526 From hollunder@lavabit.com Mon Jan 17 17:03:23 2011
527 From: hollunder@lavabit.com (=?utf-8?q?Philipp_=C3=9Cberbacher?=)
528 Date: Mon, 17 Jan 2011 23:03:23 +0100
529 Subject: [sup-talk] Sup 0.12 released
530 In-Reply-To: <AANLkTimE-40sx8xXxQbjz=Jok3FnWJZgmNTBiMObRahx@mail.gmail.com>
531 References: <1295068347-sup-3453@zyrg.net>
532 <AANLkTimE-40sx8xXxQbjz=Jok3FnWJZgmNTBiMObRahx@mail.gmail.com>
533 Message-ID: <1295301694-sup-2240@eris>
534
535 Excerpts from Shadowfirebird's message of 2011-01-17 11:44:42 +0100:
536 > That's nice.
537 >
538 > Can I make a criticism? Perhaps there should have been a warning that
539 > upgrading is not just a matter of running "gem upgrade sup" because there
540 > are engine changes, with a link to the detailed description on the web of
541 > how to upgrade?
542 >
543 > And perhaps you should put a detailed descrption on the web of how to
544 > upgrade?
545 >
546 > "This Sup version expects a v4 index, but you have an existing v2 index.
547 > Please run sup-dump to save your labels, move /home/fred/.sup/xapian out of
548 > the way, and run sup-sync --restore."
549 >
550 > Perhaps it really is as simple as this, but this is my "live" data we are
551 > talking about here. A little hand-holding would not have gone amis.
552 >
553 > On Sat, Jan 15, 2011 at 7:07 AM, Rich Lane <rlane at club.cc.cmu.edu> wrote:
554 >
555 > > I'm pleased to announce the release of Sup 0.12.
556 > >
557 > > Sup is a console-based email client for people with a lot of email.
558 > > It supports tagging, very fast full-text search, automatic contact-
559 > > list management, and more. If you're the type of person who treats
560 > > email as an extension of your long-term memory, Sup is for you.
561 > >
562 > > Get it: gem install sup
563 > > Learn it: http://sup.rubyforge.org
564 > > Love it: sup-talk at rubyforge.org
565 > >
566 > > Release notes:
567 > >
568 > > Deprecated remote sources have been removed.
569 > >
570 > > Maildir support has been improved to gracefully handle messages that
571 > > move or disappear. The "out of sync" errors should no longer occur.
572 > >
573 > > Inline GPG is now supported.
574 > >
575 > > Changelog for 0.12:
576 > >
577 > > * Remove deprecated IMAP, IMAPS, and mbox+ssh sources
578 > > * Inline GPG support
579 > > * Robust maildir support
580 > > * sup-dump compatibility between Sup versions
581 > > * New hook: sendmail
582 > > * Better Ruby 1.9/UTF8 support
583 > > * As always, many bugfixes and tweaks.
584 > > _______________________________________________
585 > > sup-talk mailing list
586 > > sup-talk at rubyforge.org
587 > > http://rubyforge.org/mailman/listinfo/sup-talk
588 > >
589
590 There also seem to be huge problems building and installing sup 0.12,
591 have a look here to get an idea how much frustration it already caused:
592 http://aur.archlinux.org/packages.php?ID=26439
593
594
595 From rlane@club.cc.cmu.edu Mon Jan 17 22:36:13 2011
596 From: rlane@club.cc.cmu.edu (Rich Lane)
597 Date: Mon, 17 Jan 2011 22:36:13 -0500
598 Subject: [sup-talk] Sup 0.12 released
599 In-Reply-To: <1295301694-sup-2240@eris>
600 References: <1295068347-sup-3453@zyrg.net>
601 <AANLkTimE-40sx8xXxQbjz=Jok3FnWJZgmNTBiMObRahx@mail.gmail.com>
602 <1295301694-sup-2240@eris>
603 Message-ID: <1295321122-sup-9696@zyrg.net>
604
605 Excerpts from Philipp ?berbacher's message of Mon Jan 17 17:03:23 -0500 2011:
606 > There also seem to be huge problems building and installing sup 0.12,
607 > have a look here to get an idea how much frustration it already caused:
608 > http://aur.archlinux.org/packages.php?ID=26439
609
610 I use Arch myself so I'm surprised there's been so much trouble
611 packaging for it. Does gettext need to be a gem dependency? I've
612 reconsidered the ncurses mess and master now requires ncursesw. I'm not
613 convinced an Arch package should be using xapian-full - I only made that
614 gem because I wanted the install process to be as simple as "gem install
615 sup". The normal Arch Xapian package should work fine.
616
617 Besides the ncursesw change is there anything else you want in 0.12.1?
618
619 From sascha-ml-reply-to-2011-1@silbe.org Tue Jan 18 12:34:54 2011
620 From: sascha-ml-reply-to-2011-1@silbe.org (Sascha Silbe)
621 Date: Tue, 18 Jan 2011 18:34:54 +0100
622 Subject: [sup-talk] Send Individually feature
623 In-Reply-To: <1278630818-sup-6829@guava.lanl.gov>
624 References: <1278630818-sup-6829@guava.lanl.gov>
625 Message-ID: <1295370861-sup-7366@xo15-sascha.sascha.silbe.org>
626
627 Excerpts from John Bent's message of Fri Jul 09 01:15:50 +0200 2010:
628
629 > I sometimes send email to large recipient lists. I would really like
630 > there to be a way to ask sup to send a separate email to each recipient
631 > instead of just sending the same one to all.
632
633 I've implemented something similar recently, using the new "sendmail"
634 hook (that I added for exactly that purpose). Maybe you can adjust it to
635 suit your needs.
636
637 Sascha
638
639 --
640 http://sascha.silbe.org/
641 http://www.infra-silbe.de/
642 -------------- next part --------------
643 A non-text attachment was scrubbed...
644 Name: sendmail.rb
645 Type: application/x-ruby
646 Size: 2575 bytes
647 Desc: not available
648 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20110118/7d5ab2ed/attachment.bin>
649 -------------- next part --------------
650 A non-text attachment was scrubbed...
651 Name: signature.asc
652 Type: application/pgp-signature
653 Size: 494 bytes
654 Desc: not available
655 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20110118/7d5ab2ed/attachment-0001.bin>
656
657 From mnjagadeesh@gmail.com Wed Jan 19 00:55:56 2011
658 From: mnjagadeesh@gmail.com (Jagadeesh N. Malakannavar)
659 Date: Wed, 19 Jan 2011 11:25:56 +0530
660 Subject: [sup-talk] issue after upgrading sup mainline
661 Message-ID: <AANLkTi=uUvKgVk4AEiiaBSjSL7=+w=HiWSNs5nb2MTdJ@mail.gmail.com>
662
663 Hi,
664
665 I wanted to use 0.12 version of sup and did git pull. But getting below
666 error.
667
668 jagadeesh at jagadeesh-laptop ~/Downloads/SUP/mainline $ ls
669 bin devel lib README.txt sup-version.rb
670 bugs doc LICENSE ReleaseNotes test
671 contrib HACKING protocol.md release-script.txt www
672 CONTRIBUTORS History.txt Rakefile sup-files.rb
673
674 jagadeesh at jagadeesh-laptop ~/Downloads/SUP/mainline $ ruby -I lib -w bin/sup
675 ./lib/sup/util.rb:330: warning: `&' interpreted as argument prefix
676 /usr/lib/ruby/1.8/pathname.rb:263: warning: `*' interpreted as argument
677 prefix
678 ./lib/sup/util.rb:19: warning: method redefined; discarding old gen_lock_id
679 ./lib/sup/util.rb:30: warning: method redefined; discarding old dump_lock_id
680 ./lib/sup/util.rb:107: warning: method redefined; discarding old
681 calculate_boundaries
682 ./lib/sup/message.rb:285: warning: `&' interpreted as argument prefix
683 ./lib/sup/index.rb:564: warning: `&' interpreted as argument prefix
684 ./lib/sup/index.rb:17: Xapian version 1.2.1 or higher required
685 (RuntimeError)
686 from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
687 `gem_original_require'
688 from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
689 from ./lib/sup.rb:359
690 from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
691 `gem_original_require'
692 from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
693 from bin/sup:22
694 jagadeesh at jagadeesh-laptop ~/Downloads/SUP/mainline $ ruby -v
695 ruby 1.8.7 (2010-01-10 patchlevel 249) [i486-linux]
696
697 Can someone help me fixing this issue?
698
699 Thanks
700 -------------- next part --------------
701 An HTML attachment was scrubbed...
702 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20110119/165d6c98/attachment-0001.html>
703
704 From edward@tropic.org.uk Thu Jan 20 12:07:56 2011
705 From: edward@tropic.org.uk (Edward Speyer)
706 Date: Thu, 20 Jan 2011 09:07:56 -0800
707 Subject: [sup-talk] Screen width
708 Message-ID: <AANLkTimqCKWS7vAMGAv4bAxuTz5tKdKNBUP3ZdtGGdnB@mail.gmail.com>
709
710 Yo,
711
712 Is there an easy way to get sup to wrap emails at 72 columns, even if my
713 terminal is much wider than that?
714
715 Right now I'm reading an email with a single quoted-printable text/plain
716 attachment with lines 283 characters long.
717
718 I'm happy to try patching this myself if someone can get me started,
719 pointing in the right direction.
720
721 Cheers,
722
723 Ed
724 -------------- next part --------------
725 An HTML attachment was scrubbed...
726 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20110120/540fe45f/attachment.html>
727
728 From tero@tilus.net Thu Jan 20 14:23:24 2011
729 From: tero@tilus.net (Tero Tilus)
730 Date: Thu, 20 Jan 2011 21:23:24 +0200
731 Subject: [sup-talk] Screen width
732 In-Reply-To: <AANLkTimqCKWS7vAMGAv4bAxuTz5tKdKNBUP3ZdtGGdnB@mail.gmail.com>
733 References: <AANLkTimqCKWS7vAMGAv4bAxuTz5tKdKNBUP3ZdtGGdnB@mail.gmail.com>
734 Message-ID: <1295551276-sup-5039@tilus.net>
735
736 Edward Speyer, 2011-01-20 19:07:
737 > Is there an easy way to get sup to wrap emails at 72 columns
738
739 Just tune wrap_width in your ~/.sup/config.yaml.
740
741 --
742 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
743
744 From edward@tropic.org.uk Thu Jan 20 14:33:28 2011
745 From: edward@tropic.org.uk (Edward Speyer)
746 Date: Thu, 20 Jan 2011 11:33:28 -0800
747 Subject: [sup-talk] Screen width
748 In-Reply-To: <1295551276-sup-5039@tilus.net>
749 References: <AANLkTimqCKWS7vAMGAv4bAxuTz5tKdKNBUP3ZdtGGdnB@mail.gmail.com>
750 <1295551276-sup-5039@tilus.net>
751 Message-ID: <AANLkTi=GP38t0guNhsEJ5k0ap4-V5TjHcrnztbMOn6bz@mail.gmail.com>
752
753 Smashing, cheers.
754
755 On 20 January 2011 11:23, Tero Tilus <tero at tilus.net> wrote:
756
757 > Edward Speyer, 2011-01-20 19:07:
758 > > Is there an easy way to get sup to wrap emails at 72 columns
759 >
760 > Just tune wrap_width in your ~/.sup/config.yaml.
761 >
762 > --
763 > Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
764 > _______________________________________________
765 > sup-talk mailing list
766 > sup-talk at rubyforge.org
767 > http://rubyforge.org/mailman/listinfo/sup-talk
768 >
769 >
770 -------------- next part --------------
771 An HTML attachment was scrubbed...
772 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20110120/b3002205/attachment.html>
773
774 From bacuh@riseup.net Sun Jan 23 03:25:58 2011
775 From: bacuh@riseup.net (Sebastian Lipp)
776 Date: Sun, 23 Jan 2011 09:25:58 +0100
777 Subject: [sup-talk] gpg-options.rb: how to set always_trust
778 Message-ID: <1295770743-sup-9363@fly>
779
780 Hi.
781
782 I've just 'git pull'ed so my always_trust setting for GnuPG isn't
783 working any more. I tried to set it by just putting
784 {:always_trust => true}
785 into gpg-options.rb but it doesn't work. I bet I have to put something
786 like
787 if(operation == encrypt)
788 always_trust = 1;
789 into the file. The Problem is that I have got no clue about Ruby.
790
791 Any assistance in putting the right code snipped here would be
792 appreciated.
793
794 --
795 basti
796
797 Government is a disease that masquerades as its own cure
798 -- Robert Lefevre
799
800 From michael+sup@stapelberg.de Sun Jan 23 07:17:41 2011
801 From: michael+sup@stapelberg.de (Michael Stapelberg)
802 Date: Sun, 23 Jan 2011 13:17:41 +0100
803 Subject: [sup-talk] gpg-options.rb: how to set always_trust
804 In-Reply-To: <1295770743-sup-9363@fly>
805 References: <1295770743-sup-9363@fly>
806 Message-ID: <1295784926-sup-5885@midna.zekjur.net>
807
808 Hi Sebastian,
809
810 Excerpts from Sebastian Lipp's message of 2011-01-23 09:25:58 +0100:
811 > Any assistance in putting the right code snipped here would be
812 > appreciated.
813 See the wiki at http://sup.rubyforge.org/wiki/wiki.pl?GPG, it has examples for
814 hooks for sup >= 0.12.
815
816 Best regards,
817 Michael
818
819 From bacuh@riseup.net Sun Jan 23 17:09:01 2011
820 From: bacuh@riseup.net (Sebastian Lipp)
821 Date: Sun, 23 Jan 2011 23:09:01 +0100
822 Subject: [sup-talk] gpg-options.rb: how to set always_trust
823 In-Reply-To: <AANLkTimJZiRE31R5KJBdqZv5L17qhKeLjbO4fWM5LfD2@mail.gmail.com>
824 References: <1295770743-sup-9363@fly>
825 <AANLkTimJZiRE31R5KJBdqZv5L17qhKeLjbO4fWM5LfD2@mail.gmail.com>
826 Message-ID: <1295820417-sup-1526@fly>
827
828 Excerpts from Hamish D's message of So Jan 23 11:47:32 +0100 2011:
829 > > I've just 'git pull'ed so my always_trust setting for GnuPG isn't
830 > > working any more. I tried to set it by just putting
831 > > ?{:always_trust => true}
832 > > into gpg-options.rb but it doesn't work.
833 >
834 > This may be slightly obscure,
835
836 I expected it would, but as I said I have no clue about ruby. ;)
837
838 > if operation == "encrypt"
839 > options.merge({:always_trust => true})
840 > end
841 > options
842
843 That is exactly what I was looking for. Thanks.
844
845 But another problem popped up. Now I can't sign any message. It makes no
846 difference if gpg-options.rb is there or not. There is also no difference in
847 choosing sign or sign and encrypt. There are no messages about that in
848 the log even with debugging turned on. Have I found a bug?
849
850 --
851 basti
852
853 The Web should be like a white sheet of paper: ready to be written on,
854 with no control over what is written.
855 -- Tim Berners-Lee
856
857 From rlane@club.cc.cmu.edu Mon Jan 24 01:05:04 2011
858 From: rlane@club.cc.cmu.edu (Rich Lane)
859 Date: Mon, 24 Jan 2011 01:05:04 -0500
860 Subject: [sup-talk] Sup 0.12.1 released
861 Message-ID: <1295848539-sup-752@zyrg.net>
862
863 I'm pleased to announce the release of Sup 0.12.1.
864
865 Sup is a console-based email client for people with a lot of email.
866 It supports tagging, very fast full-text search, automatic contact-
867 list management, and more. If you're the type of person who treats
868 email as an extension of your long-term memory, Sup is for you.
869
870 Get it: gem install sup
871 Learn it: http://sup.rubyforge.org
872 Love it: sup-talk at rubyforge.org
873
874 Release notes:
875
876 This release changes the gem dependency on ncurses to ncursesw, which
877 allows the gem to install cleanly on Ruby 1.9.
878
879 The new sup-import-dump program applies labels to an existing index,
880 which could be done with sup-sync before 0.12.
881
882 Changelog for 0.12.1:
883
884 * Depend on ncursesw rather than ncurses (Ruby 1.9 compatibility)
885 * Add sup-import-dump
886
887 From shadowfirebird@gmail.com Mon Jan 24 04:15:13 2011
888 From: shadowfirebird@gmail.com (Shadowfirebird)
889 Date: Mon, 24 Jan 2011 09:15:13 +0000
890 Subject: [sup-talk] gpg-options.rb: how to set always_trust
891 In-Reply-To: <1295820417-sup-1526@fly>
892 References: <1295770743-sup-9363@fly>
893 <AANLkTimJZiRE31R5KJBdqZv5L17qhKeLjbO4fWM5LfD2@mail.gmail.com>
894 <1295820417-sup-1526@fly>
895 Message-ID: <1295860315-sup-4750@blake>
896
897 > But another problem popped up. Now I can't sign any message. It makes no
898 > difference if gpg-options.rb is there or not. There is also no difference in
899 > choosing sign or sign and encrypt. There are no messages about that in
900 > the log even with debugging turned on. Have I found a bug?
901
902 I've just upgraded to 0.12. On reading your post I tried signing a message and sending it to myself' it worked fine. So I hazard to guess that it might be a problem with your hooks (or rather, with how the new Sup is reading your existing hook code.) I only have a before-add-message and a mime-view hook set, so that would appear to be the likely difference between you and me.
903
904 Hope that helps. Maybe you need to post your gpg-related hooks here...
905
906 --
907 "It's not just a computer -- it's your ass."
908 -- Cal Keegan
909
910 From sup@zevv.nl Mon Jan 24 00:20:47 2011
911 From: sup@zevv.nl (Ico)
912 Date: Mon, 24 Jan 2011 06:20:47 +0100
913 Subject: [sup-talk] Bug reading/writing contacts with \" in them
914 Message-ID: <1295845756-sup-308@pruts.nl>
915
916 Hi all,
917
918 I just found out about Sup yesterday, great stuff, thanks for that to all
919 involved with development!
920
921 I did run into a small bug yesterday though. I was able to analyze it a bit,
922 but my Ruby is not good enough to propose a solid fix.
923
924 The problem occurs when contacts have a certain combination of backslashes and
925 quotes in them. I 'imported' my mutt aliases with a simple script converting
926 the format (too bad it is *almost* the same but not quite), and one of the
927 contacts looked like this:
928
929 somename: \"Some, Name\" <somename at somedomain.com>
930
931 It seems there is a problem somewhere with parsing and writing out the backslashes, which
932 get escaped each time sup saves the contact list, doubling the number of backslashes each time.
933
934 somename: Some, Name\\ <somename at somedomain.com>
935 somename: Some, Name\\\\ <somename at somedomain.com>
936 somename: Some, Name\\\\\\\\ <somename at somedomain.com>
937
938 and so on.
939
940 I first got a hint something was wrong when I noticed that sup was starting up slower
941 and slower each time, and took over 10 minutes after a few tries. It seems that the regexp
942 at person.rb:79
943
944 when /(.+?) ((\S+?)@\S+) \3/
945
946 goes haywire backtracking through all the backslashes, I guess the first .+?
947 probably uses exponential time when trying to match the huge number of \'s
948
949 Anyway, I did some quick trials to find where exaclty the bug is, but I
950 couldn't come up with the proper fix right away. My problem has of course gone
951 away by just removing the backslashes from the contacts file, but I hope
952 somebody with more ruby-sense is willing to look into this one.
953
954 Thanks,
955
956 Ico
957
958 --
959 :wq
960 ^X^Cy^K^X^C^C^C^C
961
962 From dmishd@gmail.com Mon Jan 24 05:34:28 2011
963 From: dmishd@gmail.com (Hamish D)
964 Date: Mon, 24 Jan 2011 10:34:28 +0000
965 Subject: [sup-talk] gpg-options.rb: how to set always_trust
966 In-Reply-To: <AANLkTimB43mBbe-3EvRxZHCK_n9-Xy0mL1MHRGSO6MTf@mail.gmail.com>
967 References: <1295770743-sup-9363@fly>
968 <AANLkTimJZiRE31R5KJBdqZv5L17qhKeLjbO4fWM5LfD2@mail.gmail.com>
969 <1295820417-sup-1526@fly> <1295860315-sup-4750@blake>
970 <AANLkTimrPK4Bt7z+uN5AkShp3uJSw3OdbR2A-R0p4RoA@mail.gmail.com>
971 <AANLkTimB43mBbe-3EvRxZHCK_n9-Xy0mL1MHRGSO6MTf@mail.gmail.com>
972 Message-ID: <AANLkTimTV+qSRrVzMd=u7Z1egi2njbiHf2qqQDqOChqY@mail.gmail.com>
973
974 Interesting ... it may well be a bug. As well as your hooks, could you let
975 me know:
976
977 * your gpg key type, including whether you have a separate sub key for
978 signing. If your key is on public keyservers then the key ID could also be
979 useful.
980 * whether you use the gpgkey option in .sup/config.yaml
981
982 I'll look into it in the next few days. I might even try constructing a gpg
983 test suite for sup ...
984
985 Hamish Downer
986 On 24 Jan 2011 09:15, "Shadowfirebird" <shadowfirebird at gmail.com> wrote:
987 -------------- next part --------------
988 An HTML attachment was scrubbed...
989 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20110124/7461c96d/attachment.html>
990
991 From michael+sup@stapelberg.de Mon Jan 24 13:20:13 2011
992 From: michael+sup@stapelberg.de (Michael Stapelberg)
993 Date: Mon, 24 Jan 2011 19:20:13 +0100
994 Subject: [sup-talk] [PATCH] Re: Bug reading/writing contacts with \" in them
995 In-Reply-To: <1295845756-sup-308@pruts.nl>
996 References: <1295845756-sup-308@pruts.nl>
997 Message-ID: <1295892863-sup-1896@midna.zekjur.net>
998
999 Hi Ico,
1000
1001 Excerpts from Ico's message of 2011-01-24 06:20:47 +0100:
1002 > The problem occurs when contacts have a certain combination of backslashes and
1003 > quotes in them. I 'imported' my mutt aliases with a simple script converting
1004 > the format (too bad it is *almost* the same but not quite), and one of the
1005 > contacts looked like this:
1006 >
1007 > somename: \"Some, Name\" <somename at somedomain.com>
1008 As discussed on IRC, I?ve made the following findings:
1009
1010 ? Some combinations of email addresses (phrase + addr-spec in RFC822
1011 terminology) need to be escaped, for example when they contain a comma or a
1012 quote.
1013 ? This escaping happens in Person#full_address by using @name.inspect
1014 ? Person#full_address also is used when saving contacts back to contacts.txt
1015 ? Person#initialize partly strips the quotes (line 10/11), but does not handle
1016 backslashes.
1017
1018 Attached is a patch which fixes the issue. Input like "Rob, Post\" will first
1019 be turned into "Rob, Post\\" when initially escaping, but will then stay "Rob,
1020 Post\\" (no more exploding backslashes).
1021
1022 Best regards,
1023 Michael
1024 -------------- next part --------------
1025 A non-text attachment was scrubbed...
1026 Name: 0001-Bugfix-Un-escape-slashes-when-initializing-a-new-Per.patch
1027 Type: application/octet-stream
1028 Size: 798 bytes
1029 Desc: not available
1030 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20110124/f9e9ff63/attachment-0001.obj>
1031
1032 From wmorgan-sup@masanjin.net Mon Jan 24 13:40:49 2011
1033 From: wmorgan-sup@masanjin.net (William Morgan)
1034 Date: Mon, 24 Jan 2011 13:40:49 -0500
1035 Subject: [sup-talk] call for new maintainers
1036 Message-ID: <1295894044-sup-7965@masanjin.net>
1037
1038 I said this in another thread on sup-devel, but I thought I'd give it a
1039 broader audience.
1040
1041 Rich is stepping down as maintainer due to lack of time (but will still
1042 be around as a contributor). I personally have a little more time
1043 nowadays than I did before. But I would rather spend it working on
1044 features, including possible a new index backend.
1045
1046 So, anyone who would be interested in the maintainership busywork of
1047 collecting patches from sup-devel, making branches, and pushing
1048 releases, please let me know. You must be familiar with git, Ruby and,
1049 of course, Sup. I can provide a brief guide of how this all works.
1050
1051 In exchange, you will have access to the secret Sup maintainer meetings
1052 that take place in the smoky backrooms of various San Francisco bars.
1053
1054 If multiple people are interested, we can set up a rotation so that no
1055 one is stuck with it forever.
1056
1057 If no one responds, I will continue to be your (not very responsive)
1058 maintainer.
1059 --
1060 William <wmorgan-sup at masanjin.net>
1061
1062 From sup@zevv.nl Tue Jan 25 05:17:57 2011
1063 From: sup@zevv.nl (Ico)
1064 Date: Tue, 25 Jan 2011 11:17:57 +0100
1065 Subject: [sup-talk] un-archiving an archived mail
1066 Message-ID: <1295949814-sup-8566@pruts.nl>
1067
1068 Hi all,
1069
1070 Since yesterday I'm a sup user, and I'm quite impressed with the way
1071 things work, great stuff.
1072
1073 I had once annoyance though, and today on irc met somebody with the same
1074 itch: if I (we) understand correctly, there is no way to 'unarchive' a
1075 message once it is archived. 'undo' does the trick while the sup
1076 session is still running, but afaik it is not possible to find an
1077 archived mail and mark it 'unachived' or 'inbox'.
1078
1079 Is there something I'm missing, or is this really not possible at the
1080 moment ? Would it be possible to make the 'a' key a toggle like
1081 'd'elete, so it is simple possible to unarchive an archived message by
1082 hitting the 'a' key again ?
1083
1084 Thanks,
1085
1086 Ico
1087
1088 --
1089 :wq
1090 ^X^Cy^K^X^C^C^C^C
1091
1092 From wael.nasreddine@gmail.com Tue Jan 25 05:34:32 2011
1093 From: wael.nasreddine@gmail.com (Wael M. Nasreddine)
1094 Date: Tue, 25 Jan 2011 11:34:32 +0100
1095 Subject: [sup-talk] un-archiving an archived mail
1096 In-Reply-To: <1295949814-sup-8566@pruts.nl>
1097 References: <1295949814-sup-8566@pruts.nl>
1098 Message-ID: <AANLkTimhrxGptBa2epDM0m56p6aidNRtAMp2+dZ7NPTc@mail.gmail.com>
1099
1100 Hey,
1101
1102 Welcome to SUP :)
1103
1104 Just add the inbox label to it ( move the cursor on the thread and press l,
1105 l for like! and type inbox)
1106
1107 This should work
1108
1109 On Tue, Jan 25, 2011 at 11:17, Ico <sup at zevv.nl> wrote:
1110
1111 > Hi all,
1112 >
1113 > Since yesterday I'm a sup user, and I'm quite impressed with the way
1114 > things work, great stuff.
1115 >
1116 > I had once annoyance though, and today on irc met somebody with the same
1117 > itch: if I (we) understand correctly, there is no way to 'unarchive' a
1118 > message once it is archived. 'undo' does the trick while the sup
1119 > session is still running, but afaik it is not possible to find an
1120 > archived mail and mark it 'unachived' or 'inbox'.
1121 >
1122 > Is there something I'm missing, or is this really not possible at the
1123 > moment ? Would it be possible to make the 'a' key a toggle like
1124 > 'd'elete, so it is simple possible to unarchive an archived message by
1125 > hitting the 'a' key again ?
1126 >
1127 > Thanks,
1128 >
1129 > Ico
1130 >
1131 > --
1132 > :wq
1133 > ^X^Cy^K^X^C^C^C^C
1134 > _______________________________________________
1135 > sup-talk mailing list
1136 > sup-talk at rubyforge.org
1137 > http://rubyforge.org/mailman/listinfo/sup-talk
1138 >
1139
1140
1141
1142 --
1143 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1144 Wa?l Nasreddine
1145 TechnoGate www.technogate.fr
1146 mobile : 06.32.94.70.13
1147 agence : 09.70.444.236
1148 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1149 -------------- next part --------------
1150 An HTML attachment was scrubbed...
1151 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20110125/a8b0a29d/attachment.html>
1152
1153 From aidecoe@aidecoe.name Tue Jan 25 05:41:14 2011
1154 From: aidecoe@aidecoe.name (=?utf-8?q?Amadeusz_=C5=BBo=C5=82nowski?=)
1155 Date: Tue, 25 Jan 2011 11:41:14 +0100
1156 Subject: [sup-talk] un-archiving an archived mail
1157 In-Reply-To: <1295949814-sup-8566@pruts.nl>
1158 References: <1295949814-sup-8566@pruts.nl>
1159 Message-ID: <1295951914-sup-9032@ittemni>
1160
1161 Hi,
1162
1163 Excerpts from Ico's message of Tue Jan 25 11:17:57 +0100 2011:
1164 > Is there something I'm missing, or is this really not possible at the
1165 > moment ? Would it be possible to make the 'a' key a toggle like
1166 > 'd'elete, so it is simple possible to unarchive an archived message by
1167 > hitting the 'a' key again ?
1168
1169 'a' does work as toggle. :-) To access archived msgs you need to
1170 perform global search ('\' key).
1171 --
1172 Amadeusz ?o?nowski
1173
1174 PGP key fpr: C700 CEDE 0C18 212E 49DA 4653 F013 4531 E1DB FAB5
1175 -------------- next part --------------
1176 A non-text attachment was scrubbed...
1177 Name: signature.asc
1178 Type: application/pgp-signature
1179 Size: 490 bytes
1180 Desc: not available
1181 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20110125/fd49da4c/attachment.bin>
1182
1183 From ezyang@MIT.EDU Tue Jan 25 05:39:48 2011
1184 From: ezyang@MIT.EDU (Edward Z. Yang)
1185 Date: Tue, 25 Jan 2011 05:39:48 -0500
1186 Subject: [sup-talk] un-archiving an archived mail
1187 In-Reply-To: <1295949814-sup-8566@pruts.nl>
1188 References: <1295949814-sup-8566@pruts.nl>
1189 Message-ID: <1295951969-sup-9468@ezyang>
1190
1191 I regularly use 'a' to unarchive mail. What are you doing specifically?
1192
1193 Edward
1194
1195 From sascha-ml-reply-to-2011-1@silbe.org Tue Jan 25 06:15:31 2011
1196 From: sascha-ml-reply-to-2011-1@silbe.org (Sascha Silbe)
1197 Date: Tue, 25 Jan 2011 12:15:31 +0100
1198 Subject: [sup-talk] un-archiving an archived mail
1199 In-Reply-To: <1295949814-sup-8566@pruts.nl>
1200 References: <1295949814-sup-8566@pruts.nl>
1201 Message-ID: <1295954038-sup-293@xo15-sascha.sascha.silbe.org>
1202
1203 Excerpts from Ico's message of Tue Jan 25 11:17:57 +0100 2011:
1204
1205 > Is there something I'm missing, or is this really not possible at the
1206 > moment ? Would it be possible to make the 'a' key a toggle like
1207 > 'd'elete, so it is simple possible to unarchive an archived message by
1208 > hitting the 'a' key again ?
1209
1210 It already does, though only in search-results-mode, not in
1211 thread-view-mode.
1212
1213 Sascha
1214
1215 --
1216 http://sascha.silbe.org/
1217 http://www.infra-silbe.de/
1218 -------------- next part --------------
1219 A non-text attachment was scrubbed...
1220 Name: signature.asc
1221 Type: application/pgp-signature
1222 Size: 494 bytes
1223 Desc: not available
1224 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20110125/247edfb2/attachment.bin>
1225
1226 From matthieu.rakotojaona@gmail.com Tue Jan 25 07:03:38 2011
1227 From: matthieu.rakotojaona@gmail.com (Matthieu Rakotojaona)
1228 Date: Tue, 25 Jan 2011 13:03:38 +0100
1229 Subject: [sup-talk] un-archiving an archived mail
1230 In-Reply-To: <1295951914-sup-9032@ittemni>
1231 References: <1295949814-sup-8566@pruts.nl> <1295951914-sup-9032@ittemni>
1232 Message-ID: <1295956639-sup-510@Otokar>
1233
1234 Hi ! I'm a new sup user and I have some questions.
1235
1236 Excerpts from Amadeusz ?o?nowski's message of mar. janv. 25 11:41:14 +0100 2011:
1237 > To access archived msgs you need to perform global search ('\' key).
1238
1239 Specifically, how do you search for all your archives messages ? I thought
1240 about something like "search for 'not this label'", but I don't know how to do
1241 this.
1242
1243 Thank you !
1244
1245 --
1246
1247 Matthieu Rakotojaona
1248
1249 From wael.nasreddine@gmail.com Tue Jan 25 09:19:10 2011
1250 From: wael.nasreddine@gmail.com (Wael M. Nasreddine)
1251 Date: Tue, 25 Jan 2011 15:19:10 +0100
1252 Subject: [sup-talk] call for new maintainers
1253 In-Reply-To: <1295894044-sup-7965@masanjin.net>
1254 References: <1295894044-sup-7965@masanjin.net>
1255 Message-ID: <AANLkTiktGxmVWJCrc=BJdVvA6g3521VCvsF22scY_BhH@mail.gmail.com>
1256
1257 Hello,
1258
1259 How much work you estimate per week?
1260
1261 I'm familiar with Ruby and Git, but I'm not very familiar with the code of
1262 SUP itself as I haven't read it entirely yet.. I would gladly help sup but I
1263 need to know first how much work to expect..
1264
1265 Regards,
1266 Wael Nasreddine
1267
1268 On Mon, Jan 24, 2011 at 19:40, William Morgan <wmorgan-sup at masanjin.net>wrote:
1269
1270 > I said this in another thread on sup-devel, but I thought I'd give it a
1271 > broader audience.
1272 >
1273 > Rich is stepping down as maintainer due to lack of time (but will still
1274 > be around as a contributor). I personally have a little more time
1275 > nowadays than I did before. But I would rather spend it working on
1276 > features, including possible a new index backend.
1277 >
1278 > So, anyone who would be interested in the maintainership busywork of
1279 > collecting patches from sup-devel, making branches, and pushing
1280 > releases, please let me know. You must be familiar with git, Ruby and,
1281 > of course, Sup. I can provide a brief guide of how this all works.
1282 >
1283 > In exchange, you will have access to the secret Sup maintainer meetings
1284 > that take place in the smoky backrooms of various San Francisco bars.
1285 >
1286 > If multiple people are interested, we can set up a rotation so that no
1287 > one is stuck with it forever.
1288 >
1289 > If no one responds, I will continue to be your (not very responsive)
1290 > maintainer.
1291 > --
1292 > William <wmorgan-sup at masanjin.net>
1293 > _______________________________________________
1294 > sup-talk mailing list
1295 > sup-talk at rubyforge.org
1296 > http://rubyforge.org/mailman/listinfo/sup-talk
1297 >
1298
1299
1300
1301 --
1302 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1303 Wa?l Nasreddine
1304 TechnoGate www.technogate.fr
1305 mobile : 06.32.94.70.13
1306 agence : 09.70.444.236
1307 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1308 -------------- next part --------------
1309 An HTML attachment was scrubbed...
1310 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20110125/397d204d/attachment.html>
1311
1312 From bacuh@riseup.net Tue Jan 25 09:32:56 2011
1313 From: bacuh@riseup.net (Sebastian Lipp)
1314 Date: Tue, 25 Jan 2011 15:32:56 +0100
1315 Subject: [sup-talk] gpg-options.rb: how to set always_trust
1316 In-Reply-To: <AANLkTimTV+qSRrVzMd=u7Z1egi2njbiHf2qqQDqOChqY@mail.gmail.com>
1317 References: <1295770743-sup-9363@fly>
1318 <AANLkTimJZiRE31R5KJBdqZv5L17qhKeLjbO4fWM5LfD2@mail.gmail.com>
1319 <1295820417-sup-1526@fly> <1295860315-sup-4750@blake>
1320 <AANLkTimrPK4Bt7z+uN5AkShp3uJSw3OdbR2A-R0p4RoA@mail.gmail.com>
1321 <AANLkTimB43mBbe-3EvRxZHCK_n9-Xy0mL1MHRGSO6MTf@mail.gmail.com>
1322 <AANLkTimTV+qSRrVzMd=u7Z1egi2njbiHf2qqQDqOChqY@mail.gmail.com>
1323 Message-ID: <1295964928-sup-1373@fly>
1324
1325 Excerpts from Hamish D's message of Mo Jan 24 11:34:28 +0100 2011:
1326 > * your gpg key type, including whether you have a separate sub key for
1327 > signing. If your key is on public keyservers then the key ID could also be
1328 > useful.
1329
1330 A750401F
1331
1332 > * whether you use the gpgkey option in .sup/config.yaml
1333
1334 Yes, I do. I tried to delete this option and moved all my GPG-related
1335 hooks out of sup's reach. The last thing I just tried was pulling again.
1336 Nothing helped.
1337
1338 In my last mail I told that I can't sign. That's not true (anymore). I
1339 can sign but when I choose sign and encrypt there is no signature. Can't
1340 say whether this was a misinformation by me or is related to the latest
1341 pull.
1342
1343 All I can tell is that it worked like a charm since I use sup. It might
1344 be related to the change to GPGME.
1345
1346 --
1347 basti
1348
1349 Die Zwingburg des Privateigentums wird fallen und auf ihren Tr?mmer wird
1350 sich der Tempel des Kommunismus erheben.
1351 Alle Festungen des Staates werden kapitulieren m?ssen, und in herrlicher
1352 Gestalt wird sich zeigen der Genius der Anarchie.
1353 Wer diesen Idealen zuzuschreiten entschlossen ist, der reiche uns die
1354 H?nde!
1355 -- Johann Most
1356
1357 From garoth@gmail.com Tue Jan 25 11:24:16 2011
1358 From: garoth@gmail.com (Andrei Thorp)
1359 Date: Tue, 25 Jan 2011 11:24:16 -0500
1360 Subject: [sup-talk] Sup 0.12 released
1361 In-Reply-To: <1295321122-sup-9696@zyrg.net>
1362 References: <1295068347-sup-3453@zyrg.net>
1363 <AANLkTimE-40sx8xXxQbjz=Jok3FnWJZgmNTBiMObRahx@mail.gmail.com>
1364 <1295301694-sup-2240@eris> <1295321122-sup-9696@zyrg.net>
1365 Message-ID: <AANLkTik=GqXrK9WOtA7CQrU51Tyeq7AoBQ6rGHB4iepg@mail.gmail.com>
1366
1367 On Mon, Jan 17, 2011 at 10:36 PM, Rich Lane <rlane at club.cc.cmu.edu> wrote:
1368 > Excerpts from Philipp ?berbacher's message of Mon Jan 17 17:03:23 -0500 2011:
1369 >> There also seem to be huge problems building and installing sup 0.12,
1370 >> have a look here to get an idea how much frustration it already caused:
1371 >> http://aur.archlinux.org/packages.php?ID=26439
1372 >
1373 > I use Arch myself so I'm surprised there's been so much trouble
1374 > packaging for it. Does gettext need to be a gem dependency? I've
1375 > reconsidered the ncurses mess and master now requires ncursesw. I'm not
1376 > convinced an Arch package should be using xapian-full - I only made that
1377 > gem because I wanted the install process to be as simple as "gem install
1378 > sup". The normal Arch Xapian package should work fine.
1379
1380 Hey there Rich. I'm the package maintainer there and have certainly
1381 had a never-ending cascade of trouble packaging it. Stuff ranging from
1382 dire lack of aur packages for the dependencies (which prompted me to
1383 write a system to automatically create them) to broken dependencies to
1384 massive Sup errors in the upgrade to Ruby 1.9.
1385
1386 Anyway, I still can't get it to run even with 0.12.1. Here's the
1387 general situation (reposted partially from my comments there):
1388
1389 * use ruby-xapian-full
1390 * need gettext to be a gem and not a regular install... -- pacman -Rd
1391 your ruby-gettext and sudo gem install ruby-gettext (STILL A PROBLEM,
1392 SHOULD TALK TO THE MAINTAINER OF THAT PACKAGE)
1393 * gem install sup:
1394 - Won't install in local mode (i.e. into your ~), fyi (not that I care a lot)
1395 - Still attempts to build ncurses (which fails)? Why's that? If I
1396 override and install it without dependencies it seems to use ncursesw
1397 happily enough.
1398 * The new package throws up this runtime error without a .sup directory:
1399
1400 --- RuntimeError from thread: main
1401 can't modify frozen string
1402 /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/account.rb:54:in
1403 `force_encoding'
1404 /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/account.rb:54:in
1405 `block in add_account'
1406 /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/account.rb:54:in `each'
1407 /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/account.rb:54:in `add_account'
1408 /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/account.rb:38:in `initialize'
1409 /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/util.rb:613:in `new'
1410 /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/util.rb:613:in `init'
1411 /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup.rb:164:in `start'
1412 /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/bin/sup:153:in `<module:Redwood>'
1413 /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/bin/sup:69:in `<top (required)>'
1414 /usr/bin/sup:19:in `load'
1415 /usr/bin/sup:19:in `<main>'
1416
1417 The above I've seen to be bug 98 on the bugtracker... but for whatever
1418 reason, the bugtracker has been down for a week or two on my end.
1419
1420 What xapian package do you recommend using? Maybe that's the source of
1421 my problems.
1422
1423 From garoth@gmail.com Tue Jan 25 11:46:53 2011
1424 From: garoth@gmail.com (Andrei Thorp)
1425 Date: Tue, 25 Jan 2011 11:46:53 -0500
1426 Subject: [sup-talk] Sup 0.12 released
1427 In-Reply-To: <AANLkTik=GqXrK9WOtA7CQrU51Tyeq7AoBQ6rGHB4iepg@mail.gmail.com>
1428 References: <1295068347-sup-3453@zyrg.net>
1429 <AANLkTimE-40sx8xXxQbjz=Jok3FnWJZgmNTBiMObRahx@mail.gmail.com>
1430 <1295301694-sup-2240@eris> <1295321122-sup-9696@zyrg.net>
1431 <AANLkTik=GqXrK9WOtA7CQrU51Tyeq7AoBQ6rGHB4iepg@mail.gmail.com>
1432 Message-ID: <AANLkTi=QRBEFuj8EPHchoqDYL=SsAS2ZRt7=a-mM6tem@mail.gmail.com>
1433
1434 On Tue, Jan 25, 2011 at 11:24 AM, Andrei Thorp <garoth at gmail.com> wrote:
1435 > On Mon, Jan 17, 2011 at 10:36 PM, Rich Lane <rlane at club.cc.cmu.edu> wrote:
1436 >> Excerpts from Philipp ?berbacher's message of Mon Jan 17 17:03:23 -0500 2011:
1437 >>> There also seem to be huge problems building and installing sup 0.12,
1438 >>> have a look here to get an idea how much frustration it already caused:
1439 >>> http://aur.archlinux.org/packages.php?ID=26439
1440 >>
1441 >> I use Arch myself so I'm surprised there's been so much trouble
1442 >> packaging for it. Does gettext need to be a gem dependency? I've
1443 >> reconsidered the ncurses mess and master now requires ncursesw. I'm not
1444 >> convinced an Arch package should be using xapian-full - I only made that
1445 >> gem because I wanted the install process to be as simple as "gem install
1446 >> sup". The normal Arch Xapian package should work fine.
1447 >
1448 > Hey there Rich. I'm the package maintainer there and have certainly
1449 > had a never-ending cascade of trouble packaging it. Stuff ranging from
1450 > dire lack of aur packages for the dependencies (which prompted me to
1451 > write a system to automatically create them) to broken dependencies to
1452 > massive Sup errors in the upgrade to Ruby 1.9.
1453 >
1454 > Anyway, I still can't get it to run even with 0.12.1. Here's the
1455 > general situation (reposted partially from my comments there):
1456 >
1457 > * use ruby-xapian-full
1458 > * need gettext to be a gem and not a regular install... -- pacman -Rd
1459 > your ruby-gettext and sudo gem install ruby-gettext (STILL A PROBLEM,
1460 > SHOULD TALK TO THE MAINTAINER OF THAT PACKAGE)
1461 > * gem install sup:
1462 > ?- Won't install in local mode (i.e. into your ~), fyi (not that I care a lot)
1463 > ?- Still attempts to build ncurses (which fails)? Why's that? If I
1464 > override and install it without dependencies it seems to use ncursesw
1465 > happily enough.
1466 > * The new package throws up this runtime error without a .sup directory:
1467 >
1468 > --- RuntimeError from thread: main
1469 > can't modify frozen string
1470 > /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/account.rb:54:in
1471 > `force_encoding'
1472 > /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/account.rb:54:in
1473 > `block in add_account'
1474 > /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/account.rb:54:in `each'
1475 > /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/account.rb:54:in `add_account'
1476 > /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/account.rb:38:in `initialize'
1477 > /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/util.rb:613:in `new'
1478 > /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/util.rb:613:in `init'
1479 > /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup.rb:164:in `start'
1480 > /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/bin/sup:153:in `<module:Redwood>'
1481 > /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/bin/sup:69:in `<top (required)>'
1482 > /usr/bin/sup:19:in `load'
1483 > /usr/bin/sup:19:in `<main>'
1484 >
1485 > The above I've seen to be bug 98 on the bugtracker... but for whatever
1486 > reason, the bugtracker has been down for a week or two on my end.
1487 >
1488 > What xapian package do you recommend using? Maybe that's the source of
1489 > my problems.
1490
1491 It also likes to indulge in this error on occasion:
1492
1493 /usr/bin/ruby: symbol lookup error:
1494 /usr/lib/ruby/gems/1.9.1/gems/ncursesw-1.2.4.1/lib/ncursesw_bin.so:
1495 undefined symbol: STR2CSTR
1496
1497 From aidecoe@aidecoe.name Tue Jan 25 11:55:33 2011
1498 From: aidecoe@aidecoe.name (=?utf-8?q?Amadeusz_=C5=BBo=C5=82nowski?=)
1499 Date: Tue, 25 Jan 2011 17:55:33 +0100
1500 Subject: [sup-talk] un-archiving an archived mail
1501 In-Reply-To: <1295956639-sup-510@Otokar>
1502 References: <1295949814-sup-8566@pruts.nl> <1295951914-sup-9032@ittemni>
1503 <1295956639-sup-510@Otokar>
1504 Message-ID: <1295974275-sup-8649@ittemni>
1505
1506 Excerpts from Matthieu Rakotojaona's message of Tue Jan 25 13:03:38
1507 +0100 2011:
1508 > Excerpts from Amadeusz ?o?nowski's message of mar. janv. 25 11:41:14
1509 > +0100 2011:
1510 > > To access archived msgs you need to perform global search ('\' key).
1511 >
1512 > Specifically, how do you search for all your archives messages ? I
1513 > thought about something like "search for 'not this label'", but I
1514 > don't know how to do this.
1515
1516 Well, you almost never want to see all your mail. Big amount of
1517 information kills. You might want for example to search for all
1518 messages that you received after Monday and which are not in the inbox.
1519 You press '\' and type: "after:Mon AND NOT label:inbox" (without "").
1520
1521 Take a look at sup's wiki for more information on searching.
1522 --
1523 Amadeusz ?o?nowski
1524
1525 PGP key fpr: C700 CEDE 0C18 212E 49DA 4653 F013 4531 E1DB FAB5
1526 -------------- next part --------------
1527 A non-text attachment was scrubbed...
1528 Name: signature.asc
1529 Type: application/pgp-signature
1530 Size: 490 bytes
1531 Desc: not available
1532 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20110125/cf37fbcc/attachment.bin>
1533
1534 From marc.hartstein@alum.vassar.edu Tue Jan 25 12:25:24 2011
1535 From: marc.hartstein@alum.vassar.edu (Marc Hartstein)
1536 Date: Tue, 25 Jan 2011 12:25:24 -0500
1537 Subject: [sup-talk] un-archiving an archived mail
1538 In-Reply-To: <AANLkTimhrxGptBa2epDM0m56p6aidNRtAMp2+dZ7NPTc@mail.gmail.com>
1539 References: <1295949814-sup-8566@pruts.nl>
1540 <AANLkTimhrxGptBa2epDM0m56p6aidNRtAMp2+dZ7NPTc@mail.gmail.com>
1541 Message-ID: <1295976196-sup-7917@cabinet>
1542
1543 Excerpts from Wael M. Nasreddine's message of Tue Jan 25 05:34:32 -0500 2011:
1544 > Just add the inbox label to it ( move the cursor on the thread and press l,
1545 > l for like! and type inbox)
1546 >
1547 > This should work
1548
1549 Frustratingly, it doesn't. You can't add 'reserved' labels using 'l'.
1550
1551 I have no idea why that's the case, though.
1552 -------------- next part --------------
1553 A non-text attachment was scrubbed...
1554 Name: signature.asc
1555 Type: application/pgp-signature
1556 Size: 198 bytes
1557 Desc: not available
1558 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20110125/4804b853/attachment.bin>
1559
1560 From luislupe@gmail.com Tue Jan 25 19:00:38 2011
1561 From: luislupe@gmail.com (Luis P. Mendes)
1562 Date: Wed, 26 Jan 2011 00:00:38 +0000
1563 Subject: [sup-talk] Problem undefined symbol
1564 Message-ID: <AANLkTik+UZqxkFb3KpWR93+5b=BX4YrvwqFtwSUZTic7@mail.gmail.com>
1565
1566 Hi,
1567
1568 I installed sup version 12.1 and tried to run it.
1569 I'm using Slackware64 13.1 and had sup V 0.11 installed before.
1570
1571 $ sup
1572 [2011-01-25 23:52:33 +0000] WARNING: can't find character set by using
1573 locale, defaulting to utf-8
1574 /usr/bin/ruby: symbol lookup error:
1575 /usr/lib64/ruby/1.9.1/x86_64-linux/dl.so: undefined symbol:
1576 rb_dl_init_callbacks_5
1577
1578 $ cat sup-exception-log.txt
1579 /usr/lib64/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/index.rb:113:in `load_index'
1580 /usr/lib64/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/index.rb:93:in `load'
1581 /usr/lib64/ruby/gems/1.9.1/gems/sup-0.12.1/bin/sup-sync:100:in `<top
1582 (required)>'
1583 /usr/bin/sup-sync:19:in `load'
1584 /usr/bin/sup-sync:19:in `<main>'
1585
1586 What can I do to have sup running in my box?
1587
1588
1589 Luis
1590
1591 From tero@tilus.net Wed Jan 26 02:43:45 2011
1592 From: tero@tilus.net (Tero Tilus)
1593 Date: Wed, 26 Jan 2011 09:43:45 +0200
1594 Subject: [sup-talk] Problem undefined symbol
1595 In-Reply-To: <AANLkTik+UZqxkFb3KpWR93+5b=BX4YrvwqFtwSUZTic7@mail.gmail.com>
1596 References: <AANLkTik+UZqxkFb3KpWR93+5b=BX4YrvwqFtwSUZTic7@mail.gmail.com>
1597 Message-ID: <1296027550-sup-4996@tilus.net>
1598
1599 Luis P. Mendes, 2011-01-26 02:00:
1600 > I installed sup version 12.1 and tried to run it.
1601 > I'm using Slackware64 13.1 and had sup V 0.11 installed before.
1602
1603 Does 0.11 still work?
1604
1605 > $ sup
1606 > [2011-01-25 23:52:33 +0000] WARNING: can't find character set by using
1607 > locale, defaulting to utf-8
1608 > /usr/bin/ruby: symbol lookup error:
1609 > /usr/lib64/ruby/1.9.1/x86_64-linux/dl.so: undefined symbol:
1610 > rb_dl_init_callbacks_5
1611
1612 I'd guess you have either have your ruby or gem C extensions somehow
1613 fscked up. Error in lib/sup/index.rb suggests the problem might be
1614 xapian-related. Other than that I really have no idea whats going on.
1615 You could try both xapian and xapian-full gems (and uninstall the
1616 other one).
1617
1618 --
1619 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
1620
1621 From sup@zevv.nl Wed Jan 26 08:12:03 2011
1622 From: sup@zevv.nl (Ico Doornekamp)
1623 Date: Wed, 26 Jan 2011 14:12:03 +0100
1624 Subject: [sup-talk] Non-english outlook block quote regexp
1625 Message-ID: <1296046853-sup-2234@pruts.nl>
1626
1627 Hi,
1628
1629 I'm unfortunate enough to have regular correspondence with Dutch
1630 outlook-users, which is mostly annoying because of the way outlook
1631 handles quoting of original messages.
1632
1633 I found that Sup is able to handle block quotes from English outlook
1634 users where the regexp
1635
1636 ^-----\s*Original Message\s*----+$
1637
1638 is used to find out where the quote starts. This fails unfortunately for
1639 other languages, because the 'Original Mesage' text seems to be
1640 localized. In dutch for example, the text 'Oorspronkelik Bericht' is
1641 used instead.
1642
1643 Would it be an impovement to change this to a more generic regexp to
1644 match more languages. I was not able to find a complete list of possible
1645 strings used here, so some heuristics would be necassery.
1646
1647 Any opinions on matching the exact number of hashes, two uppercase words
1648 and again the exact number of hashes, something like:
1649
1650 ^-----\s*([A-Z][a-z]+\s*){2}----+$
1651
1652 Would that be safe to do ?
1653
1654
1655
1656 --
1657 :wq
1658 ^X^Cy^K^X^C^C^C^C
1659
1660 From wmorgan-sup@masanjin.net Wed Jan 26 10:50:15 2011
1661 From: wmorgan-sup@masanjin.net (William Morgan)
1662 Date: Wed, 26 Jan 2011 10:50:15 -0500
1663 Subject: [sup-talk] Sup 0.12 released
1664 In-Reply-To: <AANLkTik=GqXrK9WOtA7CQrU51Tyeq7AoBQ6rGHB4iepg@mail.gmail.com>
1665 References: <1295068347-sup-3453@zyrg.net>
1666 <AANLkTimE-40sx8xXxQbjz=Jok3FnWJZgmNTBiMObRahx@mail.gmail.com>
1667 <1295301694-sup-2240@eris> <1295321122-sup-9696@zyrg.net>
1668 <AANLkTik=GqXrK9WOtA7CQrU51Tyeq7AoBQ6rGHB4iepg@mail.gmail.com>
1669 Message-ID: <1296056218-sup-3756@masanjin.net>
1670
1671 Hi Andrei,
1672
1673 These problems are all 1.9 related. But I'm very interested in getting
1674 Sup working with 1.9, so let's see if we can figure something out.
1675
1676 Reformatted excerpts from Andrei Thorp's message of 2011-01-25:
1677 > * use ruby-xapian-full
1678
1679 You may not need this; see Rich's comments earlier.
1680
1681 > * need gettext to be a gem and not a regular install... -- pacman -Rd
1682 > your ruby-gettext and sudo gem install ruby-gettext (STILL A PROBLEM,
1683 > SHOULD TALK TO THE MAINTAINER OF THAT PACKAGE)
1684
1685 Perhaps the package has not been updated to 1.9?
1686
1687 > * gem install sup:
1688 > - Won't install in local mode (i.e. into your ~), fyi (not that I care a lot)
1689
1690 What is ther error? Sup shouldn't care where its source files go.
1691
1692 > - Still attempts to build ncurses (which fails)? Why's that? If I
1693 > override and install it without dependencies it seems to use ncursesw
1694 > happily enough.
1695
1696 This is weird. Sup doesn't depend on the ncurses gem any more. And that
1697 gem doesn't build under 1.9. Sup now depends on the ncursesw gem (which
1698 Rich has been releasing newer versions of) which *does* support 1.9.
1699
1700 > * The new package throws up this runtime error without a .sup directory:
1701 >
1702 > --- RuntimeError from thread: main
1703 > can't modify frozen string
1704 > /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/account.rb:54:in
1705 > `force_encoding'
1706
1707 This is the most troubling. I will see if I can figure out what's going
1708 on here. I've seen this before and it's another symptom of Ruby 1.9
1709 string insanity.
1710
1711 > The above I've seen to be bug 98 on the bugtracker... but for whatever
1712 > reason, the bugtracker has been down for a week or two on my end.
1713
1714 Due to spam reasons I've shut it down, at least for the time being.
1715
1716 > What xapian package do you recommend using? Maybe that's the source of
1717 > my problems.
1718
1719 I suspect not, given the above.
1720 --
1721 William <wmorgan-sup at masanjin.net>
1722
1723 From wmorgan-sup@masanjin.net Wed Jan 26 10:52:52 2011
1724 From: wmorgan-sup@masanjin.net (William Morgan)
1725 Date: Wed, 26 Jan 2011 10:52:52 -0500
1726 Subject: [sup-talk] Sup 0.12 released
1727 In-Reply-To: <AANLkTi=QRBEFuj8EPHchoqDYL=SsAS2ZRt7=a-mM6tem@mail.gmail.com>
1728 References: <1295068347-sup-3453@zyrg.net>
1729 <AANLkTimE-40sx8xXxQbjz=Jok3FnWJZgmNTBiMObRahx@mail.gmail.com>
1730 <1295301694-sup-2240@eris> <1295321122-sup-9696@zyrg.net>
1731 <AANLkTik=GqXrK9WOtA7CQrU51Tyeq7AoBQ6rGHB4iepg@mail.gmail.com>
1732 <AANLkTi=QRBEFuj8EPHchoqDYL=SsAS2ZRt7=a-mM6tem@mail.gmail.com>
1733 Message-ID: <1296057034-sup-1364@masanjin.net>
1734
1735 Reformatted excerpts from Andrei Thorp's message of 2011-01-25:
1736 > It also likes to indulge in this error on occasion:
1737 >
1738 > /usr/bin/ruby: symbol lookup error:
1739 > /usr/lib/ruby/gems/1.9.1/gems/ncursesw-1.2.4.1/lib/ncursesw_bin.so:
1740 > undefined symbol: STR2CSTR
1741
1742 Can you try with the 1.2.4.3? This is a 1.9 compability issue. If it's
1743 still not working, Rich may have an idea (Rich, perhaps compat.h is not
1744 being included somewhere?)
1745 --
1746 William <wmorgan-sup at masanjin.net>
1747
1748 From rlane@club.cc.cmu.edu Wed Jan 26 13:22:35 2011
1749 From: rlane@club.cc.cmu.edu (Rich Lane)
1750 Date: Wed, 26 Jan 2011 13:22:35 -0500
1751 Subject: [sup-talk] Sup 0.12 released
1752 In-Reply-To: <1296057034-sup-1364@masanjin.net>
1753 References: <1295068347-sup-3453@zyrg.net>
1754 <AANLkTimE-40sx8xXxQbjz=Jok3FnWJZgmNTBiMObRahx@mail.gmail.com>
1755 <1295301694-sup-2240@eris> <1295321122-sup-9696@zyrg.net>
1756 <AANLkTik=GqXrK9WOtA7CQrU51Tyeq7AoBQ6rGHB4iepg@mail.gmail.com>
1757 <AANLkTi=QRBEFuj8EPHchoqDYL=SsAS2ZRt7=a-mM6tem@mail.gmail.com>
1758 <1296057034-sup-1364@masanjin.net>
1759 Message-ID: <1296065958-sup-8939@zyrg.net>
1760
1761 Excerpts from William Morgan's message of 2011-01-26 10:52:52 -0500:
1762 > Reformatted excerpts from Andrei Thorp's message of 2011-01-25:
1763 > > It also likes to indulge in this error on occasion:
1764 > >
1765 > > /usr/bin/ruby: symbol lookup error:
1766 > > /usr/lib/ruby/gems/1.9.1/gems/ncursesw-1.2.4.1/lib/ncursesw_bin.so:
1767 > > undefined symbol: STR2CSTR
1768 >
1769 > Can you try with the 1.2.4.3? This is a 1.9 compability issue. If it's
1770 > still not working, Rich may have an idea (Rich, perhaps compat.h is not
1771 > being included somewhere?)
1772
1773 Yeah, 1.2.4.3 fixes compat.h not being included in menu_wrap.c.
1774
1775 From wmorgan-sup@masanjin.net Wed Jan 26 14:11:59 2011
1776 From: wmorgan-sup@masanjin.net (William Morgan)
1777 Date: Wed, 26 Jan 2011 14:11:59 -0500
1778 Subject: [sup-talk] Sup 0.12 released
1779 In-Reply-To: <1296065958-sup-8939@zyrg.net>
1780 References: <1295068347-sup-3453@zyrg.net>
1781 <AANLkTimE-40sx8xXxQbjz=Jok3FnWJZgmNTBiMObRahx@mail.gmail.com>
1782 <1295301694-sup-2240@eris> <1295321122-sup-9696@zyrg.net>
1783 <AANLkTik=GqXrK9WOtA7CQrU51Tyeq7AoBQ6rGHB4iepg@mail.gmail.com>
1784 <AANLkTi=QRBEFuj8EPHchoqDYL=SsAS2ZRt7=a-mM6tem@mail.gmail.com>
1785 <1296057034-sup-1364@masanjin.net> <1296065958-sup-8939@zyrg.net>
1786 Message-ID: <1296069110-sup-1872@masanjin.net>
1787
1788 Reformatted excerpts from Rich Lane's message of 2011-01-26:
1789 > Yeah, 1.2.4.3 fixes compat.h not being included in menu_wrap.c.
1790
1791 Damn I'm good.
1792 --
1793 William <wmorgan-sup at masanjin.net>
1794
1795 From dmishd@gmail.com Wed Jan 26 18:59:24 2011
1796 From: dmishd@gmail.com (Hamish D)
1797 Date: Wed, 26 Jan 2011 23:59:24 +0000
1798 Subject: [sup-talk] problem starting sup
1799 Message-ID: <AANLkTi=ZX0cT-fiT7DeETx7wbO77wZeLJk86_zhbkqGF@mail.gmail.com>
1800
1801 I have a strange problem when trying to start sup from master. I am
1802 running Ubuntu 10.10 x86_64. I have installed ruby and rubygems from
1803 the archive, but installed all the gems with "gem install" and sup is
1804 from git. I don't seem to be able to install xapian due to it looking
1805 for some 32 bit libraries on a path that doesn't exist on my 64 bit
1806 system, so I have installed the xapian-full gem, which installs fine.
1807
1808 When I start sup I get:
1809
1810 $ SUP_LOG_LEVEL=debug ruby -I /home/mish/dev/sup/sup-mainline/lib -w
1811 /home/mish/dev/sup/sup-mainline/bin/sup
1812 ...
1813 [Wed Jan 26 23:58:42 +0000 2011] locking /home/mish/.sup/lock...
1814 /home/mish/dev/sup/sup-mainline/lib/sup/index.rb:84: warning: instance
1815 variable @lock_update_thread not initialized
1816 /home/mish/dev/sup/sup-mainline/lib/sup/util.rb:602:in
1817 `method_missing': no Redwood::HookManager instance defined in method
1818 call to run! (RuntimeError)
1819 from /home/mish/dev/sup/sup-mainline/bin/sup:381
1820
1821 Any ideas?
1822
1823 Hamish Downer
1824
1825 From marco-oweber@gmx.de Wed Jan 26 19:24:24 2011
1826 From: marco-oweber@gmx.de (Marc Weber)
1827 Date: Thu, 27 Jan 2011 01:24:24 +0100
1828 Subject: [sup-talk] problem starting sup
1829 In-Reply-To: <AANLkTi=ZX0cT-fiT7DeETx7wbO77wZeLJk86_zhbkqGF@mail.gmail.com>
1830 References: <AANLkTi=ZX0cT-fiT7DeETx7wbO77wZeLJk86_zhbkqGF@mail.gmail.com>
1831 Message-ID: <1296087829-sup-1828@localhost.localdomain>
1832
1833 Excerpts from Hamish D's message of Thu Jan 27 00:59:24 +0100 2011:
1834 > Any ideas?
1835
1836 No, but you should talk about ruby --version output
1837 and the git version of sup you're using?
1838
1839 Marc Weber
1840
1841 From wmorgan-sup@masanjin.net Wed Jan 26 20:57:36 2011
1842 From: wmorgan-sup@masanjin.net (William Morgan)
1843 Date: Wed, 26 Jan 2011 20:57:36 -0500
1844 Subject: [sup-talk] problem starting sup
1845 In-Reply-To: <AANLkTi=ZX0cT-fiT7DeETx7wbO77wZeLJk86_zhbkqGF@mail.gmail.com>
1846 References: <AANLkTi=ZX0cT-fiT7DeETx7wbO77wZeLJk86_zhbkqGF@mail.gmail.com>
1847 Message-ID: <1296093042-sup-322@masanjin.net>
1848
1849 Reformatted excerpts from Hamish D's message of 2011-01-26:
1850 > `method_missing': no Redwood::HookManager instance defined in method
1851 > call to run! (RuntimeError)
1852 > from /home/mish/dev/sup/sup-mainline/bin/sup:381
1853
1854 This is masking another exception. Something is breaking before
1855 HookManager is initialized, and in rescuing from it, we try and run the
1856 shutdown hook, which of course dies.
1857
1858 Can you comment out that line? Or maybe try commenting out the three
1859 lines starting with rescue and ending with ensure at line 372 in
1860 bin/sup? This should at least unmask the exception.
1861
1862 Initting the hookmanager happens very early on in Sup, so I'm guessing
1863 there's something wrong with your config file or the log file (the only
1864 two things that happen before the hookmanager is brought up).
1865 --
1866 William <wmorgan-sup at masanjin.net>
1867
1868 From tero@tilus.net Thu Jan 27 08:29:22 2011
1869 From: tero@tilus.net (Tero Tilus)
1870 Date: Thu, 27 Jan 2011 15:29:22 +0200
1871 Subject: [sup-talk] Non-english outlook block quote regexp
1872 In-Reply-To: <1296046853-sup-2234@pruts.nl>
1873 References: <1296046853-sup-2234@pruts.nl>
1874 Message-ID: <1296131602-sup-9793@tilus.net>
1875
1876 Ico Doornekamp, 2011-01-26 15:12:
1877 > Any opinions on matching the exact number of hashes, two uppercase words
1878 > and again the exact number of hashes, something like:
1879 >
1880 > ^-----\s*([A-Z][a-z]+\s*){2}----+$
1881 >
1882 > Would that be safe to do ?
1883
1884 Prolly safe, but it misses german Outlook quote
1885
1886 "-------- Original-Nachricht --------"
1887
1888 and yes, it has different amount of dashes :-O Also it misses finnish
1889 quote (for two obvious reason).
1890
1891 "-----Alkuper?inen viesti-----"
1892
1893 Would ^-----+\s*\S+[ -]\S+\s*-----+$ do the trick and not give false
1894 positives?
1895
1896 ps. I have occasionaly thought of configurable quote etc. regexen.
1897 Would anybody else use such a feature? Or should we go all the way to
1898 state-transition-hook for state machine parsing message body? :)
1899
1900 --
1901 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
1902
1903 From michael+sup@stapelberg.de Thu Jan 27 10:00:10 2011
1904 From: michael+sup@stapelberg.de (Michael Stapelberg)
1905 Date: Thu, 27 Jan 2011 16:00:10 +0100
1906 Subject: [sup-talk] Non-english outlook block quote regexp
1907 In-Reply-To: <1296131602-sup-9793@tilus.net>
1908 References: <1296046853-sup-2234@pruts.nl> <1296131602-sup-9793@tilus.net>
1909 Message-ID: <1296140298-sup-9582@midna.zekjur.net>
1910
1911 Hi Tero,
1912
1913 Excerpts from Tero Tilus's message of 2011-01-27 14:29:22 +0100:
1914 > Prolly safe, but it misses german Outlook quote
1915 We also discussed this on IRC. Ico came up with a list of a few more
1916 (localized) messages. I suggested the most pragmatic solution: keeping this
1917 list around with a comment to send patches if anybody stumbles upon a new
1918 localized version of it.
1919
1920 I don?t really think a hook is a good way for this one because the user should
1921 not be the one who has to maintain an accurate and up-to-date list of these
1922 strings?
1923
1924 Best regards,
1925 Michael
1926
1927 From garoth@gmail.com Thu Jan 27 13:51:49 2011
1928 From: garoth@gmail.com (Andrei Thorp)
1929 Date: Thu, 27 Jan 2011 13:51:49 -0500
1930 Subject: [sup-talk] Sup 0.12 released
1931 In-Reply-To: <1296056218-sup-3756@masanjin.net>
1932 References: <1295068347-sup-3453@zyrg.net>
1933 <AANLkTimE-40sx8xXxQbjz=Jok3FnWJZgmNTBiMObRahx@mail.gmail.com>
1934 <1295301694-sup-2240@eris> <1295321122-sup-9696@zyrg.net>
1935 <AANLkTik=GqXrK9WOtA7CQrU51Tyeq7AoBQ6rGHB4iepg@mail.gmail.com>
1936 <1296056218-sup-3756@masanjin.net>
1937 Message-ID: <AANLkTi=MTP05C-ZVVi=q5+giXctgfZNtwGrgPQ_t6Ljn@mail.gmail.com>
1938
1939 On Wed, Jan 26, 2011 at 10:50 AM, William Morgan
1940 <wmorgan-sup at masanjin.net> wrote:
1941 > Hi Andrei,
1942 >
1943 > These problems are all 1.9 related. But I'm very interested in getting
1944 > Sup working with 1.9, so let's see if we can figure something out.
1945 >
1946 > Reformatted excerpts from Andrei Thorp's message of 2011-01-25:
1947 >> * use ruby-xapian-full
1948 >
1949 > You may not need this; see Rich's comments earlier.
1950
1951 Yeah, I tried it with regular xapian-ruby-bindings, but sup seems to
1952 insist on wanting "ruby-full" as a dependency. However, I haven't
1953 checked this just now, so I might be misremembering!
1954
1955 >
1956 >> * need gettext to be a gem and not a regular install... -- pacman -Rd
1957 >> your ruby-gettext and sudo gem install ruby-gettext (STILL A PROBLEM,
1958 >> SHOULD TALK TO THE MAINTAINER OF THAT PACKAGE)
1959 >
1960 > Perhaps the package has not been updated to 1.9?
1961
1962 The package is up to date, I think. It's just doing an actual source
1963 download and compile, so it's being installed in a non-gem format, if
1964 I understand correctly. Sup then doesn't find it. This should be
1965 something I can sort out myself though amongst the AUR. Again, not
1966 100% sure on this one.
1967
1968 >> * gem install sup:
1969 >> ? - Won't install in local mode (i.e. into your ~), fyi (not that I care a lot)
1970 >
1971 > What is ther error? Sup shouldn't care where its source files go.
1972
1973 Yeah, ignore this. I think rubygems changed the behaviour I used to
1974 remember where if you weren't sudo'd, it'd install as your local user
1975 in ~/.gems or something. Nothing to worry about.
1976
1977 >> ? - Still attempts to build ncurses (which fails)? Why's that? If I
1978 >> override and install it without dependencies it seems to use ncursesw
1979 >> happily enough.
1980 >
1981 > This is weird. Sup doesn't depend on the ncurses gem any more. And that
1982 > gem doesn't build under 1.9. Sup now depends on the ncursesw gem (which
1983 > Rich has been releasing newer versions of) which *does* support 1.9.
1984
1985 I did experience this, but for whatever reason, gem is taking ages at
1986 the moment so I can't test. Anyway, it doesn't matter for the package,
1987 since I ignore gem dependencies during install and get them from the
1988 Arch repos instead.
1989
1990 >> * The new package throws up this runtime error without a .sup directory:
1991 >>
1992 >> --- RuntimeError from thread: main
1993 >> can't modify frozen string
1994 >> /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/account.rb:54:in
1995 >> `force_encoding'
1996 >
1997 > This is the most troubling. I will see if I can figure out what's going
1998 > on here. I've seen this before and it's another symptom of Ruby 1.9
1999 > string insanity.
2000 >
2001 >> The above I've seen to be bug 98 on the bugtracker... but for whatever
2002 >> reason, the bugtracker has been down for a week or two on my end.
2003 >
2004 > Due to spam reasons I've shut it down, at least for the time being.
2005
2006 Ew, spam :(
2007
2008 >> What xapian package do you recommend using? Maybe that's the source of
2009 >> my problems.
2010 >
2011 > I suspect not, given the above.
2012
2013 PHENOMENAL NEWS! For the first time in ages, Sup now works properly on
2014 Archlinux with ruby 1.9. The update to ncursesw fixes the frozen
2015 string issue, and sup seems to be running properly! Fantastic! Ahh,
2016 it's so pretty and blue. :D
2017
2018 Anyway, so hopefully things should be smoother now since Ruby should
2019 be more stable and its libs are finally catching up. It's been a bit
2020 of a pain to get sup to run on Arch in the past, but hopefully that's
2021 largely behind us now. Thanks everyone.
2022
2023 From garoth@gmail.com Thu Jan 27 14:16:44 2011
2024 From: garoth@gmail.com (Andrei Thorp)
2025 Date: Thu, 27 Jan 2011 14:16:44 -0500
2026 Subject: [sup-talk] Need a simple check / nice error message for user error
2027 on mbox being a dir
2028 Message-ID: <AANLkTimwsQMLrpLgtWKjZ6A35b81MrR9Tomxq67VD3dr@mail.gmail.com>
2029
2030 Scanning mbox:/var/spool/mail/thought...
2031 /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/mbox.rb:155:in
2032 `gets': Is a directory - /var/spool/mail/thought (Errno::EISDIR)
2033 from /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/mbox.rb:155:in
2034 `block in next_offset'
2035 from <internal:prelude>:10:in `synchronize'
2036 from /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/mbox.rb:152:in
2037 `next_offset'
2038 from /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/mbox.rb:169:in
2039 `first_new_message'
2040 from /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/mbox.rb:139:in `poll'
2041 from /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/poll.rb:155:in
2042 `poll_from'
2043 from /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/util.rb:609:in
2044 `method_missing'
2045 from /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/bin/sup-sync:123:in
2046 `block in <top (required)>'
2047 from /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/bin/sup-sync:118:in `each'
2048 from /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/bin/sup-sync:118:in
2049 `<top (required)>'
2050 from /usr/bin/sup-sync:19:in `load'
2051 from /usr/bin/sup-sync:19:in `<main>'
2052
2053 Obviously a simple user error here. Would be nice if sup knew to throw
2054 a nicer error here. Not a big deal!
2055
2056 From tero@tilus.net Thu Jan 27 15:59:00 2011
2057 From: tero@tilus.net (Tero Tilus)
2058 Date: Thu, 27 Jan 2011 22:59:00 +0200
2059 Subject: [sup-talk] Need a simple check / nice error message for user
2060 error on mbox being a dir
2061 In-Reply-To: <AANLkTimwsQMLrpLgtWKjZ6A35b81MrR9Tomxq67VD3dr@mail.gmail.com>
2062 References: <AANLkTimwsQMLrpLgtWKjZ6A35b81MrR9Tomxq67VD3dr@mail.gmail.com>
2063 Message-ID: <1296161278-sup-5120@tilus.net>
2064
2065 Andrei Thorp, 2011-01-27 21:16:
2066 > Scanning mbox:/var/spool/mail/thought...
2067 > /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/mbox.rb:155:in
2068 > `gets': Is a directory - /var/spool/mail/thought (Errno::EISDIR)
2069 ...
2070 > Obviously a simple user error here. Would be nice if sup knew to throw
2071 > a nicer error here. Not a big deal!
2072
2073 Did you mean sup should detect if mbox source actually points to a
2074 maildir (was /var/spool/mail/thought a maildir?) and suggest a
2075 correction to configuration or that sup wouldn't crash but reported
2076 "/var/spool/mail/thought Is a directory. File was expected."
2077
2078 --
2079 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
2080
2081 From sup@zevv.nl Fri Jan 28 04:24:22 2011
2082 From: sup@zevv.nl (Ico Doornekamp)
2083 Date: Fri, 28 Jan 2011 10:24:22 +0100
2084 Subject: [sup-talk] Non-english outlook block quote regexp
2085 In-Reply-To: <1296140298-sup-9582@midna.zekjur.net>
2086 References: <1296046853-sup-2234@pruts.nl> <1296131602-sup-9793@tilus.net>
2087 <1296140298-sup-9582@midna.zekjur.net>
2088 Message-ID: <1296206571-sup-1285@pruts.nl>
2089
2090 * On Thu Jan 27 16:00:10 +0100 2011, Michael Stapelberg wrote:
2091
2092 > Excerpts from Tero Tilus's message of 2011-01-27 14:29:22 +0100:
2093 > > Prolly safe, but it misses german Outlook quote
2094 > We also discussed this on IRC. Ico came up with a list of a few more
2095 > (localized) messages. I suggested the most pragmatic solution: keeping
2096 > this list around with a comment to send patches if anybody stumbles
2097 > upon a new localized version of it.
2098
2099 Yes, that's probably the most pragmatic way to go. It's a shame that MUA
2100 type A is forced to keep a list of possible ramblings of MUA type B to
2101 do it's work, but that's the way it is.
2102
2103 --
2104 :wq
2105 ^X^Cy^K^X^C^C^C^C
2106
2107 From support@plecavalier.com Sat Jan 29 10:20:38 2011
2108 From: support@plecavalier.com (Philippe LeCavalier)
2109 Date: Sat, 29 Jan 2011 09:20:38 -0600
2110 Subject: [sup-talk] illegible encoding when exiting vim
2111 Message-ID: <20110129092038.6798sdxsmc04oko8@webmail.plecavalier.com>
2112
2113 Hi All.
2114
2115 I'm new to Sup. I'm almost switched over from Evo -yes. drastic
2116 change, I know- All but one issues remains. When I exit vim and return
2117 to the compose-mode window, hundreds of lines of illegible encoding is
2118 added to the bottom of the msg. I imagine I'm not the firs to
2119 encounter this. My first guess was the encoding support but adding
2120 ncursesw didn't do anything other than suppress the warning of the
2121 missing gem in the log buffer.
2122
2123 My relevant system info is here[1]. If I forgot anything please ask.
2124 Thanks in advance for any guidance.
2125
2126 [1] http://paste.debian.net/106026/
2127
2128 Cheers,
2129 Phil
2130
2131
2132 From marc.hartstein@alum.vassar.edu Sat Jan 29 12:31:07 2011
2133 From: marc.hartstein@alum.vassar.edu (Marc Hartstein)
2134 Date: Sat, 29 Jan 2011 12:31:07 -0500
2135 Subject: [sup-talk] crypto-mode hook fragment to sign if from address can be
2136 signed
2137 Message-ID: <1296322007-sup-3060@cabinet>
2138
2139 I wrote this crypto-mode hook fragment so sup will default to Sign when
2140 it has selected a from address for the outgoing email for which I have a
2141 key which can sign emails. I have an occasionally used address for
2142 outgoing mail which is not associated with my private key and which only
2143 posts to a mailing list which complains about signed email anyway, so
2144 this makes my life easier.
2145
2146 Posted to share if anybody else finds it useful, and also to solicit
2147 suggestions for improvements. It works as-is, but I'm neither a Ruby nor
2148 GPG expert and wouldn't be surprised to learn there's a better way.
2149
2150 ======================================================================
2151 sign_addresses = `gpg -K`.grep(/<(.*)>/){$1}
2152 crypto_selector.set_to :sign if not sign_addresses.select{|a| header["From"].include?(a) }.empty?
2153 -------------- next part --------------
2154 A non-text attachment was scrubbed...
2155 Name: signature.asc
2156 Type: application/pgp-signature
2157 Size: 198 bytes
2158 Desc: not available
2159 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20110129/86f50389/attachment.bin>
2160
2161 From fedzor@gmail.com Sat Jan 29 12:47:16 2011
2162 From: fedzor@gmail.com (fedzor)
2163 Date: Sat, 29 Jan 2011 12:47:16 -0500
2164 Subject: [sup-talk] Adding Sources
2165 Message-ID: <9E351CF2-F2A4-4CDB-8E88-0AEEACF9BB8A@gmail.com>
2166
2167 Hey,
2168
2169 I got sup to work finally. It took me a while because xapian and xapian-full weren't playing well together. I feel like just dropping it for a couple months was really good because it feels like the two libraries took that time to work out their differences and come to an agreement.
2170
2171 Now, it's time to add sources. But sup has changed since I last used it! I read my email from four IMAP boxes. In my experience, IMAP is incredibly shitty and servers bug out all the fucking time and they just kinda do whatever they want. According to the source code, William has a similar sentiment.
2172
2173 Despite my frustrations with it, I was still surprised not to see an IMAP option for sup-config.
2174
2175 What's the recommended way to read my IMAP mailboxes?
2176
2177 Thanks,
2178 Ari Brown
2179
2180 From michael+sup@stapelberg.de Sat Jan 29 13:16:57 2011
2181 From: michael+sup@stapelberg.de (Michael Stapelberg)
2182 Date: Sat, 29 Jan 2011 19:16:57 +0100
2183 Subject: [sup-talk] Adding Sources
2184 In-Reply-To: <9E351CF2-F2A4-4CDB-8E88-0AEEACF9BB8A@gmail.com>
2185 References: <9E351CF2-F2A4-4CDB-8E88-0AEEACF9BB8A@gmail.com>
2186 Message-ID: <1296324992-sup-8810@midna.zekjur.net>
2187
2188 Hi fedzor,
2189
2190 Excerpts from fedzor's message of 2011-01-29 18:47:16 +0100:
2191 > What's the recommended way to read my IMAP mailboxes?
2192 offlineimap
2193
2194 Best regards,
2195 Michael
2196
2197 From support@plecavalier.com Sat Jan 29 13:19:22 2011
2198 From: support@plecavalier.com (Philippe LeCavalier)
2199 Date: Sat, 29 Jan 2011 12:19:22 -0600
2200 Subject: [sup-talk] Adding Sources
2201 In-Reply-To: <1296324992-sup-8810@midna.zekjur.net>
2202 References: <9E351CF2-F2A4-4CDB-8E88-0AEEACF9BB8A@gmail.com>
2203 <1296324992-sup-8810@midna.zekjur.net>
2204 Message-ID: <20110129121922.wr0vgv5ggk448wgs@webmail.plecavalier.com>
2205
2206 Quoting Michael Stapelberg <michael+sup at stapelberg.de>:
2207
2208 > Hi fedzor,
2209 >
2210 > Excerpts from fedzor's message of 2011-01-29 18:47:16 +0100:
2211 >> What's the recommended way to read my IMAP mailboxes?
2212 > offlineimap
2213 >
2214 +1 there's no substitute.
2215 Phil
2216
2217 From tero@tilus.net Sat Jan 29 13:45:54 2011
2218 From: tero@tilus.net (Tero Tilus)
2219 Date: Sat, 29 Jan 2011 20:45:54 +0200
2220 Subject: [sup-talk] Adding Sources
2221 In-Reply-To: <9E351CF2-F2A4-4CDB-8E88-0AEEACF9BB8A@gmail.com>
2222 References: <9E351CF2-F2A4-4CDB-8E88-0AEEACF9BB8A@gmail.com>
2223 Message-ID: <1296325142-sup-5672@tilus.net>
2224
2225 fedzor, 2011-01-29 19:47:
2226 > I got sup to work finally. It took me a while because xapian and
2227 > xapian-full weren't playing well together.
2228
2229 Afaik they aren't supposed to play _together_. They provide the same
2230 functionality (ruby bindings to xapian). One (xapian) links against
2231 system xapian lib and you need it (+ xapian devel stuff if packaged
2232 separately) installed and the other (xapian-full) comes bundled with
2233 (as the name suggests) full xapian and doesn't have external
2234 dependencies with respect to it.
2235
2236 > What's the recommended way to read my IMAP mailboxes?
2237
2238 You use an offline synchronizer to pull mail from IMAP to local
2239 Maildir storage. See
2240
2241 http://sup.rubyforge.org/wiki/wiki.pl?TriggeringMailCollection
2242
2243 --
2244 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
2245
2246 From tero@tilus.net Sat Jan 29 13:50:54 2011
2247 From: tero@tilus.net (Tero Tilus)
2248 Date: Sat, 29 Jan 2011 20:50:54 +0200
2249 Subject: [sup-talk] crypto-mode hook fragment to sign if from address
2250 can be signed
2251 In-Reply-To: <1296322007-sup-3060@cabinet>
2252 References: <1296322007-sup-3060@cabinet>
2253 Message-ID: <1296326853-sup-891@tilus.net>
2254
2255 Marc Hartstein, 2011-01-29 19:31:
2256 > Posted to share if anybody else finds it useful
2257
2258 Throw it up to wiki
2259
2260 http://sup.rubyforge.org/wiki/wiki.pl?GPG
2261
2262 Looks like there are other crypto-mode hook fragments at the end of
2263 the page already.
2264
2265 --
2266 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
2267
2268 From tero@tilus.net Sat Jan 29 14:00:48 2011
2269 From: tero@tilus.net (Tero Tilus)
2270 Date: Sat, 29 Jan 2011 21:00:48 +0200
2271 Subject: [sup-talk] illegible encoding when exiting vim
2272 In-Reply-To: <20110129092038.6798sdxsmc04oko8@webmail.plecavalier.com>
2273 References: <20110129092038.6798sdxsmc04oko8@webmail.plecavalier.com>
2274 Message-ID: <1296327468-sup-4848@tilus.net>
2275
2276 Philippe LeCavalier, 2011-01-29 17:20:
2277 > When I exit vim and return to the compose-mode window, hundreds of
2278 > lines of illegible encoding is added to the bottom of the msg.
2279
2280 Could you provide a screenshots (minimal mail in vim, compose-mode
2281 after vim) demonstrating the behavior you described.
2282
2283 > If I forgot anything please ask.
2284
2285 $ ruby --version
2286
2287 --
2288 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
2289
2290 From tero@tilus.net Sat Jan 29 17:46:27 2011
2291 From: tero@tilus.net (Tero Tilus)
2292 Date: Sun, 30 Jan 2011 00:46:27 +0200
2293 Subject: [sup-talk] illegible encoding when exiting vim
2294 In-Reply-To: <20110129141920.nfxc8118ysss0840@webmail.plecavalier.com>
2295 References: <20110129092038.6798sdxsmc04oko8@webmail.plecavalier.com>
2296 <1296327468-sup-4848@tilus.net>
2297 <20110129141920.nfxc8118ysss0840@webmail.plecavalier.com>
2298 Message-ID: <1296340383-sup-5241@tilus.net>
2299
2300 Philippe LeCavalier, 2011-01-29 22:19:
2301 > See attached.
2302
2303 Holy crap! That's most likely a jpeg image right there. At the top
2304 you can see a snippet of XMP metadata. After that there's app data
2305 segment, which apparently contains embedded ICC profile.
2306
2307 How did you do that?! :-O
2308
2309 You could do some more debugging. Save the message in vim, check the
2310 filename, but do not exit. Go check the contents of the file using
2311 another editor or a pager. What do you see?
2312
2313 If you re-enter vim from reply-mode, does the (supposedly raw jpeg
2314 image) garbage appear in editor?
2315
2316 --
2317 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
2318
2319 From dmishd@gmail.com Sun Jan 30 18:04:58 2011
2320 From: dmishd@gmail.com (Hamish)
2321 Date: Sun, 30 Jan 2011 23:04:58 +0000
2322 Subject: [sup-talk] gpg-options.rb: how to set always_trust
2323 In-Reply-To: <1295820417-sup-1526@fly>
2324 References: <1295770743-sup-9363@fly>
2325 <AANLkTimJZiRE31R5KJBdqZv5L17qhKeLjbO4fWM5LfD2@mail.gmail.com>
2326 <1295820417-sup-1526@fly>
2327 Message-ID: <1296428275-sup-8599@whisper>
2328
2329 Excerpts from Sebastian Lipp's message of Sun Jan 23 22:09:01 +0000 2011:
2330 > Excerpts from Hamish D's message of So Jan 23 11:47:32 +0100 2011:
2331 > > if operation == "encrypt"
2332 > > options.merge({:always_trust => true})
2333 > > end
2334 > > options
2335 >
2336 > That is exactly what I was looking for. Thanks.
2337
2338 I've discovered that it actually needs to be
2339
2340 if operation == "encrypt"
2341 options.merge!({:always_trust => true})
2342 end
2343 options
2344
2345 I've updated the wiki aswell. The difference is using merge! rather than
2346 merge - I discovered this while tracking down your other issue:
2347
2348 > But another problem popped up. Now I can't sign any message. It makes no
2349 > difference if gpg-options.rb is there or not. There is also no difference in
2350 > choosing sign or sign and encrypt. There are no messages about that in
2351 > the log even with debugging turned on. Have I found a bug?
2352
2353 This bug is now fixed in the next branch (and the gpgme branch). Someone
2354 should hopefully merge this into master soon.
2355
2356 http://rubyforge.org/pipermail/sup-devel/2011-January/000965.html
2357
2358 Hamish Downer
2359
2360 From dmishd@gmail.com Sun Jan 30 18:07:02 2011
2361 From: dmishd@gmail.com (Hamish D)
2362 Date: Sun, 30 Jan 2011 23:07:02 +0000
2363 Subject: [sup-talk] problem starting sup
2364 In-Reply-To: <1296093042-sup-322@masanjin.net>
2365 References: <AANLkTi=ZX0cT-fiT7DeETx7wbO77wZeLJk86_zhbkqGF@mail.gmail.com>
2366 <1296093042-sup-322@masanjin.net>
2367 Message-ID: <AANLkTi=eZojPJvMB4=AqWPm_MhyvhCoa5Qfq3bNCm+rm@mail.gmail.com>
2368
2369 > Initting the hookmanager happens very early on in Sup, so I'm guessing
2370 > there's something wrong with your config file or the log file (the only
2371 > two things that happen before the hookmanager is brought up).
2372
2373 I moved .sup out of the way and the error went away. Then with playing
2374 with it I managed to delete the .sup directory that caused the errors
2375 :/ If I ever happen to reproduce this I'll know what to do anyway.
2376
2377 Hamish
2378