community/pipermail-archives/sup-talk/2007-10.txt (185000B) - raw
1 From kevin.mark@verizon.net Mon Oct 1 03:14:03 2007
2 From: kevin.mark@verizon.net (Kevin Mark)
3 Date: Mon, 1 Oct 2007 03:14:03 -0400
4 Subject: [sup-talk] Feature request
5 Message-ID: <20071001071403.GB21869@horacrux>
6
7 Hi,
8 I was finally thinking about what I think is a good workflow or at least
9 one that parallels mutt, which is the other MUA that I use. In SUP, I
10 think the best feature to add would be this:
11
12 having 'A' (which is used to archive the currently viewed message and
13 then send the user back to the main view) and instead of having it exit
14 to the main view, have it proceed to the next unread message.
15
16 This would allow folks to just press 'A' many times while cycling
17 through many unread messages.
18
19 -K
20 --
21 | .''`. == Debian GNU/Linux == | my web site: |
22 | : :' : The Universal |mysite.verizon.net/kevin.mark/|
23 | `. `' Operating System | go to counter.li.org and |
24 | `- http://www.debian.org/ | be counted! #238656 |
25 | my keyserver: subkeys.pgp.net | my NPO: cfsg.org |
26 |join the new debian-community.org to help Debian! |
27 |_______ Unless I ask to be CCd, assume I am subscribed _______|
28
29 From edward@edwardog.net Wed Oct 3 00:06:10 2007
30 From: edward@edwardog.net (Edward Ocampo-Gooding)
31 Date: Wed, 03 Oct 2007 00:06:10 -0400
32 Subject: [sup-talk] sending mail; setting smtp server
33 Message-ID: <47031532.800@edwardog.net>
34
35 Hi Folks,
36
37 William: thanks for writing Sup; while it's still got a few wrinkles in it (it'd
38 be really nice to have an auto-completion thing for contact addresses), I think
39 this thing is going to be really cool.
40
41 I'm wondering how I go about setting the smtp server with which to send email -
42 I didn't see it covered in the readme or faq, so if someone could clarify that,
43 I'd really appreciate it. As it stands, Sup is trying to use sendmail as it's
44 setup in config.yml, but is failing silently and marking my messages as sent.
45
46 Thanks again,
47 Edward
48
49 From itaylor@uark.edu Wed Oct 3 01:17:21 2007
50 From: itaylor@uark.edu (Ian Taylor)
51 Date: Wed, 03 Oct 2007 01:17:21 -0400
52 Subject: [sup-talk] sending mail; setting smtp server
53 In-Reply-To: <47031532.800@edwardog.net>
54 References: <47031532.800@edwardog.net>
55 Message-ID: <1191387834-sup-8016@silver>
56
57 Excerpts from Edward Ocampo-Gooding's message of Wed Oct 03 00:06:10 -0400 2007:
58 > Hi Folks,
59 >
60 > William: thanks for writing Sup; while it's still got a few wrinkles in it
61 > (it'd
62 > be really nice to have an auto-completion thing for contact addresses), I think
63 > this thing is going to be really cool.
64
65 He recently told me this was implemented and I think it autocompletes
66 from your ~/.sup/contacts.txt, so you'll have to add entries there.
67
68 > I'm wondering how I go about setting the smtp server with which to send email -
69 > I didn't see it covered in the readme or faq, so if someone could clarify that,
70 > I'd really appreciate it. As it stands, Sup is trying to use sendmail as it's
71 > setup in config.yml, but is failing silently and marking my messages as sent.
72
73 Here's how I'm doing it.
74
75 I used to use nbsmtp, but not I'm using msmtp.
76
77 I actually send mail out through different smtp servers for each
78 account (through various ssh port forwards, etc), so I set up my
79 ~/.msmtprc with multiple accounts defined.
80
81 In ~/.sup/config.yaml:
82
83 :accounts:
84 :someaccount:
85 :sendmail: msmtp --account=[NAME_OF_ACCOUNT_IN_SMTPRC] -t
86
87 --
88 Ian Taylor
89
90 From vasudeva@linkswarm.com Wed Oct 3 13:51:24 2007
91 From: vasudeva@linkswarm.com (vasudeva)
92 Date: Wed, 3 Oct 2007 13:51:24 -0400
93 Subject: [sup-talk] Knowledge Store?
94 In-Reply-To: <1191387834-sup-8016@silver>
95 References: <47031532.800@edwardog.net> <1191387834-sup-8016@silver>
96 Message-ID: <20071003175124.GB27709@lenin.sovietwar.org>
97
98 * on 10-03-07, Ian Taylor wrote:
99 > Excerpts from Edward Ocampo-Gooding's message of Wed Oct 03
100 > 00:06:10 -0400 2007:
101 > > I'm wondering how I go about setting the smtp server with which
102 > > to send email - I didn't see it covered in the readme or faq, so
103 > > if someone could clarify that, I'd really appreciate it. As it
104 > > stands, Sup is trying to use sendmail as it's setup in
105 > > config.yml, but is failing silently and marking my messages as
106 > > sent.
107 >
108 > Here's how I'm doing it.
109 >
110 > I used to use nbsmtp, but not I'm using msmtp.
111 >
112 > I actually send mail out through different smtp servers for each
113 > account (through various ssh port forwards, etc), so I set up my
114 > ~/.msmtprc with multiple accounts defined.
115 >
116 > In ~/.sup/config.yaml:
117 >
118 > :accounts:
119 > :someaccount:
120 > :sendmail: msmtp --account=[NAME_OF_ACCOUNT_IN_SMTPRC] -t
121
122 I can't be the only one wondering who's going to be the first to set
123 up a wiki somewhere, so we can store and maintain all these little
124 snippets of wisdom, without trawling through the README, FAQ, and
125 mailing list.
126
127 (Yes, I realize this is essentially me volunteering self for this
128 purpose, but I just couldn't take it any longer. If anyone else'd
129 rather...)
130
131
132
133 /></
134
135 --
136 linkswarm.com :: Collaborative Insolence
137 vasudeva.linkswarm.com/gallery :: For The Faint of Heart
138
139
140 From wmorgan-sup@masanjin.net Wed Oct 3 17:13:51 2007
141 From: wmorgan-sup@masanjin.net (William Morgan)
142 Date: Wed, 03 Oct 2007 14:13:51 -0700
143 Subject: [sup-talk] Knowledge Store?
144 In-Reply-To: <20071003175124.GB27709@lenin.sovietwar.org>
145 References: <47031532.800@edwardog.net> <1191387834-sup-8016@silver>
146 <20071003175124.GB27709@lenin.sovietwar.org>
147 Message-ID: <1191445791-sup-8649@south>
148
149 Excerpts from vasudeva's message of Wed Oct 03 10:51:24 -0700 2007:
150 > I can't be the only one wondering who's going to be the first to set
151 > up a wiki somewhere, so we can store and maintain all these little
152 > snippets of wisdom, without trawling through the README, FAQ, and
153 > mailing list.
154
155 Ask and ye shall receive. http://sup.rubyforge.org/wiki/wiki.pl
156
157 Also accepting patches to the FAQ!
158
159 --
160 William <wmorgan-sup at masanjin.net>
161
162 From wmorgan-sup@masanjin.net Wed Oct 3 17:44:05 2007
163 From: wmorgan-sup@masanjin.net (William Morgan)
164 Date: Wed, 03 Oct 2007 14:44:05 -0700
165 Subject: [sup-talk] sending mail; setting smtp server
166 In-Reply-To: <1191387834-sup-8016@silver>
167 References: <47031532.800@edwardog.net> <1191387834-sup-8016@silver>
168 Message-ID: <1191446135-sup-2701@south>
169
170 Excerpts from Ian Taylor's message of Tue Oct 02 22:17:21 -0700 2007:
171 > He recently told me this was implemented and I think it autocompletes
172 > from your ~/.sup/contacts.txt, so you'll have to add entries there.
173
174 Pretty much. Any To: prompt that Sup provides should auto-complete on
175 both your contact list and on the 10 most recent contacts. So you should
176 always see stuff when you hit tab unless you have no messages in your
177 index.
178
179 BTW, you shouldn't have to edit contacts.txt by hand. If you hit 'i'
180 when highlighting an email address in thread-view-mode, that works like
181 Mutt's alias.
182
183 --
184 William <wmorgan-sup at masanjin.net>
185
186 From wmorgan-sup@masanjin.net Wed Oct 3 17:52:42 2007
187 From: wmorgan-sup@masanjin.net (William Morgan)
188 Date: Wed, 03 Oct 2007 14:52:42 -0700
189 Subject: [sup-talk] sending mail; setting smtp server
190 In-Reply-To: <47031532.800@edwardog.net>
191 References: <47031532.800@edwardog.net>
192 Message-ID: <1191447868-sup-1612@south>
193
194 Excerpts from Edward Ocampo-Gooding's message of Tue Oct 02 21:06:10 -0700 2007:
195 > I'm wondering how I go about setting the smtp server with which to
196 > send email - I didn't see it covered in the readme or faq, so if
197 > someone could clarify that, I'd really appreciate it.
198
199 Sup calls out to a sendmail binary rather than talking SMTP directly. So
200 you will have to configure your system to do the right thing. On Debian
201 and Debian-based systems there are nice configuration scripts for
202 telling sendmail to relay all outgoing email to a smarthost, deliver it
203 directly, etc.
204
205 > As it stands, Sup is trying to use sendmail as it's setup in
206 > config.yml, but is failing silently and marking my messages as sent.
207
208 Sup checks whether the command failed and should tell you if so. Do you
209 have a sendmail binary that's just eating the mail, or is Sup somehow
210 screwing up the system call return value check?
211
212
213 --
214 William <wmorgan-sup at masanjin.net>
215
216 From itaylor@uark.edu Wed Oct 3 20:55:02 2007
217 From: itaylor@uark.edu (Ian Taylor)
218 Date: Wed, 03 Oct 2007 20:55:02 -0400
219 Subject: [sup-talk] wiki
220 Message-ID: <1191459239-sup-1041@silver>
221
222 Is there a description of the wiki syntax available for this particular wiki?
223
224 --
225 Ian Taylor
226
227 From wmorgan-sup@masanjin.net Thu Oct 4 12:20:53 2007
228 From: wmorgan-sup@masanjin.net (William Morgan)
229 Date: Thu, 04 Oct 2007 09:20:53 -0700
230 Subject: [sup-talk] Feature request
231 In-Reply-To: <20071001071403.GB21869@horacrux>
232 References: <20071001071403.GB21869@horacrux>
233 Message-ID: <1191514531-sup-8566@south>
234
235 Excerpts from Kevin Mark's message of Mon Oct 01 00:14:03 -0700 2007:
236 > having 'A' (which is used to archive the currently viewed message and
237 > then send the user back to the main view) and instead of having it
238 > exit to the main view, have it proceed to the next unread message.
239
240 You're about the third person to request this, so I guess I will have to
241 actually do it at some point. :)
242
243 --
244 William <wmorgan-sup at masanjin.net>
245
246 From wmorgan-sup@masanjin.net Fri Oct 5 17:34:31 2007
247 From: wmorgan-sup@masanjin.net (William Morgan)
248 Date: Fri, 05 Oct 2007 14:34:31 -0700
249 Subject: [sup-talk] sending mail; setting smtp server
250 In-Reply-To: <1191447868-sup-1612@south>
251 References: <47031532.800@edwardog.net> <1191447868-sup-1612@south>
252 Message-ID: <1191619979-sup-726@south>
253
254 Excerpts from William Morgan's message of Wed Oct 03 14:52:42 -0700 2007:
255 > Sup calls out to a sendmail binary rather than talking SMTP directly.
256
257 To be clear, it would be possible to have Sup talk SMTP directly, if
258 that were beneficial to people. I like handing off work to other
259 software when possible, and I figured most Sup users would have a
260 working sendmail, but I could be wrong. What do people think?
261
262 --
263 William <wmorgan-sup at masanjin.net>
264
265 From steve.shreeve@gmail.com Sat Oct 6 04:34:55 2007
266 From: steve.shreeve@gmail.com (Steve Shreeve)
267 Date: Sat, 6 Oct 2007 01:34:55 -0700
268 Subject: [sup-talk] Question regarding Maildir (and possible patch?)
269 Message-ID: <001601c807f3$c6bafe10$650aa8c0@ocean>
270
271 Sup looks great!
272
273 Tonight, I tried to configure it for a pretty large Maildir setup (about 250,000 messages and nearly 1,500 mailboxes for one user). When I went to import (ie - index) these messages, it failed. As I looked into it, I realized that sup was only looking at the top-level Maildir cur and new folders for messages. In my dovecot setup, each mailbox has it's own subdirectory, containing its own Maildir cur and new directories. Since it seems sup is only looking at the top-level Maildir cur and new directories, none of my mailboxes are indexed. Since I prefer not to manually add all 1,500 mailboxes as "sources" for sup, I modified maildir.rb as follows to allow sup to dive into mailboxes.
274
275 I've not fully tested this (it's still indexing messages!), but I wanted to check to see if this approach is okay or ill advised.
276
277 Cheers,
278
279 Steve
280
281
282
283 ==[ maildir.rb ]==
284
285 + require 'find'
286
287 def scan_mailbox
288 return if @last_scan && (Time.now - @last_scan) < SCAN_INTERVAL
289
290 - cdir = File.join(@dir, 'cur')
291 - ndir = File.join(@dir, 'new')
292
293 - raise FatalSourceError, "#{cdir} not a directory" unless File.directory? cdir
294 - raise FatalSourceError, "#{ndir} not a directory" unless File.directory? ndir
295 + raise FatalSourceError, "#{@dir} not a directory" unless File.directory? @dir
296
297 begin
298 @ids, @ids_to_fns = @mutex.synchronize do
299 ids, ids_to_fns = [], {}
300 - (Dir[File.join(cdir, "*")] + Dir[File.join(ndir, "*")]).map do |fn|
301 + Find.find(@dir) do |fn|
302 + next unless File.file?(fn)
303 + next unless File.basename(File.dirname(fn)) =~ /^cur|new$/
304 id = make_id fn
305 ids << id
306 ids_to_fns[id] = fn
307 end
308 [ids.sort, ids_to_fns]
309 end
310 rescue SystemCallError, IOError => e
311 raise FatalSourceError, "Problem scanning Maildir directories: #{e.message}."
312 end
313
314 @last_scan = Time.now
315 end
316 -------------- next part --------------
317 An HTML attachment was scrubbed...
318 URL: http://rubyforge.org/pipermail/sup-talk/attachments/20071006/eef0d815/attachment-0001.html
319
320 From wmorgan-sup@masanjin.net Sat Oct 6 11:51:49 2007
321 From: wmorgan-sup@masanjin.net (William Morgan)
322 Date: Sat, 06 Oct 2007 08:51:49 -0700
323 Subject: [sup-talk] sending mail; setting smtp server
324 In-Reply-To: <20071006021120.GI422@chrislee.dhs.org>
325 References: <47031532.800@edwardog.net> <1191447868-sup-1612@south>
326 <1191619979-sup-726@south> <20071006021120.GI422@chrislee.dhs.org>
327 Message-ID: <1191685867-sup-9423@south>
328
329 Excerpts from CHRIS LEE's message of Fri Oct 05 19:11:20 -0700 2007:
330 > As a *nix junkie, the automatic answer is: let each tool do it's job
331 > and not include your own SMTP client. However, most gui-based MUAs for
332 > Windows include an SMTP client.
333
334 That's been my philosophy with Sup so far. And if the question really is
335 better Windows support, that's not compelling enough of an argument for
336 me (at least right now!). Sup makes a lot of Unix-specific assumptions
337 and fixing those is pretty low on the priority queue.
338
339 > So how about this for a compromise: Write a stand-alone tool,
340 > supmailer, that sup can use in place of sendmail, but uses the sup
341 > configuration files?
342
343 There actually is good SMTP support right in the Ruby standard library,
344 so I don't think I'd have to be that dramatic. The question is, is there
345 a significant fraction of users trying to run Sup on systems that don't
346 have a working sendmail setup? I'm guessing the answer is no. (Sorry
347 Edward!) Opinions to the contrary (and patches) accepted.
348
349 --
350 William <wmorgan-sup at masanjin.net>
351
352 From me@pekdon.net Sun Oct 7 05:37:56 2007
353 From: me@pekdon.net (Claes =?iso-8859-1?B?TuRzdOlu?=)
354 Date: Sun, 7 Oct 2007 11:37:56 +0200
355 Subject: [sup-talk] sending mail; setting smtp server
356 In-Reply-To: <1191619979-sup-726@south>
357 References: <47031532.800@edwardog.net> <1191447868-sup-1612@south>
358 <1191619979-sup-726@south>
359 Message-ID: <20071007093756.GE22422@hydrogen.pekdon.net>
360
361 Hi,
362
363 On Fri, Oct 05, 2007 at 02:34:31PM -0700, William Morgan wrote:
364 > Excerpts from William Morgan's message of Wed Oct 03 14:52:42 -0700 2007:
365 > > Sup calls out to a sendmail binary rather than talking SMTP directly.
366 >
367 > To be clear, it would be possible to have Sup talk SMTP directly, if
368 > that were beneficial to people. I like handing off work to other
369 > software when possible, and I figured most Sup users would have a
370 > working sendmail, but I could be wrong. What do people think?
371 >
372
373 Well, one could always use something like msmtp http://msmtp.sourceforge.net/
374 instead of a full MTA. However, I have not followed this discussion closely,
375 but would it then be possible to specify a full sendmail command if one can
376 not replace /usr/sbin/sendmail ?
377
378 >
379 > --
380 > William <wmorgan-sup at masanjin.net>
381 > _______________________________________________
382 > sup-talk mailing list
383 > sup-talk at rubyforge.org
384 > http://rubyforge.org/mailman/listinfo/sup-talk
385
386 --
387 Claes N?st?n, <me{@}pekdon.net>, http://www.pekdon.net/
388
389 "Money has corrupted so much in this world, life would be meaningless
390 if it kills music as well." - Bin?rpilot
391 -------------- next part --------------
392 A non-text attachment was scrubbed...
393 Name: not available
394 Type: application/pgp-signature
395 Size: 189 bytes
396 Desc: not available
397 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071007/18e608c9/attachment.bin
398
399 From wmorgan-sup@masanjin.net Sun Oct 7 16:06:51 2007
400 From: wmorgan-sup@masanjin.net (William Morgan)
401 Date: Sun, 07 Oct 2007 13:06:51 -0700
402 Subject: [sup-talk] sending mail; setting smtp server
403 In-Reply-To: <20071007093756.GE22422@hydrogen.pekdon.net>
404 References: <47031532.800@edwardog.net> <1191447868-sup-1612@south>
405 <1191619979-sup-726@south>
406 <20071007093756.GE22422@hydrogen.pekdon.net>
407 Message-ID: <1191787548-sup-4644@south>
408
409 Excerpts from Claes N?st?n's message of Sun Oct 07 02:37:56 -0700 2007:
410 > Well, one could always use something like msmtp
411 > http://msmtp.sourceforge.net/ instead of a full MTA. However, I have
412 > not followed this discussion closely, but would it then be possible to
413 > specify a full sendmail command if one can not replace
414 > /usr/sbin/sendmail ?
415
416 You can send the sendmail command used in config.yaml by specifying a
417 :sendmail: line for the default account.
418
419 --
420 William <wmorgan-sup at masanjin.net>
421
422 From chrisw@rice.edu Mon Oct 8 05:19:09 2007
423 From: chrisw@rice.edu (Christopher Warrington)
424 Date: Mon, 8 Oct 2007 04:19:09 -0500 (CDT)
425 Subject: [sup-talk] IMAP folders with spaces
426 Message-ID: <Pine.LNX.4.64.0710080412470.20463@localhost>
427
428 Sup doesn't seem to like IMAP paths with spaces.
429
430 Executing this command:
431 sup-add -a -u -l label "imaps://imap.host.tld/Mail/Two Words"
432
433 results in this error:
434
435 /usr/lib/ruby/1.8/uri/common.rb:436:in `split': bad URI(is not URI?): imaps://imap.host.tld/Mail/Two Words (URI::InvalidURIError)
436
437 sup-add -a -u -l label "imaps://imap.host.tld/Mail/Two%20Words"
438
439 works, but I get this error:
440
441 > Sorry, I couldn't communicate with a source: While communicating with
442 > IMAP server (type Net::IMAP::NoResponseError): "Mailbox does not
443 > exist"
444
445 What should I do?
446
447 --
448 Christopher Warrington <chrisw at rice.edu>
449 (Away from his normal computer.)
450
451 From chrisw@rice.edu Mon Oct 8 05:28:51 2007
452 From: chrisw@rice.edu (Christopher Warrington)
453 Date: Mon, 8 Oct 2007 04:28:51 -0500 (CDT)
454 Subject: [sup-talk] Sup on Windows
455 Message-ID: <Pine.LNX.4.64.0710080419150.20463@localhost>
456
457 I can get Sup to work on Windows using cygwin, but it doesn't handle
458 UTF-8 messages properly (or so it seems). Has anyone gotten sup to work
459 with a native install of Ruby on Windows?
460
461 I've tried, but I can't get the ncurses gem to compile and install.
462
463 (A similar questions is cross-posted to the ruby-talk mailing list.)
464
465 --
466 Christopher Warrington <chrisw at rice.edu>
467 (Away from his normal computer.)
468
469 From wmorgan-sup@masanjin.net Mon Oct 8 17:26:37 2007
470 From: wmorgan-sup@masanjin.net (William Morgan)
471 Date: Mon, 08 Oct 2007 14:26:37 -0700
472 Subject: [sup-talk] Question regarding Maildir (and possible patch?)
473 In-Reply-To: <001601c807f3$c6bafe10$650aa8c0@ocean>
474 References: <001601c807f3$c6bafe10$650aa8c0@ocean>
475 Message-ID: <1191877732-sup-6395@south>
476
477 Excerpts from steve.shreeve's message of Sat Oct 06 01:34:55 -0700 2007:
478 > Since I prefer not to manually add all 1,500 mailboxes as "sources"
479 > for sup, I modified maildir.rb as follows to allow sup to dive into
480 > mailboxes.
481
482 This is a very nice solution, but after some thought I'm not going to
483 apply it. Maildir folders should be handled the same way that mbox
484 folders are: each as its own source. If you have lots of them, use
485 sup-add from the command line in conjunction with shell globbing or the
486 find command.
487
488 The reason is that per-folder auto-applied labels are still important
489 (at least until I get filtering working), and you lose that capability
490 with recursion. One could make recursion a configurable property of a
491 Maildir source, though it strikes me as possibly overengineering.
492 Depends how many people would actually use it.
493
494 When this issue has come up before, my proposed solution has been to
495 modify sup-config to do the recursion for you at setup time. This is not
496 a high priority change since my target audience is the Unix-savvy.
497
498 In your case, 1500 folders is a lot, but Sup should be able to handle
499 it. I recommend adding them as unpolled sources---unless, of course,
500 they do receive new mail---so as to avoid slowing down new message
501 polling. (In Sup terminology these are (regrettably) called "unpolled"
502 sources.)
503
504 Please don't let this discourage you from sending more patches, of
505 course! :)
506
507 --
508 William <wmorgan-sup at masanjin.net>
509
510 From wmorgan-sup@masanjin.net Mon Oct 8 17:38:25 2007
511 From: wmorgan-sup@masanjin.net (William Morgan)
512 Date: Mon, 08 Oct 2007 14:38:25 -0700
513 Subject: [sup-talk] Sup on Windows
514 In-Reply-To: <Pine.LNX.4.64.0710080419150.20463@localhost>
515 References: <Pine.LNX.4.64.0710080419150.20463@localhost>
516 Message-ID: <1191878817-sup-5161@south>
517
518 Excerpts from Christopher Warrington's message of Mon Oct 08 02:28:51
519 -0700 2007:
520 > I can get Sup to work on Windows using cygwin,
521
522 Wow!
523
524 > but it doesn't handle UTF-8 messages properly (or so it seems).
525
526 The UTF-8 support is pretty wonky, even on Linux, because ncurses
527 doesn't really support wide characters. There's a ncursesw, but no Ruby
528 wrapper for it except for something from 2005 which I haven't had to
529 energy to play with yet.
530
531 In my setup, I can see most European and accented characters fine, but
532 anything else displays as garbage.
533
534 --
535 William <wmorgan-sup at masanjin.net>
536
537 From guillaume.quintard@gmail.com Tue Oct 9 06:19:50 2007
538 From: guillaume.quintard@gmail.com (Guillaume Quintard)
539 Date: Tue, 9 Oct 2007 12:19:50 +0200
540 Subject: [sup-talk] Fwd: can't install sup on ubuntu 7.10
541 In-Reply-To: <1e5fdab70710071136o3eb26bdbkd7320e65aaaac71a@mail.gmail.com>
542 References: <1e5fdab70710071136o3eb26bdbkd7320e65aaaac71a@mail.gmail.com>
543 Message-ID: <1e5fdab70710090319u3465482j6e283b5eb86511b6@mail.gmail.com>
544
545 I sent a mail 2 days ago, but I didn't receive any message, fear the
546 mlist could be closed to non-sucribers I suscribed, and resend it :
547
548 hello, I'm on ubuntu, love gmail, and sup looks like what I'm looking
549 for, but I can't get gem installing it.
550 here's what it says :
551
552 ----------------
553 shivan at selena:~$ sudo gem install sup -y
554 [sudo] password for shivan:
555 Need to update 2 gems from http://gems.rubyforge.org
556 ..
557 complete
558 Select which gem to install for your platform (i486-linux)
559 1. ferret 0.11.4 (ruby)
560 2. ferret 0.11.4 (mswin32)
561 3. ferret 0.11.3 (ruby)
562 4. ferret 0.11.2 (ruby)
563 5. Skip this gem
564 6. Cancel installation
565 > 1
566 Building native extensions. This could take a while...
567 ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
568 ERROR: Failed to build gem native extension.
569
570 ruby extconf.rb install sup -y
571 extconf.rb:11:in `require': no such file to load -- mkmf (LoadError)
572 from extconf.rb:11
573
574
575 Gem files will remain installed in
576 /var/lib/gems/1.8/gems/ferret-0.11.4 for inspection.
577 Results logged to /var/lib/gems/1.8/gems/ferret-0.11.4/ext/gem_make.out
578 ----------------
579
580 I'm absolutely not familiar with ruby, and I'm pretty stucked here,
581 would you please help me ?
582
583
584 --
585 shivan
586
587 From nevans@mdlogix.com Tue Oct 9 07:46:46 2007
588 From: nevans@mdlogix.com (nicholas a. evans)
589 Date: Tue, 09 Oct 2007 07:46:46 -0400
590 Subject: [sup-talk] Fwd: can't install sup on ubuntu 7.10
591 In-Reply-To: <1e5fdab70710090319u3465482j6e283b5eb86511b6@mail.gmail.com>
592 References: <1e5fdab70710071136o3eb26bdbkd7320e65aaaac71a@mail.gmail.com>
593 <1e5fdab70710090319u3465482j6e283b5eb86511b6@mail.gmail.com>
594 Message-ID: <1191930315-sup-5377@nevans-desktop>
595
596 Excerpts from Guillaume Quintard's message of Tue Oct 09 06:19:50 -0400 2007:
597 > hello, I'm on ubuntu, love gmail, and sup looks like what I'm looking
598 > for, but I can't get gem installing it.
599 ...
600 > Building native extensions. This could take a while...
601 > ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
602 > ERROR: Failed to build gem native extension.
603
604 Do you have build-essential and ruby1.8-dev installed?
605
606 --
607 Nick
608
609 From octplane@gmail.com Tue Oct 9 09:21:17 2007
610 From: octplane@gmail.com (Pierre Baillet)
611 Date: Tue, 9 Oct 2007 15:21:17 +0200
612 Subject: [sup-talk] Want utf-8 ?
613 Message-ID: <6205b42d0710090621k580b1f0g2ac2633530668553@mail.gmail.com>
614
615 Hi,
616
617 I quickly hacked utf-8 support in sup. My first modification aimed at
618 allowing Unicode alias in the contact manager. I succeeded in doing this and
619 also enabled utf-8 support in the inbox-mode (and probably in some other
620 place)...
621
622 How to ?
623 =======
624
625 - After installing ncurses, go to ~GEM_HOME/gems/ncurses-0.9.1 and apply
626 extconf.patch
627 - make, make install you now have a ncursesw ruby library
628
629 - again, go to ~GEM_HOME/gems/sup- 0.1/lib and apply patch sup.rb.patch
630 - run sup
631
632 sup should now display accented keys correctly in the inbox mode. move to
633 the contact manager 'C', go to some contact, press 'a' and type stuff with
634 accent (like "ch?rie"). The accent should display normally in the input
635 field AND in the contact manager.
636
637 the sup.rb patch only enforces a call to setlocale in order to take the
638 current user locale in account (needed for ncurses to display correctly
639 accented characters). All the rest is done via my ncurses patch (which I'm
640 about to suggest to the ncurses maintainer)
641
642 Please let me know how it goes for you !
643 --
644 Pierre Baillet
645 -------------- next part --------------
646 An HTML attachment was scrubbed...
647 URL: http://rubyforge.org/pipermail/sup-talk/attachments/20071009/f1e65d10/attachment-0001.html
648 -------------- next part --------------
649 A non-text attachment was scrubbed...
650 Name: extconf.patch
651 Type: application/octet-stream
652 Size: 759 bytes
653 Desc: not available
654 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071009/f1e65d10/attachment-0002.obj
655 -------------- next part --------------
656 A non-text attachment was scrubbed...
657 Name: sup.rb.patch
658 Type: application/octet-stream
659 Size: 650 bytes
660 Desc: not available
661 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071009/f1e65d10/attachment-0003.obj
662
663 From wmorgan-sup@masanjin.net Tue Oct 9 09:29:09 2007
664 From: wmorgan-sup@masanjin.net (William Morgan)
665 Date: Tue, 09 Oct 2007 06:29:09 -0700
666 Subject: [sup-talk] Fwd: can't install sup on ubuntu 7.10
667 In-Reply-To: <1e5fdab70710090319u3465482j6e283b5eb86511b6@mail.gmail.com>
668 References: <1e5fdab70710071136o3eb26bdbkd7320e65aaaac71a@mail.gmail.com>
669 <1e5fdab70710090319u3465482j6e283b5eb86511b6@mail.gmail.com>
670 Message-ID: <1191936508-sup-6172@south>
671
672 Excerpts from Guillaume Quintard's message of Tue Oct 09 03:19:50 -0700 2007:
673 > I sent a mail 2 days ago, but I didn't receive any message, fear the
674 > mlist could be closed to non-sucribers I suscribed, and resend it :
675
676 Apparently the list was set to discard non-member postings. What a weird
677 default setting. Should be fixed now.
678
679 --
680 William <wmorgan-sup at masanjin.net>
681
682 From steve.tooke@gmail.com Tue Oct 9 09:35:36 2007
683 From: steve.tooke@gmail.com (Steve Tooke)
684 Date: Tue, 09 Oct 2007 14:35:36 +0100
685 Subject: [sup-talk] Exception reading contacts.txt
686 Message-ID: <1191936819-sup-5265@Kirin.local>
687
688 Resend as caught-out by default setting on mailing list... although I've subscribed now anyway!
689
690 Really enjoying using sup at the moment, great piece of software.
691
692 I've just had this problem with parsing contacts.txt
693
694 The problem was: 'can't parse /Users/stevet/.sup/contacts.txt line "Anthony
695 Dobson: anthony at collierdobson.com\n"' (error type RuntimeError)
696 A backtrace follows:
697 /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/contact.rb:13:in
698 `initialize': can't parse /Users/stevet/.sup/contacts.txt line "Anthony Dobson:
699 anthony at collierdobson.com\n" (RuntimeError)
700 from /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/contact.rb:12:in
701 `foreach'
702 from /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/contact.rb:12:in
703 `initialize'
704 from /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:107:in `new'
705 from /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:107:in `start'
706 from /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/bin/sup:88
707 from /usr/local/bin/sup:16:in `load'
708 from /usr/local/bin/sup:16
709
710 There is only one line in the contacts.txt file.
711
712 Regards,
713
714 --
715 Steve Tooke
716 steve.tooke at gmail.com
717
718 From wmorgan-sup@masanjin.net Tue Oct 9 09:44:10 2007
719 From: wmorgan-sup@masanjin.net (William Morgan)
720 Date: Tue, 09 Oct 2007 06:44:10 -0700
721 Subject: [sup-talk] Exception reading contacts.txt
722 In-Reply-To: <1191936819-sup-5265@Kirin.local>
723 References: <1191936819-sup-5265@Kirin.local>
724 Message-ID: <1191937287-sup-4195@south>
725
726 Excerpts from Steve Tooke's message of Tue Oct 09 06:35:36 -0700 2007:
727 > The problem was: 'can't parse /Users/stevet/.sup/contacts.txt line "Anthony
728 > Dobson: anthony at collierdobson.com\n"' (error type RuntimeError)
729
730 Hm, Sup doesn't expect aliases to have spaces. Sup's expecting something
731 like "tony: Anthony Dobson <anthony at blah.com>". Did you add that line by
732 hand, or did you use Sup to make the alias?
733
734 That translates into two bugfixes for me:
735 1. Don't allow spaces when inputting a new alias name.
736 2. Don't crash completely when contacts.txt isn' what you expect.
737
738 --
739 William <wmorgan-sup at masanjin.net>
740
741 From steve.tooke@gmail.com Tue Oct 9 09:58:51 2007
742 From: steve.tooke@gmail.com (Steve Tooke)
743 Date: Tue, 09 Oct 2007 14:58:51 +0100
744 Subject: [sup-talk] Exception reading contacts.txt
745 In-Reply-To: <1191937287-sup-4195@south>
746 References: <1191936819-sup-5265@Kirin.local> <1191937287-sup-4195@south>
747 Message-ID: <1191938052-sup-4087@Kirin.local>
748
749 Excerpts from William Morgan's message of Tue Oct 09 14:44:10 +0100 2007:
750 > Excerpts from Steve Tooke's message of Tue Oct 09 06:35:36 -0700 2007:
751 > > The problem was: 'can't parse /Users/stevet/.sup/contacts.txt line "Anthony
752 > > Dobson: anthony at blah.com\n"' (error type RuntimeError)
753 >
754 > Hm, Sup doesn't expect aliases to have spaces. Sup's expecting something
755 > like "tony: Anthony Dobson <anthony at blah.com>". Did you add that line by
756 > hand, or did you use Sup to make the alias?
757
758 Ahh, that makes sense.
759
760 Originally, I had used Sup but that hadn't worked, so assumed that it was related to the way the email address was formatted.
761
762 Sup did allow me to enter a space in the alias!
763
764 Thanks for the quick reply!
765
766 Steve
767
768 > 1. Don't allow spaces when inputting a new alias name.
769 > 2. Don't crash completely when contacts.txt isn' what you expect.
770
771
772 --
773 Steve Tooke
774 steve.tooke at gmail.com
775
776 From wmorgan-sup@masanjin.net Tue Oct 9 10:06:51 2007
777 From: wmorgan-sup@masanjin.net (William Morgan)
778 Date: Tue, 09 Oct 2007 07:06:51 -0700
779 Subject: [sup-talk] IMAP folders with spaces
780 In-Reply-To: <Pine.LNX.4.64.0710080412470.20463@localhost>
781 References: <Pine.LNX.4.64.0710080412470.20463@localhost>
782 Message-ID: <1191938778-sup-7443@south>
783
784 Excerpts from Christopher Warrington's message of Mon Oct 08 02:19:09 -0700 2007:
785 > sup-add -a -u -l label "imaps://imap.host.tld/Mail/Two%20Words"
786 >
787 > works, but I get this error:
788 >
789 > > Sorry, I couldn't communicate with a source: While communicating with
790 > > IMAP server (type Net::IMAP::NoResponseError): "Mailbox does not
791 > > exist"
792 >
793 > What should I do?
794
795 Wait for me to fix this bug. :)
796
797 --
798 William <wmorgan-sup at masanjin.net>
799
800 From eyal.oren@deri.org Tue Oct 9 10:54:51 2007
801 From: eyal.oren@deri.org (Eyal Oren)
802 Date: Tue, 9 Oct 2007 16:54:51 +0200
803 Subject: [sup-talk] some user questions
804 Message-ID: <20071009145451.GA22618@localhost>
805
806 Hi
807
808 First, thanks for sup! It's very nice. I have some questions/remarks. For
809 simple things, point me to files and linenumbers: I can submit patches.
810
811 - I have the feeling that several keybindings are overloaded between
812 different screens, but in a confusing manner. For example, when
813 inbox-mode, 'S' means mark-as-spam, while in contact-list-mode it means
814 search-for-messages. That is confusing, because S for search makes sense in
815 both contexts. I've already marked several emails as spam inadvertently
816 because of this. There might be more of these, I'm not sure.
817
818 - When are changes applied? Some changes are applied instantly (when
819 marking an email as spam, it will instantly disappear from the inbox)
820 while others need a manual refresh (when unmarking mail as spam, it will
821 instantly disappear from the spam view but when changing back to the inbox,
822 a refresh is needed before the email is shown). Would it be very expensive
823 to update a buffer automatically when it is being switched to? Also,
824 personally, I'd rename the help text 'Discard threads and reload' into
825 'refresh view'.
826
827 - Is it possible to index emails on parts of the email address, splitting
828 on '.' and '@'? I would like to search for emails from 'john', not from
829 'john.doe at hotmail.com'.
830
831 - Is it possible to undelete an email? I hit 'd', realise my mistake,
832 search for the email which I can still find (I guess because the changes
833 haven't yet been written into ferret) and then wonder if there's still
834 something I can do to prevent me from losing this email?
835
836 - Is it possible to change the ordering of threads? I'm used to sorting my
837 emails oldest-first.
838
839 - I'm trying to use sup together with putmail [1], a simple lightweight MTA
840 (similar to bsmtp). putmail can mimic sendmail. I can configure sup to
841 use putmail, but the emails generated by sup are not understood by putmail
842 (see one example attached). Can you maybe see whether the error is on sup's
843 side or on putmail's?
844
845 -eyal
846
847 [1] http://putmail.sourceforge.net/
848 -------------- next part --------------
849 ((lp1
850 S'/usr/local/bin/putmail_enqueue.py'
851 p2
852 aS'Subject: test\nFrom: Eyal Oren <eyal.oren at deri.org>\nTo: eyal.oren at gmail.com\nDate: Tue, 09 Oct 2007 16:49:14 +0200\nMessage-Id: <1191941333-sup-4666 at timmy>\nUser-Agent: Sup/0.1\nContent-Type: text/plain; charset=UTF-8\n\ntest email body\n\n-- \n -eyal\n'
853 p3
854 t.
855
856 From chrisw@rice.edu Tue Oct 9 15:33:52 2007
857 From: chrisw@rice.edu (Christopher Warrington)
858 Date: Tue, 9 Oct 2007 14:33:52 -0500
859 Subject: [sup-talk] Sup on Windows
860 In-Reply-To: <1191936765-sup-4487@south>
861 References: <Pine.LNX.4.64.0710080419150.20463@localhost>
862 <1191878817-sup-5161@south> <1463697592.20071009015408@rice.edu>
863 <1191936765-sup-4487@south>
864 Message-ID: <1125475477.20071009143352@rice.edu>
865
866
867 William Morgan @ 2007-10-09 8:38:51 AM
868 "[sup-talk] Sup on Windows" <mid:1191936765-sup-4487 at south>
869
870 > [cc'ing list, hope you don't mind]
871
872 No, I don't. The first one was not meant as a PM. I screwed up.
873
874 >> Here's a screenshot: http://www.chriswarrington.com/sup_win.png
875 > Weird, why are all the sender names missing?
876
877 I imported those messages from the list archive, so they are not in
878 the proper mbox format. The e-mail addresses are munged such that
879 a at b.tld becomes a at b.tld. In other words, not a bug.
880
881 >> I was getting lots of errors like these when importing my archive:
882 >> [Tue Oct 09 01:51:05 -0500 2007] warning: error decoding message body from
883 >> "us-ascii": invalid encoding ("utf-8", ""us-ascii"")
884 > This sounds like iconv is being stubborn. Can you do this?
885 > $ irb -riconv
886 > >> Iconv.iconv "utf-8", "us-ascii", "hello there"
887 > => ["hello there"]
888
889 It seems to work:
890 $ irb -riconv
891 irb(main):001:0> Iconv.iconv "utf-8", "us-ascii", "hello there"
892 => ["hello there"]
893 irb(main):002:0> Iconv.iconv "us-ascii", "utf-8", "hello there"
894 => ["hello there"]
895 irb(main):003:0> Iconv.iconv "us-ascii", "iso-8859-15", "hello there"
896 => ["hello there"]
897 irb(main):004:0> Iconv.iconv "iso-8859-15", "utf-8", "hello there"
898 => ["hello there"]
899 irb(main):005:0> Iconv.iconv "iso-8859-15", "us-ascii", "hello there"
900 => ["hello there"]
901 irb(main):006:0> Iconv.iconv "us-ascii", "iso-8859-15", "hello there"
902 => ["hello there"]
903
904 --
905 Christopher Warrington <chrisw at rice.edu>
906
907
908 "When in doubt, use brute force."
909 -Ken Thompson
910 -------------- next part --------------
911 A non-text attachment was scrubbed...
912 Name: not available
913 Type: application/pgp-signature
914 Size: 183 bytes
915 Desc: not available
916 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071009/367c7513/attachment.bin
917
918 From pierre@baillet.name Wed Oct 10 04:14:56 2007
919 From: pierre@baillet.name (Pierre Baillet)
920 Date: Wed, 10 Oct 2007 10:14:56 +0200
921 Subject: [sup-talk] memory hog ?
922 Message-ID: <6205b42d0710100114i510e3706mfec56d4efe22ab2@mail.gmail.com>
923
924 Hi,
925
926 Without touching anything sup now tries to use all the available memory on
927 my computer and never finishes to start (more than 3GB...). That's a bit
928 annoying as behaviour. I've not idea on how to solve it, so maybe one of you
929 has an idea...
930
931 Cheers,
932 --
933 Pierre Baillet <pierre at baillet.name>
934 -------------- next part --------------
935 An HTML attachment was scrubbed...
936 URL: http://rubyforge.org/pipermail/sup-talk/attachments/20071010/76d85699/attachment.html
937
938 From magnus@therning.org Wed Oct 10 19:11:01 2007
939 From: magnus@therning.org (Magnus Therning)
940 Date: Thu, 11 Oct 2007 00:11:01 +0100
941 Subject: [sup-talk] Maildir synch-back
942 Message-ID: <20071010231101.GD3404@die.therning.org>
943
944 I've been working on this for a while now, but it's taking longer than
945 I'd like due to two reasons
946
947 1. I'm finding out that having a pregnant wife leaves me with less time
948 to play :-)
949 2. I'm currently not using sup on a daily basis (or on any basis
950 actually) since it doesn't have full PGP/GPG support yet :-(
951
952 Just thought I'd let people know I've not fallen off the world, or lost
953 interest in sup...
954
955 /M
956
957 --
958 Magnus Therning (OpenPGP: 0xAB4DFBA4)
959 magnus?therning?org Jabber: magnus?therning?gmail?com
960 http://therning.org/magnus
961 -------------- next part --------------
962 A non-text attachment was scrubbed...
963 Name: not available
964 Type: application/pgp-signature
965 Size: 189 bytes
966 Desc: Digital signature
967 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071011/d747f1dd/attachment.bin
968
969 From magnus@therning.org Mon Oct 8 10:49:36 2007
970 From: magnus@therning.org (Magnus Therning)
971 Date: Mon, 8 Oct 2007 15:49:36 +0100
972 Subject: [sup-talk] IMAP folders with spaces
973 In-Reply-To: <Pine.LNX.4.64.0710080412470.20463@localhost>
974 References: <Pine.LNX.4.64.0710080412470.20463@localhost>
975 Message-ID: <20071008144936.GC8799@die.therning.org>
976
977 On Mon, Oct 08, 2007 at 04:19:09 -0500, Christopher Warrington wrote:
978 >Sup doesn't seem to like IMAP paths with spaces.
979 >
980 >Executing this command:
981 >sup-add -a -u -l label "imaps://imap.host.tld/Mail/Two Words"
982 >
983 >results in this error:
984 >
985 >/usr/lib/ruby/1.8/uri/common.rb:436:in `split': bad URI(is not URI?): imaps://imap.host.tld/Mail/Two Words (URI::InvalidURIError)
986 >
987 >sup-add -a -u -l label "imaps://imap.host.tld/Mail/Two%20Words"
988 >
989 >works, but I get this error:
990 >
991 >> Sorry, I couldn't communicate with a source: While communicating with
992 >> IMAP server (type Net::IMAP::NoResponseError): "Mailbox does not
993 >> exist"
994 >
995 >What should I do?
996
997 Submit a patch for maildir.rb?
998
999 /M
1000
1001 --
1002 Magnus Therning (OpenPGP: 0xAB4DFBA4)
1003 magnus?therning?org Jabber: magnus?therning?gmail?com
1004 http://therning.org/magnus
1005 -------------- next part --------------
1006 A non-text attachment was scrubbed...
1007 Name: not available
1008 Type: application/pgp-signature
1009 Size: 189 bytes
1010 Desc: not available
1011 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071008/6d8e6777/attachment.bin
1012
1013 From chrisw@rice.edu Wed Oct 10 20:07:25 2007
1014 From: chrisw@rice.edu (Christopher Warrington)
1015 Date: Wed, 10 Oct 2007 19:07:25 -0500
1016 Subject: [sup-talk] IMAP folders with spaces
1017 In-Reply-To: <20071008144936.GC8799@die.therning.org>
1018 References: <Pine.LNX.4.64.0710080412470.20463@localhost>
1019 <20071008144936.GC8799@die.therning.org>
1020 Message-ID: <470D693D.30705@rice.edu>
1021
1022
1023 Magnus Therning wrote:
1024 >> What should I do?
1025 >
1026 > Submit a patch for maildir.rb?
1027
1028 That involves knowing Ruby. :-)
1029
1030 I'm starting small, with the functionality to refine searches.
1031 --
1032 Christopher Warrington <chrisw at rice.edu>
1033
1034
1035 From eyal.oren@deri.org Wed Oct 10 03:18:08 2007
1036 From: eyal.oren@deri.org (Eyal Oren)
1037 Date: Wed, 10 Oct 2007 09:18:08 +0200
1038 Subject: [sup-talk] some user questions
1039 In-Reply-To: <20071009145451.GA22618@localhost>
1040 References: <20071009145451.GA22618@localhost>
1041 Message-ID: <1192000223-sup-1528@timmy>
1042
1043 Hi! I found some answers to my own questions:
1044
1045 Excerpts from Eyal Oren's message of Tue Oct 09 16:54:51 +0200 2007:
1046 > - Is it possible to index emails on parts of the email address, splitting
1047 > on '.' and '@'? I would like to search for emails from 'john', not from
1048 > 'john.doe at hotmail.com'.
1049 Addresses are not split, but emails are indexed on aliases, so you can search
1050 for from:bob.
1051
1052 > - Is it possible to undelete an email? I hit 'd', realise my mistake,
1053 > search for the email which I can still find (I guess because the changes
1054 > haven't yet been written into ferret) and then wonder if there's still
1055 > something I can do to prevent me from losing this email?
1056 After deleting a thread, I can hit '@' to revert the changes before they are
1057 saved into ferret.
1058
1059 > - Is it possible to change the ordering of threads? I'm used to sorting my
1060 > emails oldest-first.
1061 Haven't found this yet, but am getting used to it.
1062
1063 > - I'm trying to use sup together with putmail [1], a simple lightweight MTA
1064 > (similar to bsmtp). putmail can mimic sendmail. I can configure sup to
1065 > use putmail, but the emails generated by sup are not understood by putmail
1066 > (see one example attached). Can you maybe see whether the error is on sup's
1067 > side or on putmail's?
1068 I figured it out: putmail also has the -t option (like sendmail) to extract
1069 senders from the email, but ignores options such as -ti or -oem. So the sendmail
1070 line in config.yaml should be one of these:
1071 - ":sendmail: /usr/local/bin/putmail.py -t" (direct sending)
1072 - ":sendmail: /usr/local/bin/putmail_enqueue.py -t" (queue for later)
1073
1074 Wanted to add this to the wiki, but got: "cant write
1075 html/mywikidb/keep/H/HomePage.kp: Permission denied at
1076 /var/www/gforge-projects/sup/wiki/wiki.pl line 2856. For help, please send mail
1077 to the webmaster (tom at infoether.com), giving this error message and the time and
1078 date of the error."
1079
1080 -eyal
1081
1082 From albertito@gmail.com Wed Oct 10 22:07:14 2007
1083 From: albertito@gmail.com (Alberto Bertogli)
1084 Date: Wed, 10 Oct 2007 23:07:14 -0300
1085 Subject: [sup-talk] Problems with gems
1086 Message-ID: <20071011020714.GB3651@gmail.com>
1087
1088
1089 Hi!
1090
1091 I'm trying to install sup _without_ using gems, as I already have most
1092 of the dependencies through my package manager (aptitude), and I'm
1093 having lots of trouble.
1094
1095 Since there is no way of telling gems that I already have the packages,
1096 sup won't work because it's trying to check the dependencies via gems on
1097 runtime and failing because gems thinks rake (for instance) is not
1098 installed.
1099
1100 Is this a sup issue?
1101
1102 Thanks,
1103 Alberto
1104
1105
1106 From eyal.oren@deri.org Thu Oct 11 11:41:46 2007
1107 From: eyal.oren@deri.org (Eyal Oren)
1108 Date: Thu, 11 Oct 2007 17:41:46 +0200
1109 Subject: [sup-talk] displaying message timestamp in different timezones
1110 Message-ID: <1192116811-sup-1803@timmy>
1111
1112 Hi,
1113
1114 When reading emails from people in other timezones, Mutt offers the option to
1115 display the message timestamp in either the sender's or the receiver's timezone.
1116
1117 Does sup have a similar option, or how does it deal with timezones? It seems
1118 that timezones are not considered and that the sent time is simply shown without
1119 computing the equivalent time in my local timezone. Doing so is confusing, and,
1120 as a side-effect, emails are ordered incorrectly (emails sent 5 minutes ago in a
1121 US timezone are thought to be older than emails sent two hours ago in a EU
1122 timezone).
1123
1124 -eyal
1125
1126 From eyal.oren@deri.org Thu Oct 11 11:58:01 2007
1127 From: eyal.oren@deri.org (Eyal Oren)
1128 Date: Thu, 11 Oct 2007 17:58:01 +0200
1129 Subject: [sup-talk] patch to search in buffer
1130 Message-ID: <1192117720-sup-9850@timmy>
1131
1132 Hi,
1133
1134 Find attached a small patch to enable simple text search in a scroll-buffer.
1135 This means you can search (and jump) to a simple text or regular expression help
1136 screens, inbox list, or thread view. It's something that I, as a mutt user,
1137 missed in sup. I've bound the buffer search to '#' since '/' is already used for
1138 general search: please change to something more appropriate if you can think of
1139 it.
1140
1141 As this is my first contribution to sup, please tell me whatever I've done
1142 wrong. I wasn't sure where to put this behaviour (I put it in scroll-mode.rb)
1143 and some stuff needs fixing:
1144 - it doesn't open text found in closed threads (patinas),
1145 - it doesn't scroll to email text below the current page (I'm using jump-to-line
1146 but it doesn't seem to work),
1147 - it doesn't have an easy way of doing a repeated search (I know how to do it,
1148 but I couldn't find how to tell ncurses that hitting the search button again
1149 without input should do a repeated search; alternatively, one could register a
1150 new keymap for a repeated search but it seemed like overkill to me).
1151
1152 I'm open to suggestions for improvement and for fixing the outstanding issues.
1153
1154 -eyal
1155 -------------- next part --------------
1156 A non-text attachment was scrubbed...
1157 Name: search-in-buffer.diff
1158 Type: application/octet-stream
1159 Size: 1465 bytes
1160 Desc: not available
1161 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071011/26215015/attachment.obj
1162
1163 From eyal.oren@deri.org Thu Oct 11 11:59:41 2007
1164 From: eyal.oren@deri.org (Eyal Oren)
1165 Date: Thu, 11 Oct 2007 17:59:41 +0200
1166 Subject: [sup-talk] tiny patch for typo
1167 Message-ID: <1192118317-sup-1327@timmy>
1168
1169 Attached a tiny patch for a typo in bin/sup's info message on caught errors.
1170
1171 -eyal
1172 -------------- next part --------------
1173 A non-text attachment was scrubbed...
1174 Name: typo-bin-sup.diff
1175 Type: application/octet-stream
1176 Size: 510 bytes
1177 Desc: not available
1178 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071011/28e190d5/attachment.obj
1179
1180 From eyal.oren@deri.org Thu Oct 11 12:19:17 2007
1181 From: eyal.oren@deri.org (Eyal Oren)
1182 Date: Thu, 11 Oct 2007 18:19:17 +0200
1183 Subject: [sup-talk] patch with keymaps for editing message headers
1184 Message-ID: <1192119420-sup-7831@timmy>
1185
1186 Attached another small patch, adding keymaps to edit 'To:', 'Cc:', and
1187 'Subject:' field of messages. Again something small that I missed, coming from
1188 Mutt.
1189
1190 Please let me know if you don't like my coding style (it feels very stupid,
1191 jumping fields this way, but I couldn't quickly see how to do it better), or if
1192 you don't like these kind of added features.
1193
1194 -eyal
1195 -------------- next part --------------
1196 A non-text attachment was scrubbed...
1197 Name: keymap-for-to-cc-subject.patch
1198 Type: application/octet-stream
1199 Size: 1480 bytes
1200 Desc: not available
1201 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071011/f2866c63/attachment.obj
1202
1203 From chrisw@rice.edu Thu Oct 11 13:29:22 2007
1204 From: chrisw@rice.edu (Christopher Warrington)
1205 Date: Thu, 11 Oct 2007 12:29:22 -0500
1206 Subject: [sup-talk] BufferManager.ask and trailing spaces
1207 Message-ID: <1192123728-sup-9568@chris-tablet>
1208
1209 I am currently adding code to support refinement of searches. Basically,
1210 I just copy the old query and make it the default text for the new
1211 query. I accomplish this by doing:
1212
1213 BufferManager.ask :refine_search, "query: ", old_query + " "
1214
1215 However, the trailing space is being stripped out. I cannot figure out
1216 where this is happening. How can I stop this from happening?
1217
1218 --
1219 Christopher Warrington <chrisw at rice.edu>
1220 Jones College
1221
1222 From chrisw@rice.edu Thu Oct 11 13:30:30 2007
1223 From: chrisw@rice.edu (Christopher Warrington)
1224 Date: Thu, 11 Oct 2007 12:30:30 -0500
1225 Subject: [sup-talk] Problem with mbox format
1226 Message-ID: <1192123770-sup-3583@chris-tablet>
1227
1228 I've been having some problems with messages that appear to confuse the
1229 mbox parser. For example, if, by chance, one of my messages contains
1230 "From now on" and this starts a new line, I get this error when sup
1231 tried to store the sent message in sent.mbox:
1232 The problem was: 'no message-id field in header {} (source sup://sent offset 3998037)' (error type Redwood::MessageFormatError)
1233 A backtrace follows:
1234 /usr/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/message.rb:111:in `read_header': no message-id field in header {} (source sup://sent offset 3998037) (Redwood::MessageFormatError)
1235 from /usr/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/message.rb:110:in `each'
1236 from /usr/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/message.rb:110:in `read_header'
1237 from /usr/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/message.rb:104:in `initialize'
1238 from /usr/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/sent.rb:25:in `new'
1239 from /usr/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/sent.rb:25:in `write_sent_message'
1240 from /usr/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/source.rb:93:in `each'
1241 from /usr/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/util.rb:437:in `send'
1242 from /usr/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/util.rb:437:in `__pass'
1243
1244 ... 7 levels...
1245 from /usr/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/buffer.rb:181:in `handle_input'
1246 from /usr/lib/ruby/gems/1.8/gems/sup-0.1/bin/sup:186
1247 from /usr/bin/sup:16:in `load'
1248 from /usr/bin/sup:16
1249
1250 After this, only the part of the message before the "From " line is
1251 visible in sup. The entire message is in sent.mbox, however. Seems like
1252 a parsing error/escaping error on sup's part. If I knew Ruby, I would
1253 take a look at the code. Perhaps I'll have to teach myself some Ruby.
1254
1255 Also, if I save a message like this for later editing, lines that start
1256 with "From " have a '>' perpended to them which I must delete.
1257
1258 (Which mbox format is sup using, by the way?)
1259
1260 --
1261 Christopher Warrington <chrisw at rice.edu>
1262 Jones College
1263
1264 From itaylor@uark.edu Thu Oct 11 16:21:19 2007
1265 From: itaylor@uark.edu (Ian Taylor)
1266 Date: Thu, 11 Oct 2007 16:21:19 -0400
1267 Subject: [sup-talk] wiki error on submission
1268 Message-ID: <1192133375-sup-1634@silver>
1269
1270 I was editing the msmtp section on the wiki and after submitting, it
1271 gave me this error:
1272
1273
1274 Software error:
1275
1276 cant write html/mywikidb/keep/M/Msmtp.kp: No such file or directory at /var/www/gforge-projects/sup/wiki/wiki.pl line 2856.
1277
1278 For help, please send mail to the webmaster (tom at infoether.com), giving this error message and the time and date of the error.
1279
1280 --
1281 Ian Taylor
1282
1283 From wmorgan-sup@masanjin.net Thu Oct 11 17:17:59 2007
1284 From: wmorgan-sup@masanjin.net (William Morgan)
1285 Date: Thu, 11 Oct 2007 14:17:59 -0700
1286 Subject: [sup-talk] wiki
1287 In-Reply-To: <1191459239-sup-1041@silver>
1288 References: <1191459239-sup-1041@silver>
1289 Message-ID: <1192137471-sup-9634@south>
1290
1291 Excerpts from Ian Taylor's message of Wed Oct 03 17:55:02 -0700 2007:
1292 > Is there a description of the wiki syntax available for this
1293 > particular wiki?
1294
1295 http://www.usemod.com/cgi-bin/wiki.pl?TextFormattingRules
1296
1297 --
1298 William <wmorgan-sup at masanjin.net>
1299
1300 From wmorgan-sup@masanjin.net Fri Oct 12 09:28:51 2007
1301 From: wmorgan-sup@masanjin.net (William Morgan)
1302 Date: Fri, 12 Oct 2007 06:28:51 -0700
1303 Subject: [sup-talk] wiki error on submission
1304 In-Reply-To: <1192133375-sup-1634@silver>
1305 References: <1192133375-sup-1634@silver>
1306 Message-ID: <1192195715-sup-3200@south>
1307
1308 Excerpts from Ian Taylor's message of Thu Oct 11 13:21:19 -0700 2007:
1309 > cant write html/mywikidb/keep/M/Msmtp.kp: No such file or directory at
1310 > /var/www/gforge-projects/sup/wiki/wiki.pl line 2856.
1311
1312 Should be fixed.
1313
1314 --
1315 William <wmorgan-sup at masanjin.net>
1316
1317 From found@foundinteractive.com Fri Oct 12 13:48:08 2007
1318 From: found@foundinteractive.com (Timothy Johnson)
1319 Date: Fri, 12 Oct 2007 13:48:08 -0400
1320 Subject: [sup-talk] Initial error
1321 Message-ID: <E880165D-C4FF-43DA-93CF-430FE201FEDD@foundinteractive.com>
1322
1323 I had an error when syncing my first IMAP inbox
1324 /opt/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/source.rb:80:in
1325 `done?': undefined method `>=' for nil:NilClass (NoMethodError)
1326
1327 so I just added an "unless end_offset.nil?" clause at the end
1328 thereof, and it worked again.
1329
1330 Is this a common problem? probably not thus far, but was curious what
1331 would cause it.
1332
1333
1334
1335
1336 Cheers,
1337 Timothy Johnson
1338 found at foundinteractive.com
1339 (p) 540-810-7559
1340 (w) www.foundinteractive.com
1341
1342
1343
1344 -------------- next part --------------
1345 An HTML attachment was scrubbed...
1346 URL: http://rubyforge.org/pipermail/sup-talk/attachments/20071012/a5a9943d/attachment.html
1347
1348 From found@foundinteractive.com Fri Oct 12 13:51:41 2007
1349 From: found@foundinteractive.com (Timothy Johnson)
1350 Date: Fri, 12 Oct 2007 13:51:41 -0400
1351 Subject: [sup-talk] Also,
1352 seems to be throwing lots of invalid encoding errors
1353 Message-ID: <671354B2-98BF-4CE7-B8AC-7C55581C46BB@foundinteractive.com>
1354
1355 Any fixes for this error?
1356 warning: error decoding message body from "iso-8859-1": invalid
1357 encoding ("utf-8", ""iso-8859-1"")
1358 and variations on that message.
1359
1360
1361 Cheers,
1362 Timothy Johnson
1363 found at foundinteractive.com
1364 (p) 540-810-7559
1365 (w) www.foundinteractive.com
1366
1367
1368
1369 -------------- next part --------------
1370 An HTML attachment was scrubbed...
1371 URL: http://rubyforge.org/pipermail/sup-talk/attachments/20071012/ee33881c/attachment.html
1372
1373 From magnus@therning.org Fri Oct 12 06:27:47 2007
1374 From: magnus@therning.org (Magnus Therning)
1375 Date: Fri, 12 Oct 2007 11:27:47 +0100
1376 Subject: [sup-talk] Problems with gems
1377 In-Reply-To: <20071011020714.GB3651@gmail.com>
1378 References: <20071011020714.GB3651@gmail.com>
1379 Message-ID: <20071012102747.GD13170@die.therning.org>
1380
1381 On Wed, Oct 10, 2007 at 23:07:14 -0300, Alberto Bertogli wrote:
1382 >
1383 >Hi!
1384 >
1385 >I'm trying to install sup _without_ using gems, as I already have most
1386 >of the dependencies through my package manager (aptitude), and I'm
1387 >having lots of trouble.
1388 >
1389 >Since there is no way of telling gems that I already have the packages,
1390 >sup won't work because it's trying to check the dependencies via gems on
1391 >runtime and failing because gems thinks rake (for instance) is not
1392 >installed.
1393 >
1394 >Is this a sup issue?
1395
1396 No, I don't think so. AFAIK this is a known issue with the gem system
1397 in combination with other packaging systems.
1398
1399 /M
1400
1401 --
1402 Magnus Therning (OpenPGP: 0xAB4DFBA4)
1403 magnus?therning?org Jabber: magnus?therning?gmail?com
1404 http://therning.org/magnus
1405 -------------- next part --------------
1406 A non-text attachment was scrubbed...
1407 Name: not available
1408 Type: application/pgp-signature
1409 Size: 189 bytes
1410 Desc: not available
1411 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071012/0e90229f/attachment.bin
1412
1413 From col@baibell.org Fri Oct 12 23:29:50 2007
1414 From: col@baibell.org (Colin Bell)
1415 Date: Sat, 13 Oct 2007 13:29:50 +1000
1416 Subject: [sup-talk] [PATCH] Toggle show only laebls with unread email
1417 Message-ID: <1192246072-sup-7445@lankhmar>
1418
1419 Hi,
1420
1421 This patch allows you to toggle between showing all labels and only those with unread mail in label list mode by pressing the TAB key.
1422
1423 --
1424 Colin Bell
1425 -------------- next part --------------
1426 A non-text attachment was scrubbed...
1427 Name: toggle-unread.diff
1428 Type: application/octet-stream
1429 Size: 1216 bytes
1430 Desc: not available
1431 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071013/f59a26df/attachment.obj
1432
1433 From veganjenny@gmail.com Sat Oct 13 23:32:23 2007
1434 From: veganjenny@gmail.com (jenny w)
1435 Date: Sat, 13 Oct 2007 20:32:23 -0700
1436 Subject: [sup-talk] Amazon.com messages can't be added to index
1437 Message-ID: <b1d95faa0710132032s72d54ea1y1899a90f71b43654@mail.gmail.com>
1438
1439 Hi,
1440
1441 I just installed sup and am quite excited to check it out in action. I
1442 haven't gotten much further than my first sync (27k messages over
1443 IMAPS), but I've noticed something that I didn't in the archives
1444 (relying on Google for searching).
1445
1446 Messages I've received from Amazon.com seem to consistently bring up
1447 an exception on line 157 of 188 of index.rb in the 0.1 release. I saw
1448 in the troubleshooting tips to try the version from svn but I get a
1449 similar exception. So I just changed "raise" to "puts", under the
1450 assumption this means that I just won't be able to search old
1451 Amazon.com messages. Right now I don't know if this is all Amazon.com
1452 messages or just some of them. After the sync is done I'll see if I
1453 can reproduce with just one message and try to narrow down what about
1454 the message is causing the problem.
1455
1456 Anyway, thought I'd mention it in case someone knows about this
1457 problem, or in case it helps track down what the problem is (the
1458 comment above line 188 is 'this hasn't been triggered in a long time.
1459 TODO: decide whether it's still a problem.')
1460
1461 Sample error message:
1462
1463 just added message .AAA-notification-24668,
1464 9630.1162603428 at na-rte-app-5104.iad5.amazon.com but couldn't find it
1465 in a search
1466
1467 From kevin.mark@verizon.net Sun Oct 14 01:20:03 2007
1468 From: kevin.mark@verizon.net (Kevin Mark)
1469 Date: Sun, 14 Oct 2007 01:20:03 -0400
1470 Subject: [sup-talk] Amazon.com messages can't be added to index
1471 In-Reply-To: <b1d95faa0710132032s72d54ea1y1899a90f71b43654@mail.gmail.com>
1472 References: <b1d95faa0710132032s72d54ea1y1899a90f71b43654@mail.gmail.com>
1473 Message-ID: <20071014052003.GE17985@horacrux>
1474
1475 On Sat, Oct 13, 2007 at 08:32:23PM -0700, jenny w wrote:
1476 > Hi,
1477 >
1478 > I just installed sup and am quite excited to check it out in action. I
1479 > haven't gotten much further than my first sync (27k messages over
1480 > IMAPS), but I've noticed something that I didn't in the archives
1481 > (relying on Google for searching).
1482 >
1483 > Messages I've received from Amazon.com seem to consistently bring up
1484 > an exception on line 157 of 188 of index.rb in the 0.1 release. I saw
1485 > in the troubleshooting tips to try the version from svn but I get a
1486 > similar exception. So I just changed "raise" to "puts", under the
1487 > assumption this means that I just won't be able to search old
1488 > Amazon.com messages. Right now I don't know if this is all Amazon.com
1489 > messages or just some of them. After the sync is done I'll see if I
1490 > can reproduce with just one message and try to narrow down what about
1491 > the message is causing the problem.
1492 >
1493 > Anyway, thought I'd mention it in case someone knows about this
1494 > problem, or in case it helps track down what the problem is (the
1495 > comment above line 188 is 'this hasn't been triggered in a long time.
1496 > TODO: decide whether it's still a problem.')
1497 >
1498 > Sample error message:
1499 >
1500 > just added message .AAA-notification-24668,
1501 > 9630.1162603428 at na-rte-app-5104.iad5.amazon.com but couldn't find it
1502 > in a search
1503
1504 It would be helpful to the list to show a portion of the actual error
1505 message(or all of it if its small) instead of a restatement of it. A
1506 restatement of an error message is rarely adequet to solve an error.
1507
1508 --
1509 | .''`. == Debian GNU/Linux == | my web site: |
1510 | : :' : The Universal |mysite.verizon.net/kevin.mark/|
1511 | `. `' Operating System | go to counter.li.org and |
1512 | `- http://www.debian.org/ | be counted! #238656 |
1513 | my keyserver: subkeys.pgp.net | my NPO: cfsg.org |
1514 |join the new debian-community.org to help Debian! |
1515 |_______ Unless I ask to be CCd, assume I am subscribed _______|
1516
1517 From veganjenny@gmail.com Sun Oct 14 05:04:04 2007
1518 From: veganjenny@gmail.com (jenny w)
1519 Date: Sun, 14 Oct 2007 02:04:04 -0700
1520 Subject: [sup-talk] Amazon.com messages can't be added to index
1521 In-Reply-To: <20071014052003.GE17985@horacrux>
1522 References: <b1d95faa0710132032s72d54ea1y1899a90f71b43654@mail.gmail.com>
1523 <20071014052003.GE17985@horacrux>
1524 Message-ID: <b1d95faa0710140204x2bfcfa9dt6489c66ec146f684@mail.gmail.com>
1525
1526 On 10/13/07, Kevin Mark <kevin.mark at verizon.net> wrote:
1527 > It would be helpful to the list to show a portion of the actual error
1528 > message(or all of it if its small) instead of a restatement of it. A
1529 > restatement of an error message is rarely adequet to solve an error.
1530
1531
1532 Okay, more info. I ended up running this under ruby-debug to see what
1533 was going on. It seems the problem I'm having is that Amazon.com
1534 sends me messages with message_ids like:
1535
1536 AAA-notification-70925, 4617.1234123412 at na-rte-app-5105.iad5.amazon.com
1537
1538 The space after the comma is what's throwing ferret off.
1539
1540 I don't know if it helps, but I noticed that if I try doing
1541 @index.search("message_id:#{m.id}") ferret will find the doc. This
1542 seems to be because Ferret is turning the string into a Boolean (as
1543 opposed to Term) query.
1544
1545 From nicolas.pouillard@gmail.com Sun Oct 14 05:26:02 2007
1546 From: nicolas.pouillard@gmail.com (Nicolas Pouillard)
1547 Date: Sun, 14 Oct 2007 11:26:02 +0200
1548 Subject: [sup-talk] Also,
1549 seems to be throwing lots of invalid encoding errors
1550 Message-ID: <1192353950-sup-6437@ausone.local>
1551
1552 Excerpts from Timothy Johnson's message of Fri Oct 12 19:51:41 +0200 2007:
1553 > Any fixes for this error?
1554 > warning: error decoding message body from "iso-8859-1": invalid
1555 > encoding ("utf-8", ""iso-8859-1"")
1556 > and variations on that message.
1557
1558 If I well remember this bug is fixed in the svn but not released yet.
1559
1560 HTH,
1561
1562
1563 --
1564 Nicolas Pouillard aka Ertai
1565
1566 From pierre@baillet.name Sun Oct 14 07:20:47 2007
1567 From: pierre@baillet.name (Pierre Baillet)
1568 Date: Sun, 14 Oct 2007 13:20:47 +0200
1569 Subject: [sup-talk] Vim integration
1570 Message-ID: <6205b42d0710140420o54dc7b7es32346829e6644d77@mail.gmail.com>
1571
1572 Hi,
1573
1574 easy tip, but might prove useful for some of you.
1575
1576 Add the following line into your .vimrc to get syntax coloration when
1577 composing emails with sup:
1578
1579 au BufRead sup.* set ft=mail
1580
1581 HTH,
1582 --
1583 Pierre Baillet <pierre at baillet.name>
1584 -------------- next part --------------
1585 An HTML attachment was scrubbed...
1586 URL: http://rubyforge.org/pipermail/sup-talk/attachments/20071014/f154645b/attachment.html
1587
1588 From pierre@baillet.name Sun Oct 14 08:17:48 2007
1589 From: pierre@baillet.name (Pierre Baillet)
1590 Date: Sun, 14 Oct 2007 14:17:48 +0200
1591 Subject: [sup-talk] [PATCH] Configurable automatic CC and BCC
1592 Message-ID: <6205b42d0710140517n1b006956tef57f60b101568e2@mail.gmail.com>
1593
1594 Hi,
1595
1596 In case you'd want to always have a given address CCed or BBCed, here is a
1597 patch that applies to current sup trunk. It adds a "cc" and "bcc" variable
1598 in the account configuration. Edit your ~/.sup/config.yaml and add bcc and
1599 cc options. These options are per account.
1600
1601 When in compose and reply mode, sup then automatically adds these headers.
1602 Current limitation includes a single address per header, could be probably
1603 extended to a list of addresses...
1604
1605 Feel free to make any comment if you wish so.
1606 --
1607 Pierre.
1608
1609
1610 :edit_signature: false
1611 :accounts:
1612 :default:
1613 :name: John Doe
1614 :alternates:
1615 - john.doe at internet.com
1616 :email: john at doe.com
1617 :signature: /home/john/.signature
1618 :sendmail: /usr/sbin/sendmail -oem -ti
1619 :bcc: john at home.net
1620 :cc: john at work.com
1621
1622 --
1623 Pierre Baillet <pierre at baillet.name>
1624 -------------- next part --------------
1625 An HTML attachment was scrubbed...
1626 URL: http://rubyforge.org/pipermail/sup-talk/attachments/20071014/ef45c5e2/attachment.html
1627 -------------- next part --------------
1628 A non-text attachment was scrubbed...
1629 Name: cc_bcc_path.diff
1630 Type: application/octet-stream
1631 Size: 2928 bytes
1632 Desc: not available
1633 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071014/ef45c5e2/attachment.obj
1634
1635 From itaylor@uark.edu Sun Oct 14 13:34:00 2007
1636 From: itaylor@uark.edu (Ian Taylor)
1637 Date: Sun, 14 Oct 2007 13:34:00 -0400
1638 Subject: [sup-talk] Vim integration
1639 In-Reply-To: <6205b42d0710140420o54dc7b7es32346829e6644d77@mail.gmail.com>
1640 References: <6205b42d0710140420o54dc7b7es32346829e6644d77@mail.gmail.com>
1641 Message-ID: <1192383184-sup-2936@silver>
1642
1643 Excerpts from Pierre Baillet's message of Sun Oct 14 07:20:47 -0400 2007:
1644 > easy tip, but might prove useful for some of you.
1645 >
1646 > Add the following line into your .vimrc to get syntax coloration when
1647 > composing emails with sup:
1648 >
1649 > au BufRead sup.* set ft=mail
1650
1651 You could also do something like this in config.yaml
1652
1653 :editor: /usr/bin/vim -f -c 'setlocal spell spelllang=en_us' -c 'set filetype=mail'
1654
1655 --
1656 Ian Taylor
1657
1658 From chrisw@rice.edu Sun Oct 14 17:23:57 2007
1659 From: chrisw@rice.edu (Christopher Warrington)
1660 Date: Sun, 14 Oct 2007 16:23:57 -0500
1661 Subject: [sup-talk] Amazon.com messages can't be added to index
1662 In-Reply-To: <b1d95faa0710140204x2bfcfa9dt6489c66ec146f684@mail.gmail.com>
1663 References: <b1d95faa0710132032s72d54ea1y1899a90f71b43654@mail.gmail.com>
1664 <20071014052003.GE17985@horacrux>
1665 <b1d95faa0710140204x2bfcfa9dt6489c66ec146f684@mail.gmail.com>
1666 Message-ID: <1192396734-sup-4334@chris-tablet>
1667
1668 Excerpts from veganjenny's message of Sun Oct 14 04:04:04 -0500 2007:
1669 > Okay, more info. I ended up running this under ruby-debug to see what
1670 > was going on. It seems the problem I'm having is that Amazon.com
1671 > sends me messages with message_ids like:
1672 >
1673 > AAA-notification-70925, 4617.1234123412 at na-rte-app-5105.iad5.amazon.com
1674 >
1675 > The space after the comma is what's throwing ferret off.
1676
1677 I know that this doesn't solve the problem, but that's not a valid
1678 RFC822 MID. The space and comma are not allowed in the part to the left
1679 of the at-sign (unless the part to the left is a quoted string, which it
1680 is not in this case). Section 3.4.1 talks explicitly about this.
1681
1682 --
1683 Christopher Warrington <chrisw at rice.edu>
1684 Jones College
1685
1686 From veganjenny@gmail.com Sun Oct 14 18:32:08 2007
1687 From: veganjenny@gmail.com (jenny w)
1688 Date: Sun, 14 Oct 2007 15:32:08 -0700
1689 Subject: [sup-talk] Amazon.com messages can't be added to index
1690 In-Reply-To: <1192396734-sup-4334@chris-tablet>
1691 References: <b1d95faa0710132032s72d54ea1y1899a90f71b43654@mail.gmail.com>
1692 <20071014052003.GE17985@horacrux>
1693 <b1d95faa0710140204x2bfcfa9dt6489c66ec146f684@mail.gmail.com>
1694 <1192396734-sup-4334@chris-tablet>
1695 Message-ID: <b1d95faa0710141532g7e24d184p44af10f888723ae2@mail.gmail.com>
1696
1697 On 10/14/07, Christopher Warrington <chrisw at rice.edu> wrote:
1698
1699 > I know that this doesn't solve the problem, but that's not a valid
1700 > RFC822 MID. The space and comma are not allowed in the part to the left
1701 > of the at-sign (unless the part to the left is a quoted string, which it
1702 > is not in this case). Section 3.4.1 talks explicitly about this.
1703
1704 Yes, that's a problem, and I think they've fixed it in their current
1705 e-mails, but I suspect violations of rfc822 will continue happen.
1706
1707 I think the problem is that the field gets tokenized. I thought using
1708 a PhraseQuery would solve the problem, but that didn't help. Sorry I
1709 can't provide more useful information!
1710
1711 From pierre@baillet.name Mon Oct 15 02:02:12 2007
1712 From: pierre@baillet.name (Pierre Baillet)
1713 Date: Mon, 15 Oct 2007 08:02:12 +0200
1714 Subject: [sup-talk] sup-sync-back: killed threads and read status
1715 Message-ID: <6205b42d0710142302u2ca4c6c0yc53336434bc4fe39@mail.gmail.com>
1716
1717 Hi,
1718
1719 sup-sync-back does not seem to delete killed messages. I think, it should do
1720 that.
1721
1722 Moreover, the "Read" status of emails is not changed in the original
1723 mailbox. I'm not sure it's sup-sync-back job to do that, but the Principle
1724 Of Least Surprise would probably expect that.
1725
1726 Cheers,
1727 --
1728 Pierre Baillet <pierre at baillet.name>
1729 -------------- next part --------------
1730 An HTML attachment was scrubbed...
1731 URL: http://rubyforge.org/pipermail/sup-talk/attachments/20071015/b0db3b0b/attachment.html
1732
1733 From chrisw@rice.edu Mon Oct 15 02:42:23 2007
1734 From: chrisw@rice.edu (Christopher Warrington)
1735 Date: Mon, 15 Oct 2007 01:42:23 -0500
1736 Subject: [sup-talk] sup-sync-back: killed threads and read status
1737 In-Reply-To: <6205b42d0710142302u2ca4c6c0yc53336434bc4fe39@mail.gmail.com>
1738 References: <6205b42d0710142302u2ca4c6c0yc53336434bc4fe39@mail.gmail.com>
1739 Message-ID: <1192430420-sup-9514@chris-tablet>
1740
1741 Excerpts from Pierre Baillet's message of Mon Oct 15 01:02:12 -0500 2007:
1742 > sup-sync-back does not seem to delete killed messages. I think, it should do
1743 > that.
1744
1745 That make sense to be. "Kill thread" (&) is more like "Ignore thread"
1746 than "Delete thread" (d) (at least to me). I still want it in my index
1747 in case I want to get something from it later. I am, however, no longer
1748 interested in it or changes to it.
1749
1750 --
1751 Christopher Warrington <chrisw at rice.edu>
1752
1753 From chrisw@rice.edu Mon Oct 15 02:49:55 2007
1754 From: chrisw@rice.edu (Christopher Warrington)
1755 Date: Mon, 15 Oct 2007 01:49:55 -0500
1756 Subject: [sup-talk] PATCH - Refine Search
1757 Message-ID: <1192430824-sup-1710@chris-tablet>
1758
1759 The attached patch (my first one: I may have screwed it up) adds the
1760 ability to refine a search from the results view. Pressing '.' will
1761 prompt for a new query, using the old one as the seed.
1762
1763 Suggestions and comments welcome!
1764
1765 I release this code into the public domain. Enjoy.
1766
1767 --
1768 Christopher Warrington <chrisw at rice.edu>
1769 -------------- next part --------------
1770 A non-text attachment was scrubbed...
1771 Name: refine_search.diff
1772 Type: application/octet-stream
1773 Size: 1516 bytes
1774 Desc: not available
1775 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071015/a45ad78b/attachment-0001.obj
1776
1777 From marcus-sup@quintic.co.uk Mon Oct 15 08:49:34 2007
1778 From: marcus-sup@quintic.co.uk (Marcus Williams)
1779 Date: Mon, 15 Oct 2007 13:49:34 +0100
1780 Subject: [sup-talk] Feature Req: Command line search/display options
1781 Message-ID: <471361DE.9040008@quintic.co.uk>
1782
1783 Hi -
1784
1785 I posted this in the tracker on RubyForge but then noticed the mail list
1786 so I thought I'd put it here for discussion. I'd like to add some
1787 command line options to search/display messages, because then I can
1788 script using sup outside of sup as it were.
1789
1790 So c&p from tracker:
1791
1792 -------------------------
1793 What would be _really_ nice (and I might have a go at a patch if given
1794 some pointers where to start looking) would besome command line options
1795 to search for messages (printing a list of matches and exiting) and to
1796 display a single message (and exit).
1797
1798 What I'm thinking is something like:
1799
1800 sup --search "some search term"
1801
1802 [someid0] [from] [Subject...................]
1803 [someid1] [from] [Subject...................]
1804 [someid2] [from] [Subject...................]
1805 [someid3] [from] [Subject...................]
1806 [someid.] [from] [Subject...................]
1807 [someidn] [from] [Subject...................]
1808
1809 sup --display someid0
1810
1811 From: blah@blah.com
1812 Subject: This is my subject
1813
1814 The body.
1815 -------------------------
1816
1817 Like I said, I can implement this and submit a patch but it might be
1818 faster if someone pointed me to some relevant places in the source (or
1819 told me it can already be done....)
1820
1821 I'd also quite like the output to be machine parsable as an option (in
1822 the case of the search results anyway) and be able to add/remove labels
1823 from messages/threads, but I thought I'd start with plain text :)
1824
1825 Anyone else find this useful?
1826
1827 Marcus
1828
1829 From brandon@ifup.org Sat Oct 13 01:00:48 2007
1830 From: brandon@ifup.org (Brandon Philips)
1831 Date: Fri, 12 Oct 2007 22:00:48 -0700
1832 Subject: [sup-talk] Crash while indexing 47000 message maildir
1833 Message-ID: <20071013050048.GA16465@ifup.org>
1834
1835 Hello-
1836
1837 I got the following error after I started sup-add on 47118 message
1838 maildir and tried to view the label while sup was indexing.
1839
1840 sup-add maildir:/home/philips/Mail/ifup.linux-kernel/ -a -l lkml
1841
1842 sup
1843
1844 L lkml <enter>
1845
1846 Crash.
1847
1848 Thanks,
1849
1850 Brandon
1851
1852 /var/lib/gems/1.8/gems/sup-0.1/lib/sup/buffer.rb:32: warning: already
1853 initialized constant KEY_ENTER
1854 /var/lib/gems/1.8/gems/sup-0.1/lib/sup/buffer.rb:33: warning: already
1855 initialized constant KEY_CANCEL
1856 [Fri Oct 12 21:51:14 -0700 2007] locking /home/philips/.sup/lock...
1857 [Fri Oct 12 21:51:14 -0700 2007] loading index...
1858 [Fri Oct 12 21:51:14 -0700 2007] loaded index of 5017 messages
1859 [Fri Oct 12 21:51:14 -0700 2007] starting curses
1860 [Fri Oct 12 21:56:02 -0700 2007] stopped cursing
1861 [Fri Oct 12 21:56:02 -0700 2007] oh crap, an exception
1862 [Fri Oct 12 21:56:02 -0700 2007] unlocking /home/philips/.sup/lock...
1863 ----------------------------------------------------------------
1864 I'm very sorry, but it seems that an error occurred in Sup.
1865 Please accept my sincere apologies. If you don't mind, please
1866 send the backtrace below and a brief report of the circumstances
1867 to sup-talk at rubyforge dot orgs so that I might address this
1868 problem. Thank you!
1869
1870 Sincerely,
1871 William
1872 ----------------------------------------------------------------
1873
1874 The problem was: 'IO Error occured at <except.c>:93 in xraise
1875 Error occured in fs_store.c:293 - fsi_seek_i
1876 seeking pos 29850024: <Bad file descriptor>
1877
1878 ' (error type IOError)
1879 A backtrace follows:
1880 /var/lib/gems/1.8/gems/sup-0.1/lib/sup/index.rb:300:in `default': IO
1881 Error occured at <except.c>:93 in xraise (IOError)
1882 Error occured in fs_store.c:293 - fsi_seek_i
1883 seeking pos 29850024: <Bad file descriptor>
1884
1885 from /var/lib/gems/1.8/gems/sup-0.1/lib/sup/index.rb:300:in `[]'
1886 from /var/lib/gems/1.8/gems/sup-0.1/lib/sup/index.rb:300:in
1887 `build_message'
1888 from /var/lib/gems/1.8/gems/sup-0.1/lib/sup/index.rb:274:in
1889 `each_message_in_thread_for'
1890 from /var/lib/gems/1.8/gems/sup-0.1/lib/sup/thread.rb:316:in
1891 `call'
1892 from /var/lib/gems/1.8/gems/sup-0.1/lib/sup/thread.rb:316:in
1893 `load_thread_for_message'
1894 from /var/lib/gems/1.8/gems/sup-0.1/lib/sup/index.rb:281:in
1895 `each_message_in_thread_for'
1896 from /var/lib/gems/1.8/gems/sup-0.1/lib/sup/index.rb:281:in
1897 `each'
1898 from /var/lib/gems/1.8/gems/sup-0.1/lib/sup/index.rb:281:in
1899 `each_message_in_thread_for'
1900 ... 16 levels...
1901 from
1902 /var/lib/gems/1.8/gems/sup-0.1/lib/sup/modes/thread-index-mode.rb:394:in
1903 `load_threads'
1904 from /var/lib/gems/1.8/gems/sup-0.1/bin/sup:233
1905 from /var/lib/gems/1.8/bin/sup:16:in `load'
1906 from /var/lib/gems/1.8/bin/sup:16
1907
1908
1909 From chrisw@rice.edu Mon Oct 15 13:41:40 2007
1910 From: chrisw@rice.edu (Christopher Warrington)
1911 Date: Mon, 15 Oct 2007 12:41:40 -0500
1912 Subject: [sup-talk] Feature Req: Command line search/display options
1913 In-Reply-To: <471361DE.9040008@quintic.co.uk>
1914 References: <471361DE.9040008@quintic.co.uk>
1915 Message-ID: <1192469923-sup-2024@chris-tablet>
1916
1917 Excerpts from Marcus Williams's message of Mon Oct 15 07:49:34 -0500 2007:
1918 > Like I said, I can implement this and submit a patch but it might be
1919 > faster if someone pointed me to some relevant places in the source (or
1920 > told me it can already be done....)
1921
1922 For the search code, take a look at bin/sup around line 214.
1923
1924 For message viewing, take a look at lib/sup/modes/thread-view-mode.rb
1925
1926 HTH.
1927
1928 --
1929 Christopher Warrington <chrisw at rice.edu>
1930 Jones College
1931
1932 From itaylor@uark.edu Mon Oct 15 21:25:06 2007
1933 From: itaylor@uark.edu (Ian Taylor)
1934 Date: Mon, 15 Oct 2007 21:25:06 -0400
1935 Subject: [sup-talk] run-mailcap not working correctly
1936 Message-ID: <1192497496-sup-690@silver>
1937
1938 systeming run-mailcap doesn't seem to work on my system with >&
1939 /dev/null appended. Think this is an issue with my setup?
1940
1941 Index: lib/sup/message-chunks.rb
1942 ===================================================================
1943 --- lib/sup/message-chunks.rb (revision 611)
1944 +++ lib/sup/message-chunks.rb (working copy)
1945 @@ -78,7 +78,7 @@
1946 def viewable?; @lines.nil? end
1947 def view!
1948 path = write_to_disk
1949 - system "/usr/bin/run-mailcap --action=view #{@content_type}:#{path} >& /dev/null"
1950 + system "/usr/bin/run-mailcap --action=view #{@content_type}:#{path}"
1951 $? == 0
1952 end
1953
1954 --
1955 Ian Taylor
1956
1957 From pierre@baillet.name Tue Oct 16 04:19:38 2007
1958 From: pierre@baillet.name (Pierre Baillet)
1959 Date: Tue, 16 Oct 2007 10:19:38 +0200
1960 Subject: [sup-talk] run-mailcap not working correctly
1961 In-Reply-To: <1192497496-sup-690@silver>
1962 References: <1192497496-sup-690@silver>
1963 Message-ID: <6205b42d0710160119k5291a5e2ta1e89a0040471972@mail.gmail.com>
1964
1965 Hi,
1966
1967 I got the same issue on my debian setup here. Removing the >&... made the
1968 html attachement work again.
1969
1970
1971 On 10/16/07, Ian Taylor <itaylor at uark.edu> wrote:
1972 >
1973 > systeming run-mailcap doesn't seem to work on my system with >&
1974 > /dev/null appended. Think this is an issue with my setup?
1975 >
1976 > Index: lib/sup/message-chunks.rb
1977 > ===================================================================
1978 > --- lib/sup/message-chunks.rb (revision 611)
1979 > +++ lib/sup/message-chunks.rb (working copy)
1980 > @@ -78,7 +78,7 @@
1981 > def viewable?; @lines.nil? end
1982 > def view!
1983 > path = write_to_disk
1984 > - system "/usr/bin/run-mailcap --action=view #{@content_type}:#{path}
1985 > >& /dev/null"
1986 > + system "/usr/bin/run-mailcap --action=view
1987 > #{@content_type}:#{path}"
1988 > $? == 0
1989 > end
1990 >
1991 > --
1992 > Ian Taylor
1993 > _______________________________________________
1994 > sup-talk mailing list
1995 > sup-talk at rubyforge.org
1996 > http://rubyforge.org/mailman/listinfo/sup-talk
1997 >
1998
1999
2000
2001 --
2002 Pierre Baillet <pierre at baillet.name>
2003 -------------- next part --------------
2004 An HTML attachment was scrubbed...
2005 URL: http://rubyforge.org/pipermail/sup-talk/attachments/20071016/4fc091d6/attachment.html
2006
2007 From marcus-sup@quintic.co.uk Tue Oct 16 07:03:52 2007
2008 From: marcus-sup@quintic.co.uk (Marcus Williams)
2009 Date: Tue, 16 Oct 2007 12:03:52 +0100
2010 Subject: [sup-talk] [PATCH] Added --search option to sup
2011 Message-ID: <47149A98.1040800@quintic.co.uk>
2012
2013 Hi -
2014
2015 Attached is a simple patch to sup to add a command line option to jump
2016 straight into a search from the command line. This doesnt do the feature
2017 request of mine from yesterday as I'm implementing that in a sup-cli
2018 script separately. I thought it was useful enough though - apols for any
2019 ruby nooby code ;)
2020
2021 So you can do something like:
2022
2023 sup --search "from:sup-talk* subject:PATCH"
2024
2025 Marcus
2026 -------------- next part --------------
2027 An embedded and charset-unspecified text was scrubbed...
2028 Name: sup.diff
2029 Url: http://rubyforge.org/pipermail/sup-talk/attachments/20071016/d583276d/attachment.pl
2030
2031 From raymond@raykroeker.com Tue Oct 16 22:39:28 2007
2032 From: raymond@raykroeker.com (Raymond Kroeker)
2033 Date: Tue, 16 Oct 2007 19:39:28 -0700
2034 Subject: [sup-talk] Sup on Ubuntu
2035 Message-ID: <fa14d5020710161939w3ac2073dh8b706137082888b3@mail.gmail.com>
2036
2037 Hi All,
2038 I've a problem running sup. I downloaded/compiled/installed ruby 1.8.5.
2039 I downloaded/installed gems 0.9.4. I installed the sup gem and its
2040 dependencies. When I run sup I get the included warnings/errors.
2041
2042 I _think_ my problem has something to do with my potential confusion
2043 between ncurses and curses. I've installed the libraries via apt; and can
2044 load ncurses (see below) but curses cannot be loaded.
2045
2046 Any help would be appreciated.
2047
2048 user at host:~$ sup
2049 /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:34: warning: already
2050 initialized constant VERSION
2051 /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:36: warning: already
2052 initialized constant BASE_DIR
2053 /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:37: warning: already
2054 initialized constant CONFIG_FN
2055 /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:38: warning: already
2056 initialized constant SOURCE_FN
2057 /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:39: warning: already
2058 initialized constant LABEL_FN
2059 /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:40: warning: already
2060 initialized constant PERSON_FN
2061 /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:41: warning: already
2062 initialized constant CONTACT_FN
2063 /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:42: warning: already
2064 initialized constant DRAFT_DIR
2065 /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:43: warning: already
2066 initialized constant SENT_FN
2067 /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:44: warning: already
2068 initialized constant LOCK_FN
2069 /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:45: warning: already
2070 initialized constant SUICIDE_FN
2071 /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:47: warning: already
2072 initialized constant YAML_DOMAIN
2073 /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:48: warning: already
2074 initialized constant YAML_DATE
2075 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
2076 `gem_original_require': no such file to load -- curses (LoadError)
2077 from
2078 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
2079 from /usr/local/lib/ruby/gems/1.8/gems/sup-0.1
2080 /lib/sup/textfield.rb:1
2081 from
2082 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
2083 `gem_original_require'
2084 from
2085 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in `require'
2086 from /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:217
2087 from
2088 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
2089 `gem_original_require'
2090 from
2091 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in `require'
2092 from /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/bin/sup:7
2093 from /usr/local/bin/sup:16:in `load'
2094 from /usr/local/bin/sup:16
2095
2096
2097 I also have this issue if I start irb and type:
2098
2099 user at host:~$ irb
2100 irb(main):001:0> require 'rubygems'
2101 => true
2102 irb(main):002:0> require 'curses'
2103 LoadError: no such file to load -- curses
2104 from
2105 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
2106 `gem_original_require'
2107 from
2108 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
2109 from (irb):2
2110 irb(main):003:0> require 'ncurses'
2111 => true
2112 irb(main):004:0> quit
2113
2114
2115 --
2116 ---------------------------------------------------------
2117 Raymond Kroeker
2118 -------------- next part --------------
2119 An HTML attachment was scrubbed...
2120 URL: http://rubyforge.org/pipermail/sup-talk/attachments/20071016/15204523/attachment-0001.html
2121
2122 From alexander.panek@brainsware.org Thu Oct 18 05:32:24 2007
2123 From: alexander.panek@brainsware.org (Alexander Panek)
2124 Date: Thu, 18 Oct 2007 11:32:24 +0200
2125 Subject: [sup-talk] Crash on saving messages
2126 Message-ID: <20071018113224.9fccaf5d.alexander.panek@brainsware.org>
2127
2128 Hello,
2129
2130 when saving the status (un/read) of my messages (with '$'), sup crashes:
2131
2132 [Thu Oct 18 11:26:51 +0200 2007] stopped cursing
2133 [Thu Oct 18 11:26:51 +0200 2007] oh crap, an exception
2134 [Thu Oct 18 11:26:51 +0200 2007] unlocking /home/jim/.sup/lock...
2135 ----------------------------------------------------------------
2136 I'm very sorry, but it seems that an error occurred in Sup.
2137 Please accept my sincere apologies. If you don't mind, please
2138 send the backtrace below and a brief report of the circumstances
2139 to sup-talk at rubyforge dot orgs so that I might address this
2140 problem. Thank you!
2141
2142 Sincerely,
2143 William
2144 ----------------------------------------------------------------
2145
2146 The problem was: 'undefined method `[]' for nil:NilClass' (error type
2147 NoMethodError) A backtrace follows:
2148 /usr/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/imap.rb:272:in
2149 `get_imap_fields': undefined method `[]' for nil:NilClass
2150 (NoMethodError)
2151 from /usr/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/imap.rb:114:in
2152 `unsynchronized_raw_header' from (eval):3:in `raw_header' from
2153 (eval):3:in `synchronize' from (eval):3:in `raw_header'
2154 from /usr/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/imap.rb:105:in
2155 `load_header'
2156 from /usr/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/util.rb:431:in `send'
2157 from /usr/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/util.rb:431:in
2158 `__pass'
2159 from /usr/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/util.rb:420:in
2160 `method_missing' ... 22 levels...
2161 from /usr/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/buffer.rb:193:in
2162 `handle_input' from /usr/lib/ruby/gems/1.8/gems/sup-0.1/bin/sup:195
2163 from /usr/bin/sup:16:in `load' from /usr/bin/sup:16
2164
2165 I am using the gem, version 0.1. Is this fixed in SVN?
2166
2167 Anyways: keep up the good work! :)
2168 --
2169 Alexander Panek <alexander.panek at brainsware.org>
2170
2171 From marcus-sup@quintic.co.uk Fri Oct 19 06:52:31 2007
2172 From: marcus-sup@quintic.co.uk (Marcus Williams)
2173 Date: Fri, 19 Oct 2007 11:52:31 +0100
2174 Subject: [sup-talk] [PATCH] New hook (enabling message filters)
2175 Message-ID: <47188C6F.30008@quintic.co.uk>
2176
2177 Hi -
2178
2179 Attached is a patch to poll.rb to add the ability to filter messages
2180 pre-indexing. Theres one current problem with it which I cant figure out
2181 and thats the warnings you get when its run from sup-sync about missing
2182 a say_id - I think this is something to do with not having a buffer
2183 manager in sup-sync. Anyone any ideas how to get the say method in
2184 hooks.rb to fail gracefully to something else if the buffermanager isnt
2185 available?
2186
2187 This hook allows you to do this in your .sup/hooks/before-add-message.rb:
2188
2189 ##
2190 if message.subj =~ /^\[sup-talk\]/
2191 message.add_label "sup"
2192 message.add_label "list"
2193 end
2194
2195 message.add_label "work" if message.from =~ /mywork at email.com/
2196 message.add_label "home" if message.from =~ /myhome at email.com/
2197 ##
2198
2199 .... and then when polling or during sup-sync this hook gets run for
2200 every message it adds to the index. "message" is the about-to-be-indexed
2201 email, changes made to it get passed on into the index.
2202
2203 Any comments or fixes (like the "say" issue), mail me (or reply on list)
2204
2205 Marcus
2206
2207 -------------- next part --------------
2208 An embedded and charset-unspecified text was scrubbed...
2209 Name: filter-hook.diff
2210 Url: http://rubyforge.org/pipermail/sup-talk/attachments/20071019/4144dbc4/attachment.pl
2211
2212 From stubbsd@zetani.com Fri Oct 19 08:51:27 2007
2213 From: stubbsd@zetani.com (David Stubbs)
2214 Date: Fri, 19 Oct 2007 13:51:27 +0100
2215 Subject: [sup-talk] [PATCH] New hook (enabling message filters)
2216 In-Reply-To: <47188C6F.30008@quintic.co.uk>
2217 References: <47188C6F.30008@quintic.co.uk>
2218 Message-ID: <1192797904-sup-1316@DASMac.local>
2219
2220 Excerpts from Marcus Williams's message of Fri Oct 19 11:52:31 +0100 2007:
2221 > Hi -
2222 >
2223 > Attached is a patch to poll.rb to add the ability to filter messages
2224 > pre-indexing. Theres one current problem with it which I cant figure out
2225 > and thats the warnings you get when its run from sup-sync about missing
2226 > a say_id - I think this is something to do with not having a buffer
2227 > manager in sup-sync. Anyone any ideas how to get the say method in
2228 > hooks.rb to fail gracefully to something else if the buffermanager isnt
2229 > available?
2230 >
2231 > This hook allows you to do this in your .sup/hooks/before-add-message.rb:
2232 >
2233 > ##
2234 > if message.subj =~ /^\[sup-talk\]/
2235 > message.add_label "sup"
2236 > message.add_label "list"
2237 > end
2238 >
2239 > message.add_label "work" if message.from =~ /mywork at email.com/
2240 > message.add_label "home" if message.from =~ /myhome at email.com/
2241 > ##
2242 >
2243 > .... and then when polling or during sup-sync this hook gets run for
2244 > every message it adds to the index. "message" is the about-to-be-indexed
2245 > email, changes made to it get passed on into the index.
2246 >
2247 > Any comments or fixes (like the "say" issue), mail me (or reply on list)
2248 >
2249 > Marcus
2250
2251 Hi Marcus,
2252
2253 Attached is a patch to stop warning for @__say_id when using hooks.
2254
2255 -------------- next part --------------
2256 A non-text attachment was scrubbed...
2257 Name: hook.diff
2258 Type: application/octet-stream
2259 Size: 354 bytes
2260 Desc: not available
2261 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071019/1832ed0e/attachment.obj
2262
2263 From marcus-sup@quintic.co.uk Fri Oct 19 09:46:39 2007
2264 From: marcus-sup@quintic.co.uk (Marcus Williams)
2265 Date: Fri, 19 Oct 2007 14:46:39 +0100
2266 Subject: [sup-talk] [PATCH] New hook (enabling message filters)
2267 In-Reply-To: <4d4780f700181787@IMSS-WIN>
2268 References: <47188C6F.30008@quintic.co.uk> <4d4780f700181787@IMSS-WIN>
2269 Message-ID: <4718B53F.3060704@quintic.co.uk>
2270
2271 [sent from wrong email address, so apols if people get dupes]
2272
2273 On 19/10/2007 David Stubbs wrote:
2274 > Attached is a patch to stop warning for @__say_id when using hooks.
2275
2276 Ta - and heres an update that includes that and redirects say to log if
2277 running from sup-sync and ask_yes_or_no to gets.
2278
2279 So you should be able to use all three and get something reasonable
2280 under both sup and sup-sync.
2281
2282 Marcus
2283
2284 -------------- next part --------------
2285 An embedded and charset-unspecified text was scrubbed...
2286 Name: filter-hook.diff
2287 Url: http://rubyforge.org/pipermail/sup-talk/attachments/20071019/34918dc3/attachment.pl
2288
2289 From marcus-sup@quintic.co.uk Fri Oct 19 09:50:07 2007
2290 From: marcus-sup@quintic.co.uk (Marcus Williams)
2291 Date: Fri, 19 Oct 2007 14:50:07 +0100
2292 Subject: [sup-talk] [PATCH] New hook (enabling message filters)
2293 In-Reply-To: <4d6e9e1600182d59@IMSS-WIN>
2294 References: <47188C6F.30008@quintic.co.uk> <4d4780f700181787@IMSS-WIN>
2295 <4d6e9e1600182d59@IMSS-WIN>
2296 Message-ID: <4718B60F.1090208@quintic.co.uk>
2297
2298 On 19/10/2007 Marcus Williams wrote:
2299 > Ta - and heres an update that includes that and redirects say to log if
2300 > running from sup-sync and ask_yes_or_no to gets.
2301
2302 ... this time I'll attach the right patch :(
2303 -------------- next part --------------
2304 An embedded and charset-unspecified text was scrubbed...
2305 Name: filter-hook.diff
2306 Url: http://rubyforge.org/pipermail/sup-talk/attachments/20071019/b3b0f231/attachment.pl
2307
2308 From stubbsd@zetani.com Fri Oct 19 10:03:13 2007
2309 From: stubbsd@zetani.com (David Stubbs)
2310 Date: Fri, 19 Oct 2007 15:03:13 +0100
2311 Subject: [sup-talk] [PATCH] New hook (enabling message filters)
2312 In-Reply-To: <4718B60F.1090208@quintic.co.uk>
2313 References: <47188C6F.30008@quintic.co.uk> <4d4780f700181787@IMSS-WIN>
2314 <4d6e9e1600182d59@IMSS-WIN> <4718B60F.1090208@quintic.co.uk>
2315 Message-ID: <1192802328-sup-8189@DASMac.local>
2316
2317 Excerpts from Marcus Williams's message of Fri Oct 19 14:50:07 +0100 2007:
2318 > On 19/10/2007 Marcus Williams wrote:
2319 > > Ta - and heres an update that includes that and redirects say to log if
2320 > > running from sup-sync and ask_yes_or_no to gets.
2321 >
2322 > ... this time I'll attach the right patch :(
2323
2324 Thanks Marcus,
2325
2326 This seems just what I'm looking for ;-). I've only just started to
2327 use Sup over the last 2 days - I'm hooked!
2328
2329 There are a few things I want to get sorted spam filtering is one of them. I'm
2330 assuming I'll be able to use your new patch to do spam filtering.
2331
2332 I'm going to have a play over the weekend.
2333
2334 Thanks!
2335
2336 From marcus-sup@quintic.co.uk Fri Oct 19 10:18:37 2007
2337 From: marcus-sup@quintic.co.uk (Marcus Williams)
2338 Date: Fri, 19 Oct 2007 15:18:37 +0100
2339 Subject: [sup-talk] [PATCH] New hook (enabling message filters)
2340 In-Reply-To: <4d7f58120018376f@IMSS-WIN>
2341 References: <47188C6F.30008@quintic.co.uk>
2342 <4d4780f700181787@IMSS-WIN> <4d6e9e1600182d59@IMSS-WIN>
2343 <4718B60F.1090208@quintic.co.uk> <4d7f58120018376f@IMSS-WIN>
2344 Message-ID: <4718BCBD.2030307@quintic.co.uk>
2345
2346 On 19/10/2007 David Stubbs wrote:
2347 > There are a few things I want to get sorted spam filtering is one of
2348 > them. I'm assuming I'll be able to use your new patch to do spam
2349 > filtering.
2350
2351 Yep, you can mark things directly as spam by adding the spam label I
2352 think, although I've not tried this yet. You could also kill a message
2353 by adding killed as a label.
2354
2355 So assuming your spam checker adds "SPAM" or something to the subject
2356 you can just do:
2357
2358 message.add_label "spam" if message.subj =~ /SPAM/
2359
2360 I think you can also use the message.raw_headers to look for specific
2361 headers (like X-Spam-Status if you're using spamassassin).
2362
2363 I'm not sure if the reserved labels like spam/killed etc can be added as
2364 strings or if you have to add them as symbols :spam or :killed - they're
2365 symbols in the code but they may get converted into strings when added
2366 to the index. Easy enough to test though.
2367
2368 Marcus
2369
2370 From stubbsd@zetani.com Fri Oct 19 10:21:50 2007
2371 From: stubbsd@zetani.com (David Stubbs)
2372 Date: Fri, 19 Oct 2007 15:21:50 +0100
2373 Subject: [sup-talk] [PATCH] New hook (enabling message filters)
2374 In-Reply-To: <4718BCBD.2030307@quintic.co.uk>
2375 References: <47188C6F.30008@quintic.co.uk> <4d4780f700181787@IMSS-WIN>
2376 <4d6e9e1600182d59@IMSS-WIN> <4718B60F.1090208@quintic.co.uk>
2377 <4d7f58120018376f@IMSS-WIN> <4718BCBD.2030307@quintic.co.uk>
2378 Message-ID: <1192803670-sup-9751@DASMac.local>
2379
2380 Excerpts from Marcus Williams's message of Fri Oct 19 15:18:37 +0100 2007:
2381 > On 19/10/2007 David Stubbs wrote:
2382 > > There are a few things I want to get sorted spam filtering is one of
2383 > > them. I'm assuming I'll be able to use your new patch to do spam
2384 > > filtering.
2385 >
2386 > Yep, you can mark things directly as spam by adding the spam label I
2387 > think, although I've not tried this yet. You could also kill a message
2388 > by adding killed as a label.
2389 >
2390 > So assuming your spam checker adds "SPAM" or something to the subject
2391 > you can just do:
2392 >
2393 > message.add_label "spam" if message.subj =~ /SPAM/
2394 >
2395 > I think you can also use the message.raw_headers to look for specific
2396 > headers (like X-Spam-Status if you're using spamassassin).
2397 >
2398 > I'm not sure if the reserved labels like spam/killed etc can be added as
2399 > strings or if you have to add them as symbols :spam or :killed - they're
2400 > symbols in the code but they may get converted into strings when added
2401 > to the index. Easy enough to test though.
2402 >
2403 > Marcus
2404
2405 Funky,
2406
2407 I'll give it a go!
2408
2409 From marcus-sup@quintic.co.uk Fri Oct 19 10:46:46 2007
2410 From: marcus-sup@quintic.co.uk (Marcus Williams)
2411 Date: Fri, 19 Oct 2007 15:46:46 +0100
2412 Subject: [sup-talk] Keeping two (or more) sups in sync
2413 Message-ID: <4718C356.5090105@quintic.co.uk>
2414
2415 Hi -
2416
2417 Has anyone any suggestions on how to keep two sup's in sync? What I mean
2418 is, I have a set of sup email sources and sup installed on my machine at
2419 home and work.
2420
2421 Both can be set up to use the same sources, but changes made with one
2422 copy of sup dont go to the other sup. At any one time I use one (work or
2423 home) exclusively if that matters.
2424
2425 To keep the indexes in sync is it enough to copy the .sup directory
2426 between the two machines? Or should I be using sup-dump?
2427
2428 Thanks
2429
2430 Marcus
2431
2432 From itaylor@uark.edu Fri Oct 19 15:33:08 2007
2433 From: itaylor@uark.edu (Ian Taylor)
2434 Date: Fri, 19 Oct 2007 15:33:08 -0400
2435 Subject: [sup-talk] sup crash on message load from imap source
2436 Message-ID: <1192822344-sup-5910@silver>
2437
2438 --- NoMethodError at Fri Oct 19 15:31:45 -0400 2007
2439 undefined method `[]' for nil:NilClass
2440 /var/lib/gems/1.8/gems/sup-0.1/lib/sup/imap.rb:272:in `get_imap_fields'
2441 /var/lib/gems/1.8/gems/sup-0.1/lib/sup/imap.rb:114:in `unsynchronized_raw_header'
2442 (eval):3:in `raw_header'
2443 (eval):3:in `synchronize'
2444 (eval):3:in `raw_header'
2445 /var/lib/gems/1.8/gems/sup-0.1/lib/sup/imap.rb:105:in `load_header'
2446 /var/lib/gems/1.8/gems/sup-0.1/lib/sup/util.rb:431:in `send'
2447 /var/lib/gems/1.8/gems/sup-0.1/lib/sup/util.rb:431:in `__pass'
2448 /var/lib/gems/1.8/gems/sup-0.1/lib/sup/util.rb:420:in `method_missing'
2449 /var/lib/gems/1.8/gems/sup-0.1/lib/sup/message.rb:153:in `load_from_source!'
2450 /var/lib/gems/1.8/gems/sup-0.1/lib/sup/modes/thread-index-mode.rb:73:in `select'
2451 /var/lib/gems/1.8/gems/sup-0.1/lib/sup/thread.rb:66:in `each'
2452 /var/lib/gems/1.8/gems/sup-0.1/lib/sup/thread.rb:161:in `each_with_stuff'
2453 /var/lib/gems/1.8/gems/sup-0.1/lib/sup/thread.rb:65:in `each'
2454 /var/lib/gems/1.8/gems/sup-0.1/lib/sup/modes/thread-index-mode.rb:73:in `select'
2455 /var/lib/gems/1.8/gems/sup-0.1/lib/sup/buffer.rb:587:in `say'
2456 /var/lib/gems/1.8/gems/sup-0.1/lib/sup/util.rb:395:in `send'
2457 /var/lib/gems/1.8/gems/sup-0.1/lib/sup/util.rb:395:in `method_missing'
2458 /var/lib/gems/1.8/gems/sup-0.1/lib/sup/modes/thread-index-mode.rb:72:in `select'
2459 /var/lib/gems/1.8/gems/sup-0.1/lib/sup.rb:69:in `reporting_thread'
2460 /var/lib/gems/1.8/gems/sup-0.1/lib/sup.rb:67:in `initialize'
2461 /var/lib/gems/1.8/gems/sup-0.1/lib/sup.rb:67:in `new'
2462 /var/lib/gems/1.8/gems/sup-0.1/lib/sup.rb:67:in `reporting_thread'
2463 /var/lib/gems/1.8/gems/sup-0.1/lib/sup/modes/thread-index-mode.rb:71:in `select'
2464 /var/lib/gems/1.8/gems/sup-0.1/lib/sup/mode.rb:52:in `send'
2465 /var/lib/gems/1.8/gems/sup-0.1/lib/sup/mode.rb:52:in `handle_input'
2466 /var/lib/gems/1.8/gems/sup-0.1/lib/sup/buffer.rb:193:in `handle_input'
2467 /var/lib/gems/1.8/gems/sup-0.1/bin/sup:195
2468 /var/lib/gems/1.8/bin/sup:16:in `load'
2469 /var/lib/gems/1.8/bin/sup:16
2470
2471
2472 --
2473 Ian Taylor
2474
2475 From vasudeva@linkswarm.com Tue Oct 23 09:42:36 2007
2476 From: vasudeva@linkswarm.com (vasudeva)
2477 Date: Tue, 23 Oct 2007 09:42:36 -0400
2478 Subject: [sup-talk] sup-talk emails in mbox format?
2479 Message-ID: <1193146815-sup-1943@lenin>
2480
2481 Anyone have the full sup-talk mailing list in mbox format, so I can get it into sup for easy reference? Google's being a pain in the ass about giving me what I want, and the mailman interface only serves up the archive as plaintext files.
2482
2483
2484 --
2485 linkswarm.com :: Collaborative Insolence
2486 vasudeva.linkswarm.com/gallery :: For The Faint of Heart
2487
2488
2489 From alexander.panek@brainsware.org Tue Oct 23 10:06:56 2007
2490 From: alexander.panek@brainsware.org (Alexander Panek)
2491 Date: Tue, 23 Oct 2007 16:06:56 +0200
2492 Subject: [sup-talk] Crash in message view
2493 Message-ID: <20071023160656.2e322db0.alexander.panek@brainsware.org>
2494
2495 sup just crashed when I hit "return" inside the message view (one line above the folded signature, hit it too soon) with
2496 following error:
2497
2498 The problem was: 'undefined method `expandable?' for #<Redwood::Chunk::Text:0xb76bdc28>' (error type NoMethodError)
2499 A backtrace follows:
2500 /usr/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/modes/thread-view-mode.rb:184:in `activate_chunk': undefined method `expandable?' for #<Redwood::Chunk::Text:0xb76bdc28> (NoMethodError)
2501 from /usr/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/mode.rb:52:in `send'
2502 from /usr/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/mode.rb:52:in `handle_input'
2503 from /usr/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/buffer.rb:193:in `handle_input'
2504 from /usr/lib/ruby/gems/1.8/gems/sup-0.1/bin/sup:195
2505 from /usr/bin/sup:16:in `load'
2506 from /usr/bin/sup:16
2507
2508 --
2509 Alexander Panek <alexander.panek at brainsware.org>
2510
2511 From vasudeva@linkswarm.com Tue Oct 23 10:47:22 2007
2512 From: vasudeva@linkswarm.com (vasudeva)
2513 Date: Tue, 23 Oct 2007 10:47:22 -0400
2514 Subject: [sup-talk] Adding stuff to the wiki...
2515 Message-ID: <1193150075-sup-9407@lenin>
2516
2517 I've finally gotten around to adding some bits to the wiki, which I've
2518 been meaning to do forever, for reasons that are purely selfish, to wit:
2519 I'm tired as hell of digging through the mailman interface, my BASH
2520 history, archived emails, etc., to retrieve "must look at this later"
2521 items which I inevitably misplace along the way.
2522
2523 http://sup.rubyforge.org/wiki/wiki.pl?HomePage
2524
2525 I know a bunch of us probably have nifty little bits of configuration
2526 and lore we could add; perhaps if you have such a bit, you could add it
2527 to the wiki, so we have one-stop shopping for all our sup intel needs.
2528 I've added what I can for the moment, which isn't much (cause I'm a
2529 newb) and could use your collaborative oversight (cause I'm a dumb one).
2530
2531 A rough HOWTO on editing the wiki is linked to on the HomePage. The wiki
2532 seems to disallow off-site linking, so if you missed this a few weeks
2533 back, here's the link William shared to the full HOWTO document...
2534
2535 http://www.usemod.com/cgi-bin/wiki.pl?TextFormattingRules
2536
2537 In particular, the method of adding a new page to the wiki is
2538 counter-intuitive, but is explained at the bottom of the above link.
2539 Strategically, it's probably more important that the information A) Get
2540 Shared than B) Be Instantly Pretty.
2541
2542 --
2543 linkswarm.com :: Collaborative Insolence
2544 vasudeva.linkswarm.com/gallery :: For The Faint of Heart
2545
2546
2547 From marcus-sup@quintic.co.uk Tue Oct 23 11:46:05 2007
2548 From: marcus-sup@quintic.co.uk (Marcus Williams)
2549 Date: Tue, 23 Oct 2007 16:46:05 +0100
2550 Subject: [sup-talk] sup-talk emails in mbox format?
2551 In-Reply-To: <00f6cdb300007d75@IMSS-WIN>
2552 References: <00f6cdb300007d75@IMSS-WIN>
2553 Message-ID: <471E173D.5000302@quintic.co.uk>
2554
2555 On 23/10/2007 vasudeva wrote:
2556 > Anyone have the full sup-talk mailing list in mbox format, so I can get
2557 > it into sup for easy reference? Google's being a pain in the ass about
2558 > giving me what I want, and the mailman interface only serves up the
2559 > archive as plaintext files.
2560
2561 Whilst they are plain text, they are actually stripped mbox's. Sup can
2562 index them (thats how I've put mine into sup anyway), just treat old
2563 archives as "unusual".
2564
2565 The only problem with this is that mailman has stripped old email
2566 addresses out of the archives so you dont get to see who wrote what, so
2567 a mbox with all of this info would still be useful (so I guess thats a
2568 me too! post)
2569
2570 Marcus
2571
2572 From alexander.panek@brainsware.org Tue Oct 23 11:50:53 2007
2573 From: alexander.panek@brainsware.org (Alexander Panek)
2574 Date: Tue, 23 Oct 2007 17:50:53 +0200
2575 Subject: [sup-talk] sup-talk emails in mbox format?
2576 In-Reply-To: <471E173D.5000302@quintic.co.uk>
2577 References: <00f6cdb300007d75@IMSS-WIN>
2578 <471E173D.5000302@quintic.co.uk>
2579 Message-ID: <20071023175053.22c68f7e.alexander.panek@brainsware.org>
2580
2581 On Tue, 23 Oct 2007 16:46:05 +0100
2582 Marcus Williams <marcus-sup at quintic.co.uk> wrote:
2583 > [...] (so I guess
2584 > thats a me too! post)
2585
2586 Same here! I'd like to have that, too.
2587
2588 Kind regards
2589 --
2590 Alexander Panek <alexander.panek at brainsware.org>
2591
2592 From chrisw@rice.edu Tue Oct 23 12:59:59 2007
2593 From: chrisw@rice.edu (Christopher Warrington)
2594 Date: Tue, 23 Oct 2007 11:59:59 -0500
2595 Subject: [sup-talk] sup-talk emails in mbox format?
2596 In-Reply-To: <1193146815-sup-1943@lenin>
2597 References: <1193146815-sup-1943@lenin>
2598 Message-ID: <1193158714-sup-973@chris-tablet>
2599
2600 Excerpts from vasudeva's message of Tue Oct 23 08:42:36 -0500 2007:
2601 > Anyone have the full sup-talk mailing list in mbox format, so I can get it into
2602 > sup for easy reference? Google's being a pain in the ass about giving me what I
2603 > want, and the mailman interface only serves up the archive as plaintext files.
2604
2605 mailman gives a stripped and munged mbox. I used sed to replace the
2606 munged e-mail addresses with actual ones.
2607
2608 Granted, I don't have all the headers, but it works well enough for me.
2609
2610 --
2611 Christopher Warrington <chrisw at rice.edu>
2612 Jones College
2613
2614 From philsnow@gmail.com Tue Oct 23 17:55:58 2007
2615 From: philsnow@gmail.com (Phil Snowberger)
2616 Date: Tue, 23 Oct 2007 17:55:58 -0400
2617 Subject: [sup-talk] PATCH: make each thread's snippet come from the latest
2618 reply, not the earliest
2619 Message-ID: <6ab4c98f0710231455w68f89232r527b8d4b43e9e16f@mail.gmail.com>
2620
2621 Attached is a patch (against the SVN trunk) that makes each thread's
2622 snippet come from the latest reply instead of the earliest.
2623
2624 I thought about providing a configuration option for it, but this
2625 really seems like the Right Thing To Do, so I'll both avoid needless
2626 work (figuring out how to add an option to sup) and go along with
2627 William's reluctance to turn sup's configuration into a huge soupy
2628 mess.
2629
2630 The motivation behind this change was that when I receive a one-line
2631 response to an email, that one line is the most important information
2632 about that thread at the moment, so the precious screen space in the
2633 thread index should go to that line.
2634
2635 --Phil
2636
2637 p.s. Thanks for sup, William! It's just what I wanted, but I hadn't
2638 realized what I wanted until I saw it :)
2639 -------------- next part --------------
2640 A non-text attachment was scrubbed...
2641 Name: sup-snippet-last.diff
2642 Type: text/x-diff
2643 Size: 618 bytes
2644 Desc: not available
2645 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071023/777d97b5/attachment.bin
2646
2647 From tim@timvaughan.co.uk Wed Oct 24 03:51:28 2007
2648 From: tim@timvaughan.co.uk (Tim Vaughan)
2649 Date: Wed, 24 Oct 2007 08:51:28 +0100
2650 Subject: [sup-talk] Google and IMAP
2651 Message-ID: <414a99f20710240051m4656b3b6sbd0057ba95dc68a6@mail.gmail.com>
2652
2653 I see here: http://mail.google.com/support/bin/answer.py?ctx=gmail&hl=en&answer=75725
2654 that Google is now rolling out IMAP access for Gmail accounts.
2655 I've been waiting for sup to have Gmail access before using it
2656 full-time - what does this development mean for sup/Gmail interaction
2657 now?
2658 I'd test this with sup myself but my Gmail account doesn't have IMAP
2659 access yet :(.
2660
2661 Cheers,
2662
2663 Tim
2664
2665 From kevin.mark@verizon.net Wed Oct 24 04:47:57 2007
2666 From: kevin.mark@verizon.net (Kevin Mark)
2667 Date: Wed, 24 Oct 2007 04:47:57 -0400
2668 Subject: [sup-talk] Google and IMAP
2669 In-Reply-To: <414a99f20710240051m4656b3b6sbd0057ba95dc68a6@mail.gmail.com>
2670 References: <414a99f20710240051m4656b3b6sbd0057ba95dc68a6@mail.gmail.com>
2671 Message-ID: <20071024084757.GO5471@horacrux>
2672
2673 On Wed, Oct 24, 2007 at 08:51:28AM +0100, Tim Vaughan wrote:
2674 > I see here: http://mail.google.com/support/bin/answer.py?ctx=gmail&hl=en&answer=75725
2675 > that Google is now rolling out IMAP access for Gmail accounts.
2676 > I've been waiting for sup to have Gmail access before using it
2677 > full-time - what does this development mean for sup/Gmail interaction
2678 > now?
2679 > I'd test this with sup myself but my Gmail account doesn't have IMAP
2680 > access yet :(.
2681 >
2682 Thanks for the heads up, I just created a gmail account and added imap
2683 support. Mutt to only a few minutes to get it to read imap. Now on to
2684 sup...
2685 =K
2686
2687 --
2688 | .''`. == Debian GNU/Linux == | my web site: |
2689 | : :' : The Universal |mysite.verizon.net/kevin.mark/|
2690 | `. `' Operating System | go to counter.li.org and |
2691 | `- http://www.debian.org/ | be counted! #238656 |
2692 | my keyserver: subkeys.pgp.net | my NPO: cfsg.org |
2693 |join the new debian-community.org to help Debian! |
2694 |_______ Unless I ask to be CCd, assume I am subscribed _______|
2695
2696 From marcus-sup@quintic.co.uk Wed Oct 24 04:59:52 2007
2697 From: marcus-sup@quintic.co.uk (Marcus Williams)
2698 Date: Wed, 24 Oct 2007 09:59:52 +0100
2699 Subject: [sup-talk] [PATCH] Tag all threads
2700 Message-ID: <471F0988.4010909@quintic.co.uk>
2701
2702 Hi -
2703
2704 Attached is a patch to toggle the tag status on all threads in the
2705 current view. Use the 'T' to toggle. Note that this only toggles the tag
2706 status of the current list of threads, so if you needed to toggle
2707 everything in your inbox you would need to have everything listed if you
2708 get my drift.
2709
2710 Useful when coupled with ';'
2711
2712 Marcus
2713 -------------- next part --------------
2714 An embedded and charset-unspecified text was scrubbed...
2715 Name: tag_all.diff
2716 Url: http://rubyforge.org/pipermail/sup-talk/attachments/20071024/8ab80a9f/attachment.pl
2717
2718 From alexander.panek@brainsware.org Thu Oct 25 05:08:00 2007
2719 From: alexander.panek@brainsware.org (Alexander Panek)
2720 Date: Thu, 25 Oct 2007 11:08:00 +0200
2721 Subject: [sup-talk] Refreshing inbox & removing +inbox label
2722 Message-ID: <20071025110800.b79fe28c.alexander.panek@brainsware.org>
2723
2724 Hello,
2725
2726 I've got two questions:
2727
2728 - Is there a way to refresh the inbox, so labels are re-read (removing
2729 the +inbox label doesn't quite hide the threads from inbox - I have to
2730 restart sup to make it work..)?
2731
2732 - Is there any easy way to hide threads from the inbox without removing
2733 the inbox label on a per-thread basis? Something like "tag
2734 all" threads in current view and making ";l" able to not only add, but
2735 also remove tags would be sufficiant for me.
2736 That'd be very handy for high traffic accounts where you actually only
2737 want to check occasionally, without having them flooding your inbox.
2738
2739 Thanks in advance!
2740 --
2741 Alexander Panek <alexander.panek at brainsware.org>
2742
2743 From alexander.panek@brainsware.org Thu Oct 25 05:31:10 2007
2744 From: alexander.panek@brainsware.org (Alexander Panek)
2745 Date: Thu, 25 Oct 2007 11:31:10 +0200
2746 Subject: [sup-talk] Refreshing inbox & removing +inbox label
2747 In-Reply-To: <20071025110800.b79fe28c.alexander.panek@brainsware.org>
2748 References: <20071025110800.b79fe28c.alexander.panek@brainsware.org>
2749 Message-ID: <20071025113110.811e170c.alexander.panek@brainsware.org>
2750
2751 On Thu, 25 Oct 2007 11:08:00 +0200
2752 Alexander Panek <alexander.panek at brainsware.org> wrote:
2753 > [...] Something like "tag
2754 > all" threads in current view [...].
2755
2756 I've just seen there's another thread with a patch to achieve this. So
2757 now the only thing left would be inbox/view reloading and removing
2758 labels on all tagged threads.
2759
2760 --
2761 Alexander Panek <alexander.panek at brainsware.org>
2762
2763 From alexander.panek@brainsware.org Thu Oct 25 05:49:26 2007
2764 From: alexander.panek@brainsware.org (Alexander Panek)
2765 Date: Thu, 25 Oct 2007 11:49:26 +0200
2766 Subject: [sup-talk] Refreshing inbox & removing +inbox label
2767 In-Reply-To: <472063D9.40704@quintic.co.uk>
2768 References: <0a4e8b9700043d81@IMSS-WIN>
2769 <472063D9.40704@quintic.co.uk>
2770 Message-ID: <20071025114926.88e91efb.alexander.panek@brainsware.org>
2771
2772 On Thu, 25 Oct 2007 10:37:29 +0100
2773 Marcus Williams <marcus-sup at quintic.co.uk> wrote:
2774
2775 > Tag all was added by my recent patch but note that you have to have
2776 > all threads listed to tag as it only tags threads in the current
2777 > view.
2778
2779 Ay, as mentioned in my self-reply, I've seen that after sending the
2780 initial message.
2781
2782 > To remove a label with the 'l' command just delete it from the
2783 > list it gives you.
2784
2785 AFAIK, this works only on a per-thread basis? (might be, that the
2786 version I'm using is a tad outdated - I didn't manage to use the SVN
2787 version yet. Having troubles installing it [rake install borks my
2788 RubyGems installation ..somehow.])
2789 --
2790 Alexander Panek <alexander.panek at brainsware.org>
2791
2792 From marcus-sup@quintic.co.uk Thu Oct 25 06:25:39 2007
2793 From: marcus-sup@quintic.co.uk (Marcus Williams)
2794 Date: Thu, 25 Oct 2007 11:25:39 +0100
2795 Subject: [sup-talk] [PATCH] Fix for imap based sources
2796 Message-ID: <47206F23.6080400@quintic.co.uk>
2797
2798 Hi -
2799
2800 Apply this one at your peril. This patch makes the unread status
2801 correct on sources that arent mbox - unfortunately I cant test on
2802 Maildir so if someone wants to confirm it still works that would be
2803 good :)
2804
2805 If you implement a new source, it means you now have to add a
2806 marked_read? method to your source as well. Argument is a message id.
2807 message.rb now calls this when source_marked_read is called.
2808
2809 It also fixes what I think is a bug in the imap sup source - the imap
2810 "/Seen" flag means a message has been read from the way I interpret the
2811 RFC, the "/Recent" flag is what you need to check for "unreadness".
2812
2813 This fixes my problem with imap (in that all new messages were getting
2814 marked as read). To get just this fix all you have to do is replace Seen
2815 for Recent in the imap.rb. The line currently looks like:
2816
2817 labels = { :Seen => :unread,
2818
2819 and it should be
2820
2821 labels = { :Recent => :unread,
2822
2823
2824
2825 Marcus
2826
2827 -------------- next part --------------
2828 An embedded and charset-unspecified text was scrubbed...
2829 Name: imap-diffs
2830 Url: http://rubyforge.org/pipermail/sup-talk/attachments/20071025/f4d9e120/attachment.pl
2831
2832 From marcus-sup@quintic.co.uk Thu Oct 25 08:35:23 2007
2833 From: marcus-sup@quintic.co.uk (Marcus Williams)
2834 Date: Thu, 25 Oct 2007 13:35:23 +0100
2835 Subject: [sup-talk] [PATCH] Fix for imap based sources
2836 In-Reply-To: <0ae09eda00048831@IMSS-WIN>
2837 References: <0ae09eda00048831@IMSS-WIN>
2838 Message-ID: <47208D8B.1060503@quintic.co.uk>
2839
2840 On 25/10/2007 I wrote:
2841 > It also fixes what I think is a bug in the imap sup source - the imap
2842 > "/Seen" flag means a message has been read from the way I interpret the
2843 > RFC, the "/Recent" flag is what you need to check for "unreadness".
2844
2845 ... which means I should probably be using it in the imap marked_read?
2846 as well. So the marked_read? method in imap.rb should probably be:
2847
2848 def marked_read? id
2849 return @imap_state[id][:flags].include?(:Seen)
2850 end
2851
2852 Note that I've removed the leading ! operator as well.
2853
2854 Marcus
2855
2856 From vasudeva@linkswarm.com Thu Oct 25 08:57:24 2007
2857 From: vasudeva@linkswarm.com (vasudeva)
2858 Date: Thu, 25 Oct 2007 08:57:24 -0400
2859 Subject: [sup-talk] Refreshing inbox & removing +inbox label
2860 In-Reply-To: <20071025114926.88e91efb.alexander.panek@brainsware.org>
2861 References: <0a4e8b9700043d81@IMSS-WIN> <472063D9.40704@quintic.co.uk>
2862 <20071025114926.88e91efb.alexander.panek@brainsware.org>
2863 Message-ID: <20071025125724.GA5250@lenin.sovietwar.org>
2864
2865 * on 10-25-07, Alexander Panek wrote:
2866 > On Thu, 25 Oct 2007 10:37:29 +0100
2867 > Marcus Williams <marcus-sup at quintic.co.uk> wrote:
2868 >
2869 > > Tag all was added by my recent patch but note that you have to have
2870 > > all threads listed to tag as it only tags threads in the current
2871 > > view.
2872
2873 Would it be desireable to be able to tag (or affect) threads *not*
2874 listed?
2875
2876 That seems useful to me. Say you've got 3000 messages labeled, and
2877 now you want to change the label without painstakingly loading them
2878 all into your view. Maybe you've just finished syncing ten trillion
2879 emails from your old mbox sources and realize you didn't plan your
2880 label strategy very well...
2881
2882 There's been mention of a separate tool to go through the ferret
2883 index and strip out deleted items, which a quick skimming of the
2884 ferret tutorial suggests may be part of the solution, since you
2885 can't modify index documents but you can delete and re-add.
2886
2887
2888
2889 /></
2890
2891 --
2892 linkswarm.com :: Collaborative Insolence
2893 vasudeva.linkswarm.com/gallery :: For The Faint of Heart
2894
2895
2896 From chrisw@rice.edu Thu Oct 25 12:49:50 2007
2897 From: chrisw@rice.edu (Christopher Warrington)
2898 Date: Thu, 25 Oct 2007 11:49:50 -0500
2899 Subject: [sup-talk] Refreshing inbox & removing +inbox label
2900 In-Reply-To: <20071025110800.b79fe28c.alexander.panek@brainsware.org>
2901 References: <20071025110800.b79fe28c.alexander.panek@brainsware.org>
2902 Message-ID: <1193330883-sup-3675@chris-tablet>
2903
2904 Excerpts from Alexander Panek's message of Thu Oct 25 04:08:00 -0500 2007:
2905 > - Is there a way to refresh the inbox, so labels are re-read (removing
2906 > the +inbox label doesn't quite hide the threads from inbox - I have to
2907 > restart sup to make it work..)?
2908
2909 In SVN, pressing @ (in 0.1, I think is is D) when in an index-mode
2910 re-executes the query. Any unsaved changes will be lost, so you probably
2911 want to save them first with $.
2912
2913 --
2914 Christopher Warrington <chrisw at rice.edu>
2915
2916 From marcus-sup@quintic.co.uk Fri Oct 26 06:13:18 2007
2917 From: marcus-sup@quintic.co.uk (Marcus Williams)
2918 Date: Fri, 26 Oct 2007 11:13:18 +0100
2919 Subject: [sup-talk] Refreshing inbox & removing +inbox label
2920 In-Reply-To: <0b19eaf10004a252@IMSS-WIN>
2921 References: <0a4e8b9700043d81@IMSS-WIN> <472063D9.40704@quintic.co.uk>
2922 <20071025114926.88e91efb.alexander.panek@brainsware.org>
2923 <0b19eaf10004a252@IMSS-WIN>
2924 Message-ID: <4721BDBE.8090401@quintic.co.uk>
2925
2926 On 25/10/2007 vasudeva wrote:
2927 > Would it be desireable to be able to tag (or affect) threads *not*
2928 > listed?
2929 >
2930 > That seems useful to me. Say you've got 3000 messages labeled, and
2931 > now you want to change the label without painstakingly loading them
2932 > all into your view. Maybe you've just finished syncing ten trillion
2933 > emails from your old mbox sources and realize you didn't plan your
2934 > label strategy very well...
2935
2936 I think it would be useful to be able to rename labels but I guess only
2937 as a separate tool. I've found I only tend to tag separate messages or a
2938 smallish number like a set of search results (but large enough to make
2939 my patch worth while to me), I rarely have to tag *all* messages.
2940
2941 Marcus
2942
2943
2944
2945 From marcus-sup@quintic.co.uk Fri Oct 26 18:10:55 2007
2946 From: marcus-sup@quintic.co.uk (Marcus Williams)
2947 Date: Fri, 26 Oct 2007 23:10:55 +0100
2948 Subject: [sup-talk] [PATCH] Natural language date searches
2949 Message-ID: <1193436327-sup-5753@tomsk>
2950
2951 With the help of the fantastic Chronic gem, this patch adds date based
2952 searches to sup with natural language. So you can do
2953
2954 after:(1 week ago)
2955 after:(yesterday at 22:00)
2956
2957 and
2958
2959 before:(today at 5:00)
2960
2961 and even combine them. For more examples see the Chronic docs at [1].
2962 The brackets are important... watch the logs for oddities like:
2963
2964 after:(yesterday)
2965
2966 which probably wont do what you think as chronic sets a time of midday
2967 on the converted date. Specify a time if you need to or use "24 hours
2968 ago" or something.
2969
2970
2971 Marcus
2972
2973 [1] http://chronic.rubyforge.org/
2974 -------------- next part --------------
2975 A non-text attachment was scrubbed...
2976 Name: date-search-diff
2977 Type: application/octet-stream
2978 Size: 912 bytes
2979 Desc: not available
2980 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071026/312f7611/attachment.obj
2981
2982 From wmorgan-sup@masanjin.net Fri Oct 26 19:21:28 2007
2983 From: wmorgan-sup@masanjin.net (William Morgan)
2984 Date: Fri, 26 Oct 2007 16:21:28 -0700
2985 Subject: [sup-talk] sup-talk emails in mbox format?
2986 In-Reply-To: <1193146815-sup-1943@lenin>
2987 References: <1193146815-sup-1943@lenin>
2988 Message-ID: <1193440713-sup-1850@south>
2989
2990 Excerpts from vasudeva's message of Tue Oct 23 06:42:36 -0700 2007:
2991 > Anyone have the full sup-talk mailing list in mbox format, so I can
2992 > get it into sup for easy reference? Google's being a pain in the ass
2993 > about giving me what I want, and the mailman interface only serves up
2994 > the archive as plaintext files.
2995
2996 I've created one here: http://masanjin.net/sup-talk.bz2.
2997
2998 --
2999 William <wmorgan-sup at masanjin.net>
3000
3001 From wmorgan-sup@masanjin.net Fri Oct 26 19:30:54 2007
3002 From: wmorgan-sup@masanjin.net (William Morgan)
3003 Date: Fri, 26 Oct 2007 16:30:54 -0700
3004 Subject: [sup-talk] i'm back
3005 Message-ID: <1193440920-sup-3429@south>
3006
3007 Sorry, all, for the lack of response for the past few weeks. I got
3008 married and went on a honeymoon where, for some reason, I wasn't
3009 supposed to sit at my laptop and write code. Now I'm back and eager to
3010 incorporate all these patches I see!
3011
3012 --
3013 William <wmorgan-sup at masanjin.net>
3014
3015 From kevin.mark@verizon.net Fri Oct 26 19:52:50 2007
3016 From: kevin.mark@verizon.net (Kevin Mark)
3017 Date: Fri, 26 Oct 2007 19:52:50 -0400
3018 Subject: [sup-talk] i'm back
3019 In-Reply-To: <1193440920-sup-3429@south>
3020 References: <1193440920-sup-3429@south>
3021 Message-ID: <20071026235250.GB19950@horacrux>
3022
3023 On Fri, Oct 26, 2007 at 04:30:54PM -0700, William Morgan wrote:
3024 > Sorry, all, for the lack of response for the past few weeks. I got
3025 > married and went on a honeymoon where, for some reason, I wasn't
3026 > supposed to sit at my laptop and write code. Now I'm back and eager to
3027 > incorporate all these patches I see!
3028 >
3029 Congats on that! I just signed up for gmail because of the announced
3030 imap support and thought that it looked similar to sup -- thread based.
3031 -K
3032 --
3033 | .''`. == Debian GNU/Linux == | my web site: |
3034 | : :' : The Universal |mysite.verizon.net/kevin.mark/|
3035 | `. `' Operating System | go to counter.li.org and |
3036 | `- http://www.debian.org/ | be counted! #238656 |
3037 | my keyserver: subkeys.pgp.net | my NPO: cfsg.org |
3038 |join the new debian-community.org to help Debian! |
3039 |_______ Unless I ask to be CCd, assume I am subscribed _______|
3040
3041 From wmorgan-sup@masanjin.net Fri Oct 26 20:26:05 2007
3042 From: wmorgan-sup@masanjin.net (William Morgan)
3043 Date: Fri, 26 Oct 2007 17:26:05 -0700
3044 Subject: [sup-talk] IMAP folders with spaces
3045 In-Reply-To: <1191938778-sup-7443@south>
3046 References: <Pine.LNX.4.64.0710080412470.20463@localhost>
3047 <1191938778-sup-7443@south>
3048 Message-ID: <1193444697-sup-5560@south>
3049
3050 Excerpts from William Morgan's message of Tue Oct 09 07:06:51 -0700 2007:
3051 > Excerpts from Christopher Warrington's message of Mon Oct 08 02:19:09 -0700 2007:
3052 > > sup-add -a -u -l label "imaps://imap.host.tld/Mail/Two%20Words"
3053 > >
3054 > > works, but I get this error:
3055 > >
3056 > > > Sorry, I couldn't communicate with a source: While communicating with
3057 > > > IMAP server (type Net::IMAP::NoResponseError): "Mailbox does not
3058 > > > exist"
3059 > >
3060 > > What should I do?
3061 >
3062 > Wait for me to fix this bug. :)
3063
3064 Escaped IMAP URIs should now work in SVN.
3065
3066 --
3067 William <wmorgan-sup at masanjin.net>
3068
3069 From wmorgan-sup@masanjin.net Fri Oct 26 20:48:55 2007
3070 From: wmorgan-sup@masanjin.net (William Morgan)
3071 Date: Fri, 26 Oct 2007 17:48:55 -0700
3072 Subject: [sup-talk] BufferManager.ask and trailing spaces
3073 In-Reply-To: <1192123728-sup-9568@chris-tablet>
3074 References: <1192123728-sup-9568@chris-tablet>
3075 Message-ID: <1193446123-sup-1011@south>
3076
3077 Excerpts from Christopher Warrington's message of Thu Oct 11 10:29:22 -0700 2007:
3078 > I am currently adding code to support refinement of searches. Basically,
3079 > I just copy the old query and make it the default text for the new
3080 > query. I accomplish this by doing:
3081 >
3082 > BufferManager.ask :refine_search, "query: ", old_query + " "
3083 >
3084 > However, the trailing space is being stripped out. I cannot figure out
3085 > where this is happening. How can I stop this from happening?
3086
3087 Should be fixed in SVN.
3088
3089 --
3090 William <wmorgan-sup at masanjin.net>
3091
3092 From wmorgan-sup@masanjin.net Fri Oct 26 21:39:41 2007
3093 From: wmorgan-sup@masanjin.net (William Morgan)
3094 Date: Fri, 26 Oct 2007 18:39:41 -0700
3095 Subject: [sup-talk] Sup on Ubuntu
3096 In-Reply-To: <fa14d5020710161939w3ac2073dh8b706137082888b3@mail.gmail.com>
3097 References: <fa14d5020710161939w3ac2073dh8b706137082888b3@mail.gmail.com>
3098 Message-ID: <1193449055-sup-7654@south>
3099
3100 Excerpts from Raymond Kroeker's message of Tue Oct 16 19:39:28 -0700 2007:
3101 > irb(main):002:0> require 'curses'
3102 > LoadError: no such file to load -- curses
3103 > from
3104 > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
3105 > `gem_original_require'
3106 > from
3107 > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
3108 > from (irb):2
3109
3110 Try installing libcurses-ruby. (The Ubuntu package; not a gem.) That
3111 should do it. Both curses and ncurses are required, because curses
3112 defines a lot of constants that Sup uses for things like colors, keys,
3113 etc.
3114
3115 --
3116 William <wmorgan-sup at masanjin.net>
3117
3118 From wmorgan-sup@masanjin.net Fri Oct 26 21:49:14 2007
3119 From: wmorgan-sup@masanjin.net (William Morgan)
3120 Date: Fri, 26 Oct 2007 18:49:14 -0700
3121 Subject: [sup-talk] Google and IMAP
3122 In-Reply-To: <414a99f20710240051m4656b3b6sbd0057ba95dc68a6@mail.gmail.com>
3123 References: <414a99f20710240051m4656b3b6sbd0057ba95dc68a6@mail.gmail.com>
3124 Message-ID: <1193449715-sup-4100@south>
3125
3126 Excerpts from Tim Vaughan's message of Wed Oct 24 00:51:28 -0700 2007:
3127 > I see here:
3128 > http://mail.google.com/support/bin/answer.py?ctx=gmail&hl=en&answer=75725
3129 > that Google is now rolling out IMAP access for Gmail accounts.
3130 > I've been waiting for sup to have Gmail access before using it
3131 > full-time - what does this development mean for sup/Gmail interaction
3132 > now?
3133
3134 It means that I don't have to write a gmail bridge any more. You can
3135 just use IMAP. Procrastination rewarded!
3136
3137 --
3138 William <wmorgan-sup at masanjin.net>
3139
3140 From wmorgan-sup@masanjin.net Fri Oct 26 22:04:22 2007
3141 From: wmorgan-sup@masanjin.net (William Morgan)
3142 Date: Fri, 26 Oct 2007 19:04:22 -0700
3143 Subject: [sup-talk] Adding stuff to the wiki...
3144 In-Reply-To: <1193150075-sup-9407@lenin>
3145 References: <1193150075-sup-9407@lenin>
3146 Message-ID: <1193450585-sup-6435@south>
3147
3148 Wow, the wiki is looking really great. Thanks to Vasuveda, Christopher
3149 Warrington, Emag, and everyone else who's contributed.
3150
3151 --
3152 William <wmorgan-sup at masanjin.net>
3153
3154 From wmorgan-sup@masanjin.net Fri Oct 26 22:16:03 2007
3155 From: wmorgan-sup@masanjin.net (William Morgan)
3156 Date: Fri, 26 Oct 2007 19:16:03 -0700
3157 Subject: [sup-talk] Problems with gems
3158 In-Reply-To: <20071011020714.GB3651@gmail.com>
3159 References: <20071011020714.GB3651@gmail.com>
3160 Message-ID: <1193451325-sup-1895@south>
3161
3162 Excerpts from Alberto Bertogli's message of Wed Oct 10 19:07:14 -0700 2007:
3163 > I'm trying to install sup _without_ using gems, as I already have most
3164 > of the dependencies through my package manager (aptitude), and I'm
3165 > having lots of trouble.
3166 >
3167 > Since there is no way of telling gems that I already have the
3168 > packages, sup won't work because it's trying to check the dependencies
3169 > via gems on runtime and failing because gems thinks rake (for
3170 > instance) is not installed.
3171
3172 What if you remove the "require 'rubygems'" lines from bin/sup and
3173 lib/sup.rb?
3174
3175 --
3176 William <wmorgan-sup at masanjin.net>
3177
3178 From wmorgan-sup@masanjin.net Fri Oct 26 23:46:58 2007
3179 From: wmorgan-sup@masanjin.net (William Morgan)
3180 Date: Fri, 26 Oct 2007 20:46:58 -0700
3181 Subject: [sup-talk] Feature Req: Command line search/display options
3182 In-Reply-To: <471361DE.9040008@quintic.co.uk>
3183 References: <471361DE.9040008@quintic.co.uk>
3184 Message-ID: <1193456434-sup-4612@south>
3185
3186 Excerpts from Marcus Williams's message of Mon Oct 15 05:49:34 -0700 2007:
3187 > I'd like to add some command line options to search/display messages,
3188 > because then I can script using sup outside of sup as it were.
3189
3190 In SVN there's a devel/console.sh, which shows how to hook into Sup
3191 without invoking the interface. Here are some examples:
3192
3193 > sup --search "some search term"
3194
3195 $ sh devel/console.sh
3196 [Fri Oct 26 20:37:55 -0700 2007] loading index...
3197 [Fri Oct 26 20:37:55 -0700 2007] loaded index of 63434 messages
3198 >> Index.index.search_each("potato") { |id, score| m = Index.build_message(id); puts "[#{id}] [#{m.from}] [#{m.subj}]" }
3199 [65155] [William Morgan <wmorgan at masanjin.net>] [potato]
3200 [20758] [Sam Smoot <ssmoot at gmail.com>] [Declaring instance variables dynamically]
3201 [6048] [David Balmain <dbalmain.ml at gmail.com>] [[Ferret-talk] hello, acts_as_ferret questions, any help greatly appreciate]
3202 [6047] [koloa <none at none.com>] [[Ferret-talk] hello, acts_as_ferret questions, any help greatly appreciate]
3203 [2251] [William Morgan <wmorgan at masanjin.net>] [lunch today]
3204
3205 > sup --display someid0
3206
3207 >> puts Index.build_message(6047).raw_message
3208 From ferret-talk-bounces at rubyforge.org Mon Oct 09 08:17:37 2006
3209 [...]
3210
3211 You can submit a patch that adds --search and --display options to
3212 bin/sup, if you like.
3213
3214 --
3215 William <wmorgan-sup at masanjin.net>
3216
3217 From wmorgan-sup@masanjin.net Fri Oct 26 23:52:45 2007
3218 From: wmorgan-sup@masanjin.net (William Morgan)
3219 Date: Fri, 26 Oct 2007 20:52:45 -0700
3220 Subject: [sup-talk] Keeping two (or more) sups in sync
3221 In-Reply-To: <4718C356.5090105@quintic.co.uk>
3222 References: <4718C356.5090105@quintic.co.uk>
3223 Message-ID: <1193456972-sup-117@south>
3224
3225 Excerpts from Marcus Williams's message of Fri Oct 19 07:46:46 -0700 2007:
3226 > To keep the indexes in sync is it enough to copy the .sup directory
3227 > between the two machines? Or should I be using sup-dump?
3228
3229 If the architectures are the same, copying the .sup directory should
3230 work and is probably the best way of ensuring everything is
3231 synchronized. If the architectures are different, then this becomes a
3232 Ferret question, and I don't really know the answer. Sup-dump should
3233 work in the worst case, but will definitely be slow, and you'll also
3234 have to manually synchronize the other files in .sup/ like sources.yaml,
3235 contacts.txt, etc.
3236
3237 --
3238 William <wmorgan-sup at masanjin.net>
3239
3240 From william.betts@gmail.com Sat Oct 27 09:17:46 2007
3241 From: william.betts@gmail.com (William Betts)
3242 Date: Sat, 27 Oct 2007 08:17:46 -0500
3243 Subject: [sup-talk] i'm back
3244 In-Reply-To: <1193440920-sup-3429@south>
3245 References: <1193440920-sup-3429@south>
3246 Message-ID: <17b80a160710270617w4f8a1de4gea538b3eec63c921@mail.gmail.com>
3247
3248 Congratulations! I wish you and your new wife the best of luck.
3249
3250 On 10/26/07, William Morgan <wmorgan-sup at masanjin.net> wrote:
3251 > Sorry, all, for the lack of response for the past few weeks. I got
3252 > married and went on a honeymoon where, for some reason, I wasn't
3253 > supposed to sit at my laptop and write code. Now I'm back and eager to
3254 > incorporate all these patches I see!
3255 >
3256 > --
3257 > William <wmorgan-sup at masanjin.net>
3258 > _______________________________________________
3259 > sup-talk mailing list
3260 > sup-talk at rubyforge.org
3261 > http://rubyforge.org/mailman/listinfo/sup-talk
3262 >
3263
3264 From vasudeva@linkswarm.com Sat Oct 27 11:25:48 2007
3265 From: vasudeva@linkswarm.com (vasudeva)
3266 Date: Sat, 27 Oct 2007 11:25:48 -0400
3267 Subject: [sup-talk] sup-talk emails in mbox format?
3268 In-Reply-To: <1193440713-sup-1850@south>
3269 References: <1193146815-sup-1943@lenin> <1193440713-sup-1850@south>
3270 Message-ID: <20071027152548.GA23911@lenin.sovietwar.org>
3271
3272 * on 10-26-07, William Morgan wrote:
3273 > Excerpts from vasudeva's message of Tue Oct 23 06:42:36 -0700 2007:
3274 > > Anyone have the full sup-talk mailing list in mbox format, so I can
3275 > > get it into sup for easy reference? Google's being a pain in the ass
3276 > > about giving me what I want, and the mailman interface only serves up
3277 > > the archive as plaintext files.
3278 >
3279 > I've created one here: http://masanjin.net/sup-talk.bz2.
3280
3281 Awesome -- thanks. Also, congratulations!
3282
3283
3284
3285 /></
3286
3287 --
3288 linkswarm.com :: Collaborative Insolence
3289 vasudeva.linkswarm.com/gallery :: For The Faint of Heart
3290
3291
3292 From tim@timvaughan.co.uk Sat Oct 27 12:28:45 2007
3293 From: tim@timvaughan.co.uk (Tim Vaughan)
3294 Date: Sat, 27 Oct 2007 17:28:45 +0100
3295 Subject: [sup-talk] Google and IMAP
3296 In-Reply-To: <1193449715-sup-4100@south>
3297 References: <414a99f20710240051m4656b3b6sbd0057ba95dc68a6@mail.gmail.com>
3298 <1193449715-sup-4100@south>
3299 Message-ID: <414a99f20710270928y17ec57f7q69711d74f4322d76@mail.gmail.com>
3300
3301 > It means that I don't have to write a gmail bridge any more. You can
3302 > just use IMAP. Procrastination rewarded!
3303
3304 Woo :).
3305
3306 I now have sup set up with ssmtp and Gmail over IMAP and it seems to
3307 be working fine - a few observations:
3308
3309 * Google has hacked together folder <->label translation. Labels in
3310 sup don't correspond to IMAP folders as far as I can tell, so I either
3311 use Gmail labels or sup labels, not both.
3312 * I've created filters in Gmail for mailing lists which automatically
3313 archive and label incoming mail. I can add an IMAP folder in Gmail as
3314 a source to catch this mail, but perhaps I would be better off not
3315 having Gmail filters altogether if I intend to use sup fulltime?
3316 * Furthermore, due to having to rebuild the index when I use the Gmail
3317 web interface, should I never use the Gmail web interface?
3318
3319 From itaylor@uark.edu Sat Oct 27 12:40:05 2007
3320 From: itaylor@uark.edu (Ian Taylor)
3321 Date: Sat, 27 Oct 2007 11:40:05 -0500
3322 Subject: [sup-talk] svn sup exception
3323 Message-ID: <1193503105-sup-258@silver>
3324
3325 Sup seems to die with this every so often.
3326
3327 --- NoMethodError at Sat Oct 27 10:35:07 -0500 2007
3328 undefined method `resize' for nil:NilClass
3329 /var/lib/gems/1.8/gems/sup-0.1/lib/sup/buffer.rb:232:in `draw_screen'
3330 /var/lib/gems/1.8/gems/sup-0.1/lib/sup/buffer.rb:615:in `clear'
3331 /var/lib/gems/1.8/gems/sup-0.1/lib/sup/buffer.rb:589:in `say'
3332 /var/lib/gems/1.8/gems/sup-0.1/lib/sup/util.rb:395:in `send'
3333 /var/lib/gems/1.8/gems/sup-0.1/lib/sup/util.rb:395:in `method_missing'
3334 /var/lib/gems/1.8/gems/sup-0.1/lib/sup/modes/thread-index-mode.rb:72:in `select'
3335 /var/lib/gems/1.8/gems/sup-0.1/lib/sup.rb:69:in `reporting_thread'
3336 /var/lib/gems/1.8/gems/sup-0.1/lib/sup.rb:67:in `initialize'
3337 /var/lib/gems/1.8/gems/sup-0.1/lib/sup.rb:67:in `new'
3338 /var/lib/gems/1.8/gems/sup-0.1/lib/sup.rb:67:in `reporting_thread'
3339 /var/lib/gems/1.8/gems/sup-0.1/lib/sup/modes/thread-index-mode.rb:71:in `select'
3340 /var/lib/gems/1.8/gems/sup-0.1/lib/sup/mode.rb:52:in `send'
3341 /var/lib/gems/1.8/gems/sup-0.1/lib/sup/mode.rb:52:in `handle_input'
3342 /var/lib/gems/1.8/gems/sup-0.1/lib/sup/buffer.rb:193:in `handle_input'
3343 /var/lib/gems/1.8/gems/sup-0.1/bin/sup:199
3344 /var/lib/gems/1.8/bin/sup:16:in `load'
3345 /var/lib/gems/1.8/bin/sup:16
3346
3347 --
3348 Ian Taylor
3349
3350 From wmorgan-sup@masanjin.net Sat Oct 27 12:56:47 2007
3351 From: wmorgan-sup@masanjin.net (William Morgan)
3352 Date: Sat, 27 Oct 2007 09:56:47 -0700
3353 Subject: [sup-talk] Google and IMAP
3354 In-Reply-To: <414a99f20710270928y17ec57f7q69711d74f4322d76@mail.gmail.com>
3355 References: <414a99f20710240051m4656b3b6sbd0057ba95dc68a6@mail.gmail.com>
3356 <1193449715-sup-4100@south>
3357 <414a99f20710270928y17ec57f7q69711d74f4322d76@mail.gmail.com>
3358 Message-ID: <1193503799-sup-4673@south>
3359
3360 Excerpts from Tim Vaughan's message of Sat Oct 27 09:28:45 -0700 2007:
3361 > I now have sup set up with ssmtp and Gmail over IMAP and it seems to
3362 > be working fine
3363
3364 Great!
3365
3366 > * Google has hacked together folder <->label translation. Labels in
3367 > sup don't correspond to IMAP folders as far as I can tell, so I either
3368 > use Gmail labels or sup labels, not both.
3369
3370 Interesting. So I assume this means that a single message will appear in
3371 multiple "folders", one for each label. Slightly weird, but Sup should
3372 handle dupes fine.
3373
3374 > * I've created filters in Gmail for mailing lists which automatically
3375 > archive and label incoming mail. I can add an IMAP folder in Gmail as
3376 > a source to catch this mail, but perhaps I would be better off not
3377 > having Gmail filters altogether if I intend to use sup fulltime?
3378
3379 There should be no problem with using Gmail to filter or classify mail
3380 in this manner. I use procmail to do exactly the same thing locally.
3381
3382 One day Sup will use procmail to perform its own filtering, but that
3383 will be an added bonus and won't interfere with any per-source
3384 autoapplied labels.
3385
3386 > * Furthermore, due to having to rebuild the index when I use the Gmail
3387 > web interface, should I never use the Gmail web interface?
3388
3389 It's up to you. Sup doesn't play well with others. You can either
3390 run sup-sync --changed every time you use the web interface, or you can
3391 use Sup's superior interface and functionality exclusively. :)
3392
3393 --
3394 William <wmorgan-sup at masanjin.net>
3395
3396 From wmorgan-sup@masanjin.net Sat Oct 27 13:43:40 2007
3397 From: wmorgan-sup@masanjin.net (William Morgan)
3398 Date: Sat, 27 Oct 2007 10:43:40 -0700
3399 Subject: [sup-talk] new in svn: enclosed message (message/rfc822) handling
3400 Message-ID: <1193506731-sup-2948@south>
3401
3402 My #1 goal for Sup right now is to fix the last few critical bugs so
3403 that I can push out an 0.2 release so that I can start looking at all
3404 these fancy new feature patches I see. But, since this change has been
3405 sitting, half-completed, in my working directory for the past few weeks,
3406 I figured I'd finish it and push it out.
3407
3408 Message/rfc822 MIME attachments (i.e. attached messages) are now handled
3409 nicely in SVN.
3410
3411 --
3412 William <wmorgan-sup at masanjin.net>
3413
3414 From wmorgan-sup@masanjin.net Sat Oct 27 15:08:50 2007
3415 From: wmorgan-sup@masanjin.net (William Morgan)
3416 Date: Sat, 27 Oct 2007 12:08:50 -0700
3417 Subject: [sup-talk] Exception reading contacts.txt
3418 In-Reply-To: <1191938052-sup-4087@Kirin.local>
3419 References: <1191936819-sup-5265@Kirin.local> <1191937287-sup-4195@south>
3420 <1191938052-sup-4087@Kirin.local>
3421 Message-ID: <1193512114-sup-3203@south>
3422
3423 Excerpts from Steve Tooke's message of Tue Oct 09 06:58:51 -0700 2007:
3424 > Sup did allow me to enter a space in the alias!
3425
3426 Spaces in aliases should now be fine.
3427
3428 --
3429 William <wmorgan-sup at masanjin.net>
3430
3431 From wmorgan-sup@masanjin.net Sat Oct 27 15:22:51 2007
3432 From: wmorgan-sup@masanjin.net (William Morgan)
3433 Date: Sat, 27 Oct 2007 12:22:51 -0700
3434 Subject: [sup-talk] displaying message timestamp in different timezones
3435 In-Reply-To: <1192116811-sup-1803@timmy>
3436 References: <1192116811-sup-1803@timmy>
3437 Message-ID: <1193512377-sup-5842@south>
3438
3439 Excerpts from Eyal Oren's message of Thu Oct 11 08:41:46 -0700 2007:
3440 > When reading emails from people in other timezones, Mutt offers the
3441 > option to display the message timestamp in either the sender's or the
3442 > receiver's timezone.
3443 >
3444 > Does sup have a similar option, or how does it deal with timezones?
3445 > It seems that timezones are not considered and that the sent time is
3446 > simply shown without computing the equivalent time in my local
3447 > timezone.
3448
3449 Sup uses Time.parse, which is supposed to take into account the
3450 timezone, assuming the date is in proper rfc822 format. I haven't spent
3451 any time on this than the bare minimum to get it working, though, so I'm
3452 not terribly surprised it's doing something wrong.
3453
3454 What it should do is convert everything to the local timezone, and never
3455 display any date that isn't in the local timezone. (Except when viewing
3456 the raw headers, of course).
3457
3458 I've added this to the TODO, tentatively for 0.3.
3459
3460 --
3461 William <wmorgan-sup at masanjin.net>
3462
3463 From wmorgan-sup@masanjin.net Sat Oct 27 15:28:54 2007
3464 From: wmorgan-sup@masanjin.net (William Morgan)
3465 Date: Sat, 27 Oct 2007 12:28:54 -0700
3466 Subject: [sup-talk] Crash in message view
3467 In-Reply-To: <20071023160656.2e322db0.alexander.panek@brainsware.org>
3468 References: <20071023160656.2e322db0.alexander.panek@brainsware.org>
3469 Message-ID: <1193513321-sup-2838@south>
3470
3471 Excerpts from Alexander Panek's message of Tue Oct 23 07:06:56 -0700 2007:
3472 > sup just crashed when I hit "return" inside the message view (one line
3473 > above the folded signature, hit it too soon) with following error:
3474 >
3475 > The problem was: 'undefined method `expandable?' for
3476 > #<Redwood::Chunk::Text:0xb76bdc28>' (error type NoMethodError)
3477
3478 Fixed in SVN. Thanks.
3479
3480 --
3481 William <wmorgan-sup at masanjin.net>
3482
3483 From wmorgan-sup@masanjin.net Sat Oct 27 15:32:04 2007
3484 From: wmorgan-sup@masanjin.net (William Morgan)
3485 Date: Sat, 27 Oct 2007 12:32:04 -0700
3486 Subject: [sup-talk] sup crash on message load from imap source
3487 In-Reply-To: <1192822344-sup-5910@silver>
3488 References: <1192822344-sup-5910@silver>
3489 Message-ID: <1193513453-sup-6053@south>
3490
3491 Excerpts from Ian Taylor's message of Fri Oct 19 12:33:08 -0700 2007:
3492 > --- NoMethodError at Fri Oct 19 15:31:45 -0400 2007
3493 > undefined method `[]' for nil:NilClass
3494 > /var/lib/gems/1.8/gems/sup-0.1/lib/sup/imap.rb:272:in `get_imap_fields'
3495
3496 Looks like this would be triggered on an out-of-sync IMAP source.
3497 Should be fixed in SVN now. Thanks!
3498
3499 --
3500 William <wmorgan-sup at masanjin.net>
3501
3502 From wmorgan-sup@masanjin.net Sat Oct 27 15:42:09 2007
3503 From: wmorgan-sup@masanjin.net (William Morgan)
3504 Date: Sat, 27 Oct 2007 12:42:09 -0700
3505 Subject: [sup-talk] Crash on saving messages
3506 In-Reply-To: <20071018113224.9fccaf5d.alexander.panek@brainsware.org>
3507 References: <20071018113224.9fccaf5d.alexander.panek@brainsware.org>
3508 Message-ID: <1193514040-sup-7786@south>
3509
3510 Excerpts from Alexander Panek's message of Thu Oct 18 02:32:24 -0700 2007:
3511 > I am using the gem, version 0.1. Is this fixed in SVN?
3512
3513 I think this is the same problem that Ian reported. Should be fixed now
3514 in SVN.
3515
3516 --
3517 William <wmorgan-sup at masanjin.net>
3518
3519 From wmorgan-sup@masanjin.net Sat Oct 27 15:49:04 2007
3520 From: wmorgan-sup@masanjin.net (William Morgan)
3521 Date: Sat, 27 Oct 2007 12:49:04 -0700
3522 Subject: [sup-talk] svn sup exception
3523 In-Reply-To: <1193503105-sup-258@silver>
3524 References: <1193503105-sup-258@silver>
3525 Message-ID: <1193514475-sup-7922@south>
3526
3527 Excerpts from Ian Taylor's message of Sat Oct 27 09:40:05 -0700 2007:
3528 > Sup seems to die with this every so often.
3529 >
3530 > --- NoMethodError at Sat Oct 27 10:35:07 -0500 2007
3531 > undefined method `resize' for nil:NilClass
3532 > /var/lib/gems/1.8/gems/sup-0.1/lib/sup/buffer.rb:232:in `draw_screen'
3533
3534 Bizarre. Seems to imply there are no buffers left, which is impossible
3535 because inbox-mode is unkillable. Can you narrow down the circumstances
3536 at all?
3537
3538 --
3539 William <wmorgan-sup at masanjin.net>
3540
3541 From marcus-sup@quintic.co.uk Sat Oct 27 17:10:35 2007
3542 From: marcus-sup@quintic.co.uk (Marcus Williams)
3543 Date: Sat, 27 Oct 2007 22:10:35 +0100
3544 Subject: [sup-talk] [PATCH] Natural language date searches
3545 In-Reply-To: <1193436327-sup-5753@tomsk>
3546 References: <1193436327-sup-5753@tomsk>
3547 Message-ID: <1193519205-sup-6445@tomsk>
3548
3549 On 26/10/2007, Marcus Williams wrote:
3550 > With the help of the fantastic Chronic gem, this patch adds date based
3551 > searches to sup with natural language. So you can do
3552 >
3553 > after:(1 week ago)
3554 > after:(yesterday at 22:00)
3555 >
3556 > and
3557 >
3558 > before:(today at 5:00)
3559
3560 Attached is a tweaked patch so that you dont get an error if you pass
3561 a query string that Chronic cant parse. Currently it removes the query
3562 from the query string if it cant parse it and warns the user.
3563
3564 It probably needs a change to bin/sup to ignore the query if
3565 parse_user_query_string returns an empty query, but this patch doesnt
3566 include that.
3567
3568 Marcus
3569
3570 -------------- next part --------------
3571 A non-text attachment was scrubbed...
3572 Name: date-search-diff
3573 Type: application/octet-stream
3574 Size: 1085 bytes
3575 Desc: not available
3576 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071027/61248a8e/attachment.obj
3577
3578 From wmorgan-sup@masanjin.net Sat Oct 27 18:24:08 2007
3579 From: wmorgan-sup@masanjin.net (William Morgan)
3580 Date: Sat, 27 Oct 2007 15:24:08 -0700
3581 Subject: [sup-talk] PATCH: make each thread's snippet come from the
3582 latest reply, not the earliest
3583 In-Reply-To: <6ab4c98f0710231455w68f89232r527b8d4b43e9e16f@mail.gmail.com>
3584 References: <6ab4c98f0710231455w68f89232r527b8d4b43e9e16f@mail.gmail.com>
3585 Message-ID: <1193523470-sup-442@south>
3586
3587 Excerpts from Phil Snowberger's message of Tue Oct 23 14:55:58 -0700 2007:
3588 > Attached is a patch (against the SVN trunk) that makes each thread's
3589 > snippet come from the latest reply instead of the earliest.
3590
3591 Applied, in modified form, even though I'm really supposed to be
3592 focusing on bug fixes right now.
3593
3594 > p.s. Thanks for sup, William! It's just what I wanted, but I hadn't
3595 > realized what I wanted until I saw it :)
3596
3597 Thanks! Added to the Wall of Praise.
3598
3599 --
3600 William <wmorgan-sup at masanjin.net>
3601
3602 From wmorgan-sup@masanjin.net Sat Oct 27 18:56:07 2007
3603 From: wmorgan-sup@masanjin.net (William Morgan)
3604 Date: Sat, 27 Oct 2007 15:56:07 -0700
3605 Subject: [sup-talk] problem with labels...
3606 In-Reply-To: <1190888538-sup-1554@vual.tchpc.tcd.ie>
3607 References: <1190715365-sup-7656@vual.tchpc.tcd.ie>
3608 <sfid-H20070927-014918-+012.51-1@vual.tchpc.tcd.ie>
3609 <1190853809-sup-2942@south> <1190888538-sup-1554@vual.tchpc.tcd.ie>
3610 Message-ID: <1193525732-sup-9986@south>
3611
3612 Excerpts from Jimmy Tang's message of Thu Sep 27 03:27:23 -0700 2007:
3613 > i was too sure on what you wanted for a reproducible test case, so i
3614 > just put a small shell script of the commands and order of commands
3615 > that causes it to fail for me together. I'll send you the tarball in a
3616 > seperate mail.
3617
3618 I've fixed the downcasing issue with tab completion and now everything
3619 seems to work perfectly with the latest SVN. Give it a try and let me
3620 know if it works for you.
3621
3622 --
3623 William <wmorgan-sup at masanjin.net>
3624
3625 From chrisw@rice.edu Sat Oct 27 18:59:03 2007
3626 From: chrisw@rice.edu (Christopher Warrington)
3627 Date: Sat, 27 Oct 2007 17:59:03 -0500
3628 Subject: [sup-talk] Problems in message_to_chunks
3629 Message-ID: <1193525943.4723c2b71faae@webmail.mail.rice.edu>
3630
3631
3632 Line 322 is producing Nils is various contexts in r630:
3633
3634 On opening the inbox-mode:
3635 The problem was: 'private method `format' called for nil:NilClass' (error type
3636 NoMethodError)
3637 A backtrace follows:
3638 ./sup/trunk/lib/sup/message.rb:328:in `message_to_chunks': private method
3639 `format' called for nil:NilClass (NoMethodError)
3640 from ./sup/trunk/lib/sup/message.rb:322:in `message_to_chunks'
3641 from ./sup/trunk/lib/sup/message.rb:322:in `map'
3642 from ./sup/trunk/lib/sup/message.rb:322:in `message_to_chunks'
3643 from ./sup/trunk/lib/sup/message.rb:154:in `load_from_source!'
3644 from ./sup/trunk/lib/sup/message.rb:207:in `content'
3645 from ./sup/trunk/lib/sup/index.rb:172:in `sync_message'
3646 from ./sup/trunk/lib/sup/util.rb:395:in `send'
3647 from ./sup/trunk/lib/sup/util.rb:395:in `method_missing'
3648 ... 32 levels...
3649 from ./sup/trunk/lib/sup.rb:68:in `reporting_thread'
3650 from ./sup/trunk/lib/sup/modes/thread-index-mode.rb:342:in
3651 `load_n_threads_background'
3652 from ./sup/trunk/lib/sup/modes/thread-index-mode.rb:392:in
3653 `load_threads'
3654 from sup/trunk/bin/sup:187
3655
3656 On sup-syncing a large IMAP folder:
3657 /usr/lib/ruby/gems/1.8/gems/rmail-0.17/lib/rmail/utils.rb:48:in `base64_decode':
3658 undefined method `unpack' for nil:NilClass (NoMethodError)
3659 from /usr/lib/ruby/gems/1.8/gems/rmail-0.17/lib/rmail/message.rb:117:in
3660 `decode'
3661 from ./sup/trunk/lib/sup/message-chunks.rb:50:in `initialize'
3662 from ./sup/trunk/lib/sup/message.rb:347:in `new'
3663 from ./sup/trunk/lib/sup/message.rb:347:in `message_to_chunks'
3664 from ./sup/trunk/lib/sup/message.rb:322:in `message_to_chunks'
3665 from ./sup/trunk/lib/sup/message.rb:322:in `map'
3666 from ./sup/trunk/lib/sup/message.rb:322:in `message_to_chunks'
3667 from ./sup/trunk/lib/sup/message.rb:154:in `load_from_source!'
3668 ... 13 levels...
3669 from ./sup/trunk/lib/sup/util.rb:395:in `method_missing'
3670 from sup/trunk/bin/sup-sync:133
3671 from sup/trunk/bin/sup-sync:128:in `each'
3672 from sup/trunk/bin/sup-sync:128
3673
3674 --
3675 Christopher Warrington <chrisw at rice.edu>
3676 (away from his normal computer)
3677
3678 From wmorgan-sup@masanjin.net Sat Oct 27 21:04:17 2007
3679 From: wmorgan-sup@masanjin.net (William Morgan)
3680 Date: Sat, 27 Oct 2007 18:04:17 -0700
3681 Subject: [sup-talk] Problems in message_to_chunks
3682 In-Reply-To: <1193525943.4723c2b71faae@webmail.mail.rice.edu>
3683 References: <1193525943.4723c2b71faae@webmail.mail.rice.edu>
3684 Message-ID: <1193533308-sup-4419@south>
3685
3686 Excerpts from Christopher Warrington's message of Sat Oct 27 15:59:03 -0700 2007:
3687 > On opening the inbox-mode:
3688 > The problem was: 'private method `format' called for nil:NilClass' (error type
3689 > NoMethodError)
3690
3691 Weird. It looks like RubyMail can't find a From: line in a
3692 message/rfc822 attachment. If you get a chance, send me the message in
3693 question so I can play with it. I think this should be special-cased as
3694 of r634 though.
3695
3696 > On sup-syncing a large IMAP folder:
3697 > /usr/lib/ruby/gems/1.8/gems/rmail-0.17/lib/rmail/utils.rb:48:in `base64_decode':
3698 > undefined method `unpack' for nil:NilClass (NoMethodError)
3699 > from /usr/lib/ruby/gems/1.8/gems/rmail-0.17/lib/rmail/message.rb:117:in
3700 > `decode'
3701
3702 Weird. It looks like RubyMail is having trouble parsing an attachment.
3703 Same as above: should be special-cased in r634, and send me the message
3704 if you get a chance.
3705
3706 Thanks!
3707
3708 --
3709 William <wmorgan-sup at masanjin.net>
3710
3711 From wmorgan-sup@masanjin.net Sat Oct 27 23:06:26 2007
3712 From: wmorgan-sup@masanjin.net (William Morgan)
3713 Date: Sat, 27 Oct 2007 20:06:26 -0700
3714 Subject: [sup-talk] Amazon.com messages can't be added to index
3715 In-Reply-To: <b1d95faa0710141532g7e24d184p44af10f888723ae2@mail.gmail.com>
3716 References: <b1d95faa0710132032s72d54ea1y1899a90f71b43654@mail.gmail.com>
3717 <20071014052003.GE17985@horacrux>
3718 <b1d95faa0710140204x2bfcfa9dt6489c66ec146f684@mail.gmail.com>
3719 <1192396734-sup-4334@chris-tablet>
3720 <b1d95faa0710141532g7e24d184p44af10f888723ae2@mail.gmail.com>
3721 Message-ID: <1193540770-sup-4734@south>
3722
3723 Excerpts from veganjenny's message of Sun Oct 14 15:32:08 -0700 2007:
3724 > I think the problem is that the field gets tokenized.
3725
3726 Precisely so. I think I have finally fixed this problem in SVN (by
3727 stripping all spaces from message ids). Update to r637 and see if it
3728 still happens.
3729
3730 --
3731 William <wmorgan-sup at masanjin.net>
3732
3733 From wmorgan-sup@masanjin.net Sat Oct 27 23:38:34 2007
3734 From: wmorgan-sup@masanjin.net (William Morgan)
3735 Date: Sat, 27 Oct 2007 20:38:34 -0700
3736 Subject: [sup-talk] Problem with mbox format
3737 In-Reply-To: <1192123770-sup-3583@chris-tablet>
3738 References: <1192123770-sup-3583@chris-tablet>
3739 Message-ID: <1193542521-sup-2724@south>
3740
3741 Excerpts from Christopher Warrington's message of Thu Oct 11 10:30:30 -0700 2007:
3742 > I've been having some problems with messages that appear to confuse the
3743 > mbox parser. For example, if, by chance, one of my messages contains
3744 > "From now on" and this starts a new line, I get this error when sup
3745 > tried to store the sent message in sent.mbox:
3746
3747 This should now be fixed in SVN. If you have any unquoted From's in
3748 sent.mbox, you will have to manually fix them (i.e., change "From " to
3749 ">From " at the start of all lines) and run sup-sync --changed sup://sent.
3750
3751 > Also, if I save a message like this for later editing, lines that start
3752 > with "From " have a '>' perpended to them which I must delete.
3753
3754 This should also now be fixed. I think.
3755
3756 > (Which mbox format is sup using, by the way?)
3757
3758 The variant where "From " at the beginning of a line signifies a new
3759 message. Content-Lines or Content-Size or whatever the header is is
3760 ignored.
3761
3762 --
3763 William <wmorgan-sup at masanjin.net>
3764
3765 From wmorgan-sup@masanjin.net Sat Oct 27 23:47:41 2007
3766 From: wmorgan-sup@masanjin.net (William Morgan)
3767 Date: Sat, 27 Oct 2007 20:47:41 -0700
3768 Subject: [sup-talk] memory hog ?
3769 In-Reply-To: <6205b42d0710100114i510e3706mfec56d4efe22ab2@mail.gmail.com>
3770 References: <6205b42d0710100114i510e3706mfec56d4efe22ab2@mail.gmail.com>
3771 Message-ID: <1193543015-sup-4081@south>
3772
3773 Excerpts from Pierre Baillet's message of Wed Oct 10 01:14:56 -0700 2007:
3774 > Without touching anything sup now tries to use all the available
3775 > memory on my computer and never finishes to start (more than 3GB...).
3776 > That's a bit annoying as behaviour. I've not idea on how to solve it,
3777 > so maybe one of you has an idea...
3778
3779 Did you ever solve this?
3780
3781 --
3782 William <wmorgan-sup at masanjin.net>
3783
3784 From chrisw@rice.edu Sun Oct 28 00:48:40 2007
3785 From: chrisw@rice.edu (Christopher Warrington)
3786 Date: Sat, 27 Oct 2007 23:48:40 -0500
3787 Subject: [sup-talk] Problem with mbox format
3788 In-Reply-To: <1193542521-sup-2724@south>
3789 References: <1192123770-sup-3583@chris-tablet> <1193542521-sup-2724@south>
3790 Message-ID: <1193546913-sup-2318@chris-tablet>
3791
3792 Excerpts from William Morgan's message of Sat Oct 27 22:38:34 -0500 2007:
3793 >> I've been having some problems with messages that appear to confuse the
3794 >> mbox parser. For example, if, by chance, one of my messages contains
3795 >> "From now on" and this starts a new line, I get this error when sup
3796 >> tried to store the sent message in sent.mbox:
3797 > This should now be fixed in SVN. If you have any unquoted From's in
3798 > sent.mbox, you will have to manually fix them (i.e., change "From " to
3799 > ">From " at the start of all lines) and run sup-sync --changed sup://sent.
3800
3801 Works for me in r639. Thanks!
3802
3803 >> Also, if I save a message like this for later editing, lines that start
3804 >> with "From " have a '>' perpended to them which I must delete.
3805 > This should also now be fixed. I think.
3806
3807 Not in r639.
3808
3809 --
3810 Christopher Warrington <chrisw at rice.edu>
3811
3812 From chrisw@rice.edu Sun Oct 28 00:50:16 2007
3813 From: chrisw@rice.edu (Christopher Warrington)
3814 Date: Sat, 27 Oct 2007 23:50:16 -0500
3815 Subject: [sup-talk] Problems in message_to_chunks
3816 In-Reply-To: <1193533308-sup-4419@south>
3817 References: <1193525943.4723c2b71faae@webmail.mail.rice.edu>
3818 <1193533308-sup-4419@south>
3819 Message-ID: <1193546938-sup-1546@chris-tablet>
3820
3821 Excerpts from William Morgan's message of Sat Oct 27 20:04:17 -0500 2007:
3822 > Excerpts from Christopher Warrington's message of Sat Oct 27 15:59:03 -0700 2007:
3823 >> On opening the inbox-mode: The problem was: 'private method `format'
3824 >> called for nil:NilClass' (error type NoMethodError)
3825 > Weird. It looks like RubyMail can't find a From: line in a
3826 > message/rfc822 attachment. If you get a chance, send me the message in
3827 > question so I can play with it. I think this should be special-cased
3828 > as of r634 though.
3829
3830 Yeah. It works in r639. I'd send you the message, but I don't know which
3831 one was causing the error. If it happens again, I will.
3832
3833 >> On sup-syncing a large IMAP folder:
3834 >> /usr/lib/ruby/gems/1.8/gems/rmail-0.17/lib/rmail/utils.rb:48:in `base64_decode':
3835 >> undefined method `unpack' for nil:NilClass (NoMethodError)
3836 >> from /usr/lib/ruby/gems/1.8/gems/rmail-0.17/lib/rmail/message.rb:117:in
3837 >> `decode'
3838 > Weird. It looks like RubyMail is having trouble parsing an attachment.
3839 > Same as above: should be special-cased in r634, and send me the
3840 > message if you get a chance.
3841
3842 This too appears to be working in r639. Thanks.
3843
3844 --
3845 Christopher Warrington <chrisw at rice.edu>
3846
3847 From jtang@tchpc.tcd.ie Sun Oct 28 06:01:51 2007
3848 From: jtang@tchpc.tcd.ie (Jimmy Tang)
3849 Date: Sun, 28 Oct 2007 10:01:51 +0000
3850 Subject: [sup-talk] problem with labels...
3851 In-Reply-To: <1193525732-sup-9986@south>
3852 References: <1190715365-sup-7656@vual.tchpc.tcd.ie> <1190853809-sup-2942@south>
3853 <1190888538-sup-1554@vual.tchpc.tcd.ie>
3854 <sfid-H20071027-235931-+025.28-1@vual.tchpc.tcd.ie>
3855 <1193525732-sup-9986@south>
3856 Message-ID: <1193565654-sup-409@vual.tchpc.tcd.ie>
3857
3858 Hi William
3859
3860 Excerpts from William Morgan's message of Sat Oct 27 23:56:07 +0100 2007:
3861 >
3862 > I've fixed the downcasing issue with tab completion and now everything
3863 > seems to work perfectly with the latest SVN. Give it a try and let me
3864 > know if it works for you.
3865 >
3866
3867 yeap, it's working as expected now, thanks :)
3868
3869 Thanks,
3870 Jimmy.
3871
3872 --
3873 Jimmy Tang
3874 Trinity Centre for High Performance Computing,
3875 Lloyd Building, Trinity College Dublin, Dublin 2, Ireland.
3876 http://www.tchpc.tcd.ie/ | http://www.tchpc.tcd.ie/~jtang
3877
3878 From chrisw@rice.edu Sun Oct 28 14:22:44 2007
3879 From: chrisw@rice.edu (Christopher Warrington)
3880 Date: Sun, 28 Oct 2007 13:22:44 -0500
3881 Subject: [sup-talk] IMAP folders with spaces
3882 In-Reply-To: <1193444697-sup-5560@south>
3883 References: <Pine.LNX.4.64.0710080412470.20463@localhost>
3884 <1191938778-sup-7443@south> <1193444697-sup-5560@south>
3885 Message-ID: <1193595743-sup-3273@chris-tablet>
3886
3887 Excerpts from William Morgan's message of Fri Oct 26 19:26:05 -0500 2007:
3888 > Escaped IMAP URIs should now work in SVN.
3889
3890 Works great. Thanks!
3891
3892 --
3893 Christopher Warrington <chrisw at rice.edu>
3894
3895 From alexander.panek@lomography.com Mon Oct 29 09:22:01 2007
3896 From: alexander.panek@lomography.com (Alexander Panek)
3897 Date: Mon, 29 Oct 2007 14:22:01 +0100
3898 Subject: [sup-talk] Running SVN version
3899 Message-ID: <20071029142201.844a5acc.alexander.panek@lomography.com>
3900
3901 Hello,
3902
3903 even though I expect to be slaughtered...
3904
3905 How do I run sup from SVN?
3906 Checking out and running rake install borks my rubygems installation completely and forces me to reinstall rubygems.
3907
3908 Sorry for this question, but sup is the first Ruby /application/ I use.. just used libraries before.
3909
3910 Thanks in advance.
3911 --
3912 Alexander Panek <alexander.panek at lomography.com>
3913
3914 From itaylor@uark.edu Mon Oct 29 10:39:23 2007
3915 From: itaylor@uark.edu (Ian Taylor)
3916 Date: Mon, 29 Oct 2007 09:39:23 -0500
3917 Subject: [sup-talk] Running SVN version
3918 In-Reply-To: <20071029142201.844a5acc.alexander.panek@lomography.com>
3919 References: <20071029142201.844a5acc.alexander.panek@lomography.com>
3920 Message-ID: <1193668697-sup-7820@silver>
3921
3922 Excerpts from Alexander Panek's message of Mon Oct 29 08:22:01 -0500 2007:
3923 > Hello,
3924 >
3925 > even though I expect to be slaughtered...
3926 >
3927 > How do I run sup from SVN?
3928 > Checking out and running rake install borks my rubygems installation completely
3929 > and forces me to reinstall rubygems.
3930 >
3931 > Sorry for this question, but sup is the first Ruby /application/ I use.. just
3932 > used libraries before.
3933 >
3934 > Thanks in advance.
3935
3936 Not sure how you're supposed to do it, but what has been working fine
3937 for me is...
3938
3939 rake gem
3940 sudo gem install pkg/sup-0.1.gem
3941
3942 --
3943 Ian Taylor
3944
3945 From wmorgan-sup@masanjin.net Mon Oct 29 11:46:31 2007
3946 From: wmorgan-sup@masanjin.net (William Morgan)
3947 Date: Mon, 29 Oct 2007 08:46:31 -0700
3948 Subject: [sup-talk] sup-sync-back: killed threads and read status
3949 In-Reply-To: <6205b42d0710142302u2ca4c6c0yc53336434bc4fe39@mail.gmail.com>
3950 References: <6205b42d0710142302u2ca4c6c0yc53336434bc4fe39@mail.gmail.com>
3951 Message-ID: <1193672440-sup-8648@south>
3952
3953 Excerpts from Pierre Baillet's message of Sun Oct 14 23:02:12 -0700 2007:
3954 > sup-sync-back does not seem to delete killed messages. I think, it
3955 > should do that.
3956
3957 It shouldn't delete them. A killed thread is a thread you don't want to
3958 ever show up in the inbox, but that's not the same as wanting to delete
3959 something. You may want to keep that thread around for later browsing or
3960 searching.
3961
3962 GMail used to call them murdered threads, but changed the name to muted
3963 threads in the release. Maybe I should call them "kept quiet" threads. :)
3964
3965 > Moreover, the "Read" status of emails is not changed in the original
3966 > mailbox. I'm not sure it's sup-sync-back job to do that, but the
3967 > Principle Of Least Surprise would probably expect that.
3968
3969 I've purposely avoided writing changes back to the original sources,
3970 since it's a world of pain, will never be 100% complete (Sup state is
3971 much more complex than Maildir/IMAP/mbox state), and doesn't fit in the
3972 Sup weltanshaung of treating sources as dumb buckets.
3973
3974 I will accept patches to sup-sync-back to set read/unread status, but
3975 only grudgingly!
3976
3977 --
3978 William <wmorgan-sup at masanjin.net>
3979
3980 From wmorgan-sup@masanjin.net Mon Oct 29 11:58:12 2007
3981 From: wmorgan-sup@masanjin.net (William Morgan)
3982 Date: Mon, 29 Oct 2007 08:58:12 -0700
3983 Subject: [sup-talk] some user questions
3984 In-Reply-To: <20071009145451.GA22618@localhost>
3985 References: <20071009145451.GA22618@localhost>
3986 Message-ID: <1193672900-sup-2438@south>
3987
3988 Excerpts from Eyal Oren's message of Tue Oct 09 07:54:51 -0700 2007:
3989 > - I have the feeling that several keybindings are overloaded between
3990 > different screens, but in a confusing manner. For example, when
3991 > inbox-mode, 'S' means mark-as-spam, while in contact-list-mode it
3992 > means search-for-messages.
3993
3994 The current keybindings are, by and large, whatever occurred to me in
3995 the middle of the night when I was working on it. The can definitely be
3996 refined. Specific change requests or patches are accepted.
3997
3998 I'd also be open to having the keybindings configurable, but that's
3999 pretty far down on my priority queue at the moment.
4000
4001 > - When are changes applied? Some changes are applied instantly (when
4002 > marking an email as spam, it will instantly disappear from the inbox)
4003 > while others need a manual refresh (when unmarking mail as spam, it
4004 > will instantly disappear from the spam view but when changing back to
4005 > the inbox, a refresh is needed before the email is shown).
4006
4007 Changes are applied to the *index* only when $ is pressed, or when the
4008 buffer closes. I try and apply all changes to the *buffer* immediately,
4009 but you're right that some changes are not done that way right now. You
4010 can consider those bugs for the time being.
4011
4012 > Also, personally, I'd rename the help text 'Discard threads and
4013 > reload' into 'refresh view'.
4014
4015 Done.
4016
4017 > - Is it possible to index emails on parts of the email address,
4018 > splitting on '.' and '@'? I would like to search for emails from
4019 > 'john', not from 'john.doe at hotmail.com'.
4020
4021 Not convinced about '.', but maybe '@'. Would people find this useful?
4022
4023 > - Is it possible to change the ordering of threads? I'm used to
4024 > sorting my emails oldest-first.
4025
4026 No. :)
4027
4028 --
4029 William <wmorgan-sup at masanjin.net>
4030
4031 From stubbsd@zetani.com Mon Oct 29 13:09:05 2007
4032 From: stubbsd@zetani.com (David Stubbs)
4033 Date: Mon, 29 Oct 2007 17:09:05 +0000
4034 Subject: [sup-talk] some user questions
4035 In-Reply-To: <1193672900-sup-2438@south>
4036 References: <20071009145451.GA22618@localhost> <1193672900-sup-2438@south>
4037 Message-ID: <1193677544-sup-1484@DASMAC.local>
4038
4039 Excerpts from William Morgan's message of Mon Oct 29 15:58:12 +0000 2007:
4040 > > - Is it possible to index emails on parts of the email address,
4041 > > splitting on '.' and '@'? I would like to search for emails from
4042 > > 'john', not from 'john.doe at hotmail.com'.
4043 >
4044 > Not convinced about '.', but maybe '@'. Would people find this useful?
4045
4046 I just use the wildcard, so I can't see the advantage. For example:
4047
4048 query: from:jbrown*
4049
4050 Congratulations on your recent marriage William!
4051
4052 David.
4053
4054 From chrisw@rice.edu Mon Oct 29 13:11:10 2007
4055 From: chrisw@rice.edu (Christopher Warrington)
4056 Date: Mon, 29 Oct 2007 12:11:10 -0500
4057 Subject: [sup-talk] Running SVN version
4058 In-Reply-To: <20071029142201.844a5acc.alexander.panek@lomography.com>
4059 References: <20071029142201.844a5acc.alexander.panek@lomography.com>
4060 Message-ID: <1193677738-sup-5698@chris-tablet>
4061
4062 Excerpts from Alexander Panek's message of Mon Oct 29 08:22:01 -0500 2007:
4063 > How do I run sup from SVN?
4064 > Checking out and running rake install borks my rubygems installation completely
4065 > and forces me to reinstall rubygems.
4066
4067 This is what I did:
4068
4069 I ran gem install sup to get all the dependencies. Then, I uninstalled
4070 sup.
4071
4072 I checked our the SVN HEAD. In trunk/HACKING there are some instructions
4073 about running sup.
4074
4075 The command I use is:
4076 (from inside trunk/)
4077 ruby -I lib -w bin/sup
4078
4079 --
4080 Christopher Warrington <chrisw at rice.edu>
4081 Jones College
4082
4083 From tim@timvaughan.co.uk Mon Oct 29 13:17:57 2007
4084 From: tim@timvaughan.co.uk (Tim Vaughan)
4085 Date: Mon, 29 Oct 2007 17:17:57 +0000
4086 Subject: [sup-talk] Google and IMAP
4087 In-Reply-To: <20071024084757.GO5471@horacrux>
4088 References: <414a99f20710240051m4656b3b6sbd0057ba95dc68a6@mail.gmail.com>
4089 <20071024084757.GO5471@horacrux>
4090 Message-ID: <1193677196-sup-2982@londonbackup>
4091
4092 Excerpts from Kevin Mark's message of Wed Oct 24 09:47:57 +0100 2007:
4093 > Thanks for the heads up, I just created a gmail account and added imap
4094 > support. Mutt to only a few minutes to get it to read imap. Now on to
4095 > sup...
4096
4097 I'd be interested to know how you get on. A couple of things I've noticed
4098 after using sup for a day or two:
4099
4100 * Gmail seems to store messages sent with its SMTP server so when a
4101 brand-new email is sent it appears in the inbox. This is a bit annoying
4102 but I don't think that you can make sup store its sent emails in an IMAP
4103 folder.
4104
4105 * Sometimes I load a largeish thread and find that a thread has a red line
4106 with "message not downloaded" in it.
4107
4108 * Feature request: saved searches!
4109
4110 * Is there a way to make sup reply from the address an email was sent to
4111 (like Gmail does when it handles more than one account)?
4112
4113 * Sup is great but having to rebuild the index every time I use Gmail's web
4114 interface to send an email hurts :(. Although I realise that's just the
4115 Way Things Are.
4116
4117 I'm really hoping I can start using sup full time though rather than Gmail's
4118 web interface because it's so much more fun!
4119 --
4120 Tim Vaughan
4121 07725749263
4122
4123 From alexander.panek@lomography.com Mon Oct 29 12:44:25 2007
4124 From: alexander.panek@lomography.com (Alexander Panek)
4125 Date: Mon, 29 Oct 2007 17:44:25 +0100
4126 Subject: [sup-talk] Running SVN version
4127 In-Reply-To: <1193668697-sup-7820@silver>
4128 References: <20071029142201.844a5acc.alexander.panek@lomography.com>
4129 <1193668697-sup-7820@silver>
4130 Message-ID: <20071029174425.2306cfa5.alexander.panek@lomography.com>
4131
4132 On Mon, 29 Oct 2007 09:39:23 -0500
4133 Ian Taylor <itaylor at uark.edu> wrote:
4134
4135 > Not sure how you're supposed to do it, but what has been working fine
4136 > for me is...
4137 >
4138 > rake gem
4139 > sudo gem install pkg/sup-0.1.gem
4140
4141 That's exactly what I wanted. Thank you!
4142
4143 --
4144 Alexander Panek <alexander.panek at lomography.com>
4145
4146 From chrisw@rice.edu Mon Oct 29 17:40:37 2007
4147 From: chrisw@rice.edu (Christopher Warrington)
4148 Date: Mon, 29 Oct 2007 16:40:37 -0500
4149 Subject: [sup-talk] Ferret Errors
4150 Message-ID: <1193693839-sup-8512@chris-tablet>
4151
4152 I'm getting odd ferret errors, usually when I am composing messages in
4153 nano.
4154
4155 I suspect that it has something to do with the fact that I am running
4156 sup under cygwin on Windows...
4157
4158 Here's the exception:
4159 --- IOError at Mon Oct 29 16:27:51 -0500 2007
4160 IO Error occured at <except.c>:117 in xpop_context
4161 Error occured in fs_store.c:70 - fs_exists
4162 checking existance of /home/chrisw/.sup/ferret/_g9c.cfs: <Permission denied>
4163
4164 /usr/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:700:in `initialize'
4165 /usr/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:700:in `new'
4166 /usr/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:700:in `ensure_writer_open'
4167 /usr/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:429:in `delete'
4168 /usr/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:8:in `synchrolock'
4169 /usr/lib/ruby/1.8/monitor.rb:238:in `synchronize'
4170 /usr/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:8:in `synchrolock'
4171 /usr/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:428:in `delete'
4172 ./sup/trunk/lib/sup/index.rb:181:in `sync_message'
4173 ./sup/trunk/lib/sup/util.rb:395:in `send'
4174 ./sup/trunk/lib/sup/util.rb:395:in `method_missing'
4175 ./sup/trunk/lib/sup/poll.rb:151:in `add_messages_from'
4176 ./sup/trunk/lib/sup/imap.rb:174:in `each'
4177 ./sup/trunk/lib/sup/imap.rb:163:in `upto'
4178 ./sup/trunk/lib/sup/imap.rb:163:in `each'
4179 ./sup/trunk/lib/sup/util.rb:431:in `send'
4180 ./sup/trunk/lib/sup/util.rb:431:in `__pass'
4181 ./sup/trunk/lib/sup/util.rb:420:in `method_missing'
4182 ./sup/trunk/lib/sup/poll.rb:133:in `add_messages_from'
4183 ./sup/trunk/lib/sup/poll.rb:90:in `do_poll'
4184 ./sup/trunk/lib/sup/poll.rb:78:in `each'
4185 ./sup/trunk/lib/sup/poll.rb:78:in `do_poll'
4186 ./sup/trunk/lib/sup/poll.rb:77:in `synchronize'
4187 ./sup/trunk/lib/sup/poll.rb:77:in `do_poll'
4188 ./sup/trunk/lib/sup/util.rb:395:in `send'
4189 ./sup/trunk/lib/sup/util.rb:395:in `method_missing'
4190 ./sup/trunk/lib/sup/modes/poll-mode.rb:20:in `poll'
4191 ./sup/trunk/lib/sup/poll.rb:45:in `poll'
4192 ./sup/trunk/lib/sup/poll.rb:62:in `start'
4193 ./sup/trunk/lib/sup.rb:70:in `reporting_thread'
4194 ./sup/trunk/lib/sup.rb:68:in `initialize'
4195 ./sup/trunk/lib/sup.rb:68:in `new'
4196 ./sup/trunk/lib/sup.rb:68:in `reporting_thread'
4197 ./sup/trunk/lib/sup/poll.rb:59:in `start'
4198 ./sup/trunk/lib/sup/util.rb:395:in `send'
4199 ./sup/trunk/lib/sup/util.rb:395:in `method_missing'
4200 sup/trunk/bin/sup:190
4201
4202 --
4203 Christopher Warrington <chrisw at rice.edu>
4204
4205 From wmorgan-sup@masanjin.net Mon Oct 29 17:43:07 2007
4206 From: wmorgan-sup@masanjin.net (William Morgan)
4207 Date: Mon, 29 Oct 2007 14:43:07 -0700
4208 Subject: [sup-talk] [ANN] Sup 0.2 released
4209 Message-ID: <1193694144-sup-4506@south>
4210
4211 Sup version 0.2 has been released!
4212
4213 http://sup.rubyforge.org
4214
4215 Sup is a console-based email client for people with a lot of email.
4216 It supports tagging, very fast full-text search, automatic contact-
4217 list management, and more. If you're the type of person who treats
4218 email as an extension of your long-term memory, Sup is for you.
4219
4220 Sup makes it easy to:
4221 - Handle massive amounts of email.
4222
4223 - Mix email from different sources: mbox files (even across different
4224 machines), Maildir directories, IMAP folders, POP accounts, and
4225 GMail accounts.
4226
4227 - Instantaneously search over your entire email collection. Search
4228 over body text, or use a query language to combine search
4229 predicates in any way.
4230
4231 - Handle multiple accounts. Replying to email sent to a particular
4232 account will use the correct SMTP server, signature, and from
4233 address.
4234
4235 - Add custom code to handle certain types of messages or to handle
4236 certain types of text within messages.
4237
4238 - Organize email with user-defined labels, automatically track
4239 recent contacts, and much more!
4240
4241 The goal of Sup is to become the email client of choice for nerds
4242 everywhere.
4243
4244 Changes:
4245
4246 == 0.2 / 2007-10-29
4247 * Complete hook system for user-inserted code.
4248 * GPG signature verification and decryption.
4249 * Automatically scold users who top-post.
4250 * Automatically warn when sending a message with words like
4251 "attachment" in the body if there aren't actually any attachments to
4252 the message.
4253 * Millions of bugfixes.
4254
4255 http://sup.rubyforge.org
4256
4257
4258 --
4259 William <wmorgan-sup at masanjin.net>
4260
4261 From brenocon@gmail.com Mon Oct 29 21:55:59 2007
4262 From: brenocon@gmail.com (Brendan O'Connor)
4263 Date: Mon, 29 Oct 2007 18:55:59 -0700
4264 Subject: [sup-talk] tiny fix for sup-faked message id's crashing sup-sync
4265 Message-ID: <fba9be1d0710291855x15e90fbbp6138a31dd48f0cc1@mail.gmail.com>
4266
4267 Hello all --
4268
4269 After a tiny bugfix off SVN 650, I'm importing gmail imap! Very exciting!
4270
4271 I hate it when I add a puts or logging statement and it messes up
4272 ruby's returning conventions, returning nil that clobbers something
4273 elsewhere. Glad to see it happens to other people too :)
4274
4275 Index: lib/sup/message.rb
4276 ===================================================================
4277 --- lib/sup/message.rb (revision 650)
4278 +++ lib/sup/message.rb (working copy)
4279 @@ -62,8 +62,8 @@
4280 if header["message-id"]
4281 sanitize_message_id header["message-id"]
4282 else
4283 + Redwood::log "faking message-id for message from #@from: #@id"
4284 "sup-faked-" + Digest::MD5.hexdigest(raw_header)
4285 - Redwood::log "faking message-id for message from #@from: #@id"
4286 end
4287
4288 date = header["date"]
4289
4290 ................... for reference the error was later, after the
4291 Message's id was nil:
4292
4293 $ sup-sync
4294
4295 ...
4296
4297 [Mon Oct 29 17:16:12 -0700 2007] faking message-id for message from
4298 Mail Delivery Subsystem <mailer-daemon at googlemail.com>:
4299 [Mon Oct 29 17:16:12 -0700 2007] saving index and sources...
4300 [Mon Oct 29 17:16:12 -0700 2007] unlocking /Users/brendano/.sup/lock...
4301 /Users/brendano/sw/sup/lib/sup/index.rb:323:in `initialize': can't
4302 convert nil into String (TypeError)
4303 from /Users/brendano/sw/sup/lib/sup/index.rb:323:in `new'
4304 from /Users/brendano/sw/sup/lib/sup/index.rb:323:in `load_entry_for_id'
4305 from /Users/brendano/sw/sup/lib/sup/util.rb:395:in `send'
4306 from /Users/brendano/sw/sup/lib/sup/util.rb:395:in `method_missing'
4307 from /Users/brendano/sw/sup/lib/sup/poll.rb:149:in `add_messages_from'
4308 from /Users/brendano/sw/sup/lib/sup/imap.rb:174:in `each'
4309 from /Users/brendano/sw/sup/lib/sup/imap.rb:163:in `upto'
4310 from /Users/brendano/sw/sup/lib/sup/imap.rb:163:in `each'
4311 from /Users/brendano/sw/sup/lib/sup/util.rb:431:in `send'
4312 from /Users/brendano/sw/sup/lib/sup/util.rb:431:in `__pass'
4313 from /Users/brendano/sw/sup/lib/sup/util.rb:420:in `method_missing'
4314 from /Users/brendano/sw/sup/lib/sup/poll.rb:133:in `add_messages_from'
4315 from /Users/brendano/sw/sup/lib/sup/util.rb:395:in `send'
4316 from /Users/brendano/sw/sup/lib/sup/util.rb:395:in `method_missing'
4317 from /Users/brendano/sw/sup/bin/sup-sync:133
4318 from /Users/brendano/sw/sup/bin/sup-sync:128:in `each'
4319 from /Users/brendano/sw/sup/bin/sup-sync:128
4320 Rats, that failed. You may have to do it manually.
4321
4322 From alexander.panek@brainsware.org Tue Oct 30 04:18:43 2007
4323 From: alexander.panek@brainsware.org (Alexander Panek)
4324 Date: Tue, 30 Oct 2007 09:18:43 +0100
4325 Subject: [sup-talk] Running SVN version
4326 In-Reply-To: <1193677738-sup-5698@chris-tablet>
4327 References: <20071029142201.844a5acc.alexander.panek@lomography.com>
4328 <1193677738-sup-5698@chris-tablet>
4329 Message-ID: <4726E8E3.1090707@brainsware.org>
4330
4331 Christopher Warrington wrote:
4332 > [...]
4333 > The command I use is:
4334 > (from inside trunk/)
4335 > ruby -I lib -w bin/sup
4336
4337 Way; that's great, too! This way one can test the SVN versions without
4338 having to overwrite the stables one.
4339
4340 Thank you.
4341
4342 --
4343 Alexander Panek <alexander.panek at brainsware.org>
4344
4345 From rick.tessner@gmail.com Tue Oct 30 06:24:15 2007
4346 From: rick.tessner@gmail.com (Rick Tessner)
4347 Date: Tue, 30 Oct 2007 03:24:15 -0700
4348 Subject: [sup-talk] [PATCH] svn sup "can't convert nil into String"
4349 (index.rb)
4350 Message-ID: <1193739855.10424.7.camel@onnadayr.ca>
4351
4352 Hi,
4353
4354 I'm using svn sup and just recently started getting the following error
4355 when getting new email without a proper message_id (patch is attached):
4356
4357 The problem was: 'can't convert nil into String' (error type TypeError)
4358 A backtrace follows: /home/rick/sup/lib/sup/index.rb:323:in
4359 `initialize': can't convert nil into String (TypeError)
4360 from /home/rick/sup/lib/sup/index.rb:323:in `new'
4361 from /home/rick/sup/lib/sup/index.rb:323:in `load_entry_for_id'
4362 from /home/rick/sup/lib/sup/util.rb:395:in `send'
4363 from /home/rick/sup/lib/sup/util.rb:395:in `method_missing'
4364 from /home/rick/sup/lib/sup/poll.rb:156:in `add_messages_from'
4365 from /home/rick/sup/lib/sup/imap.rb:178:in `each'
4366 from /home/rick/sup/lib/sup/imap.rb:163:in `upto'
4367 from /home/rick/sup/lib/sup/imap.rb:163:in `each'
4368 ... 28 levels...
4369 from /home/rick/sup/lib/sup.rb:68:in `reporting_thread'
4370 from /home/rick/sup/lib/sup/modes/thread-index-mode.rb:372:in
4371 `load_n_threads_background'
4372 from /home/rick/sup/lib/sup/modes/thread-index-mode.rb:422:in
4373 `load_threads'
4374 from /home/rick/sup/bin/sup:188
4375
4376 The problem is that the parse_header method is assigning @id the result
4377 of an "if" statement. However, the "else" part of the "if" statement is
4378 always returning the result of Redwood::log (nil) rather than the
4379 "sup-faked" message_id.
4380
4381 --
4382 Rick
4383 rick.tessner at gmail.com
4384 -------------- next part --------------
4385 A non-text attachment was scrubbed...
4386 Name: message.rb.diff
4387 Type: text/x-patch
4388 Size: 490 bytes
4389 Desc: not available
4390 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071030/28a2f5be/attachment.bin
4391
4392 From alexander.panek@brainsware.org Tue Oct 30 07:13:29 2007
4393 From: alexander.panek@brainsware.org (Alexander Panek)
4394 Date: Tue, 30 Oct 2007 12:13:29 +0100
4395 Subject: [sup-talk] Crash on setting labels in thread view
4396 Message-ID: <20071030121329.5d551103.alexander.panek@brainsware.org>
4397
4398 This happens in svn version when I hit 'l' in thread view and apply
4399 with hitting return.
4400
4401 The problem was: 'undefined local variable or method `m' for #<Redwood::ThreadViewMode:0xb6ae43ac>' (error type NameError)
4402 A backtrace follows:
4403 ./lib/sup/modes/thread-view-mode.rb:148:in `edit_labels': undefined local variable or method `m' for #<Redwood::ThreadViewMode:0xb6ae43ac> (NameError)
4404 from ./lib/sup/mode.rb:52:in `send'
4405 from ./lib/sup/mode.rb:52:in `handle_input'
4406 from ./lib/sup/buffer.rb:193:in `handle_input'
4407 from bin/sup:201
4408
4409 --
4410 Alexander Panek <alexander.panek at brainsware.org>
4411
4412 From marcus-sup@quintic.co.uk Tue Oct 30 11:55:18 2007
4413 From: marcus-sup@quintic.co.uk (Marcus Williams)
4414 Date: Tue, 30 Oct 2007 15:55:18 +0000
4415 Subject: [sup-talk] Changing sources with same URI
4416 Message-ID: <1193759439-sup-5378@tomsk>
4417
4418 I've got two (actually more than two, but that doesnt matter) IMAP
4419 sources with the same URI, with different logins. The only problem is
4420 I forgot to add a label to one of them. What I want to do is add that
4421 source back in with the label added.
4422
4423 I thought all I'd need to do was add the label to the sources.yaml and
4424 then run sup-sync --changed <source>, or maybe --all but neither of
4425 them pick the right source as the source I want is the second of the
4426 two sources in the yaml file (and they both have the same uri). I
4427 probably want to make both of these sources "unusual" as well, can I
4428 do that with sup-sync?
4429
4430 Is there a way to differentiate between the two on the command line?
4431 If not, should there be?
4432
4433 Better still, anyone any ideas how I can do what I want?
4434
4435 Thanks!
4436
4437 Marcus
4438
4439 From wmorgan-sup@masanjin.net Tue Oct 30 12:03:13 2007
4440 From: wmorgan-sup@masanjin.net (William Morgan)
4441 Date: Tue, 30 Oct 2007 09:03:13 -0700
4442 Subject: [sup-talk] Crash on setting labels in thread view
4443 In-Reply-To: <20071030121329.5d551103.alexander.panek@brainsware.org>
4444 References: <20071030121329.5d551103.alexander.panek@brainsware.org>
4445 Message-ID: <1193760160-sup-3445@south>
4446
4447 Excerpts from Alexander Panek's message of Tue Oct 30 04:13:29 -0700 2007:
4448 > This happens in svn version when I hit 'l' in thread view and apply
4449 > with hitting return.
4450
4451 I could have sworn I tested this before committing it. Looks like we'll
4452 have to have a 0.2.1 soon. Fixed in SVN.
4453
4454 --
4455 William <wmorgan-sup at masanjin.net>
4456
4457 From wmorgan-sup@masanjin.net Tue Oct 30 15:18:28 2007
4458 From: wmorgan-sup@masanjin.net (William Morgan)
4459 Date: Tue, 30 Oct 2007 12:18:28 -0700
4460 Subject: [sup-talk] tiny patch for typo
4461 In-Reply-To: <1192118317-sup-1327@timmy>
4462 References: <1192118317-sup-1327@timmy>
4463 Message-ID: <1193771811-sup-9574@south>
4464
4465 Excerpts from Eyal Oren's message of Thu Oct 11 08:59:41 -0700 2007:
4466 > Attached a tiny patch for a typo in bin/sup's info message on caught
4467 > errors.
4468
4469 This was actually intentional. :)
4470
4471 --
4472 William <wmorgan-sup at masanjin.net>
4473
4474 From wmorgan-sup@masanjin.net Tue Oct 30 16:35:38 2007
4475 From: wmorgan-sup@masanjin.net (William Morgan)
4476 Date: Tue, 30 Oct 2007 13:35:38 -0700
4477 Subject: [sup-talk] Initial error
4478 In-Reply-To: <E880165D-C4FF-43DA-93CF-430FE201FEDD@foundinteractive.com>
4479 References: <E880165D-C4FF-43DA-93CF-430FE201FEDD@foundinteractive.com>
4480 Message-ID: <1193776526-sup-90@south>
4481
4482 Excerpts from Timothy Johnson's message of Fri Oct 12 10:48:08 -0700 2007:
4483 > I had an error when syncing my first IMAP inbox
4484 > /opt/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/source.rb:80:in
4485 > `done?': undefined method `>=' for nil:NilClass (NoMethodError)
4486 >
4487 > so I just added an "unless end_offset.nil?" clause at the end
4488 > thereof, and it worked again.
4489 >
4490 > Is this a common problem? probably not thus far, but was curious what
4491 > would cause it.
4492
4493 Fixed in 0.2.
4494
4495 --
4496 William <wmorgan-sup at masanjin.net>
4497
4498 From wmorgan-sup@masanjin.net Tue Oct 30 16:39:43 2007
4499 From: wmorgan-sup@masanjin.net (William Morgan)
4500 Date: Tue, 30 Oct 2007 13:39:43 -0700
4501 Subject: [sup-talk] Also,
4502 seems to be throwing lots of invalid encoding errors
4503 In-Reply-To: <671354B2-98BF-4CE7-B8AC-7C55581C46BB@foundinteractive.com>
4504 References: <671354B2-98BF-4CE7-B8AC-7C55581C46BB@foundinteractive.com>
4505 Message-ID: <1193776545-sup-5951@south>
4506
4507 Excerpts from Timothy Johnson's message of Fri Oct 12 10:51:41 -0700 2007:
4508 > Any fixes for this error?
4509 > warning: error decoding message body from "iso-8859-1": invalid
4510 > encoding ("utf-8", ""iso-8859-1"")
4511 > and variations on that message.
4512
4513 I'm pretty sure this is just iconv being finnicky. I think it happens
4514 when there's something about the message that it doesn't like when
4515 converting between those two character sets.
4516
4517 At any rate, it's not fatal and I'm not sure that there's really a good
4518 solution without rewriting the Ruby iconv bridge, which is basically a
4519 one-method API.
4520
4521 --
4522 William <wmorgan-sup at masanjin.net>
4523
4524 From wmorgan-sup@masanjin.net Tue Oct 30 16:41:48 2007
4525 From: wmorgan-sup@masanjin.net (William Morgan)
4526 Date: Tue, 30 Oct 2007 13:41:48 -0700
4527 Subject: [sup-talk] Crash while indexing 47000 message maildir
4528 In-Reply-To: <20071013050048.GA16465@ifup.org>
4529 References: <20071013050048.GA16465@ifup.org>
4530 Message-ID: <1193776875-sup-2608@south>
4531
4532 Excerpts from Brandon Philips's message of Fri Oct 12 22:00:48 -0700 2007:
4533 > I got the following error after I started sup-add on 47118 message
4534 > maildir and tried to view the label while sup was indexing.
4535
4536 Simultaneous index access breaks Ferret in weird ways. Sup 0.2 locks the
4537 index to avoid this.
4538
4539 --
4540 William <wmorgan-sup at masanjin.net>
4541
4542 From wmorgan-sup@masanjin.net Tue Oct 30 17:41:17 2007
4543 From: wmorgan-sup@masanjin.net (William Morgan)
4544 Date: Tue, 30 Oct 2007 14:41:17 -0700
4545 Subject: [sup-talk] Refreshing inbox & removing +inbox label
4546 In-Reply-To: <20071025110800.b79fe28c.alexander.panek@brainsware.org>
4547 References: <20071025110800.b79fe28c.alexander.panek@brainsware.org>
4548 Message-ID: <1193780132-sup-9314@south>
4549
4550 Excerpts from Alexander Panek's message of Thu Oct 25 02:08:00 -0700 2007:
4551 > - Is there a way to refresh the inbox, so labels are re-read (removing
4552 > the +inbox label doesn't quite hide the threads from inbox - I have to
4553 > restart sup to make it work..)?
4554
4555 '@' will refresh. Also, I assume you were changing the labels in
4556 thread-view-mode, which was slightly broken until recently---this should
4557 be fixed in SVN (0.2 has a bug, sigh), and everything you do in either
4558 mode should be reflected immediately in all buffers.
4559
4560 > - Is there any easy way to hide threads from the inbox without
4561 > removing the inbox label on a per-thread basis? Something like "tag
4562 > all" threads in current view and making ";l" able to not only add, but
4563 > also remove tags would be sufficiant for me. That'd be very handy for
4564 > high traffic accounts where you actually only want to check
4565 > occasionally, without having them flooding your inbox.
4566
4567 I'm not entirely sure I understand what you mean. What label would you
4568 remove, if you could remove from multiple threads?
4569
4570 High-traffic mail that you only want to check occasionally should be
4571 handled by keeping them in an auto-archived source with an
4572 automatically-applied label, and then selecting that label. I read
4573 ruby-talk that way, for example.
4574
4575 --
4576 William <wmorgan-sup at masanjin.net>
4577
4578 From wmorgan-sup@masanjin.net Tue Oct 30 17:54:36 2007
4579 From: wmorgan-sup@masanjin.net (William Morgan)
4580 Date: Tue, 30 Oct 2007 14:54:36 -0700
4581 Subject: [sup-talk] Refreshing inbox & removing +inbox label
4582 In-Reply-To: <20071025125724.GA5250@lenin.sovietwar.org>
4583 References: <0a4e8b9700043d81@IMSS-WIN> <472063D9.40704@quintic.co.uk>
4584 <20071025114926.88e91efb.alexander.panek@brainsware.org>
4585 <20071025125724.GA5250@lenin.sovietwar.org>
4586 Message-ID: <1193781249-sup-5262@south>
4587
4588 Excerpts from vasudeva's message of Thu Oct 25 05:57:24 -0700 2007:
4589 > That seems useful to me. Say you've got 3000 messages labeled, and now
4590 > you want to change the label without painstakingly loading them all
4591 > into your view. Maybe you've just finished syncing ten trillion
4592 > emails from your old mbox sources and realize you didn't plan your
4593 > label strategy very well...
4594
4595 This could be done fairly easily with the console (only in SVN right
4596 now, but I could package it in the gems as well). Something like:
4597
4598 $ sh devel/console.sh
4599 [Tue Oct 30 14:47:24 -0700 2007] loading index...
4600 [Tue Oct 30 14:47:24 -0700 2007] loaded index of 64258 messages
4601 >> Index.ferret.search_each("label:sup") do |id, score|
4602 m = Index.build_message id
4603 m.labels -= [:sup]
4604 m.labels += [:potato]
4605 Index.sync_message m
4606 end
4607 >> Index.ferret.optimize
4608
4609 --
4610 William <wmorgan-sup at masanjin.net>
4611
4612 From wmorgan-sup@masanjin.net Tue Oct 30 18:35:31 2007
4613 From: wmorgan-sup@masanjin.net (William Morgan)
4614 Date: Tue, 30 Oct 2007 15:35:31 -0700
4615 Subject: [sup-talk] run-mailcap not working correctly
4616 In-Reply-To: <6205b42d0710160119k5291a5e2ta1e89a0040471972@mail.gmail.com>
4617 References: <1192497496-sup-690@silver>
4618 <6205b42d0710160119k5291a5e2ta1e89a0040471972@mail.gmail.com>
4619 Message-ID: <1193783673-sup-4792@south>
4620
4621 Excerpts from Pierre Baillet's message of Tue Oct 16 01:19:38 -0700 2007:
4622 > I got the same issue on my debian setup here. Removing the >&... made
4623 > the html attachement work again.
4624
4625 Is this some shell-specific thing? It seems to work on bash. If so, is
4626 there a portable way of discarding stderr? I don't want it cluttering
4627 the screen if the process fails.
4628
4629 --
4630 William <wmorgan-sup at masanjin.net>
4631
4632 From chrisw@rice.edu Tue Oct 30 20:29:29 2007
4633 From: chrisw@rice.edu (Christopher Warrington)
4634 Date: Tue, 30 Oct 2007 19:29:29 -0500
4635 Subject: [sup-talk] run-mailcap not working correctly
4636 In-Reply-To: <1193783673-sup-4792@south>
4637 References: <1192497496-sup-690@silver>
4638 <6205b42d0710160119k5291a5e2ta1e89a0040471972@mail.gmail.com>
4639 <1193783673-sup-4792@south>
4640 Message-ID: <1193790417-sup-3611@chris-tablet>
4641
4642 Excerpts from William Morgan's message of Tue Oct 30 17:35:31 -0500 2007:
4643 > Excerpts from Pierre Baillet's message of Tue Oct 16 01:19:38 -0700 2007:
4644 > > I got the same issue on my debian setup here. Removing the >&... made
4645 > > the html attachement work again.
4646 > Is this some shell-specific thing? It seems to work on bash. If so, is
4647 > there a portable way of discarding stderr? I don't want it cluttering
4648 > the screen if the process fails.
4649
4650 Yes. In bash &> redirects both stdout and stderr. In sh, you can use this:
4651
4652 process > /dev/null 2> /dev/null
4653
4654 (From http://tomecat.com/jeffy/tttt/shredir.html)
4655
4656 Don't know about csh, ksh, &c.
4657
4658 --
4659 Christopher Warrington <chrisw at rice.edu>
4660
4661 From pierre@baillet.name Wed Oct 31 04:42:58 2007
4662 From: pierre@baillet.name (Pierre Baillet)
4663 Date: Wed, 31 Oct 2007 09:42:58 +0100
4664 Subject: [sup-talk] [PATCH] Configurable automatic CC and BCC
4665 In-Reply-To: <6205b42d0710140517n1b006956tef57f60b101568e2@mail.gmail.com>
4666 References: <6205b42d0710140517n1b006956tef57f60b101568e2@mail.gmail.com>
4667 Message-ID: <6205b42d0710310142r4c1a699co6776e3180a21e46c@mail.gmail.com>
4668
4669 Hi William,
4670
4671 maybe you came accross my patch, but I don't know what you think about
4672 integrating it to the trunk or not. Maybe it's not near enough in your TODO,
4673 too :)
4674
4675 --
4676 Pierre.
4677
4678 On 10/14/07, Pierre Baillet <pierre at baillet.name> wrote:
4679 >
4680 > Hi,
4681 >
4682 > In case you'd want to always have a given address CCed or BBCed, here is a
4683 > patch that applies to current sup trunk. It adds a "cc" and "bcc" variable
4684 > in the account configuration. Edit your ~/.sup/config.yaml and add bcc and
4685 > cc options. These options are per account.
4686 >
4687 > When in compose and reply mode, sup then automatically adds these headers.
4688 > Current limitation includes a single address per header, could be probably
4689 > extended to a list of addresses...
4690 >
4691 > Feel free to make any comment if you wish so.
4692 > --
4693 > Pierre.
4694 >
4695 >
4696 > :edit_signature: false
4697 > :accounts:
4698 > :default:
4699 > :name: John Doe
4700 > :alternates:
4701 > - john.doe at internet.com
4702 > :email: john at doe.com
4703 > :signature: /home/john/.signature
4704 > :sendmail: /usr/sbin/sendmail -oem -ti
4705 > :bcc: john at home.net
4706 > :cc: john at work.com
4707 >
4708 > --
4709 > Pierre Baillet <pierre at baillet.name>
4710 >
4711
4712
4713
4714 --
4715 Pierre Baillet <pierre at baillet.name>
4716 -------------- next part --------------
4717 An HTML attachment was scrubbed...
4718 URL: http://rubyforge.org/pipermail/sup-talk/attachments/20071031/9d21e900/attachment.html
4719
4720 From manish@gslab.com Wed Oct 31 13:08:10 2007
4721 From: manish@gslab.com (Manish Sapariya)
4722 Date: Wed, 31 Oct 2007 22:38:10 +0530
4723 Subject: [sup-talk] new user of sup
4724 Message-ID: <4728B67A.7020604@gslab.com>
4725
4726 Hi All,
4727 I have started using sup 2/3 days back and facing few
4728 problems. They might be known issues or that I may not
4729 be using the product right way, but would appreciate
4730 any help understanding it.
4731
4732 - Currently I am using Thunderbird as my client and unless
4733 I am very good at using sup, I will plan to use Thunderbird
4734 primarily and sup for experiment purpose. Because of this
4735 I configured sup to use the mbox files created by Thunderbird,
4736 instead of reading the mailbox directly. Slow connection to
4737 my mail server is another reason to do so. I cache all my mails
4738 to local machine using TB. The reason for describing the usage
4739 in bit detail is, may be this kind of usage are causing the
4740 issues that I am facing.
4741
4742 - I configured two sources, however sup only keeps the last
4743 added source. I tried modifying sources.yaml, but it did not
4744 help. I have my TB configured with various rules to move all
4745 of my mails to different folders and I want to read all of
4746 these mboxes into sup. Is this a known bug? If yes, is there
4747 any workaround.
4748
4749 I am keeping away from using sup extensively because I can't
4750 see all of my messages in different folders in sup.
4751
4752 - Can I use sup to cache my messages, so that I can do away
4753 with Thunderbird?
4754
4755 Thanks and Regards,
4756 Manish
4757
4758
4759
4760 From vasudeva@linkswarm.com Wed Oct 31 14:05:10 2007
4761 From: vasudeva@linkswarm.com (vasudeva)
4762 Date: Wed, 31 Oct 2007 14:05:10 -0400
4763 Subject: [sup-talk] new user of sup
4764 In-Reply-To: <4728B67A.7020604@gslab.com>
4765 References: <4728B67A.7020604@gslab.com>
4766 Message-ID: <20071031180510.GA7449@lenin.sovietwar.org>
4767
4768 * on 10-31-07, Manish Sapariya wrote:
4769 > - I configured two sources, however sup only keeps the last
4770 > added source. I tried modifying sources.yaml, but it did not
4771 > help. I have my TB configured with various rules to move all
4772 > of my mails to different folders and I want to read all of
4773 > these mboxes into sup. Is this a known bug? If yes, is there
4774 > any workaround.
4775
4776 I had an issue like this, and found it to be related somehow to the
4777 following lines being present in my ~/.sup/sources.yaml...
4778
4779 - !masanjin.net,2006-10-01/Redwood/SentLoader
4780 cur_offset: 29245
4781 - !masanjin.net,2006-10-01/Redwood/DraftLoader
4782 cur_offset: 4
4783
4784 It seems if I snipped those out, then sup-add would actually add all
4785 the sources I told it, not simply the final one. That is, if those
4786 lines were present, sup-add seemed to overwrite any recently-added
4787 source with the next source I'd add. (The two lines get generated
4788 and replaced by sup at some point.)
4789
4790 Not sure if this is relevant to your issue, but the symptoms do
4791 sound similar.
4792
4793
4794
4795 /></
4796
4797 --
4798 linkswarm.com :: Collaborative Insolence
4799 vasudeva.linkswarm.com/gallery :: For The Faint of Heart
4800
4801
4802 From col@baibell.org Tue Oct 30 22:12:30 2007
4803 From: col@baibell.org (Colin Bell)
4804 Date: Wed, 31 Oct 2007 13:12:30 +1100
4805 Subject: [sup-talk] Seen flag treated incorrectly on IMAP mail
4806 Message-ID: <1193796632-sup-4626@lankhmar>
4807
4808 Hi,
4809
4810 When I connect Sup to a Dovecot imap server all mail that is flagged as new on the server is treated as read by Sup. Sup also sees all old mail as new.
4811
4812 I think its caused by this code in each(...) in imap.rb
4813
4814 labels = { :Seen => :unread,
4815 :Flagged => :starred,
4816 :Deleted => :deleted
4817 }.inject(@labels) do |cur, (imap, sup)|
4818 cur + (state[:flags].include?(imap) ? [sup] : [])
4819
4820 This seems (to my non-existent Ruby skills) to be equating the IMAP
4821 Seen flag to be the same as the Sup Unread flag, instead of Seen as
4822 being Not Unread.
4823
4824 This is running the latest code from Subversion head.
4825
4826 --
4827 Col
4828
4829