community/pipermail-archives/sup-talk/2011-03.txt (92172B) - raw
1 From luislupe@gmail.com Tue Mar 1 11:16:45 2011
2 From: luislupe@gmail.com (Luis P. Mendes)
3 Date: Tue, 1 Mar 2011 16:16:45 +0000
4 Subject: [sup-talk] Problem undefined symbol
5 In-Reply-To: <1296027550-sup-4996@tilus.net>
6 References: <AANLkTik+UZqxkFb3KpWR93+5b=BX4YrvwqFtwSUZTic7@mail.gmail.com>
7 <1296027550-sup-4996@tilus.net>
8 Message-ID: <AANLkTi=y1G1fo09U34XnVxnJoHtGXpLzAjaKs9CowPwc@mail.gmail.com>
9
10 HI,
11
12 Thank you for the help, but there was no success.
13
14 I unisntalled all the gems I had and reinstalled them again but the
15 problem remains.
16 Tryed to substitute xapian-full by xapian, but sup required xapian-full again.
17
18 Any more ideas on this?
19 I unistalled sup 0.11, so it is not working any more.
20
21
22 Luis
23
24
25
26
27 2011/1/26 Tero Tilus <tero at tilus.net>:
28 > Luis P. Mendes, 2011-01-26 02:00:
29 >> I installed sup version 12.1 and tried to run it.
30 >> I'm using Slackware64 13.1 and had sup V 0.11 installed before.
31 >
32 > Does 0.11 still work?
33 >
34 >> $ sup
35 >> [2011-01-25 23:52:33 +0000] WARNING: can't find character set by using
36 >> locale, defaulting to utf-8
37 >> /usr/bin/ruby: symbol lookup error:
38 >> /usr/lib64/ruby/1.9.1/x86_64-linux/dl.so: undefined symbol:
39 >> rb_dl_init_callbacks_5
40 >
41 > I'd guess you have either have your ruby or gem C extensions somehow
42 > fscked up. ?Error in lib/sup/index.rb suggests the problem might be
43 > xapian-related. ?Other than that I really have no idea whats going on.
44 > You could try both xapian and xapian-full gems (and uninstall the
45 > other one).
46 >
47 > --
48 > Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
49 > _______________________________________________
50 > sup-talk mailing list
51 > sup-talk at rubyforge.org
52 > http://rubyforge.org/mailman/listinfo/sup-talk
53 >
54
55 From hollunder@lavabit.com Tue Mar 1 17:00:13 2011
56 From: hollunder@lavabit.com (Philipp)
57 Date: Tue, 01 Mar 2011 23:00:13 +0100
58 Subject: [sup-talk] How to recover from errors with 0.12.1?
59 Message-ID: <1299016627-sup-4098@eris>
60
61 Previously when the sources went out of sync sup quit and showed a line
62 I could c/p to fix it, now it only says that an error has occured and I
63 don't have the slightest how to recover.
64 I deleted a lot of messages using my providers webmailer because of
65 space restrictions and now messages for that account won't show properly
66 anymore. Sup doesn't seem to recover automatically. How can I tell it to
67 re-scan or whatever it needs to do?
68
69
70 From support@plecavalier.com Thu Mar 3 08:26:03 2011
71 From: support@plecavalier.com (Philippe LeCavalier)
72 Date: Thu, 03 Mar 2011 08:26:03 -0500
73 Subject: [sup-talk] hook with external file ref
74 Message-ID: <1299158755-sup-5116@plc.intranet.plecavalier.com>
75
76 From: Philippe LeCavalier <support at plecavalier.com>
77 To: sup-talk <sup-talk at rubyforge.ord>
78 Cc:
79 Bcc:
80 Subject: hook with external file ref
81
82 addressfile = File.open("/home/user/path/addressfile","r")
83 if ! addressfile.grep(/#{message.from.email}/).empty?
84 message.add_label :somelabel
85 end
86
87 In the wiki it states "which contains one e-mail address per line". I'm just wondering what I would have to change in the code in order to list just the domain.
88 --
89 Thanks,
90 Phil
91
92 From groups@hjdivad.com Thu Mar 3 12:35:20 2011
93 From: groups@hjdivad.com (David J. Hamilton)
94 Date: Thu, 03 Mar 2011 09:35:20 -0800
95 Subject: [sup-talk] hook with external file ref
96 In-Reply-To: <1299158755-sup-5116@plc.intranet.plecavalier.com>
97 References: <1299158755-sup-5116@plc.intranet.plecavalier.com>
98 Message-ID: <1299173352-sup-4428@nyx.local>
99
100 Excerpts from Philippe LeCavalier's message of Thu Mar 03 05:26:03 -0800 2011:
101 > From: Philippe LeCavalier <support at plecavalier.com>
102 > To: sup-talk <sup-talk at rubyforge.ord>
103 > Cc:
104 > Bcc:
105 > Subject: hook with external file ref
106 >
107 > addressfile = File.open("/home/user/path/addressfile","r")
108 > if ! addressfile.grep(/#{message.from.email}/).empty?
109 > message.add_label :somelabel
110 > end
111 >
112 > In the wiki it states "which contains one e-mail address per line". I'm just
113 > wondering what I would have to change in the code in order to list just the
114 > domain.
115
116 It's a bit tricky because you're trying to find the email address in the
117 address file, rather than match one of many patterns in the address file to the
118 email. If you use the latter approach you should be able to put whatever
119 patterns you want, including just the domain.
120
121 patterns = File.readlines "/path/to/my/addressfile"
122 patterns.each do |pattern|
123 if message.from.email =~ /#{pattern}/
124 message.add_label :somelabel
125 end
126 end
127
128 If you take this approach then you should be able to have lines in your
129 addressfile like ?foo.com? (sans quotes). This will actually match a little
130 more than what you probably intend (e.g. it would match emails from
131 foo.com at bar.com or even joe at foodcom.net), but is likely good enough and saves
132 you from having to learn regular expressions.
133
134 --
135 med v?nlig h?lsning
136 David J. Hamilton
137
138 From support@plecavalier.com Thu Mar 3 14:12:40 2011
139 From: support@plecavalier.com (Philippe LeCavalier)
140 Date: Thu, 03 Mar 2011 14:12:40 -0500
141 Subject: [sup-talk] hook with external file ref
142 In-Reply-To: <1299173352-sup-4428@nyx.local>
143 References: <1299158755-sup-5116@plc.intranet.plecavalier.com>
144 <1299173352-sup-4428@nyx.local>
145 Message-ID: <1299179513-sup-1090@plc.intranet.plecavalier.com>
146
147 Thank you David.
148 Excerpts from David J. Hamilton's message of Thu Mar 03 12:35:20 -0500 2011:
149 > Excerpts from Philippe LeCavalier's message of Thu Mar 03 05:26:03 -0800 2011:
150 > > From: Philippe LeCavalier <support at plecavalier.com>
151 > > To: sup-talk <sup-talk at rubyforge.ord>
152 > > Cc:
153 > > Bcc:
154 > > Subject: hook with external file ref
155 > >
156 > > addressfile = File.open("/home/user/path/addressfile","r")
157 > > if ! addressfile.grep(/#{message.from.email}/).empty?
158 > > message.add_label :somelabel
159 > > end
160 > >
161 > > In the wiki it states "which contains one e-mail address per line". I'm just
162 > > wondering what I would have to change in the code in order to list just the
163 > > domain.
164 >
165 > It's a bit tricky because you're trying to find the email address in the
166 > address file, rather than match one of many patterns in the address file to the
167 > email. If you use the latter approach you should be able to put whatever
168 > patterns you want, including just the domain.
169 >
170 > patterns = File.readlines "/path/to/my/addressfile"
171 > patterns.each do |pattern|
172 > if message.from.email =~ /#{pattern}/
173 > message.add_label :somelabel
174 > end
175 > end
176 >
177 > If you take this approach then you should be able to have lines in your
178 > addressfile like ?foo.com? (sans quotes). This will actually match a little
179 > more than what you probably intend (e.g. it would match emails from
180 > foo.com at bar.com or even joe at foodcom.net), but is likely good enough and saves
181 > you from having to learn regular expressions.
182
183 I'll give this a try and see what the outcome is.
184 --
185 Thanks,
186 Phil
187
188 From support@plecavalier.com Fri Mar 4 09:06:17 2011
189 From: support@plecavalier.com (Philippe LeCavalier)
190 Date: Fri, 04 Mar 2011 09:06:17 -0500
191 Subject: [sup-talk] hook with external file ref
192 In-Reply-To: <1299179513-sup-1090@plc.intranet.plecavalier.com>
193 References: <1299158755-sup-5116@plc.intranet.plecavalier.com>
194 <1299173352-sup-4428@nyx.local>
195 <1299179513-sup-1090@plc.intranet.plecavalier.com>
196 Message-ID: <1299247526-sup-7848@plc.intranet.plecavalier.com>
197
198 Hi David.
199 Excerpts from Philippe LeCavalier's message of Thu Mar 03 14:12:40 -0500 2011:
200 > Thank you David.
201 > Excerpts from David J. Hamilton's message of Thu Mar 03 12:35:20 -0500 2011:
202 > > Excerpts from Philippe LeCavalier's message of Thu Mar 03 05:26:03 -0800 2011:
203 > > > From: Philippe LeCavalier <support at plecavalier.com>
204 > > > To: sup-talk <sup-talk at rubyforge.ord>
205 > > > Cc:
206 > > > Bcc:
207 > > > Subject: hook with external file ref
208 > > >
209 > > > addressfile = File.open("/home/user/path/addressfile","r")
210 > > > if ! addressfile.grep(/#{message.from.email}/).empty?
211 > > > message.add_label :somelabel
212 > > > end
213 > > >
214 > > > In the wiki it states "which contains one e-mail address per line". I'm just
215 > > > wondering what I would have to change in the code in order to list just the
216 > > > domain.
217 > >
218 > > It's a bit tricky because you're trying to find the email address in the
219 > > address file, rather than match one of many patterns in the address file to the
220 > > email. If you use the latter approach you should be able to put whatever
221 > > patterns you want, including just the domain.
222 > >
223 > > patterns = File.readlines "/path/to/my/addressfile"
224 > > patterns.each do |pattern|
225 > > if message.from.email =~ /#{pattern}/
226 > > message.add_label :somelabel
227 > > end
228 > > end
229 I'm getting "undetermined quoted string" with the above code. Any ideas?
230
231 --
232 Thanks,
233 Phil
234
235 From dmishd@gmail.com Sun Mar 6 17:54:01 2011
236 From: dmishd@gmail.com (Hamish)
237 Date: Sun, 06 Mar 2011 22:54:01 +0000
238 Subject: [sup-talk] threading and blackberrys
239 Message-ID: <1299450523-sup-2185@whisper>
240
241 Hello all
242
243 Where I work some people use Blackberries, and they don't add an
244 In-Reply-To header to email, so I do quite a bit of manual re-threading
245 using the '#' key. I'd like to not have to do it so much, but I don't
246 want to just thread all mail by subject, as the blackberry messages are
247 not /so/ frequent. So I've put the below in my before-add-message.rb
248 hook that others might find useful.
249
250 The code:
251
252 * only runs if the message is from a blackberry and the subject
253 indicates it is a reply.
254 * looks for the most recent message that matches the subject, and adds a
255 ref to that message, so they should then be in the same thead.
256
257 Any feedback or improvements appreciated.
258
259 Hamish
260
261
262 subj = message.subj.downcase
263
264 # if from a blackberry and is a reply, then try to find a matching thread
265 if message.id.downcase.include?('blackberry') && Message.subj_is_reply?(subj)
266 thread_subj = Message.normalize_subj subj
267 query = Index.parse_query "subject:\"#{thread_subj}\""
268 # the query returns newest match first
269 first_id = Index.each_id(query) { |id| break id }
270 message.add_ref(first_id) unless first_id.nil?
271 end
272
273 From support@plecavalier.com Mon Mar 7 12:17:07 2011
274 From: support@plecavalier.com (Philippe LeCavalier)
275 Date: Mon, 07 Mar 2011 12:17:07 -0500
276 Subject: [sup-talk] Direct Maildir source
277 Message-ID: <1299517906-sup-3628@plc.intranet.plecavalier.com>
278
279 Hi.
280
281 Can I tell Sup to look directly in the Maildir of the Courier spool to
282 create the index? I have a VPS account with a provider and I'm just
283 wondering if I could run Sup there instead of my laptop?
284
285 I imagine ppl are doing this. My question is can I do it directly or
286 I can to grab the mail and put it under my home folder first? When I
287 give the correct path to /var.../myaccount_name/ sup claims it was
288 successful however no mail was indexed.
289
290 --
291 Thanks,
292 Phil
293
294 From support@plecavalier.com Tue Mar 8 21:13:26 2011
295 From: support@plecavalier.com (Philippe LeCavalier)
296 Date: Tue, 08 Mar 2011 21:13:26 -0500
297 Subject: [sup-talk] hook with external file ref
298 In-Reply-To: <1299618530-sup-9754@nyx.local>
299 References: <1299158755-sup-5116@plc.intranet.plecavalier.com>
300 <1299173352-sup-4428@nyx.local>
301 <1299179513-sup-1090@plc.intranet.plecavalier.com>
302 <1299247526-sup-7848@plc.intranet.plecavalier.com>
303 <1299618530-sup-9754@nyx.local>
304 Message-ID: <1299636520-sup-7694@plc.intranet.plecavalier.com>
305
306 Hi David.
307 Excerpts from David J. Hamilton's message of Tue Mar 08 16:16:00 -0500 2011:
308 > Hi Philippe,
309 >
310 > Excerpts from Philippe LeCavalier's message of Fri Mar 04 06:06:17 -0800 2011:
311 > > Hi David.
312 > > I'm getting "undetermined quoted string" with the above code. Any ideas?
313 >
314 > Sorry for the late reply. I don't see what in the above code would give you
315 > that error.
316 It's quite possible it's something unrelated to that hook.
317 > Could you please post your complete before-add-message.rb file?
318 Since I have yet to settle on a "style" of code for this hook I'm only
319 playing around with different options. As such, I only apply them 1 at a
320 time. At the moment I only have your example in there.
321 > Your addressfile is just a list of domains right? Something like:
322 >
323 > gmail.com
324 > somewhereelse.net
325 > example.org
326 Yup. Exactly.
327 >
328 > One more thing: the code I originally posted does contain an error: you want to
329 > use /#{pattern.chomp}/ rather than /#{pattern}/. So, for example, if your
330 > addressfile was in /tmp/addressfile you would have:
331 >
332 > patterns = File.readlines "/tmp/addressfile"
333 > patterns.each do |pattern|
334 > if message.from.email =~ /#{pattern.chomp}/
335 > message.add_label :somelabel
336 > end
337 > end
338 I'll try the above. Perhaps that will "settle" things. Back in a bit
339 once I have a chance to test that.
340
341 Thanks again David.
342 --
343 Thanks,
344 Phil
345
346 From support@plecavalier.com Thu Mar 10 09:13:04 2011
347 From: support@plecavalier.com (Philippe LeCavalier)
348 Date: Thu, 10 Mar 2011 09:13:04 -0500
349 Subject: [sup-talk] hook with external file ref
350 In-Reply-To: <1299636520-sup-7694@plc.intranet.plecavalier.com>
351 References: <1299158755-sup-5116@plc.intranet.plecavalier.com>
352 <1299173352-sup-4428@nyx.local>
353 <1299179513-sup-1090@plc.intranet.plecavalier.com>
354 <1299247526-sup-7848@plc.intranet.plecavalier.com>
355 <1299618530-sup-9754@nyx.local>
356 <1299636520-sup-7694@plc.intranet.plecavalier.com>
357 Message-ID: <1299766157-sup-3090@plc.intranet.plecavalier.com>
358
359 Excerpts from Philippe LeCavalier's message of Tue Mar 08 21:13:26 -0500 2011:
360 > Hi David.
361 > Excerpts from David J. Hamilton's message of Tue Mar 08 16:16:00 -0500 2011:
362 > > Hi Philippe,
363 > >
364 > > Excerpts from Philippe LeCavalier's message of Fri Mar 04 06:06:17 -0800 2011:
365 > > > Hi David.
366 > > > I'm getting "undetermined quoted string" with the above code. Any ideas?
367 > >
368 > > Sorry for the late reply. I don't see what in the above code would give you
369 > > that error.
370 > It's quite possible it's something unrelated to that hook.
371 Not certain what was going on there. I opened sup with debug to try and
372 catch the so called "undetermined string" and now I'm not even getting
373 the error. Strange thing is, I was seeing that over a long period of
374 time ie a week or more...anyway. Guess I'll drop that.
375 > > Could you please post your complete before-add-message.rb file?
376 > Since I have yet to settle on a "style" of code for this hook I'm only
377 > playing around with different options. As such, I only apply them 1 at a
378 > time. At the moment I only have your example in there.
379 > > Your addressfile is just a list of domains right? Something like:
380 > >
381 > > gmail.com
382 > > somewhereelse.net
383 > > example.org
384 > Yup. Exactly.
385 > >
386 > > One more thing: the code I originally posted does contain an error: you want to
387 > > use /#{pattern.chomp}/ rather than /#{pattern}/. So, for example, if your
388 > > addressfile was in /tmp/addressfile you would have:
389 > >
390 > > patterns = File.readlines "/tmp/addressfile"
391 > > patterns.each do |pattern|
392 > > if message.from.email =~ /#{pattern.chomp}/
393 > > message.add_label :somelabel
394 > > end
395 > > end
396 > I'll try the above. Perhaps that will "settle" things. Back in a bit
397 > once I have a chance to test that.
398 >
399 > Thanks again David.
400 Now that I've got no errors I can focus on the hook above. After adding
401 chomp to the code I now get nothing at all. The log shows the hook is
402 being read but nothing happens. No label is added and I've confirm for
403 certain there should be. So no error, but no action ;-) Any suggestions?
404
405 --
406 Thanks,
407 Phil
408
409 From support@plecavalier.com Fri Mar 11 08:42:10 2011
410 From: support@plecavalier.com (Philippe LeCavalier)
411 Date: Fri, 11 Mar 2011 08:42:10 -0500
412 Subject: [sup-talk] error on new messages
413 Message-ID: <1299850291-sup-6009@plc.intranet.plecavalier.com>
414
415 What does this:
416 h: Syntax error: Unterminated quoted string
417 mean?
418
419 --
420 Thanks,
421 Phil
422
423 From btricha@gmail.com Fri Mar 11 16:46:54 2011
424 From: btricha@gmail.com (Bryan Richardson)
425 Date: Fri, 11 Mar 2011 14:46:54 -0700
426 Subject: [sup-talk] Archive Emails to Different Source
427 Message-ID: <AANLkTi=i6Y-JGo=fHgS--q5V5RViF60ZaE_mH0iC8+j7@mail.gmail.com>
428
429 Hello All,
430
431 I'm using Sup to access email from my company's Microsoft Exchange
432 Server via IMAP (using offlineimap). My Exchange mailbox size
433 limitation is 1GB, so every once in a while I will move email from my
434 Inbox to a personal Outlook archive file that is stored on my local
435 machine. However, when I do this the emails that I archive get removed
436 from my local IMAP cache the next time offlineimap runs.
437
438 Is it possible to have Sup archive (or otherwise move) email messages
439 to a different IMAP source? I'm not so much worried about being able
440 to remove the messages from my Exchange account via Sup as I am
441 maintaining a local copy of all my email accessible via Sup. I can
442 archive them via Sup first then archive them in Outlook if that's what
443 it takes.
444
445 Please advise.
446
447 --
448 Thanks!
449 Bryan
450
451 From support@plecavalier.com Thu Mar 17 10:17:46 2011
452 From: support@plecavalier.com (Philippe LeCavalier)
453 Date: Thu, 17 Mar 2011 10:17:46 -0400
454 Subject: [sup-talk] background or queue msg sending
455 Message-ID: <1300371126-sup-4692@plc.intranet.plecavalier.com>
456
457 Hi All.
458
459 Does anyone know of a way to background or perhaps queue
460 sending mail. Sup has me so efficient I've even lost the patience to
461 wait for msgs to be sent. I really want to hit 'y' and move on.
462
463 Any thoughts, experiences? My first though was manipulating the buffers
464 so that the previous buffer would get called back before the mail gets
465 confirmed as sent and then the confirmation itself could still be
466 displayed in the notification area.
467 --
468 Thanks,
469 Phil
470
471 From support@plecavalier.com Thu Mar 17 10:26:51 2011
472 From: support@plecavalier.com (Philippe LeCavalier)
473 Date: Thu, 17 Mar 2011 10:26:51 -0400
474 Subject: [sup-talk] vim text wrapping
475 Message-ID: <1300371571-sup-2777@plc.intranet.plecavalier.com>
476
477 Hi All.
478
479 This is more of a vim question than it is a sup one but I'm not a
480 member of the vim list so I thought I'd ask you guys first.
481
482 Since I don't write very well I always end up making changes while
483 re-reading myself. When I edit a line Vim doesn't wrap anymore like it
484 did when I first typed the text. So all the lines I've edited aren't
485 wrapped like the others. It can make reading my mail challenging at
486 times.
487
488 Perhaps I'm misunderstanding how to properly edit text in vim?
489
490 --
491 Thanks,
492 Phil
493
494 From paul.a.grove@gmail.com Thu Mar 17 11:33:32 2011
495 From: paul.a.grove@gmail.com (Paul Grove)
496 Date: Thu, 17 Mar 2011 15:33:32 +0000
497 Subject: [sup-talk] vim text wrapping
498 In-Reply-To: <1300371571-sup-2777@plc.intranet.plecavalier.com>
499 References: <1300371571-sup-2777@plc.intranet.plecavalier.com>
500 Message-ID: <1300375966-sup-3846@localhost>
501
502 The answer to this question is in my interest also.
503
504 Excerpts from Philippe LeCavalier's message of Thu Mar 17 14:26:51 +0000 2011:
505 > Hi All.
506 >
507 > This is more of a vim question than it is a sup one but I'm not a
508 > member of the vim list so I thought I'd ask you guys first.
509 >
510 > Since I don't write very well I always end up making changes while
511 > re-reading myself. When I edit a line Vim doesn't wrap anymore like it
512 > did when I first typed the text. So all the lines I've edited aren't
513 > wrapped like the others. It can make reading my mail challenging at
514 > times.
515 >
516 > Perhaps I'm misunderstanding how to properly edit text in vim?
517 >
518
519 From bruno@arcangeli.org Thu Mar 17 11:32:12 2011
520 From: bruno@arcangeli.org (Bruno d'Arcangeli)
521 Date: Thu, 17 Mar 2011 16:32:12 +0100
522 Subject: [sup-talk] background or queue msg sending
523 In-Reply-To: <1300371126-sup-4692@plc.intranet.plecavalier.com>
524 References: <1300371126-sup-4692@plc.intranet.plecavalier.com>
525 Message-ID: <1300375667-sup-4657@panda>
526
527 Le 17/03/2011 ? 15:17, Philippe LeCavalier a ?crit:
528 > Hi All.
529 >
530 > Does anyone know of a way to background or perhaps queue
531 > sending mail. Sup has me so efficient I've even lost the patience to
532 > wait for msgs to be sent. I really want to hit 'y' and move on.
533 >
534 > Any thoughts, experiences? My first though was manipulating the buffers
535 > so that the previous buffer would get called back before the mail gets
536 > confirmed as sent and then the confirmation itself could still be
537 > displayed in the notification area.
538
539 Try with a real mta like postfix or exim. There are simple to use/configure.
540 Personnaly, i've a little preference in exim.
541
542 --
543 Bruno d'Arcangeli
544
545 From sochotnicky@redhat.com Thu Mar 17 11:14:13 2011
546 From: sochotnicky@redhat.com (Stanislav Ochotnicky)
547 Date: Thu, 17 Mar 2011 16:14:13 +0100
548 Subject: [sup-talk] vim text wrapping
549 In-Reply-To: <1300371571-sup-2777@plc.intranet.plecavalier.com>
550 References: <1300371571-sup-2777@plc.intranet.plecavalier.com>
551 Message-ID: <1300374660-sup-1025@sochotnicky.usersys.redhat.com>
552
553 Excerpts from Philippe LeCavalier's message of Thu Mar 17 15:26:51 +0100 2011:
554 > Hi All.
555 >
556 > This is more of a vim question than it is a sup one but I'm not a
557 > member of the vim list so I thought I'd ask you guys first.
558
559 Really not a sup question at all, but I have no problem trying to
560 answer. Others might feel different though :-)
561
562 > Since I don't write very well I always end up making changes while
563 > re-reading myself. When I edit a line Vim doesn't wrap anymore like it
564 > did when I first typed the text. So all the lines I've edited aren't
565 > wrapped like the others. It can make reading my mail challenging at
566 > times.
567
568 How about "gqq"? Also "set nopaste" and "set textwidth=72" should be
569 of help most of the time.
570
571 > Perhaps I'm misunderstanding how to properly edit text in vim?
572
573 Nah, vim might look like a simple editor but it has more features than
574 most people would believe :-)
575
576 --
577 Stanislav Ochotnicky <sochotnicky at redhat.com>
578 Software Engineer - Base Operating Systems Brno
579
580 PGP: 7B087241
581 Red Hat Inc. http://cz.redhat.com
582 -------------- next part --------------
583 A non-text attachment was scrubbed...
584 Name: signature.asc
585 Type: application/pgp-signature
586 Size: 836 bytes
587 Desc: not available
588 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20110317/da02261c/attachment.bin>
589
590 From bruno@arcangeli.org Thu Mar 17 11:52:15 2011
591 From: bruno@arcangeli.org (Bruno d'Arcangeli)
592 Date: Thu, 17 Mar 2011 16:52:15 +0100
593 Subject: [sup-talk] vim text wrapping
594 In-Reply-To: <1300371571-sup-2777@plc.intranet.plecavalier.com>
595 References: <1300371571-sup-2777@plc.intranet.plecavalier.com>
596 Message-ID: <1300376983-sup-5333@panda>
597
598 Le 17/03/2011 ? 15:26, Philippe LeCavalier a ?crit:
599 > Hi All.
600 >
601 > This is more of a vim question than it is a sup one but I'm not a
602 > member of the vim list so I thought I'd ask you guys first.
603 >
604 > Since I don't write very well I always end up making changes while
605 > re-reading myself. When I edit a line Vim doesn't wrap anymore like it
606 > did when I first typed the text. So all the lines I've edited aren't
607 > wrapped like the others. It can make reading my mail challenging at
608 > times.
609 >
610 > Perhaps I'm misunderstanding how to properly edit text in vim?
611
612 I'm not a vim expert but simple user and i think that you can't. I've
613 seen many people asking for this on different vim list/forum. It's
614 apparently a vi functionality and can't be changed.
615 --
616 Bruno d'Arcangeli
617
618 From bruno@arcangeli.org Thu Mar 17 12:04:03 2011
619 From: bruno@arcangeli.org (Bruno d'Arcangeli)
620 Date: Thu, 17 Mar 2011 17:04:03 +0100
621 Subject: [sup-talk] New user/adopter: Hello
622 Message-ID: <1300377546-sup-1512@panda>
623
624 Hi sup fan,
625
626 I'm using this very good piece of code since one month. Apart from the
627 lake of "real" maildir support (read msg not in cur dir, impossible to
628 really suppress msg), it's very convenient to use it.
629 After more than 8 years with mutt, i think that i'll use sup for 8 years
630 ;-)
631
632 Sorry if my english is not very good, my parents hard-coded my brain in
633 french.
634
635 Bruno
636 --
637 Bruno d'Arcangeli
638
639 From erin.sheldon@gmail.com Thu Mar 17 12:04:15 2011
640 From: erin.sheldon@gmail.com (Erin Sheldon)
641 Date: Thu, 17 Mar 2011 12:04:15 -0400
642 Subject: [sup-talk] vim text wrapping
643 In-Reply-To: <1300371571-sup-2777@plc.intranet.plecavalier.com>
644 References: <1300371571-sup-2777@plc.intranet.plecavalier.com>
645 Message-ID: <AANLkTi=sSdoV+Fko5WqDFbNhzGRjo+sdYV0vA9eq6A6_@mail.gmail.com>
646
647 On Thu, Mar 17, 2011 at 10:26 AM, Philippe LeCavalier
648 <support at plecavalier.com> wrote:
649 > Hi All.
650 >
651 > This is more of a vim question than it is a sup one but I'm not a
652 > member of the vim list so I thought I'd ask you guys first.
653 >
654 > Since I don't write very well I always end up making changes while
655 > re-reading myself. When I edit a line Vim doesn't wrap anymore like it
656 > did when I first typed the text. So all the lines I've edited aren't
657 > wrapped like the others. It can make reading my mail challenging at
658 > times.
659 >
660 > Perhaps I'm misunderstanding how to properly edit text in vim?
661
662 You can have vim justify all the text in a paragraph. I have these in
663 my .vimrc, which makes typing Q justify the text.
664
665 " n is for normal mode
666 nnoremap Q gqap
667 " v is for visual mode.
668 vnoremap Q gq
669
670
671
672 >
673 > --
674 > Thanks,
675 > Phil
676 > _______________________________________________
677 > sup-talk mailing list
678 > sup-talk at rubyforge.org
679 > http://rubyforge.org/mailman/listinfo/sup-talk
680 >
681
682
683
684 --
685 Erin Scott Sheldon
686 Brookhaven National Laboratory
687
688 From pete@muddygoat.org Thu Mar 17 12:05:01 2011
689 From: pete@muddygoat.org (Peter Lewis)
690 Date: Thu, 17 Mar 2011 16:05:01 +0000
691 Subject: [sup-talk] vim text wrapping
692 In-Reply-To: <1300371571-sup-2777@plc.intranet.plecavalier.com>
693 References: <1300371571-sup-2777@plc.intranet.plecavalier.com>
694 Message-ID: <20110317160501.GB14019@puddleduck>
695
696 Hi,
697
698 On Thu, 17 Mar 2011, Philippe LeCavalier wrote:
699 > Since I don't write very well I always end up making changes while
700 > re-reading myself. When I edit a line Vim doesn't wrap anymore like it
701 > did when I first typed the text. So all the lines I've edited aren't
702 > wrapped like the others. It can make reading my mail challenging at
703 > times.
704
705 I've not managed to get vim to do this automatically (I haven't tried much
706 though). What I usually do is, once I've re-edited a paragraph and it has some
707 overflowing lines, go to that paragraph in Normal mode and do:
708
709 vip (to select the whole paragraph), then
710 gq (to rewrap the selected text).
711
712 HTH,
713
714 Pete.
715
716 From aidecoe@aidecoe.name Thu Mar 17 12:12:13 2011
717 From: aidecoe@aidecoe.name (=?utf-8?q?Amadeusz_=C5=BBo=C5=82nowski?=)
718 Date: Thu, 17 Mar 2011 17:12:13 +0100
719 Subject: [sup-talk] vim text wrapping
720 In-Reply-To: <1300371571-sup-2777@plc.intranet.plecavalier.com>
721 References: <1300371571-sup-2777@plc.intranet.plecavalier.com>
722 Message-ID: <1300378217-sup-5399@ittemni>
723
724 Excerpts from Philippe LeCavalier's message of Thu Mar 17 15:26:51 +0100 2011:
725 > This is more of a vim question than it is a sup one but I'm not a
726 > member of the vim list so I thought I'd ask you guys first.
727 >
728 > Since I don't write very well I always end up making changes while
729 > re-reading myself. When I edit a line Vim doesn't wrap anymore like it
730 > did when I first typed the text. So all the lines I've edited aren't
731 > wrapped like the others. It can make reading my mail challenging at
732 > times.
733 >
734 > Perhaps I'm misunderstanding how to properly edit text in vim?
735
736
737 In visual mode select blocks you'd like to fix and type 'gq' command. Is
738 it that you'd like to achieve?
739 --
740 Amadeusz ?o?nowski
741
742 PGP key fpr: C700 CEDE 0C18 212E 49DA 4653 F013 4531 E1DB FAB5
743 -------------- next part --------------
744 A non-text attachment was scrubbed...
745 Name: signature.asc
746 Type: application/pgp-signature
747 Size: 490 bytes
748 Desc: not available
749 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20110317/9e59f21d/attachment-0001.bin>
750
751 From sup@zevv.nl Thu Mar 17 12:19:29 2011
752 From: sup@zevv.nl (Ico Doornekamp)
753 Date: Thu, 17 Mar 2011 17:19:29 +0100
754 Subject: [sup-talk] vim text wrapping
755 In-Reply-To: <1300371571-sup-2777@plc.intranet.plecavalier.com>
756 References: <1300371571-sup-2777@plc.intranet.plecavalier.com>
757 Message-ID: <1300378468-sup-2125@pruts.nl>
758
759 * On Thu Mar 17 15:26:51 +0100 2011, Philippe LeCavalier wrote:
760
761 > This is more of a vim question than it is a sup one but I'm not a
762 > member of the vim list so I thought I'd ask you guys first.
763 >
764 > Since I don't write very well I always end up making changes while
765 > re-reading myself. When I edit a line Vim doesn't wrap anymore like it
766 > did when I first typed the text. So all the lines I've edited aren't
767 > wrapped like the others. It can make reading my mail challenging at
768 > times.
769 >
770 > Perhaps I'm misunderstanding how to properly edit text in vim?
771
772 I guess this can be called a 'feature' of vim, Bram probably has a good
773 reason for making it behave as it does.
774
775 As far as I know, wrapping only occurs when you are in insert mode
776 adding text at the end of the current line, but not when you are
777 inserting text in the middle of a line.
778
779 My own habit is to just add or remove the text as a go, and hit the key
780 sequence 'gwap' to clean up the mess, which means so much as 'reformat
781 (rewrap) the current paragraph'. The vim help for 'gw':
782
783 gw{motion} Format the lines that {motion} moves over. Similar to
784 |gq| but puts the cursor back at the same position in
785 the text. However, 'formatprg' and 'formatexpr' are
786 not used. {not in Vi}
787
788 where {motion} would be 'ap', meaning 'a paragraph'.
789
790 It looks kind of cumbersome in the beginning, but I'm very much used to
791 it and don't even think about it anymore.
792
793
794
795 --
796 :wq
797 ^X^Cy^K^X^C^C^C^C
798
799 From james@jamestaylor.org Thu Mar 17 12:10:57 2011
800 From: james@jamestaylor.org (James Taylor)
801 Date: Thu, 17 Mar 2011 12:10:57 -0400
802 Subject: [sup-talk] vim text wrapping
803 In-Reply-To: <1300375966-sup-3846@localhost>
804 References: <1300371571-sup-2777@plc.intranet.plecavalier.com>
805 <1300375966-sup-3846@localhost>
806 Message-ID: <9C855374-896D-4D31-860E-A9160595914F@jamestaylor.org>
807
808 I use gqap constantly while writing email and other prose in vim.
809
810 (:help gq gives you the following)
811
812 """
813 gqgq gqgq gqq
814 gqq Format the current line. With a count format that
815 many lines. {not in Vi}
816
817 v_gq
818 {Visual}gq Format the highlighted text. (for {Visual} see
819 Visual-mode). {not in Vi}
820
821 gw
822 gw{motion} Format the lines that {motion} moves over. Similar to
823 gq but puts the cursor back at the same position in
824 the text. However, 'formatprg' and 'formatexpr' are
825 not used. {not in Vi}
826
827 gwgw gwgw gww
828 gww Format the current line as with "gw". {not in Vi}
829
830 v_gw
831 {Visual}gw Format the highlighted text as with "gw". (for
832 {Visual} see Visual-mode). {not in Vi}
833
834 Example: To format the current paragraph use: gqap >
835 gqap
836
837 The "gq" command leaves the cursor in the line where the motion command takes
838 the cursor. This allows you to repeat formatting repeated with ".". This
839 works well with "gqj" (format current and next line) and "gq}" (format until
840 end of paragraph). Note: When 'formatprg' is set, "gq" leaves the cursor on
841 the first formatted line (as with using a filter command).
842
843 If you want to format the current paragraph and continue where you were, use: >
844 gwap
845 If you always want to keep paragraphs formatted you may want to add the 'a'
846 flag to 'formatoptions'. See auto-format.
847 """
848
849
850
851
852
853 On Mar 17, 2011, at 11:33 AM, Paul Grove wrote:
854
855 > The answer to this question is in my interest also.
856 >
857 > Excerpts from Philippe LeCavalier's message of Thu Mar 17 14:26:51 +0000 2011:
858 >> Hi All.
859 >>
860 >> This is more of a vim question than it is a sup one but I'm not a
861 >> member of the vim list so I thought I'd ask you guys first.
862 >>
863 >> Since I don't write very well I always end up making changes while
864 >> re-reading myself. When I edit a line Vim doesn't wrap anymore like it
865 >> did when I first typed the text. So all the lines I've edited aren't
866 >> wrapped like the others. It can make reading my mail challenging at
867 >> times.
868 >>
869 >> Perhaps I'm misunderstanding how to properly edit text in vim?
870 >>
871 > _______________________________________________
872 > sup-talk mailing list
873 > sup-talk at rubyforge.org
874 > http://rubyforge.org/mailman/listinfo/sup-talk
875
876 -- jt
877
878 James Taylor, Assistant Professor, Biology / Computer Science, Emory University
879
880
881
882
883
884 From pancho@pancho.name Thu Mar 17 12:23:58 2011
885 From: pancho@pancho.name (pancho horrillo)
886 Date: Thu, 17 Mar 2011 17:23:58 +0100
887 Subject: [sup-talk] vim text wrapping
888 In-Reply-To: <1300371571-sup-2777@plc.intranet.plecavalier.com>
889 References: <1300371571-sup-2777@plc.intranet.plecavalier.com>
890 Message-ID: <20110317162358.GA15534@pancho.name>
891
892 On Thu, Mar 17, 2011 at 10:26:51AM -0400, Philippe LeCavalier wrote:
893 > Hi All.
894 >
895 Hi there.
896
897 > This is more of a vim question than it is a sup one but I'm not a
898 > member of the vim list so I thought I'd ask you guys first.
899 >
900 > Since I don't write very well I always end up making changes while
901 > re-reading myself. When I edit a line Vim doesn't wrap anymore like it
902 > did when I first typed the text. So all the lines I've edited aren't
903 > wrapped like the others. It can make reading my mail challenging at
904 > times.
905 >
906 For the sake of others:
907 If you want Vim to fold lines as you newly write them, just run
908 :set textwidth=72 # set tw=72 for short
909
910 If you want Vim to reformat the text when you edit it, just run
911 :set formatoptions+=a
912 or add it to your vimrc, etc.
913
914 This is explained in Vim help,
915 :help textwidth
916 :help ins-textwidth
917 :help formatoptions
918 :help fo-table
919
920 If you don't want this to happen all the time (as I don't),
921 you can use the gq operator discretionally.
922 gq <movement>, e.g.:
923 gq} reflow till the end of the paragraph
924 gqap reflow the whole paragraph
925
926 > Perhaps I'm misunderstanding how to properly edit text in vim?
927 >
928 A minor tweak and you are done.
929
930 Hope that it helps.
931
932 Happy hacking,
933
934 --
935 pancho horrillo
936
937 To be conscious that
938 you are ignorant is a great step
939 to knowledge.
940
941 Benjamin Disraeli
942
943 From matthieu.rakotojaona@gmail.com Thu Mar 17 12:47:38 2011
944 From: matthieu.rakotojaona@gmail.com (Matthieu Rakotojaona)
945 Date: Thu, 17 Mar 2011 17:47:38 +0100
946 Subject: [sup-talk] vim text wrapping
947 In-Reply-To: <1300378217-sup-5399@ittemni>
948 References: <1300371571-sup-2777@plc.intranet.plecavalier.com>
949 <1300378217-sup-5399@ittemni>
950 Message-ID: <AANLkTimfjB0hDNWNmjsqG_p32SxCTz86pCqgR5QsWySX@mail.gmail.com>
951
952 > Since I don't write very well I always end up making changes while
953 > re-reading myself. When I edit a line Vim doesn't wrap anymore like it
954 > did when I first typed the text. So all the lines I've edited aren't
955 > wrapped like the others. It can make reading my mail challenging at
956 > times.
957
958 Just like everyone said, I use
959
960 gqap
961
962 in the middle of a paragraph i'd like to reformat. Also of note, I set
963 my formatoptions like this :
964
965 :set formatoptions = tcq
966
967 which brings me more or less what I want. Check the man (:he
968 formatoptions) to see the different options for the formating.
969
970 From bruno@arcangeli.org Thu Mar 17 13:46:55 2011
971 From: bruno@arcangeli.org (Bruno d'Arcangeli)
972 Date: Thu, 17 Mar 2011 18:46:55 +0100
973 Subject: [sup-talk] vim text wrapping
974 In-Reply-To: <20110317162358.GA15534@pancho.name>
975 References: <1300371571-sup-2777@plc.intranet.plecavalier.com>
976 <20110317162358.GA15534@pancho.name>
977 Message-ID: <1300383715-sup-3198@panda>
978
979 Le 17/03/2011 ? 17:23, pancho horrillo a ?crit:
980 > If you want Vim to reformat the text when you edit it, just run :set
981 > formatoptions+=a or add it to your vimrc, etc. gq} reflow till
982 > the end of the paragraph gqap reflow the whole paragraph
983
984 Cool. Last time i've asked for this on a list, i was flamed. I've added
985 this to my .vimrc:
986 au BufRead /tmp/sup.* set formatoptions+=a
987 --
988 Bruno d'Arcangeli
989
990 From support@plecavalier.com Thu Mar 17 14:14:46 2011
991 From: support@plecavalier.com (Philippe LeCavalier)
992 Date: Thu, 17 Mar 2011 14:14:46 -0400
993 Subject: [sup-talk] vim text wrapping
994 In-Reply-To: <1300378468-sup-2125@pruts.nl>
995 References: <1300371571-sup-2777@plc.intranet.plecavalier.com>
996 <1300378468-sup-2125@pruts.nl>
997 Message-ID: <1300384913-sup-4027@plc.intranet.plecavalier.com>
998
999 Excerpts from Ico Doornekamp's message of Thu Mar 17 12:19:29 -0400 2011:
1000 > * On Thu Mar 17 15:26:51 +0100 2011, Philippe LeCavalier wrote:
1001 >
1002 > > This is more of a vim question than it is a sup one but I'm not a
1003 > > member of the vim list so I thought I'd ask you guys first.
1004 > >
1005 > > Since I don't write very well I always end up making changes while
1006 > > re-reading myself. When I edit a line Vim doesn't wrap anymore like it
1007 > > did when I first typed the text. So all the lines I've edited aren't
1008 > > wrapped like the others. It can make reading my mail challenging at
1009 > > times.
1010 > >
1011 > > Perhaps I'm misunderstanding how to properly edit text in vim?
1012 >
1013 > I guess this can be called a 'feature' of vim, Bram probably has a good
1014 > reason for making it behave as it does.
1015 >
1016 > As far as I know, wrapping only occurs when you are in insert mode
1017 > adding text at the end of the current line, but not when you are
1018 > inserting text in the middle of a line.
1019 >
1020 > My own habit is to just add or remove the text as a go, and hit the key
1021 > sequence 'gwap' to clean up the mess, which means so much as 'reformat
1022 > (rewrap) the current paragraph'. The vim help for 'gw':
1023 >
1024 > gw{motion} Format the lines that {motion} moves over. Similar to
1025 > |gq| but puts the cursor back at the same position in
1026 > the text. However, 'formatprg' and 'formatexpr' are
1027 > not used. {not in Vi}
1028 >
1029 > where {motion} would be 'ap', meaning 'a paragraph'.
1030 >
1031 > It looks kind of cumbersome in the beginning, but I'm very much used to
1032 > it and don't even think about it anymore.
1033 >
1034 >
1035 >
1036 > --
1037 > :wq
1038 > ^X^Cy^K^X^C^C^C^C
1039 > _______________________________________________
1040 > sup-talk mailing list
1041 > sup-talk at rubyforge.org
1042 > http://rubyforge.org/mailman/listinfo/sup-talk
1043 >
1044 That's pretty much what I expected since I had already visited the
1045 options for textwidth and the like. I can certainly get used to a kbd
1046 sequence since I expect that sort of thing when using Vim. In fact,
1047 since adopting sup my hands don't really leave the keyboard.
1048
1049 However what James mentioned about formatoptions might alleviate that.
1050 James, I add these types of things to my vim line in config.yaml rather
1051 than my rc file. I to don't always want wrapping at 72 and the like. But
1052 I do always want this in sup.
1053 --
1054 Thanks,
1055 Phil
1056
1057 From support@plecavalier.com Thu Mar 17 15:15:30 2011
1058 From: support@plecavalier.com (Philippe LeCavalier)
1059 Date: Thu, 17 Mar 2011 15:15:30 -0400
1060 Subject: [sup-talk] background or queue msg sending
1061 In-Reply-To: <1300375667-sup-4657@panda>
1062 References: <1300371126-sup-4692@plc.intranet.plecavalier.com>
1063 <1300375667-sup-4657@panda>
1064 Message-ID: <1300385916-sup-3971@plc.intranet.plecavalier.com>
1065
1066 Hi Bruno.
1067 Excerpts from Bruno d'Arcangeli's message of Thu Mar 17 11:32:12 -0400 2011:
1068 > Le 17/03/2011 ? 15:17, Philippe LeCavalier a ?crit:
1069 > > Hi All.
1070 > >
1071 > > Does anyone know of a way to background or perhaps queue
1072 > > sending mail. Sup has me so efficient I've even lost the patience to
1073 > > wait for msgs to be sent. I really want to hit 'y' and move on.
1074 > >
1075 > > Any thoughts, experiences? My first though was manipulating the buffers
1076 > > so that the previous buffer would get called back before the mail gets
1077 > > confirmed as sent and then the confirmation itself could still be
1078 > > displayed in the notification area.
1079 >
1080 > Try with a real mta like postfix or exim. There are simple to use/configure.
1081 > Personnaly, i've a little preference in exim.
1082 >
1083 I've used both and can't really say I prefer one over the other but I'm
1084 not certain I understand how that would help me background or queue
1085 sending mail in sup. Like right now, after I press 'y', I want sup to
1086 _immediately_ bring me to either my inbox-mode or this thread in
1087 thread-mode. Either buffer would be fine with me though I suspect for
1088 continuity proposes return to the thread might be more logical. I just
1089 don't want to wait for the 'Message Sent!'.
1090
1091 Even if Exim or Postfix might act faster than msmtp(what I'm using now)
1092 sup is set up in a way that it waits for the process to terminate before
1093 bringing me to the previous buffer. What I'd like to suggest is that sup
1094 should immediately bring you to the previous buffer.
1095 --
1096 Thanks,
1097 Phil
1098
1099 From tero@tilus.net Thu Mar 17 15:54:59 2011
1100 From: tero@tilus.net (Tero Tilus)
1101 Date: Thu, 17 Mar 2011 21:54:59 +0200
1102 Subject: [sup-talk] background or queue msg sending
1103 In-Reply-To: <1300371126-sup-4692@plc.intranet.plecavalier.com>
1104 References: <1300371126-sup-4692@plc.intranet.plecavalier.com>
1105 Message-ID: <1300391568-sup-154@tilus.net>
1106
1107 Philippe LeCavalier, 2011-03-17 16:17:
1108 > Sup has me so efficient I've even lost the patience to
1109 > wait for msgs to be sent.
1110
1111 You need to wait? I don't. Sup is instatly back after hitting 'y'.
1112 Your MTA must be somehow broken.
1113
1114 --
1115 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
1116
1117 From bwalton@artsci.utoronto.ca Thu Mar 17 15:55:09 2011
1118 From: bwalton@artsci.utoronto.ca (Ben Walton)
1119 Date: Thu, 17 Mar 2011 15:55:09 -0400
1120 Subject: [sup-talk] background or queue msg sending
1121 In-Reply-To: <1300385916-sup-3971@plc.intranet.plecavalier.com>
1122 References: <1300371126-sup-4692@plc.intranet.plecavalier.com>
1123 <1300375667-sup-4657@panda>
1124 <1300385916-sup-3971@plc.intranet.plecavalier.com>
1125 Message-ID: <1300391638-sup-7379@pinkfloyd.chass.utoronto.ca>
1126
1127 Excerpts from Philippe LeCavalier's message of Thu Mar 17 15:15:30 -0400 2011:
1128
1129 Hi Philippe,
1130
1131 > Even if Exim or Postfix might act faster than msmtp(what I'm using
1132 > now) sup is set up in a way that it waits for the process to
1133 > terminate before bringing me to the previous buffer. What I'd like
1134 > to suggest is that sup should immediately bring you to the previous
1135 > buffer.
1136
1137 I get a near instant return to the buffer when submitting via
1138 'sendmail' (exim in my case). It's only takes the time required to
1139 spit the content of the mail through the pipe to that process...once
1140 done, the delivery is asyncrhonous to sup. If it's not behaving that
1141 way when using a real mta, something with the mta config is borked.[1]
1142
1143 Thanks
1144 -Ben
1145
1146 [1] By default sendmail used to try immediate handoff before queuing,
1147 which could result in delayed return. I'm not sure if it still
1148 does though.
1149 --
1150 Ben Walton
1151 Systems Programmer - CHASS
1152 University of Toronto
1153 C:416.407.5610 | W:416.978.4302
1154
1155
1156 From support@plecavalier.com Thu Mar 17 16:10:36 2011
1157 From: support@plecavalier.com (Philippe LeCavalier)
1158 Date: Thu, 17 Mar 2011 16:10:36 -0400
1159 Subject: [sup-talk] background or queue msg sending
1160 In-Reply-To: <1300391568-sup-154@tilus.net>
1161 References: <1300371126-sup-4692@plc.intranet.plecavalier.com>
1162 <1300391568-sup-154@tilus.net>
1163 Message-ID: <1300392345-sup-5151@plc.intranet.plecavalier.com>
1164
1165 Hi Tero.
1166 Excerpts from Tero Tilus's message of Thu Mar 17 15:54:59 -0400 2011:
1167 > Philippe LeCavalier, 2011-03-17 16:17:
1168 > > Sup has me so efficient I've even lost the patience to
1169 > > wait for msgs to be sent.
1170 >
1171 > You need to wait? I don't. Sup is instatly back after hitting 'y'.
1172 > Your MTA must be somehow broken.
1173 That's because of your connection speed. Like right now I'm at a client
1174 that's got me connected to a 10Mbps fibre link so it feels 'instant'.
1175 But some client have slower DSL links and when I'm at home -I'm in the
1176 country- I've got a 1.5Mps wireless and Sup makes me wait 5 to 10
1177 seconds while msmtp terminates. That pause drives me nuts. I want sup to
1178 leave that buffer in the background. Like what about someone on dial-up
1179 or a very slow DSL. It must be even longer.
1180
1181 --
1182 Thanks,
1183 Phil
1184
1185 From kevinr@free-dissociation.com Thu Mar 17 16:16:09 2011
1186 From: kevinr@free-dissociation.com (Kevin Riggle)
1187 Date: Thu, 17 Mar 2011 16:16:09 -0400
1188 Subject: [sup-talk] background or queue msg sending
1189 In-Reply-To: <1300385916-sup-3971@plc.intranet.plecavalier.com>
1190 References: <1300371126-sup-4692@plc.intranet.plecavalier.com>
1191 <1300375667-sup-4657@panda>
1192 <1300385916-sup-3971@plc.intranet.plecavalier.com>
1193 Message-ID: <1300392204-sup-5911@black-opal.free-dissociation.com>
1194
1195 Excerpts from Philippe LeCavalier's message of Thu Mar 17 15:15:30 -0400 2011:
1196 > Even if Exim or Postfix might act faster than msmtp(what I'm using now)
1197 > sup is set up in a way that it waits for the process to terminate before
1198 > bringing me to the previous buffer. What I'd like to suggest is that sup
1199 > should immediately bring you to the previous buffer.
1200
1201 Exim or Postfix will both act as the local message queue for you, unlike
1202 msmtp which blocks while it talks to the upstream remote mail server.
1203 It's not so much Sup's blocking as msmtp's blocking here which is the
1204 problem, IME -- talking to the local MTA is wicked fast, and you can set
1205 your local MTA to use your upstream remote mail server as its smarthost
1206 -- and there's no reason to add a message queue to Sup if your MTA can
1207 handle it.
1208
1209 Given Exim's recent security troubles I'd recommend Postfix.
1210
1211 - Kevin
1212 --
1213 Kevin Riggle (kevinr at free-dissociation.com)
1214 http://free-dissociation.com
1215
1216 From tyberius_prime@coonabibba.de Thu Mar 17 11:40:52 2011
1217 From: tyberius_prime@coonabibba.de (Tyberius Prime)
1218 Date: Thu, 17 Mar 2011 16:40:52 +0100
1219 Subject: [sup-talk] vim text wrapping
1220 In-Reply-To: <1300371571-sup-2777@plc.intranet.plecavalier.com>
1221 References: <1300371571-sup-2777@plc.intranet.plecavalier.com>
1222 Message-ID: <1300376344-sup-8109@h1610647.stratoserver.net>
1223
1224 Hey,
1225
1226 I usually just hit gqap on every paragraph that looks out of line, and vim
1227 rewraps it for me.
1228
1229 See http://vimdoc.sourceforge.net/htmldoc/change.html#gq
1230
1231
1232 So long,
1233 Tyberius Prime
1234
1235 Excerpts from Philippe LeCavalier's message of Do M?r 17 15:26:51 +0100 2011:
1236 > Hi All.
1237 >
1238 > This is more of a vim question than it is a sup one but I'm not a
1239 > member of the vim list so I thought I'd ask you guys first.
1240 >
1241 > Since I don't write very well I always end up making changes while
1242 > re-reading myself. When I edit a line Vim doesn't wrap anymore like it
1243 > did when I first typed the text. So all the lines I've edited aren't
1244 > wrapped like the others. It can make reading my mail challenging at
1245 > times.
1246 >
1247 > Perhaps I'm misunderstanding how to properly edit text in vim?
1248 >
1249
1250 From sascha-ml-reply-to-2011-2@silbe.org Thu Mar 17 18:32:19 2011
1251 From: sascha-ml-reply-to-2011-2@silbe.org (Sascha Silbe)
1252 Date: Thu, 17 Mar 2011 23:32:19 +0100
1253 Subject: [sup-talk] background or queue msg sending
1254 In-Reply-To: <1300392345-sup-5151@plc.intranet.plecavalier.com>
1255 References: <1300371126-sup-4692@plc.intranet.plecavalier.com>
1256 <1300391568-sup-154@tilus.net>
1257 <1300392345-sup-5151@plc.intranet.plecavalier.com>
1258 Message-ID: <1300400477-sup-3208@twin.sascha.silbe.org>
1259
1260 Excerpts from Philippe LeCavalier's message of Thu Mar 17 21:10:36 +0100 2011:
1261
1262 > But some client have slower DSL links and when I'm at home -I'm in the
1263 > country- I've got a 1.5Mps wireless and Sup makes me wait 5 to 10
1264 > seconds while msmtp terminates. That pause drives me nuts. I want sup to
1265 > leave that buffer in the background. Like what about someone on dial-up
1266 > or a very slow DSL. It must be even longer.
1267
1268 Give nullmailer a try. It will queue your message and deliver it in the
1269 background. No need to hack sup and keep it running until the message
1270 has been delivered.
1271
1272 On my laptops I've integrated nullmailer with NetworkManager so I can
1273 write mails while on the bus and have them delivered as soon as I enter
1274 the reach of a wifi network that I have access to. A custom ssh based
1275 transport tunnels the mails to my smarthost (the university network
1276 blocks the SMTP ports).
1277
1278 Sascha
1279
1280 --
1281 http://sascha.silbe.org/
1282 http://www.infra-silbe.de/
1283 -------------- next part --------------
1284 A non-text attachment was scrubbed...
1285 Name: signature.asc
1286 Type: application/pgp-signature
1287 Size: 500 bytes
1288 Desc: not available
1289 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20110317/2b52e4ea/attachment.bin>
1290
1291 From sean.escriva@gmail.com Thu Mar 17 18:42:36 2011
1292 From: sean.escriva@gmail.com (Sean Escriva)
1293 Date: Thu, 17 Mar 2011 15:42:36 -0700
1294 Subject: [sup-talk] background or queue msg sending
1295 In-Reply-To: <1300371126-sup-4692@plc.intranet.plecavalier.com>
1296 References: <1300371126-sup-4692@plc.intranet.plecavalier.com>
1297 Message-ID: <AANLkTi=qM0QTRMu469hfbby+97xTfgoh_B6Xtsjfy=41@mail.gmail.com>
1298
1299 On Thu, Mar 17, 2011 at 7:17 AM, Philippe LeCavalier
1300 <support at plecavalier.com> wrote:
1301 >
1302 > Hi All.
1303 >
1304 > Does anyone know of a way to background or perhaps queue
1305 > sending mail. Sup has me so efficient I've even lost the patience to
1306 > wait for msgs to be sent. I really want to hit 'y' and move on.
1307 >
1308 > Any thoughts, experiences? My first though was manipulating the buffers
1309 > so that the previous buffer would get called back before the mail gets
1310 > confirmed as sent and then the confirmation itself could still be
1311 > displayed in the notification area.
1312
1313 It sounds like you're refering to how msmtp blocks while talking to
1314 your smtp server.
1315 As others have mentioned exim or postfix will do the job. My
1316 preference is postifx.
1317
1318 If you are already using msmtp, perhaps the msmtpq script would be
1319 preferable for you, there's a readme that details usage:
1320
1321 http://msmtp.git.sourceforge.net/git/gitweb.cgi?p=msmtp/msmtp;a=tree;f=scripts/msmtpq;h=edde598fe8394b371a8c67a0dc910423ae88904b;hb=HEAD
1322
1323 From support@plecavalier.com Thu Mar 17 19:08:41 2011
1324 From: support@plecavalier.com (Philippe LeCavalier)
1325 Date: Thu, 17 Mar 2011 19:08:41 -0400
1326 Subject: [sup-talk] background or queue msg sending
1327 In-Reply-To: <1300400477-sup-3208@twin.sascha.silbe.org>
1328 References: <1300371126-sup-4692@plc.intranet.plecavalier.com>
1329 <1300391568-sup-154@tilus.net>
1330 <1300392345-sup-5151@plc.intranet.plecavalier.com>
1331 <1300400477-sup-3208@twin.sascha.silbe.org>
1332 Message-ID: <1300403212-sup-7826@plc.intranet.plecavalier.com>
1333
1334 Excerpts from Sascha Silbe's message of Thu Mar 17 18:32:19 -0400 2011:
1335 > Excerpts from Philippe LeCavalier's message of Thu Mar 17 21:10:36 +0100 2011:
1336 >
1337 > > But some client have slower DSL links and when I'm at home -I'm in the
1338 > > country- I've got a 1.5Mps wireless and Sup makes me wait 5 to 10
1339 > > seconds while msmtp terminates. That pause drives me nuts. I want sup to
1340 > > leave that buffer in the background. Like what about someone on dial-up
1341 > > or a very slow DSL. It must be even longer.
1342 >
1343 > Give nullmailer a try. It will queue your message and deliver it in the
1344 > background. No need to hack sup and keep it running until the message
1345 > has been delivered.
1346 >
1347 > On my laptops I've integrated nullmailer with NetworkManager so I can
1348 > write mails while on the bus and have them delivered as soon as I enter
1349 > the reach of a wifi network that I have access to. A custom ssh based
1350 > transport tunnels the mails to my smarthost (the university network
1351 > blocks the SMTP ports).
1352 >
1353 > Sascha
1354 >
1355 That sounds just about perfect. These kinds of conversations always
1356 leave me wondering why I haven't heard of said program before, in this
1357 case it's nullmailer. I guess I should just be happy I'm learning
1358 something new every day! Thanks Sascha!
1359 --
1360 Thanks,
1361 Phil
1362
1363 From support@plecavalier.com Thu Mar 17 19:10:44 2011
1364 From: support@plecavalier.com (Philippe LeCavalier)
1365 Date: Thu, 17 Mar 2011 19:10:44 -0400
1366 Subject: [sup-talk] background or queue msg sending
1367 In-Reply-To: <1300392204-sup-5911@black-opal.free-dissociation.com>
1368 References: <1300371126-sup-4692@plc.intranet.plecavalier.com>
1369 <1300375667-sup-4657@panda>
1370 <1300385916-sup-3971@plc.intranet.plecavalier.com>
1371 <1300392204-sup-5911@black-opal.free-dissociation.com>
1372 Message-ID: <1300403326-sup-4036@plc.intranet.plecavalier.com>
1373
1374 Excerpts from Kevin Riggle's message of Thu Mar 17 16:16:09 -0400 2011:
1375 > Excerpts from Philippe LeCavalier's message of Thu Mar 17 15:15:30 -0400 2011:
1376 > > Even if Exim or Postfix might act faster than msmtp(what I'm using now)
1377 > > sup is set up in a way that it waits for the process to terminate before
1378 > > bringing me to the previous buffer. What I'd like to suggest is that sup
1379 > > should immediately bring you to the previous buffer.
1380 >
1381 > Exim or Postfix will both act as the local message queue for you, unlike
1382 > msmtp which blocks while it talks to the upstream remote mail server.
1383 > It's not so much Sup's blocking as msmtp's blocking here which is the
1384 > problem, IME -- talking to the local MTA is wicked fast, and you can set
1385 > your local MTA to use your upstream remote mail server as its smarthost
1386 > -- and there's no reason to add a message queue to Sup if your MTA can
1387 > handle it.
1388 >
1389 > Given Exim's recent security troubles I'd recommend Postfix.
1390 >
1391 > - Kevin
1392 > --
1393 > Kevin Riggle (kevinr at free-dissociation.com)
1394 > http://free-dissociation.com
1395 > _______________________________________________
1396 > sup-talk mailing list
1397 > sup-talk at rubyforge.org
1398 > http://rubyforge.org/mailman/listinfo/sup-talk
1399 >
1400 Thanks Kevin. I get what everyone is saying now. I just needed explained
1401 as you did. Makes total sense to me now. I'm going to give preference to
1402 Sascha's suggestion first. But if I'm unsuccessful I'll definitely give
1403 a local -full- MTA a try.
1404 --
1405 Thanks,
1406 Phil
1407
1408 From tero@tilus.net Thu Mar 17 20:53:46 2011
1409 From: tero@tilus.net (Tero Tilus)
1410 Date: Fri, 18 Mar 2011 02:53:46 +0200
1411 Subject: [sup-talk] background or queue msg sending
1412 In-Reply-To: <1300392345-sup-5151@plc.intranet.plecavalier.com>
1413 References: <1300371126-sup-4692@plc.intranet.plecavalier.com>
1414 <1300391568-sup-154@tilus.net>
1415 <1300392345-sup-5151@plc.intranet.plecavalier.com>
1416 Message-ID: <1300408936-sup-5939@tilus.net>
1417
1418 Philippe LeCavalier, 2011-03-17 22:10:
1419 > > You need to wait? I don't. Sup is instatly back after hitting 'y'.
1420 > That's because of your connection speed.
1421
1422 Are you kidding? I've sent mail using sup when hanging on GPRS
1423 (roughly 30 kbps and 1500ms ping lag) in a train moving 200 km/h.
1424 Instant send. If it was about uplink speed I definitely would have
1425 experienced it then.
1426
1427 --
1428 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
1429
1430 From support@plecavalier.com Thu Mar 17 21:31:21 2011
1431 From: support@plecavalier.com (Philippe LeCavalier)
1432 Date: Thu, 17 Mar 2011 21:31:21 -0400
1433 Subject: [sup-talk] background or queue msg sending
1434 In-Reply-To: <1300408936-sup-5939@tilus.net>
1435 References: <1300371126-sup-4692@plc.intranet.plecavalier.com>
1436 <1300391568-sup-154@tilus.net>
1437 <1300392345-sup-5151@plc.intranet.plecavalier.com>
1438 <1300408936-sup-5939@tilus.net>
1439 Message-ID: <1300411874-sup-4334@plc.intranet.plecavalier.com>
1440
1441 Excerpts from Tero Tilus's message of Thu Mar 17 20:53:46 -0400 2011:
1442 > Philippe LeCavalier, 2011-03-17 22:10:
1443 > > > You need to wait? I don't. Sup is instatly back after hitting 'y'.
1444 > > That's because of your connection speed.
1445 >
1446 > Are you kidding?
1447 No I wasn't.
1448 >I've sent mail using sup when hanging on GPRS (roughly 30 kbps and
1449 >1500ms ping lag) in a train moving 200 km/h. Instant send. If it was
1450 >about uplink speed I definitely would have experienced it then.
1451 I agree. I understand now that it was, as explained, msmtp waiting for
1452 the remote smtp session to finish. Whcih, whether I knew that or not
1453 wasn't really my point. I just wanted to throw the process of msmtp
1454 blocking while talking to the relay in the background. But I see know
1455 that using the local MTA would be just as 'instant' as putting the
1456 buffer in the background. Or perhaps should I say making that need
1457 obsolete...
1458 --
1459 Thanks,
1460 Phil
1461
1462 From support@plecavalier.com Thu Mar 17 21:34:54 2011
1463 From: support@plecavalier.com (Philippe LeCavalier)
1464 Date: Thu, 17 Mar 2011 21:34:54 -0400
1465 Subject: [sup-talk] background or queue msg sending
1466 In-Reply-To: <1300403212-sup-7826@plc.intranet.plecavalier.com>
1467 References: <1300371126-sup-4692@plc.intranet.plecavalier.com>
1468 <1300391568-sup-154@tilus.net>
1469 <1300392345-sup-5151@plc.intranet.plecavalier.com>
1470 <1300400477-sup-3208@twin.sascha.silbe.org>
1471 <1300403212-sup-7826@plc.intranet.plecavalier.com>
1472 Message-ID: <1300411900-sup-8374@plc.intranet.plecavalier.com>
1473
1474 Excerpts from Philippe LeCavalier's message of Thu Mar 17 19:08:41 -0400 2011:
1475 > Excerpts from Sascha Silbe's message of Thu Mar 17 18:32:19 -0400 2011:
1476 > > Excerpts from Philippe LeCavalier's message of Thu Mar 17 21:10:36 +0100 2011:
1477 > >
1478 > > > But some client have slower DSL links and when I'm at home -I'm in the
1479 > > > country- I've got a 1.5Mps wireless and Sup makes me wait 5 to 10
1480 > > > seconds while msmtp terminates. That pause drives me nuts. I want sup to
1481 > > > leave that buffer in the background. Like what about someone on dial-up
1482 > > > or a very slow DSL. It must be even longer.
1483 > >
1484 > > Give nullmailer a try. It will queue your message and deliver it in the
1485 > > background. No need to hack sup and keep it running until the message
1486 > > has been delivered.
1487 > >
1488 > > On my laptops I've integrated nullmailer with NetworkManager so I can
1489 > > write mails while on the bus and have them delivered as soon as I enter
1490 > > the reach of a wifi network that I have access to. A custom ssh based
1491 > > transport tunnels the mails to my smarthost (the university network
1492 > > blocks the SMTP ports).
1493 > >
1494 > > Sascha
1495 > >
1496 > That sounds just about perfect. These kinds of conversations always
1497 > leave me wondering why I haven't heard of said program before, in this
1498 > case it's nullmailer. I guess I should just be happy I'm learning
1499 > something new every day! Thanks Sascha!
1500 Sascha, would you be so kind as to post(or send me) your remotes file if
1501 you use TLS? I can seem to get nullmailer working with my host. It's
1502 timing out on the cert check since it's not a valid cert. In msmtp I
1503 used to use:
1504
1505 tls on tls_certcheck off tls_starttls off But I can't seem to find
1506 anything related to that for nullmailer.
1507 --
1508 Thanks,
1509 Phil
1510
1511 From sochotnicky@redhat.com Fri Mar 18 02:32:31 2011
1512 From: sochotnicky@redhat.com (Stanislav Ochotnicky)
1513 Date: Fri, 18 Mar 2011 07:32:31 +0100
1514 Subject: [sup-talk] Endless loop when using chronic extension straight from
1515 git
1516 Message-ID: <1300429882-sup-6298@sochotnicky.usersys.redhat.com>
1517
1518 I encountered this weird endless loop when I was trying to hack on sup
1519 a bit and using it at the same time.
1520
1521 I have a shell script that looks more-less like this:
1522 -------------------
1523 #!/bin/sh
1524 export SUP_LOG_LEVEL=debug
1525 cd ~/projects/sup
1526 ruby -I lib bin/sup
1527 ----------------
1528
1529 Normal usage/searching is OK, but when I run sup like that and do
1530 query like "after:(2 days ago)" sup goes into endless loop (with ruby
1531 CPU use going to 100%). I also have to kill off the remaining ruby
1532 process (as in -SIGKILL). When I try to do the same with sup already
1533 installed with "gem install sup" everything works as expected.
1534
1535 Note that I can reproduce this even with 0.12.1 tag checked out in git
1536 so it's not my changes that are causing this.
1537
1538 It seems like I am doing something terribly wrong here. Any idea what
1539 that might be?
1540
1541 --
1542 Stanislav Ochotnicky <sochotnicky at redhat.com>
1543 Software Engineer - Base Operating Systems Brno
1544
1545 PGP: 7B087241
1546 Red Hat Inc. http://cz.redhat.com
1547 -------------- next part --------------
1548 A non-text attachment was scrubbed...
1549 Name: signature.asc
1550 Type: application/pgp-signature
1551 Size: 836 bytes
1552 Desc: not available
1553 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20110318/c3d142de/attachment-0001.bin>
1554
1555 From shadowfirebird@gmail.com Fri Mar 18 05:50:45 2011
1556 From: shadowfirebird@gmail.com (Shadowfirebird)
1557 Date: Fri, 18 Mar 2011 09:50:45 +0000
1558 Subject: [sup-talk] Sup: RangeError: value in posting list too large.
1559 Message-ID: <AANLkTimkgq4jiZJpPZpG2VM1RNgZck0e-RjRQSBOpLOA@mail.gmail.com>
1560
1561 Got the above error while Sup was flushing indexes after an initial message
1562 polling on start. Ubuntu 9.04.
1563
1564 Sup restarted okay afterwards, but it just crashes in the same way.
1565
1566 Any ideas?
1567
1568
1569
1570 --
1571 What a tangled web we weave / Go 'round with circumstance / Someone show me
1572 how to tell / The dancer from the dance...
1573 -------------- next part --------------
1574 An HTML attachment was scrubbed...
1575 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20110318/9dae17da/attachment.html>
1576 -------------- next part --------------
1577 --- IndexError from thread: poll after loading inbox
1578 RangeError: Value in posting list too large.
1579 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup/index.rb:272:in `_dangerous_allterms_begin'
1580 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup/index.rb:272:in `each_prefixed_term'
1581 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup/index.rb:285:in `each_source_info'
1582 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup/maildir.rb:97:in `each'
1583 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup/maildir.rb:97:in `to_a'
1584 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup/maildir.rb:97:in `poll'
1585 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup/util.rb:204:in `call'
1586 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup/util.rb:204:in `benchmark'
1587 /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
1588 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup/util.rb:204:in `benchmark'
1589 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup/maildir.rb:97:in `poll'
1590 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup/maildir.rb:89:in `each'
1591 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup/maildir.rb:89:in `poll'
1592 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup/poll.rb:154:in `poll_from'
1593 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup/poll.rb:113:in `do_poll'
1594 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup/poll.rb:103:in `each'
1595 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup/poll.rb:103:in `do_poll'
1596 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup/poll.rb:102:in `synchronize'
1597 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup/poll.rb:102:in `do_poll'
1598 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup/util.rb:609:in `send'
1599 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup/util.rb:609:in `method_missing'
1600 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup/modes/poll-mode.rb:15:in `poll'
1601 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup/poll.rb:49:in `poll_with_sources'
1602 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup/poll.rb:68:in `poll'
1603 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup/util.rb:609:in `send'
1604 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup/util.rb:609:in `method_missing'
1605 /usr/lib/ruby/gems/1.8/gems/sup-0.12/bin/sup:212
1606 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup.rb:78:in `reporting_thread'
1607 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup.rb:76:in `initialize'
1608 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup.rb:76:in `new'
1609 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup.rb:76:in `reporting_thread'
1610 /usr/lib/ruby/gems/1.8/gems/sup-0.12/bin/sup:212
1611 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup/modes/thread-index-mode.rb:684:in `call'
1612 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup/modes/thread-index-mode.rb:684:in `__unprotected_load_threads'
1613 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup/modes/thread-index-mode.rb:625:in `call'
1614 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup/modes/thread-index-mode.rb:625:in `load_n_threads_background'
1615 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup.rb:78:in `reporting_thread'
1616 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup.rb:76:in `initialize'
1617 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup.rb:76:in `new'
1618 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup.rb:76:in `reporting_thread'
1619 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup/modes/thread-index-mode.rb:623:in `load_n_threads_background'
1620 /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup/modes/thread-index-mode.rb:694:in `__unprotected_load_threads'
1621 (eval):12:in `load_threads'
1622 /usr/lib/ruby/gems/1.8/gems/sup-0.12/bin/sup:212
1623 /usr/bin/sup:19:in `load'
1624 /usr/bin/sup:19
1625
1626 From paul.a.grove@gmail.com Fri Mar 18 05:57:31 2011
1627 From: paul.a.grove@gmail.com (Paul Grove)
1628 Date: Fri, 18 Mar 2011 09:57:31 +0000
1629 Subject: [sup-talk] Endless loop when using chronic extension straight
1630 from git
1631 In-Reply-To: <1300429882-sup-6298@sochotnicky.usersys.redhat.com>
1632 References: <1300429882-sup-6298@sochotnicky.usersys.redhat.com>
1633 Message-ID: <1300442123-sup-1862@localhost>
1634
1635 I have also got this problem, Although I havnt looked into it, I cannot
1636 use on:, after:, and such for fear of it failing.
1637
1638 I am also using the latest sup from git
1639
1640 Excerpts from Stanislav Ochotnicky's message of Fri Mar 18 06:32:31 +0000 2011:
1641 > I encountered this weird endless loop when I was trying to hack on sup
1642 > a bit and using it at the same time.
1643 >
1644 > I have a shell script that looks more-less like this:
1645 > -------------------
1646 > #!/bin/sh
1647 > export SUP_LOG_LEVEL=debug
1648 > cd ~/projects/sup
1649 > ruby -I lib bin/sup
1650 > ----------------
1651 >
1652 > Normal usage/searching is OK, but when I run sup like that and do
1653 > query like "after:(2 days ago)" sup goes into endless loop (with ruby
1654 > CPU use going to 100%). I also have to kill off the remaining ruby
1655 > process (as in -SIGKILL). When I try to do the same with sup already
1656 > installed with "gem install sup" everything works as expected.
1657 >
1658 > Note that I can reproduce this even with 0.12.1 tag checked out in git
1659 > so it's not my changes that are causing this.
1660 >
1661 > It seems like I am doing something terribly wrong here. Any idea what
1662 > that might be?
1663 >
1664
1665 From support@plecavalier.com Fri Mar 18 09:56:26 2011
1666 From: support@plecavalier.com (Philippe LeCavalier)
1667 Date: Fri, 18 Mar 2011 09:56:26 -0400
1668 Subject: [sup-talk] vim text wrapping
1669 In-Reply-To: <1300384913-sup-4027@plc.intranet.plecavalier.com>
1670 References: <1300371571-sup-2777@plc.intranet.plecavalier.com>
1671 <1300378468-sup-2125@pruts.nl>
1672 <1300384913-sup-4027@plc.intranet.plecavalier.com>
1673 Message-ID: <1300456131-sup-3142@plc.intranet.plecavalier.com>
1674
1675 Excerpts from Philippe LeCavalier's message of Thu Mar 17 14:14:46 -0400 2011:
1676 > Excerpts from Ico Doornekamp's message of Thu Mar 17 12:19:29 -0400 2011:
1677 > > * On Thu Mar 17 15:26:51 +0100 2011, Philippe LeCavalier wrote:
1678 > >
1679 > > > This is more of a vim question than it is a sup one but I'm not a
1680 > > > member of the vim list so I thought I'd ask you guys first.
1681 > > >
1682 > > > Since I don't write very well I always end up making changes while
1683 > > > re-reading myself. When I edit a line Vim doesn't wrap anymore like it
1684 > > > did when I first typed the text. So all the lines I've edited aren't
1685 > > > wrapped like the others. It can make reading my mail challenging at
1686 > > > times.
1687 > > >
1688 > > > Perhaps I'm misunderstanding how to properly edit text in vim?
1689 > >
1690 > > I guess this can be called a 'feature' of vim, Bram probably has a good
1691 > > reason for making it behave as it does.
1692 > >
1693 > > As far as I know, wrapping only occurs when you are in insert mode
1694 > > adding text at the end of the current line, but not when you are
1695 > > inserting text in the middle of a line.
1696 > >
1697 > > My own habit is to just add or remove the text as a go, and hit the key
1698 > > sequence 'gwap' to clean up the mess, which means so much as 'reformat
1699 > > (rewrap) the current paragraph'. The vim help for 'gw':
1700 > >
1701 > > gw{motion} Format the lines that {motion} moves over. Similar to
1702 > > |gq| but puts the cursor back at the same position in
1703 > > the text. However, 'formatprg' and 'formatexpr' are
1704 > > not used. {not in Vi}
1705 > >
1706 > > where {motion} would be 'ap', meaning 'a paragraph'.
1707 > >
1708 > > It looks kind of cumbersome in the beginning, but I'm very much used to
1709 > > it and don't even think about it anymore.
1710 > >
1711 > >
1712 > >
1713 > > --
1714 > > :wq
1715 > > ^X^Cy^K^X^C^C^C^C
1716 > > _______________________________________________
1717 > > sup-talk mailing list
1718 > > sup-talk at rubyforge.org
1719 > > http://rubyforge.org/mailman/listinfo/sup-talk
1720 > >
1721 > That's pretty much what I expected since I had already visited the
1722 > options for textwidth and the like. I can certainly get used to a kbd
1723 > sequence since I expect that sort of thing when using Vim. In fact,
1724 > since adopting sup my hands don't really leave the keyboard.
1725 >
1726 > However what James mentioned about formatoptions might alleviate that.
1727 > James, I add these types of things to my vim line in config.yaml rather
1728 > than my rc file. I to don't always want wrapping at 72 and the like. But
1729 > I do always want this in sup.
1730
1731 Thought I'd post back after having lived with formatoptions+=a for a
1732 day. This options is _really_ annoying. It's hard to explain, but
1733 although it does what I wanted in that it automatically wraps text when
1734 editing lines it also drove me nuts because it prevents you from
1735 inserting linebreaks -something I do regularly. So I'm back to just -c
1736 'set textwidth=72' and will employ the gwap kbd sequence.
1737
1738 --
1739 Thanks,
1740 Phil
1741
1742 From shadowfirebird@gmail.com Mon Mar 21 05:53:12 2011
1743 From: shadowfirebird@gmail.com (Shadowfirebird)
1744 Date: Mon, 21 Mar 2011 09:53:12 +0000
1745 Subject: [sup-talk] Sup bug tracker down for >week?
1746 Message-ID: <AANLkTinMGNG353_ocTwiN+W4ATs9yQR+FJgyOv2fkpdJ@mail.gmail.com>
1747
1748 Does everyone else see the sup bug tracker as down? It seems to have been
1749 down for at least a week.
1750
1751 My Sup has crashed, no-one on this list seems to be able to help me and the
1752 bug tracker is down. Much as I like Sup, I think this might be game over as
1753 far as I'm concerned...
1754
1755 --
1756 What a tangled web we weave / Go 'round with circumstance / Someone show me
1757 how to tell / The dancer from the dance...
1758 -------------- next part --------------
1759 An HTML attachment was scrubbed...
1760 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20110321/a1ad7f5c/attachment.html>
1761
1762 From aidecoe@aidecoe.name Mon Mar 21 11:31:12 2011
1763 From: aidecoe@aidecoe.name (=?utf-8?q?Amadeusz_=C5=BBo=C5=82nowski?=)
1764 Date: Mon, 21 Mar 2011 16:31:12 +0100
1765 Subject: [sup-talk] Sup bug tracker down for >week?
1766 In-Reply-To: <AANLkTinMGNG353_ocTwiN+W4ATs9yQR+FJgyOv2fkpdJ@mail.gmail.com>
1767 References: <AANLkTinMGNG353_ocTwiN+W4ATs9yQR+FJgyOv2fkpdJ@mail.gmail.com>
1768 Message-ID: <1300721303-sup-2863@ittemni>
1769
1770 Excerpts from Shadowfirebird's message of Mon Mar 21 10:53:12 +0100
1771 2011:
1772 > Does everyone else see the sup bug tracker as down? It seems to have
1773 > been down for at least a week.
1774
1775 ?The page you are looking for is temporarily unavailable.
1776 Please try again later.?
1777
1778
1779 > My Sup has crashed,
1780
1781 How? If it still crashes after restart, try to recreate the index. It
1782 helped once when I had a total crash.
1783
1784 --
1785 Amadeusz ?o?nowski
1786
1787 PGP key fpr: C700 CEDE 0C18 212E 49DA 4653 F013 4531 E1DB FAB5
1788 -------------- next part --------------
1789 A non-text attachment was scrubbed...
1790 Name: signature.asc
1791 Type: application/pgp-signature
1792 Size: 490 bytes
1793 Desc: not available
1794 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20110321/2937d01d/attachment.bin>
1795
1796 From michael+sup@stapelberg.de Mon Mar 21 11:20:51 2011
1797 From: michael+sup@stapelberg.de (Michael Stapelberg)
1798 Date: Mon, 21 Mar 2011 16:20:51 +0100
1799 Subject: [sup-talk] Sup bug tracker down for >week?
1800 In-Reply-To: <AANLkTinMGNG353_ocTwiN+W4ATs9yQR+FJgyOv2fkpdJ@mail.gmail.com>
1801 References: <AANLkTinMGNG353_ocTwiN+W4ATs9yQR+FJgyOv2fkpdJ@mail.gmail.com>
1802 Message-ID: <1300720800-sup-7933@midna.zekjur.net>
1803
1804 Hi Shadowfirebird,
1805
1806 Excerpts from Shadowfirebird's message of 2011-03-21 10:53:12 +0100:
1807 > Does everyone else see the sup bug tracker as down? It seems to have been
1808 > down for at least a week.
1809
1810 William has taken it down due to the amount of spambot traffic killing his
1811 server, see his message from 2011-01-10 with Message ID
1812 1294636135-sup-6653 at masanjin.net.
1813
1814 Best regards,
1815 Michael
1816
1817 From shadowfirebird@gmail.com Tue Mar 22 12:47:47 2011
1818 From: shadowfirebird@gmail.com (Shadowfirebird)
1819 Date: Tue, 22 Mar 2011 16:47:47 +0000
1820 Subject: [sup-talk] Sup bug tracker down for >week?
1821 In-Reply-To: <1300721303-sup-2863@ittemni>
1822 References: <AANLkTinMGNG353_ocTwiN+W4ATs9yQR+FJgyOv2fkpdJ@mail.gmail.com>
1823 <1300721303-sup-2863@ittemni>
1824 Message-ID: <AANLkTikON1jLgfrL9UU=fT6aCBv_F5nZM6vX-Bi7kXvr@mail.gmail.com>
1825
1826 Having tried to recreate the index, after four hours this process has
1827 crashed too.
1828
1829 /usr/lib/ruby/gems/1.8/gems/lockfile-1.4.3/lib/lockfile.rb:364:in `unlock':
1830 /home/fred/.sup/lock (Lockfile::StolenLockError)
1831
1832 from /usr/lib/ruby/gems/1.8/gems/sup-0.12/lib/sup/index.rb:87:in `unlock'
1833
1834 from /usr/lib/ruby/gems/1.8/gems/sup-0.12/bin/sup-sync:206
1835
1836 from /usr/bin/sup-sync:19:in `load'
1837
1838 from /usr/bin/sup-sync:19
1839
1840
1841
1842 That's it for me I think. Maybe I'll try Sup again after it's been through
1843 a few more versions.
1844 -------------- next part --------------
1845 An HTML attachment was scrubbed...
1846 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20110322/ece16c89/attachment-0001.html>
1847
1848 From jonas@lophus.org Tue Mar 22 14:01:23 2011
1849 From: jonas@lophus.org (Jonas H.)
1850 Date: Tue, 22 Mar 2011 19:01:23 +0100
1851 Subject: [sup-talk] Help me getting started.
1852 In-Reply-To: <4D1DACF2.3000400@lophus.org>
1853 References: <4D0E8DDD.20505@lophus.org>
1854 <1292830767-sup-1667@tilus.net> <4D0F5C5E.7030809@lophus.org>
1855 <1292853433-sup-364@tilus.net> <4D1321A2.9070206@lophus.org>
1856 <1293749950-sup-6919@tilus.net> <4D1D17BC.8050006@lophus.org>
1857 <1293755723-sup-3842@tilus.net> <4D1DACF2.3000400@lophus.org>
1858 Message-ID: <4D88E3F3.304@lophus.org>
1859
1860 On 12/31/2010 11:14 AM, Jonas H. wrote:
1861 > On 12/31/2010 01:45 AM, Tero Tilus wrote:
1862 >> Jonas H., 2010-12-31 01:37:
1863 >>> If you want I could make up a small test mbox file (new Thunderbird
1864 >>> profile) and send it?
1865 >>
1866 >> Please do. File a bug<http://masanjin.net/sup-bugs/> and attach a
1867 >> (minimal) mbox to trigger it.
1868 >>
1869 >
1870 > http://masanjin.net/sup-bugs/issue141
1871
1872 Any news on this issue?
1873
1874 From wmorgan-sup@masanjin.net Sun Mar 27 16:41:59 2011
1875 From: wmorgan-sup@masanjin.net (William Morgan)
1876 Date: Sun, 27 Mar 2011 20:41:59 +0000
1877 Subject: [sup-talk] sup v2 progress report
1878 Message-ID: <1301257195-sup-9486@masanjin.net>
1879
1880 Hello all,
1881
1882 I'm happy to report that Sup version 2 is well underway!
1883
1884 Sup version 2 features:
1885 - a client/server model that works over HTTP, allowing
1886 a) development of other clients, e.g. web-based and phone-based
1887 b) simultaneous access from multiple clients
1888 c) IMAP emulation, aka no more lock-in!
1889 - an improved console-based client
1890
1891 Heliotrope, the server component, is close to ready for a version 1 release.
1892 You can find it at https://github.com/wmorgan/heliotrope/.
1893
1894 The client, which I'm calling Turnsole, is coming along swimmingly. I hope to
1895 release a pre-alpha some-stuff-actually-works version within the next few days.
1896 Much of the UI code has been borrowed from Sup, but the internals are quite
1897 different:
1898 - it's event-based, rather than thread-based, which streamlines a lot of the
1899 code and avoids a whole big class of bugs.
1900 - all the index and email threading code is ripped out
1901 - most of the email parsing code is gone
1902 - it handles Ruby 1.9 string encoding stuff correctly, rather than having
1903 random checks scattered around
1904
1905 I think you're going to like it, since:
1906 - the threads are pre-computed on the server side, so it's much, much faster
1907 - you can finally view attachments locally!
1908
1909 Stay tuned for more. We're still a ways off before it's a drop-in replacement,
1910 but I'm excited about how everything is coming together.
1911 --
1912 William <wmorgan-sup at masanjin.net>
1913
1914 From matthieu.rakotojaona@gmail.com Mon Mar 28 00:14:24 2011
1915 From: matthieu.rakotojaona@gmail.com (Matthieu Rakotojaona)
1916 Date: Mon, 28 Mar 2011 06:14:24 +0200
1917 Subject: [sup-talk] sup v2 progress report
1918 In-Reply-To: <1301257195-sup-9486@masanjin.net>
1919 References: <1301257195-sup-9486@masanjin.net>
1920 Message-ID: <AANLkTimqLoHDVWNpwUsFAc+E9csfxgwUwCWsuo08a5QJ@mail.gmail.com>
1921
1922 Thank you very much.
1923
1924 I've been using sup for quite a few months now, and I must say that
1925 the labels-centric point of view really is an improvement over the
1926 other mail management systems.
1927 I've been following sup news very closely, and I'm really excited
1928 about heliotrope/turnsole.
1929
1930 I have tried the new system a little bit, and I have a few things to say :
1931 - you must have 'html2text' (not specified) installed on your system,
1932 as long as you have any html mail. I think this is the case for too
1933 many of us, unfortunately.
1934 - I didn't find rubymail with gem, but found it under the name rmail
1935 - I still had some problem with the encoding stuff. I was using ruby
1936 v1.9.2 (or so I thought), but got the "ArgumentError - invalid byte
1937 sequence in UTF-8" error. Strange thing, the log showed me evidence
1938 that I was using ruby v1.9.1 (problems came from files in
1939 "/usr/lib/ruby/gems/1.9.1"). So I switched back to v1.8.7 from AUR
1940 (I'm using archlinux), and the problem just went away.
1941
1942 In the light of what you wrote, I have two questions :
1943 - Is sup development bound to be stopped, at least when
1944 heliotrope/turnsole will be ready ?
1945 - Is there any mailing-list for this new project, or should we keep
1946 using those related with sup ?
1947 - Do you have any address where I can find and test turnsole ?
1948
1949 Again, thank you very much for your work and your help, and I'm
1950 talking to everyone on these lists.
1951
1952 Regards,
1953
1954 --
1955 Matthieu RAKOTOJAONA
1956
1957 From nicolas.pouillard@gmail.com Mon Mar 28 08:52:52 2011
1958 From: nicolas.pouillard@gmail.com (Nicolas Pouillard)
1959 Date: Mon, 28 Mar 2011 05:52:52 -0700 (PDT)
1960 Subject: [sup-talk] [sup-devel] sup v2 progress report
1961 In-Reply-To: <1301257195-sup-9486@masanjin.net>
1962 References: <1301257195-sup-9486@masanjin.net>
1963 Message-ID: <4d9084a4.cc7e0e0a.6404.ffff8fad@mx.google.com>
1964
1965 On Sun, 27 Mar 2011 20:41:59 +0000, William Morgan <wmorgan-sup at masanjin.net> wrote:
1966 > Hello all,
1967 >
1968 > I'm happy to report that Sup version 2 is well underway!
1969 >
1970 > Sup version 2 features:
1971 > - a client/server model that works over HTTP, allowing
1972 > a) development of other clients, e.g. web-based and phone-based
1973 > b) simultaneous access from multiple clients
1974 > c) IMAP emulation, aka no more lock-in!
1975 > - an improved console-based client
1976 >
1977 > Heliotrope, the server component, is close to ready for a version 1 release.
1978 > You can find it at https://github.com/wmorgan/heliotrope/.
1979 >
1980 > The client, which I'm calling Turnsole, is coming along swimmingly. I hope to
1981 > release a pre-alpha some-stuff-actually-works version within the next few days.
1982 > Much of the UI code has been borrowed from Sup, but the internals are quite
1983 > different:
1984 > - it's event-based, rather than thread-based, which streamlines a lot of the
1985 > code and avoids a whole big class of bugs.
1986 > - all the index and email threading code is ripped out
1987 > - most of the email parsing code is gone
1988 > - it handles Ruby 1.9 string encoding stuff correctly, rather than having
1989 > random checks scattered around
1990 >
1991 > I think you're going to like it, since:
1992 > - the threads are pre-computed on the server side, so it's much, much faster
1993 > - you can finally view attachments locally!
1994 >
1995 > Stay tuned for more. We're still a ways off before it's a drop-in replacement,
1996 > but I'm excited about how everything is coming together.
1997
1998 While mass importing an mbox I got this:
1999
2000 $ ... heliotrope-add ...
2001 ; forced to decode html. running html2text on 868b mime part...
2002 end offset is 237534473
2003 .../heliotrope/lib/heliotrope/decoder.rb:109:in `gsub': incompatible character encodings: UTF-8 and ASCII-8BIT (Encoding::CompatibilityError)
2004 from .../heliotrope/lib/heliotrope/decoder.rb:109:in `decode_rfc2047'
2005 from .../heliotrope/lib/heliotrope/message.rb:208:in `decode_header'
2006 from .../heliotrope/lib/heliotrope/message.rb:30:in `parse!'
2007 from bin/heliotrope-add:105:in `<main>'
2008
2009 Best regards,
2010
2011 --
2012 Nicolas Pouillard
2013 http://nicolaspouillard.fr
2014
2015 From lincoln@comum.org Mon Mar 28 10:21:54 2011
2016 From: lincoln@comum.org (Lincoln de Sousa)
2017 Date: Mon, 28 Mar 2011 11:21:54 -0300
2018 Subject: [sup-talk] sup v2 progress report
2019 In-Reply-To: <1301257195-sup-9486@masanjin.net>
2020 References: <1301257195-sup-9486@masanjin.net>
2021 Message-ID: <20110328142153.GA27479@lixeiro>
2022
2023 On Sun, Mar 27, 2011 at 08:41:59PM +0000, William Morgan wrote:
2024 > Hello all,
2025 >
2026 > I'm happy to report that Sup version 2 is well underway!
2027
2028 Hehe, believe me, you're not the only one happy with this news :)
2029
2030 > Sup version 2 features:
2031 > - a client/server model that works over HTTP, allowing
2032 > a) development of other clients, e.g. web-based and phone-based
2033 > b) simultaneous access from multiple clients
2034 > c) IMAP emulation, aka no more lock-in!
2035 > - an improved console-based client
2036 >
2037 > Heliotrope, the server component, is close to ready for a version 1 release.
2038 > You can find it at https://github.com/wmorgan/heliotrope/.
2039
2040 This is something that makes me think that this sup server could be used
2041 as an MDA receiving mails directly from the MTA.
2042
2043 What currently have is the following env:
2044
2045 MTA
2046 -> MDA (courier for me)
2047 -> MDA Maildir (offlineimap in my case)
2048 -> sup (heliotrope)
2049 -> Mail reader
2050
2051 Why not doing something like this?!:
2052
2053 MTA -> sup (heliotrope) -> Mail reader
2054
2055 I've started to write a web app to read my mails and I'm not using an
2056 IMAP, POP or any other of these protocols, it's based on a python
2057 library I'm writting to be generict enough to connect with anything. But
2058 I'd love to abandon this abstraction layer in favor of sup :D
2059
2060
2061 Cheers,
2062 --
2063 Lincoln de Sousa <lincoln at comum.org>
2064 xmpp:lincoln at comum.org
2065 http://comum.org
2066 http://culturadigital.br
2067 -------------- next part --------------
2068 A non-text attachment was scrubbed...
2069 Name: not available
2070 Type: application/pgp-signature
2071 Size: 836 bytes
2072 Desc: Digital signature
2073 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20110328/4b8ad61b/attachment.bin>
2074
2075 From groups@hjdivad.com Mon Mar 28 10:57:25 2011
2076 From: groups@hjdivad.com (David J. Hamilton)
2077 Date: Mon, 28 Mar 2011 07:57:25 -0700
2078 Subject: [sup-talk] sup v2 progress report
2079 In-Reply-To: <AANLkTimqLoHDVWNpwUsFAc+E9csfxgwUwCWsuo08a5QJ@mail.gmail.com>
2080 References: <1301257195-sup-9486@masanjin.net>
2081 <AANLkTimqLoHDVWNpwUsFAc+E9csfxgwUwCWsuo08a5QJ@mail.gmail.com>
2082 Message-ID: <1301323986-sup-3291@nyx.local>
2083
2084 Excerpts from Matthieu Rakotojaona's message of Sun Mar 27 21:14:24 -0700 2011:
2085 > Thank you very much.
2086
2087 ...
2088
2089 > I've been following sup news very closely, and I'm really excited
2090 > about heliotrope/turnsole.
2091
2092 +1 on encouragement. I switched to sup a few months back and I love it. I'm
2093 also very excited about supv2 as it seems you're working on exactly the sort of
2094 things that are, at present, insufficiently awesome about sup.
2095
2096 In particular, local viewing of attachments would be very nice.
2097
2098 > I have tried the new system a little bit, and I have a few things to say :
2099 > - you must have 'html2text' (not specified) installed on your system,
2100 > as long as you have any html mail. I think this is the case for too
2101 > many of us, unfortunately.
2102
2103 +1 on this for sure. I'm not actually sure why I keep getting HTML only mail
2104 from some people, but I presume there's some tragically popular and not very
2105 nice mail client that does this.
2106 --
2107 med v?nlig h?lsning
2108 David J. Hamilton
2109
2110 From wmorgan-sup@masanjin.net Mon Mar 28 18:57:26 2011
2111 From: wmorgan-sup@masanjin.net (William Morgan)
2112 Date: Mon, 28 Mar 2011 22:57:26 +0000
2113 Subject: [sup-talk] sup v2 progress report
2114 In-Reply-To: <AANLkTimqLoHDVWNpwUsFAc+E9csfxgwUwCWsuo08a5QJ@mail.gmail.com>
2115 References: <1301257195-sup-9486@masanjin.net>
2116 <AANLkTimqLoHDVWNpwUsFAc+E9csfxgwUwCWsuo08a5QJ@mail.gmail.com>
2117 Message-ID: <1301353031-sup-7684@masanjin.net>
2118
2119 Reformatted excerpts from Matthieu Rakotojaona's message of 2011-03-28:
2120 > I have tried the new system a little bit, and I have a few things to say :
2121 > - you must have 'html2text' (not specified) installed on your system,
2122 > as long as you have any html mail. I think this is the case for too
2123 > many of us, unfortunately.
2124 > - I didn't find rubymail with gem, but found it under the name rmail
2125
2126 Thanks, I will update the README.
2127
2128 > - I still had some problem with the encoding stuff. I was using ruby
2129 > v1.9.2 (or so I thought), but got the "ArgumentError - invalid byte
2130 > sequence in UTF-8" error.
2131
2132 Ok, I'm still working on tracking this down. If you have a backtrace
2133 handy, that would be useful.
2134
2135 > - Is sup development bound to be stopped, at least when
2136 > heliotrope/turnsole will be ready ?
2137
2138 I'm planning on moving my efforts entirely over to heliotrope +
2139 turnsole. Which isn't that big of a deal, really, since I haven't done
2140 much on Sup for years.
2141
2142 > - Is there any mailing-list for this new project, or should we keep
2143 > using those related with sup ?
2144
2145 I'll keep talking about it here until people complain.
2146
2147 > - Do you have any address where I can find and test turnsole ?
2148
2149 Check back in a few days.
2150 --
2151 William <wmorgan-sup at masanjin.net>
2152
2153 From wmorgan-sup@masanjin.net Mon Mar 28 23:11:04 2011
2154 From: wmorgan-sup@masanjin.net (William Morgan)
2155 Date: Tue, 29 Mar 2011 03:11:04 +0000
2156 Subject: [sup-talk] [sup-devel] sup v2 progress report
2157 In-Reply-To: <4d9084a4.cc7e0e0a.6404.ffff8fad@mx.google.com>
2158 References: <1301257195-sup-9486@masanjin.net>
2159 <4d9084a4.cc7e0e0a.6404.ffff8fad@mx.google.com>
2160 Message-ID: <1301368236-sup-9189@masanjin.net>
2161
2162 Reformatted excerpts from Nicolas Pouillard's message of 2011-03-28:
2163 > .../heliotrope/lib/heliotrope/decoder.rb:109:in `gsub': incompatible character encodings: UTF-8 and ASCII-8BIT (Encoding::CompatibilityError)
2164
2165 Hm. I think I know what the problem is. Stay tuned.
2166 --
2167 William <wmorgan-sup at masanjin.net>
2168
2169 From wmorgan-sup@masanjin.net Mon Mar 28 23:12:26 2011
2170 From: wmorgan-sup@masanjin.net (William Morgan)
2171 Date: Tue, 29 Mar 2011 03:12:26 +0000
2172 Subject: [sup-talk] sup v2 progress report
2173 In-Reply-To: <20110328142153.GA27479@lixeiro>
2174 References: <1301257195-sup-9486@masanjin.net> <20110328142153.GA27479@lixeiro>
2175 Message-ID: <1301368290-sup-3072@masanjin.net>
2176
2177 Reformatted excerpts from Lincoln de Sousa's message of 2011-03-28:
2178 > This is something that makes me think that this sup server could be used as
2179 > an MDA receiving mails directly from the MTA.
2180
2181 Yeah, this is not so far-fetched. Heliotrope is pretty close to this point
2182 altready (e.g. it can take a single raw email on stdin).
2183 --
2184 William <wmorgan-sup at masanjin.net>
2185
2186 From wmorgan-sup@masanjin.net Tue Mar 29 00:00:36 2011
2187 From: wmorgan-sup@masanjin.net (William Morgan)
2188 Date: Tue, 29 Mar 2011 04:00:36 +0000
2189 Subject: [sup-talk] [sup-devel] sup v2 progress report
2190 In-Reply-To: <4d9084a4.cc7e0e0a.6404.ffff8fad@mx.google.com>
2191 References: <1301257195-sup-9486@masanjin.net>
2192 <4d9084a4.cc7e0e0a.6404.ffff8fad@mx.google.com>
2193 Message-ID: <1301371130-sup-6618@masanjin.net>
2194
2195 Reformatted excerpts from Nicolas Pouillard's message of 2011-03-28:
2196 > .../heliotrope/lib/heliotrope/decoder.rb:109:in `gsub': incompatible
2197 > character encodings: UTF-8 and ASCII-8BIT
2198 > (Encoding::CompatibilityError)
2199
2200 Can you try with the latest master? If it still doesn't work, are you
2201 able to narrow down the string encodings of from and word?
2202
2203 This 1.9 string encoding stuff is tricky business, especially combined
2204 with the messy world of email. I think I'm getting close.
2205 --
2206 William <wmorgan-sup at masanjin.net>
2207
2208 From rthrd@web.de Tue Mar 29 13:18:41 2011
2209 From: rthrd@web.de (Ruthard Baudach)
2210 Date: Tue, 29 Mar 2011 19:18:41 +0200
2211 Subject: [sup-talk] searching _F_rom header
2212 Message-ID: <1301418888-sup-2223@PrxServer3>
2213
2214 I'm starting to get accustumed to searching my emails.
2215 If I'm searching from-headers with a from:adress at mail.tld syntax, only a part of the messages show up. It seems that several e-mail clients capitalize the Headers (From: someone <someone at somehost.somedomain> instead of from: someone <someone at somehost.somedomain>), and sup -- or xapian -- seems to ignore these emails.
2216
2217 Ruthard
2218
2219 From nicolas.pouillard@gmail.com Tue Mar 29 17:19:00 2011
2220 From: nicolas.pouillard@gmail.com (Nicolas Pouillard)
2221 Date: Tue, 29 Mar 2011 14:19:00 -0700 (PDT)
2222 Subject: [sup-talk] [sup-devel] sup v2 progress report
2223 In-Reply-To: <1301371130-sup-6618@masanjin.net>
2224 References: <1301257195-sup-9486@masanjin.net>
2225 <4d9084a4.cc7e0e0a.6404.ffff8fad@mx.google.com>
2226 <1301371130-sup-6618@masanjin.net>
2227 Message-ID: <4d924cc4.5925e30a.5311.ffffc603@mx.google.com>
2228
2229 On Tue, 29 Mar 2011 04:00:36 +0000, William Morgan <wmorgan-sup at masanjin.net> wrote:
2230 > Reformatted excerpts from Nicolas Pouillard's message of 2011-03-28:
2231 > > .../heliotrope/lib/heliotrope/decoder.rb:109:in `gsub': incompatible
2232 > > character encodings: UTF-8 and ASCII-8BIT
2233 > > (Encoding::CompatibilityError)
2234 >
2235 > Can you try with the latest master? If it still doesn't work, are you
2236 > able to narrow down the string encodings of from and word?
2237 >
2238 > This 1.9 string encoding stuff is tricky business, especially combined
2239 > with the messy world of email. I think I'm getting close.
2240
2241 Nice, it seems to go a lot further. However there seems to be some strange
2242 blocking behavior, like using CPU and producing nothing in hours.
2243
2244 --
2245 Nicolas Pouillard
2246 http://nicolaspouillard.fr
2247
2248 From wmorgan-sup@masanjin.net Tue Mar 29 17:31:06 2011
2249 From: wmorgan-sup@masanjin.net (William Morgan)
2250 Date: Tue, 29 Mar 2011 21:31:06 +0000
2251 Subject: [sup-talk] [sup-devel] sup v2 progress report
2252 In-Reply-To: <4d924cc4.5925e30a.5311.ffffc603@mx.google.com>
2253 References: <1301257195-sup-9486@masanjin.net>
2254 <4d9084a4.cc7e0e0a.6404.ffff8fad@mx.google.com>
2255 <1301371130-sup-6618@masanjin.net>
2256 <4d924cc4.5925e30a.5311.ffffc603@mx.google.com>
2257 Message-ID: <1301434157-sup-5884@masanjin.net>
2258
2259 Reformatted excerpts from Nicolas Pouillard's message of 2011-03-29:
2260 > Nice, it seems to go a lot further. However there seems to be some strange
2261 > blocking behavior, like using CPU and producing nothing in hours.
2262
2263 Weird. I wonder if it's triggering some regex worst case like we've seen
2264 before in Sup. Are you able to narrow down what message or text is
2265 causing this? I will add a --verbose option, which might make this
2266 easier.
2267 --
2268 William <wmorgan-sup at masanjin.net>
2269
2270 From btricha@gmail.com Wed Mar 30 10:21:04 2011
2271 From: btricha@gmail.com (Bryan Richardson)
2272 Date: Wed, 30 Mar 2011 08:21:04 -0600
2273 Subject: [sup-talk] Archive Emails to Different Source
2274 In-Reply-To: <AANLkTi=i6Y-JGo=fHgS--q5V5RViF60ZaE_mH0iC8+j7@mail.gmail.com>
2275 References: <AANLkTi=i6Y-JGo=fHgS--q5V5RViF60ZaE_mH0iC8+j7@mail.gmail.com>
2276 Message-ID: <AANLkTi=zGKr6e_2dq9Y7+sDhUEOG9+vhUe3cpzhXvR0C@mail.gmail.com>
2277
2278 Anyone have an idea about this? I'm really hoping Sup can be a viable
2279 option for archiving emails...
2280
2281 --
2282 Thanks!
2283 Bryan
2284
2285 On Fri, Mar 11, 2011 at 2:46 PM, Bryan Richardson <btricha at gmail.com> wrote:
2286 > Hello All,
2287 >
2288 > I'm using Sup to access email from my company's Microsoft Exchange
2289 > Server via IMAP (using offlineimap). My Exchange mailbox size
2290 > limitation is 1GB, so every once in a while I will move email from my
2291 > Inbox to a personal Outlook archive file that is stored on my local
2292 > machine. However, when I do this the emails that I archive get removed
2293 > from my local IMAP cache the next time offlineimap runs.
2294 >
2295 > Is it possible to have Sup archive (or otherwise move) email messages
2296 > to a different IMAP source? I'm not so much worried about being able
2297 > to remove the messages from my Exchange account via Sup as I am
2298 > maintaining a local copy of all my email accessible via Sup. I can
2299 > archive them via Sup first then archive them in Outlook if that's what
2300 > it takes.
2301 >
2302 > Please advise.
2303 >
2304 > --
2305 > Thanks!
2306 > Bryan
2307 >
2308
2309 From marka@pobox.com Wed Mar 30 11:39:47 2011
2310 From: marka@pobox.com (Mark Alexander)
2311 Date: Wed, 30 Mar 2011 11:39:47 -0400
2312 Subject: [sup-talk] Archive Emails to Different Source
2313 In-Reply-To: <AANLkTi=i6Y-JGo=fHgS--q5V5RViF60ZaE_mH0iC8+j7@mail.gmail.com>
2314 References: <AANLkTi=i6Y-JGo=fHgS--q5V5RViF60ZaE_mH0iC8+j7@mail.gmail.com>
2315 Message-ID: <1301499350-sup-8327@bloovis.org>
2316
2317 Excerpts from Bryan Richardson's message of Fri Mar 11 16:46:54 -0500 2011:
2318 > I'm using Sup to access email from my company's Microsoft Exchange
2319 > Server via IMAP (using offlineimap). My Exchange mailbox size
2320 > limitation is 1GB, so every once in a while I will move email from my
2321 > Inbox to a personal Outlook archive file that is stored on my local
2322 > machine. However, when I do this the emails that I archive get removed
2323 > from my local IMAP cache the next time offlineimap runs.
2324
2325 I would recommend using fetchmail instead of offlineimap. That way
2326 you are ensured that you have local copies of your email that won't
2327 get deleted, no matter what happens on your Exchange server. I used
2328 offlineimap briefly because so many people on this mailing list said
2329 it was wonderful. But when it started deleting messages that
2330 apparently other Outlook users had "recalled", I went back to
2331 fetchmail.
2332
2333 I use fetchmail in combination with maildrop, which actually places
2334 the emails in maildir directories. You can also use procmail instead
2335 of maildrop, though its configuration language is a bit obscure.
2336