community/pipermail-archives/sup-talk/2007-08.txt (66860B) - raw
1 From wmorgan-sup@masanjin.net Wed Aug 1 12:15:27 2007
2 From: wmorgan-sup@masanjin.net (William Morgan)
3 Date: Wed, 01 Aug 2007 09:15:27 -0700
4 Subject: [sup-talk] [ANN] Sup 0.1 released
5 In-Reply-To: <1184869044-sup-8195@nevans-desktop>
6 References: <1184722934-sup-4107@south> <1184797247-sup-5066@mona>
7 <1184867946-sup-8698@south> <1184869044-sup-8195@nevans-desktop>
8 Message-ID: <1185984911-sup-9232@south>
9
10 Excerpts from nicholas a. evans's message of Thu Jul 19 11:18:58 -0700 2007:
11 > Could we get tab completion for setting labels? And also a keymapping
12 > to set labels from thread-view-mode?
13
14 These are both in svn now.
15
16 --
17 William <wmorgan-sup at masanjin.net>
18
19 From wmorgan-sup@masanjin.net Sun Aug 5 20:12:15 2007
20 From: wmorgan-sup@masanjin.net (William Morgan)
21 Date: Sun, 05 Aug 2007 17:12:15 -0700
22 Subject: [sup-talk] new in svn: To/Cc/Bcc prompting and editing (with tab
23 completion)
24 Message-ID: <1186358782-sup-8614@south>
25
26 When you compose a new message, Sup will now prompt you for a To:
27 header. You can also have it prompt you for Cc: and Bcc: by setting
28 :ask_for_cc and :ask_for_bcc to true in config.yaml.
29
30 When editing a message, 'e' will now edit either the message text (via
31 your editor) or a specific header (via Sup), depending on where the
32 cursor is. Enter will always edit the message.
33
34 Tab completion (on contact aliases, email addresses and full addresses)
35 is in effect any time you edit a To, From, Cc or Bcc header.
36
37 This all really highlights Sup's inability to scroll a text edit field
38 horizontally. I'll deal with this when I summon up the energy to fight
39 with Ncurses some more.
40
41 --
42 William <wmorgan-sup at masanjin.net>
43
44 From itaylor@uark.edu Wed Aug 8 20:16:34 2007
45 From: itaylor@uark.edu (Ian Taylor)
46 Date: Wed, 08 Aug 2007 20:16:34 -0400
47 Subject: [sup-talk] rake/hoe issues
48 Message-ID: <1186618315-sup-5646@zap>
49
50 Seems like Redwood::VERSION being set to 'svn' isn't meeting some kind
51 of hoe version spec, so rake tasks are failing.
52
53 # rake gem
54 rake aborted!
55 Malformed version number string svn
56
57
58
59 Whenever I try to build sup from svn, the rakefile seems to be using sup
60 from my local gems repository rather than ./lib (within the build
61 directory). Since I had already installed a previous dev version, I had
62 to go edit the installed gem's lib/sup.rb Redwood::VERSION before the
63 new gem would build.
64
65 It seems strange to me that I must have sup installed as a gem before I
66 can build the svn version.
67
68 --
69 Ian Taylor, Technical Assistant
70 Computer Science Computer Engineering
71 http://www.csce.uark.edu itaylor at uark.edu
72 University of Arkansas
73
74
75 From wmorgan-sup@masanjin.net Thu Aug 9 11:22:14 2007
76 From: wmorgan-sup@masanjin.net (William Morgan)
77 Date: Thu, 09 Aug 2007 08:22:14 -0700
78 Subject: [sup-talk] rake/hoe issues
79 In-Reply-To: <1186618315-sup-5646@zap>
80 References: <1186618315-sup-5646@zap>
81 Message-ID: <1186672403-sup-5194@south>
82
83 Excerpts from Ian Taylor's message of Wed Aug 08 17:16:34 -0700 2007:
84 > Seems like Redwood::VERSION being set to 'svn' isn't meeting some kind
85 > of hoe version spec, so rake tasks are failing.
86
87 Lame. I wanted to be able to distinguish SVN-built packages from actual
88 releases somehow. Well I've set it to "0" in SVN, which is at least
89 distinctive.
90
91 > Whenever I try to build sup from svn, the rakefile seems to be using
92 > sup from my local gems repository rather than ./lib (within the build
93 > directory).
94
95 Ok, I have an explicit load of "./lib/sup.rb" in the Rakefile now. This
96 means you probably won't be able to build outside of that directory, but
97 that's probably not a problem.
98
99
100 --
101 William <wmorgan-sup at masanjin.net>
102
103 From itaylor@uark.edu Sat Aug 11 15:34:38 2007
104 From: itaylor@uark.edu (Ian Taylor)
105 Date: Sat, 11 Aug 2007 15:34:38 -0400
106 Subject: [sup-talk] forward is broken in svn
107 Message-ID: <1186860558-sup-9599@zap>
108
109 When in the thread view mode, hitting 'f' on a message causes an
110 exception to be thrown:
111
112 thread-view-mode.rb:136 'compose' undefined method 'edit'
113
114 --
115 Ian Taylor, Technical Assistant
116 Computer Science Computer Engineering
117 http://www.csce.uark.edu itaylor at uark.edu
118 University of Arkansas
119
120
121 From wmorgan-sup@masanjin.net Sat Aug 11 16:26:22 2007
122 From: wmorgan-sup@masanjin.net (William Morgan)
123 Date: Sat, 11 Aug 2007 13:26:22 -0700
124 Subject: [sup-talk] forward is broken in svn
125 In-Reply-To: <1186860558-sup-9599@zap>
126 References: <1186860558-sup-9599@zap>
127 Message-ID: <1186863923-sup-9365@south>
128
129 Excerpts from Ian Taylor's message of Sat Aug 11 12:34:38 -0700 2007:
130 > thread-view-mode.rb:136 'compose' undefined method 'edit'
131
132 This was fixed in r519 (2007-08-06 21:16:53 -0700).
133
134 --
135 William <wmorgan-sup at masanjin.net>
136
137 From itaylor@uark.edu Sat Aug 11 17:35:22 2007
138 From: itaylor@uark.edu (Ian Taylor)
139 Date: Sat, 11 Aug 2007 17:35:22 -0400
140 Subject: [sup-talk] forward is broken in svn
141 In-Reply-To: <1186863923-sup-9365@south>
142 References: <1186860558-sup-9599@zap> <1186863923-sup-9365@south>
143 Message-ID: <1186867471-sup-8895@zap>
144
145 Excerpts from William Morgan's message of Sat Aug 11 16:26:22 -0400 2007:
146 > Excerpts from Ian Taylor's message of Sat Aug 11 12:34:38 -0700 2007:
147 > > thread-view-mode.rb:136 'compose' undefined method 'edit'
148 >
149 > This was fixed in r519 (2007-08-06 21:16:53 -0700).
150 >
151
152 I'm sorry, but it doesn't appear to be fixed here. Just in case, here is
153 the whole exection:
154
155 The problem was: 'undefined method `edit' for #<Redwood::ForwardMode:0x2aaaab5044b8>' (error type NoMethodError)
156 A backtrace follows:
157 /usr/lib64/ruby/gems/1.8/gems/sup-0.9/lib/sup/modes/thread-index-mode.rb:337:in `forward': undefined method `edit' for #<Redwood::ForwardMode:0x2aaaab5044b8> (NoMethodError)
158 from /usr/lib64/ruby/gems/1.8/gems/sup-0.9/lib/sup/mode.rb:52:in `send'
159 from /usr/lib64/ruby/gems/1.8/gems/sup-0.9/lib/sup/mode.rb:52:in `handle_input'
160 from /usr/lib64/ruby/gems/1.8/gems/sup-0.9/lib/sup/buffer.rb:191:in `handle_input'
161 from /usr/lib64/ruby/gems/1.8/gems/sup-0.9/bin/sup:186
162 from /usr/bin/sup:16:in `load'
163 from /usr/bin/sup:16
164
165
166 Also, I think in the Rakefile, doing require 'lib/sup.rb' doesn't work
167 as imagined. The requires within lib/sup.rb require 'sup/*' and so try
168 to load from the local gem repository. I looked at the hoe project's
169 Rakefile and I see them doing a trick which probably is what we want:
170
171 require 'rubygems'
172 require 'hoe'
173 $:.unshift 'lib'
174 require 'sup'
175
176
177
178 Also, I think the change of the VERSION to 0 for development is a
179 problem. I got this after installing dev version of sup (after removing
180 the old ones):
181 /usr/lib64/ruby/site_ruby/1.8/rubygems.rb:304:in `report_activate_error': RubyGem version error: sup(0 not > 0) (Gem::LoadError)
182 from /usr/lib64/ruby/site_ruby/1.8/rubygems.rb:238:in `activate'
183 from /usr/lib64/ruby/site_ruby/1.8/rubygems.rb:76:in `active_gem_with_options'
184 from /usr/lib64/ruby/site_ruby/1.8/rubygems.rb:50:in `gem'
185 from /usr/bin/sup:15
186
187 Maybe some really high version number would be good since gems does a
188 comparison for choosing which version to use?
189
190 --
191 Ian Taylor, Technical Assistant
192 Computer Science Computer Engineering
193 http://www.csce.uark.edu itaylor at uark.edu
194 University of Arkansas
195
196
197 From itaylor@uark.edu Sat Aug 11 20:23:47 2007
198 From: itaylor@uark.edu (Ian Taylor)
199 Date: Sat, 11 Aug 2007 20:23:47 -0400
200 Subject: [sup-talk] multiple accounts and reply
201 Message-ID: <1186878074-sup-3921@zap>
202
203 I have sup setup to use multiple accounts. When replying to mail
204 received by the non-default account, the email address is set to the
205 default account's address. Is this supposed to be working? If so, I
206 didn't see it mentioned in the documentation.
207
208 Oh, and about the documentation... When you run rake clean, it removes
209 the 'docs' directory.
210
211 --
212 Ian Taylor, Technical Assistant
213 Computer Science Computer Engineering
214 http://www.csce.uark.edu itaylor at uark.edu
215 University of Arkansas
216
217
218 From wmorgan-sup@masanjin.net Sun Aug 12 18:21:05 2007
219 From: wmorgan-sup@masanjin.net (William Morgan)
220 Date: Sun, 12 Aug 2007 15:21:05 -0700
221 Subject: [sup-talk] forward is broken in svn
222 In-Reply-To: <1186867471-sup-8895@zap>
223 References: <1186860558-sup-9599@zap> <1186863923-sup-9365@south>
224 <1186867471-sup-8895@zap>
225 Message-ID: <1186956855-sup-9201@south>
226
227 Excerpts from Ian Taylor's message of Sat Aug 11 14:35:22 -0700 2007:
228 > I'm sorry, but it doesn't appear to be fixed here. Just in case, here is
229 > the whole exection:
230
231 Well now, that's a completely different backtrace! But I've fixed it
232 too.
233
234 > Also, I think in the Rakefile, doing require 'lib/sup.rb' doesn't work
235 > as imagined. The requires within lib/sup.rb require 'sup/*' and so try
236 > to load from the local gem repository. I looked at the hoe project's
237 > Rakefile and I see them doing a trick which probably is what we want:
238
239 Thanks. I see other projects doing this too. I've changed this in SVN.
240
241 > Also, I think the change of the VERSION to 0 for development is a
242 > problem. I got this after installing dev version of sup (after
243 > removing the old ones):
244
245 Bah, I'm tired of trying to make these things do something reasonable
246 for SVN versions. I've changed the version back to 0.1 and SVN users
247 will just have to be aware of the overloading.
248
249 --
250 William <wmorgan-sup at masanjin.net>
251
252 From william.betts@gmail.com Mon Aug 13 11:55:45 2007
253 From: william.betts@gmail.com (William Betts)
254 Date: Mon, 13 Aug 2007 10:55:45 -0500
255 Subject: [sup-talk] Error when running sup
256 Message-ID: <17b80a160708130855u34a2624fga748c4bd22906232@mail.gmail.com>
257
258 Hello,
259
260 I just installed sup using gem install sup -y after it finished
261 installing I tried to run "sup" and I received the following errors.
262
263 /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:34: warning:
264 already initialized constant VERSION
265 /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:36: warning:
266 already initialized constant BASE_DIR
267 /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:37: warning:
268 already initialized constant CONFIG_FN
269 /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:38: warning:
270 already initialized constant SOURCE_FN
271 /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:39: warning:
272 already initialized constant LABEL_FN
273 /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:40: warning:
274 already initialized constant PERSON_FN
275 /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:41: warning:
276 already initialized constant CONTACT_FN
277 /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:42: warning:
278 already initialized constant DRAFT_DIR
279 /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:43: warning:
280 already initialized constant SENT_FN
281 /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:44: warning:
282 already initialized constant LOCK_FN
283 /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:45: warning:
284 already initialized constant SUICIDE_FN
285 /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:47: warning:
286 already initialized constant YAML_DOMAIN
287 /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:48: warning:
288 already initialized constant YAML_DATE
289 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
290 `require__': no such file to load -- iconv (LoadError)
291 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
292 `require'
293 from /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/message.rb:3
294 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
295 `require__'
296 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
297 `require'
298 from /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:208
299 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
300 `require__'
301 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
302 `require'
303 from /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/bin/sup:7
304 from /usr/local/bin/sup:18:in `load'
305 from /usr/local/bin/sup:18
306
307 uname -a output:
308 FreeBSD <hostname_removed> 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan
309 12 10:40:27 UTC 2007
310 root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
311
312 Any help would be appreciated.
313
314 Thank You,
315 William
316
317 From wmorgan-sup@masanjin.net Mon Aug 13 18:10:57 2007
318 From: wmorgan-sup@masanjin.net (William Morgan)
319 Date: Mon, 13 Aug 2007 15:10:57 -0700
320 Subject: [sup-talk] Error when running sup
321 In-Reply-To: <17b80a160708130855u34a2624fga748c4bd22906232@mail.gmail.com>
322 References: <17b80a160708130855u34a2624fga748c4bd22906232@mail.gmail.com>
323 Message-ID: <1187043032-sup-1506@south>
324
325 Hi William,
326
327 Excerpts from William Betts's message of Mon Aug 13 08:55:45 -0700 2007:
328 > /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:34: warning:
329 > already initialized constant VERSION
330
331 I'm not sure what's causing these. Looks like sup.rb is being loaded
332 twice in your path for some reason. It shouldn't affect anything though.
333
334 > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
335 > `require__': no such file to load -- iconv (LoadError)
336 > from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
337
338 Looks like you're missing a Ruby iconv library. On my Debian system it's
339 a separate package named libruby-iconv. Not sure what the equivalent is
340 for BSD but it's probably something similar.
341
342 --
343 William <wmorgan-sup at masanjin.net>
344
345 From wmorgan-sup@masanjin.net Tue Aug 14 15:00:20 2007
346 From: wmorgan-sup@masanjin.net (William Morgan)
347 Date: Tue, 14 Aug 2007 12:00:20 -0700
348 Subject: [sup-talk] multiple accounts and reply
349 In-Reply-To: <1186878074-sup-3921@zap>
350 References: <1186878074-sup-3921@zap>
351 Message-ID: <1187115974-sup-7512@south>
352
353 Excerpts from Ian Taylor's message of Sat Aug 11 17:23:47 -0700 2007:
354 > I have sup setup to use multiple accounts. When replying to mail
355 > received by the non-default account, the email address is set to the
356 > default account's address. Is this supposed to be working? If so, I
357 > didn't see it mentioned in the documentation.
358
359 This should work. If an account email address is matched in the headers
360 of the original message, it uses that email address on the From: line.
361 If an account alternate email address is matched, it uses the regular
362 account email on the From: line. Failing all that, it uses the default
363 account.
364
365 In inspecting the code I did find a bug in certain cases. Can you svn
366 update and try again?
367
368 If it's still failing, I'd like to see the accounts section of your
369 config.yaml and the headers of the email.
370
371 > Oh, and about the documentation... When you run rake clean, it removes
372 > the 'docs' directory.
373
374 Yeah, this is a Hoe "feature". I guess I'm not supposed to put my own
375 stuff in there because everything should be generated by rdoc, or
376 something.
377
378 --
379 William <wmorgan-sup at masanjin.net>
380
381 From itaylor@uark.edu Tue Aug 14 18:47:58 2007
382 From: itaylor@uark.edu (Ian Taylor)
383 Date: Tue, 14 Aug 2007 18:47:58 -0400
384 Subject: [sup-talk] multiple accounts and reply
385 In-Reply-To: <1187115974-sup-7512@south>
386 References: <1186878074-sup-3921@zap> <1187115974-sup-7512@south>
387 Message-ID: <1187131586-sup-5119@zap>
388
389 Excerpts from William Morgan's message of Tue Aug 14 15:00:20 -0400 2007:
390 > Excerpts from Ian Taylor's message of Sat Aug 11 17:23:47 -0700 2007:
391 > > I have sup setup to use multiple accounts. When replying to mail
392 > > received by the non-default account, the email address is set to the
393 > > default account's address. Is this supposed to be working? If so, I
394 > > didn't see it mentioned in the documentation.
395 >
396 > This should work. If an account email address is matched in the headers
397 > of the original message, it uses that email address on the From: line.
398 > If an account alternate email address is matched, it uses the regular
399 > account email on the From: line. Failing all that, it uses the default
400 > account.
401 >
402 > In inspecting the code I did find a bug in certain cases. Can you svn
403 > update and try again?
404
405 Still having problems.
406
407 > If it's still failing, I'd like to see the accounts section of your
408 > config.yaml and the headers of the email.
409
410 Thanks for taking the time to look at this.
411
412 x Return-Path: <XXXXXXX at gmail.com>
413 x Delivered-To: lorf-ian at lorf.org
414 x Received: (qmail 12196 invoked from network); 14 Aug 2007 22:32:00 -0000
415 x Received: from nz-out-0506.google.com (64.233.162.227)
416 x by lorf.org with SMTP; 14 Aug 2007 22:32:00 -0000
417 x Received: by nz-out-0506.google.com with SMTP id m22so754113nzf
418 x for <ian at lorf.org>; Tue, 14 Aug 2007 15:31:32 -0700 (PDT)
419 x DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed;
420 x d=gmail.com; s=beta;
421 x h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type;
422 x b=CdzFHegHMqYXR0tcBjKCHuor3vJ9wLhvoolg9lt+F5CeVEF0TejR861j+I0jwvVDaLSzDsS10UDijnxdtoi06E5w+MfoI4lS9N4OImHM1
423 x DomainKey-Signature: a=rsa-sha1; c=nofws;
424 x d=gmail.com; s=beta;
425 x h=received:message-id:date:from:to:subject:mime-version:content-type;
426 x b=ewPvSfa+OFV2zHgtMGmV1HXtA37fykfPYssZ+e4EAsI1ktJBJn6j749x7Y3RGJ7cILcEr6h7L6MsQj6jEmGOc1g5A5uWzfXR+A4cthbXJ
427 x Received: by 10.142.157.15 with SMTP id f15mr766432wfe.1187130690410;
428 x Tue, 14 Aug 2007 15:31:30 -0700 (PDT)
429 x Received: by 10.142.110.20 with HTTP; Tue, 14 Aug 2007 15:31:30 -0700 (PDT)
430 x Message-ID: <81488d6d0708141531j205f2c80y270c06f1ef3a2887 at mail.gmail.com>
431 x Date: Tue, 14 Aug 2007 18:31:30 -0400
432 x From: "Ian Taylor" <XXXXXXX at gmail.com>
433 x To: ian at lorf.org
434 x Subject: test
435 x MIME-Version: 1.0
436 x Content-Type: multipart/alternative;
437 x boundary="----=_Part_67191_10909169.1187130690392"
438 x
439 x
440
441 config.yaml:
442 ---
443 :editor: /usr/bin/vim -f -c 'setlocal spell spelllang=en_us' -c 'set filetype=mail'
444 :accounts:
445 :default:
446 :alternates:
447 - ian at lorf.org
448
449 :signature: /home/ian/.signature-uark
450 :name: Ian Taylor
451 :email: itaylor at uark.edu
452 :sendmail: /usr/bin/nbsmtp -c /home/ian/.nbsmtp/itaylor at uark.edu
453 :lorf:
454 :name: Ian
455 :signature: /home/ian/.signature-lorf
456 :email: ian at lorf.org
457 :sendmail: /usr/bin/nbsmtp -c /home/ian/.nbsmtp/ian at lorf.org
458
459
460 --
461 Ian Taylor, Technical Assistant
462 Computer Science Computer Engineering
463 http://www.csce.uark.edu itaylor at uark.edu
464 University of Arkansas
465
466
467 From wmorgan-sup@masanjin.net Wed Aug 15 01:16:07 2007
468 From: wmorgan-sup@masanjin.net (William Morgan)
469 Date: Tue, 14 Aug 2007 22:16:07 -0700
470 Subject: [sup-talk] multiple accounts and reply
471 In-Reply-To: <1187131586-sup-5119@zap>
472 References: <1186878074-sup-3921@zap> <1187115974-sup-7512@south>
473 <1187131586-sup-5119@zap>
474 Message-ID: <1187154779-sup-8715@south>
475
476 Excerpts from Ian Taylor's message of Tue Aug 14 15:47:58 -0700 2007:
477 > :editor: /usr/bin/vim -f -c 'setlocal spell spelllang=en_us' -c 'set
478 > filetype=mail'
479 > :accounts:
480 > :default:
481 > :alternates:
482 > - ian at lorf.org
483
484 I think the problem is this line. You're saying that ian at lorf.org is a
485 valid alternate address for the default account. So when you receive
486 mail Sup then uses the default account's primary email address as the
487 "From" address.
488
489 If you remove that line replies should work as you expect: emails to
490 ian at lorf.org will use .singature-lorf, etc.
491
492 --
493 William <wmorgan-sup at masanjin.net>
494
495 From wmorgan-sup@masanjin.net Wed Aug 15 01:17:46 2007
496 From: wmorgan-sup@masanjin.net (William Morgan)
497 Date: Tue, 14 Aug 2007 22:17:46 -0700
498 Subject: [sup-talk] Fwd: Re: [Ferret-trac] #279: IO Error - Error reading
499 the segment infos
500 Message-ID: <1187154980-sup-1906@south>
501
502 Fore those following the index.c:901 error, here's a potential reason
503 why Ferret might be doing this: too many open filehandles. If you can
504 reproduce this, try increasing the max open filehandle limit and see if
505 that helps things.
506
507 --- Begin forwarded message from Ferret ---
508 From: Ferret <trac at davebalmain.com>
509 Cc: dbalmain <dbalmain at gmail.com>
510 Date: Wed, 15 Aug 2007 05:52:27 -0000
511 Subject: Re: [Ferret-trac] #279: IO Error - Error reading the segment infos
512
513 #279: IO Error - Error reading the segment infos
514 --------------------------------------+-------------------------------------
515 Reporter: dennis at dennisschaaf.com | Owner: somebody
516 Type: defect | Status: reopened
517 Priority: major | Milestone:
518 Component: component1 | Version:
519 Resolution: | Keywords:
520 --------------------------------------+-------------------------------------
521 Comment (by dennis at dennisschaaf.com):
522
523 This guy mentions that there seems to be a limit with too many open files.
524 Could it be that ferret is not closing files properly? I don't know where
525 in the source i'd look but i'll try.
526
527 http://www.ruby-forum.com/topic/120609
528
529 --- End forwarded message ---
530
531 --
532 William <wmorgan-sup at masanjin.net>
533
534 From jeff.covey@pobox.com Thu Aug 16 21:20:33 2007
535 From: jeff.covey@pobox.com (jeff covey)
536 Date: Thu, 16 Aug 2007 21:20:33 -0400
537 Subject: [sup-talk] messages wrongly labeled as drafts
538 Message-ID: <1187313405-sup-8302@mona>
539
540 i postponed a message, then came back to it, finished it, and sent it. the
541 thread still appears with a "draft" label, which i can't remove. there are
542 currently no draft messages waiting to be finished, but if i hit "R", i get
543 this exception:
544
545
546 [Thu Aug 16 21:16:01 -0400 2007] stopped cursing
547 [Thu Aug 16 21:16:01 -0400 2007] oh crap, an exception
548 [Thu Aug 16 21:16:01 -0400 2007] unlocking /home/jeff/.sup/lock...
549 ----------------------------------------------------------------
550 I'm very sorry, but it seems that an error occurred in Sup.
551 Please accept my sincere apologies. If you don't mind, please
552 send the backtrace below and a brief report of the circumstances
553 to sup-talk at rubyforge dot orgs so that I might address this
554 problem. Thank you!
555
556 Sincerely,
557 William
558 ----------------------------------------------------------------
559
560 The problem was: 'not a draft' (error type RuntimeError)
561 A backtrace follows:
562 ./lib/sup/message.rb:156:in `draft_filename': not a draft (RuntimeError)
563 from ./lib/sup/modes/resume-mode.rb:8:in `initialize'
564 from bin/sup:253:in `new'
565 from bin/sup:253
566
567
568 thanks,
569
570 --
571 jeff covey
572 http://jeffcovey.net/
573
574
575 From jeff.covey@pobox.com Fri Aug 17 14:27:59 2007
576 From: jeff.covey@pobox.com (jeff covey)
577 Date: Fri, 17 Aug 2007 14:27:59 -0400
578 Subject: [sup-talk] exception on opening a thread
579 Message-ID: <20070817182759.GA13012@mona.jeffcovey.net>
580
581 i did a search on a string, and when i tried to open one of the threads
582 found by the search, sup died with the following exception. also, i had to
583 send this from mutt because i twice tried to send it through sup, and it sat
584 forever on "sending...".
585
586
587 [Fri Aug 17 14:14:30 -0400 2007] stopped cursing
588 [Fri Aug 17 14:14:30 -0400 2007] oh crap, an exception
589 [Fri Aug 17 14:14:30 -0400 2007] unlocking /home/jeff/.sup/lock...
590 ----------------------------------------------------------------
591 I'm very sorry, but it seems that an error occurred in Sup.
592 Please accept my sincere apologies. If you don't mind, please
593 send the backtrace below and a brief report of the circumstances
594 to sup-talk at rubyforge dot orgs so that I might address this
595 problem. Thank you!
596
597 Sincerely,
598 William
599 ----------------------------------------------------------------
600
601 The problem was: 'uninitialized stream' (error type IOError)
602 A backtrace follows:
603 /var/lib/gems/1.8/gems/rmail-0.17/lib/rmail/parser/pushbackreader.rb:113:in `read': uninitialized stream (IOError)
604 from /var/lib/gems/1.8/gems/rmail-0.17/lib/rmail/parser/pushbackreader.rb:113:in `standard_read_chunk'
605 from /var/lib/gems/1.8/gems/rmail-0.17/lib/rmail/parser/pushbackreader.rb:98:in `parent_read_chunk'
606 from /var/lib/gems/1.8/gems/rmail-0.17/lib/rmail/mailbox/mboxreader.rb:139:in `read_chunk_low'
607 from /var/lib/gems/1.8/gems/rmail-0.17/lib/rmail/mailbox/mboxreader.rb:89:in `read_chunk'
608 from /var/lib/gems/1.8/gems/rmail-0.17/lib/rmail/parser/pushbackreader.rb:85:in `read'
609 from /var/lib/gems/1.8/gems/rmail-0.17/lib/rmail/parser/pushbackreader.rb:113:in `standard_read_chunk'
610 from /var/lib/gems/1.8/gems/rmail-0.17/lib/rmail/parser/pushbackreader.rb:98:in `read_chunk'
611 from /var/lib/gems/1.8/gems/rmail-0.17/lib/rmail/parser/pushbackreader.rb:85:in `read'
612 ... 28 levels...
613 from ./lib/sup/mode.rb:52:in `send'
614 from ./lib/sup/mode.rb:52:in `handle_input'
615 from ./lib/sup/buffer.rb:191:in `handle_input'
616 from bin/sup:186
617
618 thanks,
619
620 --
621 jeff covey
622 http://jeffcovey.net/
623
624
625 From itaylor@uark.edu Sat Aug 18 11:17:48 2007
626 From: itaylor@uark.edu (Ian Taylor)
627 Date: Sat, 18 Aug 2007 11:17:48 -0400
628 Subject: [sup-talk] keypress causes crash
629 Message-ID: <1187450158-sup-2106@zap>
630
631 In the message list view, when I hit ctrl-4, it causes sup to crash. I
632 meant to type '$', but that irrelevant.
633
634 --
635 Ian Taylor, Technical Assistant
636 Computer Science Computer Engineering
637 http://www.csce.uark.edu itaylor at uark.edu
638 University of Arkansas
639
640
641 From jeff.covey@pobox.com Sat Aug 18 08:47:54 2007
642 From: jeff.covey@pobox.com (jeff covey)
643 Date: Sat, 18 Aug 2007 08:47:54 -0400
644 Subject: [sup-talk] exception on opening a thread
645 In-Reply-To: <20070817182759.GA13012@mona.jeffcovey.net>
646 References: <20070817182759.GA13012@mona.jeffcovey.net>
647 Message-ID: <1187441160-sup-1614@mona>
648
649 Excerpts from jeff covey's message of Fri Aug 17 14:27:59 -0400 2007:
650
651 > i did a search on a string, and when i tried to open one of the threads
652 > found by the search, sup died with the following exception. also, i had
653 > to send this from mutt because i twice tried to send it through sup, and
654 > it sat forever on "sending...".
655
656 i think these problems were caused by the "too many open files" problem.
657
658 thanks,
659
660 --
661 jeff covey
662 http://jeffcovey.net/
663
664
665 From jeff.covey@pobox.com Sat Aug 18 08:18:15 2007
666 From: jeff.covey@pobox.com (jeff covey)
667 Date: Sat, 18 Aug 2007 08:18:15 -0400
668 Subject: [sup-talk] [Ferret-trac] #279: IO Error - Error reading the
669 segment infos
670 In-Reply-To: <1187154980-sup-1906@south>
671 References: <1187154980-sup-1906@south>
672 Message-ID: <20070818121815.GA11346@mona.jeffcovey.net>
673
674 on Tue, Aug 14, 2007 at 10:17:46PM -0700%, William Morgan said:
675
676 > Fore those following the index.c:901 error, here's a potential reason why
677 > Ferret might be doing this: too many open filehandles. If you can
678 > reproduce this, try increasing the max open filehandle limit and see if
679 > that helps things.
680
681 i tried this, setting it to 32768 as he recommended, then adding my archive
682 sources from the beginning of the year (i had been working with just
683 messages from the past month). it caused a lot of exceptions in sup and
684 some segmentation faults in ruby. i tried resetting the limit to 1024, and
685 got the exception below.
686
687 i think i'll have to assume sup/ferret can't handle many sources and change
688 my archiving system to accommodate.
689
690
691
692 [Sat Aug 18 08:07:54 -0400 2007] stopped cursing
693 [Sat Aug 18 08:07:54 -0400 2007] oh crap, an exception
694 [Sat Aug 18 08:07:54 -0400 2007] unlocking /home/jeff/.sup/lock...
695 ----------------------------------------------------------------
696 I'm very sorry, but it seems that an error occurred in Sup.
697 Please accept my sincere apologies. If you don't mind, please
698 send the backtrace below and a brief report of the circumstances
699 to sup-talk at rubyforge dot orgs so that I might address this
700 problem. Thank you!
701
702 Sincerely,
703 William
704 ----------------------------------------------------------------
705
706 The problem was: 'Too many open files - /home/jeff/mail/turbotax at mailca.custhelp.com-2007-02' (error type Errno::EMFILE)
707 A backtrace follows:
708 ./lib/sup/mbox/loader.rb:20:in `initialize': Too many open files - /home/jeff/mail/turbotax at mailca.custhelp.com-2007-02 (Errno::EMFILE)
709 from ./lib/sup/mbox/loader.rb:20:in `open'
710 from ./lib/sup/mbox/loader.rb:20:in `initialize'
711 from ./lib/sup.rb:28:in `new'
712 from ./lib/sup.rb:28:in `yaml_properties'
713 from /usr/lib/ruby/1.8/yaml.rb:133:in `call'
714 from /usr/lib/ruby/1.8/yaml.rb:133:in `transfer'
715 from /usr/lib/ruby/1.8/yaml.rb:133:in `node_import'
716 from /usr/lib/ruby/1.8/yaml.rb:133:in `load'
717 ... 6 levels...
718 from ./lib/sup/index.rb:101:in `load'
719 from ./lib/sup/util.rb:401:in `send'
720 from ./lib/sup/util.rb:401:in `method_missing'
721 from bin/sup:89
722 checking for messages to delete...
723 ./lib/sup/util.rb:7: warning: method redefined; discarding old gen_lock_id
724 ./lib/sup/util.rb:18: warning: method redefined; discarding old dump_lock_id
725 ./lib/sup/mbox/loader.rb:20:in `initialize': Too many open files - /home/jeff/mail/turbotax at mailca.custhelp.com-2007-02 (Errno::EMFILE)
726 from ./lib/sup/mbox/loader.rb:20:in `open'
727 from ./lib/sup/mbox/loader.rb:20:in `initialize'
728 from ./lib/sup.rb:28:in `new'
729 from ./lib/sup.rb:28:in `yaml_properties'
730 from /usr/lib/ruby/1.8/yaml.rb:133:in `call'
731 from /usr/lib/ruby/1.8/yaml.rb:133:in `transfer'
732 from /usr/lib/ruby/1.8/yaml.rb:133:in `node_import'
733 from /usr/lib/ruby/1.8/yaml.rb:133:in `load'
734 from /usr/lib/ruby/1.8/yaml.rb:133:in `load'
735 from /usr/lib/ruby/1.8/yaml.rb:144:in `load_file'
736 from /usr/lib/ruby/1.8/yaml.rb:143:in `open'
737 from /usr/lib/ruby/1.8/yaml.rb:143:in `load_file'
738 from ./lib/sup.rb:99:in `load_yaml_obj'
739 from ./lib/sup/index.rb:348:in `load_sources'
740 from ./lib/sup/index.rb:101:in `load'
741 from bin/sup-dump:25
742
743
744 thanks,
745
746 --
747 jeff covey
748 http://jeffcovey.net/
749
750
751 From wmorgan-sup@masanjin.net Sat Aug 18 20:12:27 2007
752 From: wmorgan-sup@masanjin.net (William Morgan)
753 Date: Sat, 18 Aug 2007 17:12:27 -0700
754 Subject: [sup-talk] [ANN] Sup 0.1 released
755 In-Reply-To: <1184875869-sup-9220@south>
756 References: <1184871475-sup-2598@eugen-laptop> <1184875869-sup-9220@south>
757 Message-ID: <1187482320-sup-7409@south>
758
759 Excerpts from William Morgan's message of Thu Jul 19 13:29:30 -0700 2007:
760 > > - polling with fetchmail
761 > > I use fetchmail and I'd like to be able to add some sort of hook before
762 > > polling that would run fetchmail first.
763
764 I'm about to commit a changeset that makes this possible.
765
766 --
767 William <wmorgan-sup at masanjin.net>
768
769 From wmorgan-sup@masanjin.net Sat Aug 18 20:30:04 2007
770 From: wmorgan-sup@masanjin.net (William Morgan)
771 Date: Sat, 18 Aug 2007 17:30:04 -0700
772 Subject: [sup-talk] new mail notification hook
773 In-Reply-To: <1180149989-sup-4780@doses>
774 References: <1180149989-sup-4780@doses>
775 Message-ID: <1187483373-sup-6117@south>
776
777 Excerpts from brian's message of Fri May 25 20:31:39 -0700 2007:
778 > I'd like it if there were a global or per-account setting in
779 > config.yaml specifying a program to run when new mail arrives.
780
781 The same changeset I'm about to commit also will make this possible. Go
782 me.
783
784 --
785 William <wmorgan-sup at masanjin.net>
786
787 From wmorgan-sup@masanjin.net Sat Aug 18 21:03:57 2007
788 From: wmorgan-sup@masanjin.net (William Morgan)
789 Date: Sat, 18 Aug 2007 18:03:57 -0700
790 Subject: [sup-talk] new in svn: hook system and polling hooks
791 Message-ID: <1187484773-sup-6336@south>
792
793 I've added a system for hooking user-created code into Sup. (Finally!)
794
795 Sup hooks take the form of Ruby scripts, placed in ~/.sup/hooks. Each
796 hook corresponds to a file in that directory. To see documentation on
797 the available hooks, just run "sup -l".
798
799 Hooks are passed information in the form of local "variables" (really
800 method calls, so don't try assigning to them). There are two
801 Sup-specific functions they can call, "say" and "log". "say" will write
802 a temporary message to the bottom portion of the screen, which is erased
803 when the hook stops executing. "log" will write a message to the sup
804 log.
805
806 There are only two hooks right now, before-poll and after-poll.
807 Before-poll should satisfy the desire of fetchmail users and after-poll
808 should satisfy the desire of all xbiff users.
809
810 Future work:
811 Allow sharing of information between successive invocations via instance
812 variables; and add lots of hooks (some kind of mime handler is probably
813 my immediate goal.)
814
815 --
816 William <wmorgan-sup at masanjin.net>
817
818 From wmorgan-sup@masanjin.net Sun Aug 19 21:30:26 2007
819 From: wmorgan-sup@masanjin.net (William Morgan)
820 Date: Sun, 19 Aug 2007 18:30:26 -0700
821 Subject: [sup-talk] new in svn: hook system and polling hooks
822 In-Reply-To: <1187484773-sup-6336@south>
823 References: <1187484773-sup-6336@south>
824 Message-ID: <1187573304-sup-2892@south>
825
826 Excerpts from William Morgan's message of Sat Aug 18 18:03:57 -0700 2007:
827 > Future work:
828 > Allow sharing of information between successive invocations via instance
829 > variables
830
831 Ok, this is in. Here's how I'm handling fetchmail invocation. In
832 hooks/before-poll.rb:
833
834 if (@last_fetchmail_time || Time.at(0)) < Time.now - 60
835 say "Running fetchmail..."
836 system "fetchmail >& /dev/null"
837 end
838 @last_fetchmail_time = Time.now
839
840
841 --
842 William <wmorgan-sup at masanjin.net>
843
844 From wmorgan-sup@masanjin.net Sun Aug 19 22:20:53 2007
845 From: wmorgan-sup@masanjin.net (William Morgan)
846 Date: Sun, 19 Aug 2007 19:20:53 -0700
847 Subject: [sup-talk] new in svn: behavior modification
848 Message-ID: <1187576254-sup-4081@south>
849
850 When the configuration variable :confirm_no_attachments is true, if you
851 use words like "attach", "attachment", or "attached" in your email and
852 don't have any attachments, Sup will prompt you before sending.
853
854 When the configuration variable :confirm_top_posting is true, if you
855 top-post, Sup will tell you that you are a bad person and will prompt
856 you to confirm that before posting.
857
858 Both of these will be true when a default config.yaml is generated, but
859 are considered false if they're not explicitly specified. So if you
860 already have a config.yaml and want these behaviors you'll have to add
861 them.
862
863 --
864 William <wmorgan-sup at masanjin.net>
865
866 From wmorgan-sup@masanjin.net Mon Aug 20 01:15:21 2007
867 From: wmorgan-sup@masanjin.net (William Morgan)
868 Date: Sun, 19 Aug 2007 22:15:21 -0700
869 Subject: [sup-talk] messages wrongly labeled as drafts
870 In-Reply-To: <1187313405-sup-8302@mona>
871 References: <1187313405-sup-8302@mona>
872 Message-ID: <1187586863-sup-8638@south>
873
874 Excerpts from jeff.covey's message of Thu Aug 16 18:20:33 -0700 2007:
875 > i postponed a message, then came back to it, finished it, and sent it.
876 > the thread still appears with a "draft" label, which i can't remove.
877 > there are currently no draft messages waiting to be finished, but if i
878 > hit "R", i get this exception:
879
880 Hm. I'm having trouble reproducing this. Are you able to reproduce it?
881
882 --
883 William <wmorgan-sup at masanjin.net>
884
885 From wmorgan-sup@masanjin.net Mon Aug 20 02:52:02 2007
886 From: wmorgan-sup@masanjin.net (William Morgan)
887 Date: Sun, 19 Aug 2007 23:52:02 -0700
888 Subject: [sup-talk] keypress causes crash
889 In-Reply-To: <1187450158-sup-2106@zap>
890 References: <1187450158-sup-2106@zap>
891 Message-ID: <1187592592-sup-6200@south>
892
893 Excerpts from Ian Taylor's message of Sat Aug 18 08:17:48 -0700 2007:
894 > In the message list view, when I hit ctrl-4, it causes sup to crash. I
895 > meant to type '$', but that irrelevant.
896
897 I think this is some crazy Ncurses thing. It seems to work with top
898 and mutt. I think I'm going to leave it as is.
899
900 --
901 William <wmorgan-sup at masanjin.net>
902
903 From itaylor@uark.edu Mon Aug 20 05:18:44 2007
904 From: itaylor@uark.edu (Ian Taylor)
905 Date: Mon, 20 Aug 2007 05:18:44 -0400
906 Subject: [sup-talk] crash when replying to message from self
907 Message-ID: <1187601390-sup-7453@zap>
908
909 If I send a mail to one of the addresses I'm receiving mail for and then
910 reply to it, sup crashes.
911
912 The problem was: 'undefined method `email' for nil:NilClass' (error type NoMethodError)
913 A backtrace follows:
914 /usr/lib64/ruby/gems/1.8/gems/sup-0.1/lib/sup/modes/edit-message-mode.rb:291:in `sig_lines': undefined method `email' for nil:NilClass (NoMethodError)
915 from /usr/lib64/ruby/gems/1.8/gems/sup-0.1/lib/sup/modes/edit-message-mode.rb:126:in `regen_text'
916 from /usr/lib64/ruby/gems/1.8/gems/sup-0.1/lib/sup/modes/edit-message-mode.rb:41:in `initialize'
917 from /usr/lib64/ruby/gems/1.8/gems/sup-0.1/lib/sup/modes/reply-mode.rb:84:in `initialize'
918 from /usr/lib64/ruby/gems/1.8/gems/sup-0.1/lib/sup/modes/thread-index-mode.rb:326:in `new'
919 from /usr/lib64/ruby/gems/1.8/gems/sup-0.1/lib/sup/modes/thread-index-mode.rb:326:in `reply'
920 from /usr/lib64/ruby/gems/1.8/gems/sup-0.1/lib/sup/mode.rb:52:in `send'
921 from /usr/lib64/ruby/gems/1.8/gems/sup-0.1/lib/sup/mode.rb:52:in `handle_input'
922 from /usr/lib64/ruby/gems/1.8/gems/sup-0.1/lib/sup/buffer.rb:193:in `handle_input'
923 from /usr/lib64/ruby/gems/1.8/gems/sup-0.1/bin/sup:192
924 from /usr/bin/sup:16:in `load'
925 from /usr/bin/sup:16
926
927 --
928 Ian Taylor, Technical Assistant
929 Computer Science Computer Engineering
930 http://www.csce.uark.edu itaylor at uark.edu
931 University of Arkansas
932
933
934 From jeff.covey@pobox.com Mon Aug 20 06:04:36 2007
935 From: jeff.covey@pobox.com (jeff covey)
936 Date: Mon, 20 Aug 2007 06:04:36 -0400
937 Subject: [sup-talk] messages wrongly labeled as drafts
938 In-Reply-To: <1187586863-sup-8638@south>
939 References: <1187313405-sup-8302@mona> <1187586863-sup-8638@south>
940 Message-ID: <1187603525-sup-4036@mona>
941
942 Excerpts from William Morgan's message of Mon Aug 20 01:15:21 -0400 2007:
943
944 > > i postponed a message, then came back to it, finished it, and sent it.
945 > > the thread still appears with a "draft" label, which i can't remove.
946 > > there are currently no draft messages waiting to be finished, but if i
947 > > hit "R", i get this exception:
948 >
949 > Hm. I'm having trouble reproducing this. Are you able to reproduce it?
950
951 there's definitely something odd going on with drafts. i'm trying to work
952 on another draft message now. i started writing it and postponed it. when
953 i came back to it, added to it, and exited the editor, i hit "P" to postpone
954 it again. the next time i tried to edit it some more, my additions from the
955 second editing session were gone. i added a bit of text again as a trial,
956 and when i exited the editor and postponed, that addition was gone as well.
957 i tried once again, and this time after exiting the editor, i hit "x" to
958 kill the buffer. i was asked "discard draft?", and when i hit "n", i got
959 the exception below.
960
961 when i restarted sup, i had three draft messages in my inbox, one for each
962 of my attempts (minus the one with the exception), and there are files named
963 "1", "2", and "3" in ~/.sup/drafts, each with a slightly different version
964 of the message.
965
966
967 [Mon Aug 20 05:51:18 -0400 2007] stopped cursing
968 [Mon Aug 20 05:51:18 -0400 2007] oh crap, an exception
969 [Mon Aug 20 05:51:18 -0400 2007] unlocking /home/jeff/.sup/lock...
970 ----------------------------------------------------------------
971 I'm very sorry, but it seems that an error occurred in Sup.
972 Please accept my sincere apologies. If you don't mind, please
973 send the backtrace below and a brief report of the circumstances
974 to sup-talk at rubyforge dot orgs so that I might address this
975 problem. Thank you!
976
977 Sincerely,
978 William
979 ----------------------------------------------------------------
980
981 The problem was: 'undefined method `to_nice_s' for nil:NilClass' (error type NoMethodError)
982 A backtrace follows:
983 ./lib/sup/modes/thread-index-mode.rb:449:in `text_for_thread': undefined method `to_nice_s' for nil:NilClass (NoMethodError)
984 from ./lib/sup/modes/thread-index-mode.rb:431:in `regen_text'
985 from ./lib/sup/util.rb:233:in `map_with_index'
986 from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `each_with_index'
987 from ./lib/sup/util.rb:233:in `each'
988 from ./lib/sup/util.rb:233:in `each_with_index'
989 from ./lib/sup/util.rb:233:in `map_with_index'
990 from ./lib/sup/modes/thread-index-mode.rb:431:in `regen_text'
991 from ./lib/sup/modes/thread-index-mode.rb:137:in `update'
992 ... 9 levels...
993 from ./lib/sup/util.rb:387:in `method_missing'
994 from ./lib/sup/modes/resume-mode.rb:25:in `killable?'
995 from ./lib/sup/buffer.rb:317:in `kill_buffer_safely'
996 from bin/sup:205
997
998
999 thanks,
1000
1001 --
1002 jeff covey
1003 http://jeffcovey.net/
1004
1005
1006 From wmorgan-sup@masanjin.net Mon Aug 20 13:01:11 2007
1007 From: wmorgan-sup@masanjin.net (William Morgan)
1008 Date: Mon, 20 Aug 2007 10:01:11 -0700
1009 Subject: [sup-talk] messages wrongly labeled as drafts
1010 In-Reply-To: <1187603525-sup-4036@mona>
1011 References: <1187313405-sup-8302@mona> <1187586863-sup-8638@south>
1012 <1187603525-sup-4036@mona>
1013 Message-ID: <1187629181-sup-1057@south>
1014
1015 Excerpts from jeff.covey's message of Mon Aug 20 03:04:36 -0700 2007:
1016 > there's definitely something odd going on with drafts. i'm trying to
1017 > work on another draft message now. i started writing it and postponed
1018 > it. when i came back to it, added to it, and exited the editor, i hit
1019 > "P" to postpone it again. the next time i tried to edit it some more,
1020 > my additions from the second editing session were gone. i added a bit
1021 > of text again as a trial, and when i exited the editor and postponed,
1022 > that addition was gone as well. i tried once again, and this time
1023 > after exiting the editor, i hit "x" to kill the buffer. i was asked
1024 > "discard draft?", and when i hit "n", i got the exception below.
1025
1026 Bizarre. This all works for me, and has for months. Does draft saving
1027 and resuming work for other people?
1028
1029 > The problem was: 'undefined method `to_nice_s' for nil:NilClass' (error type
1030 > NoMethodError)
1031 > A backtrace follows:
1032 > ./lib/sup/modes/thread-index-mode.rb:449:in `text_for_thread': undefined method
1033
1034 Can you send me the contents of sup-exception-log.txt, which contains
1035 the full backtrace? (The ruby stdout one elides a critical section in
1036 this case.)
1037
1038 Thanks,
1039
1040 --
1041 William <wmorgan-sup at masanjin.net>
1042
1043 From jeff.covey@pobox.com Mon Aug 20 08:28:41 2007
1044 From: jeff.covey@pobox.com (jeff covey)
1045 Date: Mon, 20 Aug 2007 08:28:41 -0400
1046 Subject: [sup-talk] messages wrongly labeled as drafts
1047 In-Reply-To: <1187603525-sup-4036@mona>
1048 References: <1187313405-sup-8302@mona> <1187586863-sup-8638@south>
1049 <1187603525-sup-4036@mona>
1050 Message-ID: <1187612763-sup-8524@mona>
1051
1052 Excerpts from jeff covey's message of Mon Aug 20 06:04:36 -0400 2007:
1053
1054 > when i restarted sup, i had three draft messages in my inbox, one for each
1055 > of my attempts (minus the one with the exception), and there are files
1056 > named "1", "2", and "3" in ~/.sup/drafts, each with a slightly different
1057 > version of the message.
1058
1059 i finished and sent the message and deleted the thread with the three
1060 messages in sup, but the three files are still in ~/.sup/drafts.
1061
1062 thanks,
1063
1064 --
1065 jeff covey
1066 http://jeffcovey.net/
1067
1068
1069 From jeff.covey@pobox.com Tue Aug 21 14:19:35 2007
1070 From: jeff.covey@pobox.com (jeff covey)
1071 Date: Tue, 21 Aug 2007 14:19:35 -0400
1072 Subject: [sup-talk] messages wrongly labeled as drafts
1073 In-Reply-To: <1187629181-sup-1057@south>
1074 References: <1187313405-sup-8302@mona> <1187586863-sup-8638@south>
1075 <1187603525-sup-4036@mona> <1187629181-sup-1057@south>
1076 Message-ID: <1187720230-sup-999@mona>
1077
1078 Excerpts from William Morgan's message of Mon Aug 20 13:01:11 -0400 2007:
1079
1080 > Can you send me the contents of sup-exception-log.txt, which contains the
1081 > full backtrace?
1082
1083 there was nothing in there about it. the exception with the draft messages
1084 occurred on 8/20, and this is the full contents of sup-exception-log.txt:
1085
1086 --- TypeError at Sat Aug 18 08:07:08 -0400 2007
1087 wrong argument type FalseClass (expected Thread)
1088 ./lib/sup/buffer.rb:239:in `unlock'
1089 ./lib/sup/buffer.rb:239:in `draw_screen'
1090 ./lib/sup/buffer.rb:575:in `say'
1091 ./lib/sup/util.rb:401:in `send'
1092 ./lib/sup/util.rb:401:in `method_missing'
1093 ./lib/sup/modes/thread-index-mode.rb:72:in `select'
1094 ./lib/sup.rb:68:in `reporting_thread'
1095 ./lib/sup.rb:66:in `initialize'
1096 ./lib/sup.rb:66:in `new'
1097 ./lib/sup.rb:66:in `reporting_thread'
1098 ./lib/sup/modes/thread-index-mode.rb:71:in `select'
1099 ./lib/sup/mode.rb:52:in `send'
1100 ./lib/sup/mode.rb:52:in `handle_input'
1101 ./lib/sup/buffer.rb:191:in `handle_input'
1102 bin/sup:186
1103
1104 thanks,
1105
1106 --
1107 jeff covey
1108 http://jeffcovey.net/
1109
1110
1111 From jeff.covey@pobox.com Thu Aug 23 08:21:04 2007
1112 From: jeff.covey@pobox.com (jeff covey)
1113 Date: Thu, 23 Aug 2007 08:21:04 -0400
1114 Subject: [sup-talk] exception on attaching an html file
1115 Message-ID: <1187871532-sup-6972@mona>
1116
1117 i just got this when i tried to attach an html file to a message and send
1118 it:
1119
1120 endmail: fatal: No recipient addresses found in message header
1121 [Thu Aug 23 08:13:19 -0400 2007] stopped cursing
1122 [Thu Aug 23 08:13:19 -0400 2007] oh crap, an exception
1123 [Thu Aug 23 08:13:19 -0400 2007] unlocking /home/jeff/.sup/lock...
1124 ----------------------------------------------------------------
1125 I'm very sorry, but it seems that an error occurred in Sup.
1126 Please accept my sincere apologies. If you don't mind, please
1127 send the backtrace below and a brief report of the circumstances
1128 to sup-talk at rubyforge dot orgs so that I might address this
1129 problem. Thank you!
1130
1131 Sincerely,
1132 William
1133 ----------------------------------------------------------------
1134
1135 The problem was: '8bit' (error type RMail::EncodingUnsupportedError)
1136 A backtrace follows:
1137 ./lib/sup/util.rb:81:in `add_attachment': 8bit (RMail::EncodingUnsupportedError)
1138 from ./lib/sup/modes/edit-message-mode.rb:251:in `write_full_message_to'
1139 from ./lib/sup/modes/edit-message-mode.rb:251:in `each'
1140 from ./lib/sup/modes/edit-message-mode.rb:251:in `write_full_message_to'
1141 from ./lib/sup/modes/edit-message-mode.rb:206:in `send_message'
1142 from ./lib/sup/modes/edit-message-mode.rb:206:in `popen'
1143 from ./lib/sup/modes/edit-message-mode.rb:206:in `send_message'
1144 from ./lib/sup/mode.rb:52:in `send'
1145 from ./lib/sup/mode.rb:52:in `handle_input'
1146 from ./lib/sup/buffer.rb:193:in `handle_input'
1147 from bin/sup:192
1148
1149
1150 thanks,
1151
1152 --
1153 jeff covey
1154 http://jeffcovey.net/
1155
1156
1157 From wmorgan-sup@masanjin.net Thu Aug 23 13:26:26 2007
1158 From: wmorgan-sup@masanjin.net (William Morgan)
1159 Date: Thu, 23 Aug 2007 10:26:26 -0700
1160 Subject: [sup-talk] exception on attaching an html file
1161 In-Reply-To: <1187871532-sup-6972@mona>
1162 References: <1187871532-sup-6972@mona>
1163 Message-ID: <1187889791-sup-1353@south>
1164
1165 Excerpts from jeff.covey's message of Thu Aug 23 05:21:04 -0700 2007:
1166 > The problem was: '8bit' (error type RMail::EncodingUnsupportedError)
1167
1168 Should be fixed in SVN. For a good time, read about when to use 8bit
1169 versus quoted-printable encoding for MIME attachments, and the history
1170 behind it all. And by "good" I mean "eyeball-stab-inducing".
1171
1172 --
1173 William <wmorgan-sup at masanjin.net>
1174
1175 From wmorgan-sup@masanjin.net Thu Aug 23 13:33:44 2007
1176 From: wmorgan-sup@masanjin.net (William Morgan)
1177 Date: Thu, 23 Aug 2007 10:33:44 -0700
1178 Subject: [sup-talk] crash when replying to message from self
1179 In-Reply-To: <1187601390-sup-7453@zap>
1180 References: <1187601390-sup-7453@zap>
1181 Message-ID: <1187890335-sup-8084@south>
1182
1183 Excerpts from Ian Taylor's message of Mon Aug 20 02:18:44 -0700 2007:
1184 > If I send a mail to one of the addresses I'm receiving mail for and
1185 > then reply to it, sup crashes.
1186
1187 Seems like this would only happen if the header were somehow missing a
1188 From: address, like you edited the message and deleted that line or
1189 something. Try the latest SVN... it at least shouldn't crash under this
1190 circumstance any more.
1191
1192 --
1193 William <wmorgan-sup at masanjin.net>
1194
1195 From wmorgan-sup@masanjin.net Thu Aug 23 13:40:33 2007
1196 From: wmorgan-sup@masanjin.net (William Morgan)
1197 Date: Thu, 23 Aug 2007 10:40:33 -0700
1198 Subject: [sup-talk] messages wrongly labeled as drafts
1199 In-Reply-To: <1187720230-sup-999@mona>
1200 References: <1187313405-sup-8302@mona> <1187586863-sup-8638@south>
1201 <1187603525-sup-4036@mona> <1187629181-sup-1057@south>
1202 <1187720230-sup-999@mona>
1203 Message-ID: <1187890660-sup-9135@south>
1204
1205 Excerpts from jeff.covey's message of Tue Aug 21 11:19:35 -0700 2007:
1206 > there was nothing in there about it. the exception with the draft messages
1207 > occurred on 8/20, and this is the full contents of sup-exception-log.txt:
1208 >
1209 > --- TypeError at Sat Aug 18 08:07:08 -0400 2007
1210 > wrong argument type FalseClass (expected Thread)
1211
1212 Hm, this is some other unrelated completely scary backtrace. I'm going
1213 to ignore it and pretend it never happened.
1214
1215 My guess at this point is that the index and your drafts directory
1216 somehow got out of sync. Can you run "sup-sync -va sup://drafts" and see
1217 if that clears up the problem?
1218
1219 Thanks for the patience,
1220
1221 --
1222 William <wmorgan-sup at masanjin.net>
1223
1224 From jeff.covey@pobox.com Thu Aug 23 18:05:01 2007
1225 From: jeff.covey@pobox.com (jeff covey)
1226 Date: Thu, 23 Aug 2007 18:05:01 -0400
1227 Subject: [sup-talk] messages wrongly labeled as drafts
1228 In-Reply-To: <1187890660-sup-9135@south>
1229 References: <1187313405-sup-8302@mona> <1187586863-sup-8638@south>
1230 <1187603525-sup-4036@mona> <1187629181-sup-1057@south>
1231 <1187720230-sup-999@mona> <1187890660-sup-9135@south>
1232 Message-ID: <1187906598-sup-9501@mona>
1233
1234 Excerpts from William Morgan's message of Thu Aug 23 13:40:33 -0400 2007:
1235
1236 > Can you run "sup-sync -va sup://drafts" and see if that clears up the
1237 > problem?
1238
1239 hey, that seems to have found something:
1240
1241 ./lib/sup/util.rb:7: warning: method redefined; discarding old gen_lock_id
1242 ./lib/sup/util.rb:18: warning: method redefined; discarding old dump_lock_id
1243 bin/sup-sync:9: warning: method redefined; discarding old to_s
1244 [Thu Aug 23 18:00:21 -0400 2007] locking /home/jeff/.sup/lock...
1245 [Thu Aug 23 18:00:21 -0400 2007] loading index...
1246 [Thu Aug 23 18:00:21 -0400 2007] loaded index of 1066 messages
1247 Scanning sup://drafts...
1248 Scanned 0, added 0, updated 0 messages from sup://drafts.
1249 Deleting missing messages from the index...
1250 Deleting 1187603448-sup-5121 at mona
1251 Deleting 1187603421-sup-9743 at mona
1252 Deleting 1187603324-sup-7344 at mona
1253 Deleted 3 / 3 messages
1254 [Thu Aug 23 18:00:21 -0400 2007] saving index and sources...
1255 [Thu Aug 23 18:00:21 -0400 2007] unlocking /home/jeff/.sup/lock...
1256
1257 but postponing this message, editing it again, and postponing again still
1258 results in two draft messages.
1259
1260 thanks,
1261
1262 --
1263 jeff covey
1264 http://jeffcovey.net/
1265
1266
1267
1268 From jeff.covey@pobox.com Fri Aug 24 19:48:08 2007
1269 From: jeff.covey@pobox.com (jeff covey)
1270 Date: Fri, 24 Aug 2007 19:48:08 -0400
1271 Subject: [sup-talk] exception on attaching an html file
1272 In-Reply-To: <1187889791-sup-1353@south>
1273 References: <1187871532-sup-6972@mona> <1187889791-sup-1353@south>
1274 Message-ID: <1187999085-sup-8324@mona>
1275
1276 Excerpts from William Morgan's message of Thu Aug 23 13:26:26 -0400 2007:
1277
1278 > Should be fixed in SVN.
1279
1280 seems to be working fine, thanks!
1281
1282 any chance the filename completion system for finding files to attach could
1283 also be used for saving attachments? it's awkward to type the full pathname
1284 to where you want a file to go.
1285
1286 --
1287 jeff covey
1288 http://jeffcovey.net/
1289
1290
1291 From wmorgan-sup@masanjin.net Sat Aug 25 01:56:08 2007
1292 From: wmorgan-sup@masanjin.net (William Morgan)
1293 Date: Fri, 24 Aug 2007 22:56:08 -0700
1294 Subject: [sup-talk] exception on attaching an html file
1295 In-Reply-To: <1187999085-sup-8324@mona>
1296 References: <1187871532-sup-6972@mona> <1187889791-sup-1353@south>
1297 <1187999085-sup-8324@mona>
1298 Message-ID: <1188021356-sup-4920@south>
1299
1300 Excerpts from jeff.covey's message of Fri Aug 24 16:48:08 -0700 2007:
1301 > any chance the filename completion system for finding files to attach
1302 > could also be used for saving attachments? it's awkward to type the
1303 > full pathname to where you want a file to go.
1304
1305 Good point. Done.
1306
1307 --
1308 William <wmorgan-sup at masanjin.net>
1309
1310 From wmorgan-sup@masanjin.net Mon Aug 27 16:32:56 2007
1311 From: wmorgan-sup@masanjin.net (William Morgan)
1312 Date: Mon, 27 Aug 2007 13:32:56 -0700
1313 Subject: [sup-talk] [Ferret-trac] #279: IO Error - Error reading the
1314 segment infos
1315 In-Reply-To: <20070818121815.GA11346@mona.jeffcovey.net>
1316 References: <1187154980-sup-1906@south>
1317 <20070818121815.GA11346@mona.jeffcovey.net>
1318 Message-ID: <1188246610-sup-553@south>
1319
1320 Excerpts from jeff.covey's message of Sat Aug 18 05:18:15 -0700 2007:
1321 > i tried this, setting it to 32768 as he recommended, then adding my
1322 > archive sources from the beginning of the year (i had been working
1323 > with just messages from the past month). it caused a lot of
1324 > exceptions in sup and some segmentation faults in ruby.
1325
1326 Sup does keep a filehandle open to every mbox source. Since sources
1327 aren't read except when you open a thread-view-mode, it probably
1328 wouldn't be too bad to just open them on demand. That might help.
1329
1330 --
1331 William <wmorgan-sup at masanjin.net>
1332
1333 From jeff.covey@pobox.com Tue Aug 28 17:48:01 2007
1334 From: jeff.covey@pobox.com (jeff covey)
1335 Date: Tue, 28 Aug 2007 17:48:01 -0400
1336 Subject: [sup-talk] [Ferret-trac] #279: IO Error - Error reading the
1337 segment infos
1338 In-Reply-To: <1188246610-sup-553@south>
1339 References: <1187154980-sup-1906@south>
1340 <20070818121815.GA11346@mona.jeffcovey.net>
1341 <1188246610-sup-553@south>
1342 Message-ID: <1188337653-sup-1735@mona>
1343
1344 Excerpts from William Morgan's message of Mon Aug 27 16:32:56 -0400 2007:
1345
1346 > Sup does keep a filehandle open to every mbox source.
1347
1348 yikes, no wonder it complains! :)
1349
1350 --
1351 jeff covey
1352 http://jeffcovey.net/
1353
1354
1355 From wmorgan-sup@masanjin.net Wed Aug 29 00:15:23 2007
1356 From: wmorgan-sup@masanjin.net (William Morgan)
1357 Date: Tue, 28 Aug 2007 21:15:23 -0700
1358 Subject: [sup-talk] new in svn: mime-type hook
1359 Message-ID: <1188360667-sup-3717@south>
1360
1361 There's a new hook for all your MIME decoding needs:
1362
1363 mime-decode
1364 -----------
1365 File: ~/.sup/hooks/mime-decode.rb
1366 Executes when decoding a MIME attachment.
1367 Variables:
1368 content_type: the content-type of the message
1369 filename: the filename of the attachment as saved to disk (generated
1370 on the fly, so don't call more than once)
1371 sibling_types: if this attachment is part of a multipart MIME attachment,
1372 an array of content-types for all attachments. Otherwise,
1373 the empty array.
1374 Return value:
1375 The decoded text of the attachment, or nil if not decoded.
1376
1377 Here's what I use for mime-decode.rb. It uses w3m to translate all HTML
1378 attachments that don't have a text/html alternative:
1379
1380 unless sibling_types.member? "text/plain"
1381 case content_type
1382 when "text/html"
1383 `/usr/bin/w3m -dump -T #{content_type} '#{filename}'`
1384 end
1385 end
1386
1387
1388 --
1389 William <wmorgan-sup at masanjin.net>
1390
1391 From itaylor@uark.edu Thu Aug 30 15:47:19 2007
1392 From: itaylor@uark.edu (Ian Taylor)
1393 Date: Thu, 30 Aug 2007 15:47:19 -0400
1394 Subject: [sup-talk] fwd mail w/attachment doesn't contain attachment
1395 Message-ID: <1188503143-sup-7979@zap>
1396
1397 When forwarding a mail with an attachment, the fwd message doesn't seem
1398 to contain the attachment.
1399
1400 --
1401 Ian Taylor, Technical Assistant
1402 Computer Science Computer Engineering
1403 http://www.csce.uark.edu itaylor at uark.edu
1404 University of Arkansas
1405
1406
1407 From jeff.covey@pobox.com Thu Aug 30 15:50:47 2007
1408 From: jeff.covey@pobox.com (jeff covey)
1409 Date: Thu, 30 Aug 2007 15:50:47 -0400
1410 Subject: [sup-talk] sup-sync-back not syncing all usual sources
1411 In-Reply-To: <1184091559-sup-1633@south>
1412 References: <1181836972-sup-1140@mona> <1182112191-sup-9971@south>
1413 <1182126871-sup-7739@mona> <1184091559-sup-1633@south>
1414 Message-ID: <1188503036-sup-4823@mona>
1415
1416 Excerpts from William Morgan's message of Tue Jul 10 14:21:57 -0400 2007:
1417
1418 > > it now spits out the names of all of my usual sources and moves deleted
1419 > > files from some, but not all of them.
1420 >
1421 > This I'm still not sure about and I can't replicate. a) Does it still
1422 > happen with recent SVN, and b) are there any distinguishing features about
1423 > which sources it moves stuff from and which it wrongly ignores?
1424
1425 i just tried running sup-sync-back without specifying any sources for a
1426 week, then ran my script to look for messages waiting to be deleted. my
1427 script didn't find anything, so this seems to be working fine for me now.
1428
1429 thanks,
1430
1431 --
1432 jeff covey
1433 http://jeffcovey.net/
1434
1435
1436 From wmorgan-sup@masanjin.net Thu Aug 30 18:08:40 2007
1437 From: wmorgan-sup@masanjin.net (William Morgan)
1438 Date: Thu, 30 Aug 2007 15:08:40 -0700
1439 Subject: [sup-talk] fwd mail w/attachment doesn't contain attachment
1440 In-Reply-To: <1188503143-sup-7979@zap>
1441 References: <1188503143-sup-7979@zap>
1442 Message-ID: <1188511641-sup-6069@south>
1443
1444 Excerpts from Ian Taylor's message of Thu Aug 30 12:47:19 -0700 2007:
1445 > When forwarding a mail with an attachment, the fwd message doesn't
1446 > seem to contain the attachment.
1447
1448 Yeah... I have a partial implementation of better attachment code that
1449 should allow both this and attaching messages. I'm hoping to find some
1450 time to finish it up over the long weekend.
1451
1452 --
1453 William <wmorgan-sup at masanjin.net>
1454
1455 From wmorgan-sup@masanjin.net Fri Aug 31 12:09:10 2007
1456 From: wmorgan-sup@masanjin.net (William Morgan)
1457 Date: Fri, 31 Aug 2007 09:09:10 -0700
1458 Subject: [sup-talk] new in svn: signature generation hook
1459 Message-ID: <1188576459-sup-2368@south>
1460
1461 Check out my new awesome sig. I made it by putting this code in
1462 ~/.sup/hooks/signature.rb:
1463
1464 if from_email
1465 title = "War Lord of the Sup"
1466 padding = " " * (73 - title.length - from_email.length)
1467 <<'EOS' +
1468 _____________________________________________________________________________
1469 | |
1470 | | \ | / | |
1471 | |\ \|/ /| |
1472 | |XXXXX||>>>>>>>>>>>>>>>>>>>>>>> ((*)) <<<<<<<<<<<<<<<<<<<<<<<||XXXXX| |
1473 | |/ /|\ \| |
1474 | | / | \ | |
1475 | |
1476 | Death Star |
1477 EOS
1478 <<EOS
1479 | #{title}#{padding}#{from_email} |
1480 |___________________________________________________________________________|
1481
1482 EOS
1483 end
1484
1485 Here's the hook documentation:
1486
1487 File: ~/.sup/hooks/signature.rb
1488 Generates a signature for a message.
1489 Variables:
1490 header: an object that supports string-to-string hashtable-style access
1491 to the raw headers for the message. E.g., header["From"],
1492 header["To"], etc.
1493 from_email: the email part of the From: line, or nil if empty
1494 Return value:
1495 A string (multi-line ok) containing the text of the signature, or nil to
1496 use the default signature.
1497
1498 Have fun,
1499
1500 --
1501 _____________________________________________________________________________
1502 | |
1503 | | \ | / | |
1504 | |\ \|/ /| |
1505 | |XXXXX||>>>>>>>>>>>>>>>>>>>>>>> ((*)) <<<<<<<<<<<<<<<<<<<<<<<||XXXXX| |
1506 | |/ /|\ \| |
1507 | | / | \ | |
1508 | |
1509 | Death Star |
1510 | War Lord of the Sup wmorgan-sup at masanjin.net |
1511 |___________________________________________________________________________|
1512
1513 From jeff.covey@pobox.com Fri Aug 31 15:02:44 2007
1514 From: jeff.covey@pobox.com (jeff covey)
1515 Date: Fri, 31 Aug 2007 15:02:44 -0400
1516 Subject: [sup-talk] new in svn: mime-type hook
1517 In-Reply-To: <1188360667-sup-3717@south>
1518 References: <1188360667-sup-3717@south>
1519 Message-ID: <1188586680-sup-8783@mona>
1520
1521 Excerpts from William Morgan's message of Wed Aug 29 00:15:23 -0400 2007:
1522
1523 > File: ~/.sup/hooks/mime-decode.rb
1524
1525 it's working for me, thanks! a lot of messages are finally showing
1526 something other than a single "attachment" line. :)
1527
1528 in the process of making this, did something go wrong with sup's decoding of
1529 ordinary messages? i'm seeing a lot of messages with equals marks at the
1530 ends of lines, like:
1531
1532 > This e-mail notifies you that the Bureau of the Public Debt just issued=
1533 > a press
1534 > release concerning the securities identified in the subject area of thi=
1535 > s
1536 > message. =A0Clicking on the address listed above after "Press Release" =
1537 > should take
1538 > you to Public Debt's Internet page of a PDF version of the actual press=
1539
1540 here's a copy of the original message from which this was taken:
1541
1542 http://jeffcovey.net/tmp/.sup-equals.txt
1543
1544 this was happening before and after i created my ~/.sup/hooks/mime-decode.rb
1545 file.
1546
1547 thanks,
1548
1549 --
1550 jeff covey
1551 http://jeffcovey.net/
1552
1553
1554 From magnus@therning.org Fri Aug 31 15:36:14 2007
1555 From: magnus@therning.org (Magnus Therning)
1556 Date: Fri, 31 Aug 2007 20:36:14 +0100
1557 Subject: [sup-talk] new in svn: mime-type hook
1558 In-Reply-To: <1188586680-sup-8783@mona>
1559 References: <1188360667-sup-3717@south> <1188586680-sup-8783@mona>
1560 Message-ID: <20070831193614.GC4604@die.therning.org>
1561
1562 On Fri, Aug 31, 2007 at 15:02:44 -0400, jeff covey wrote:
1563 [..]
1564 >
1565 >in the process of making this, did something go wrong with sup's
1566 >decoding of ordinary messages? i'm seeing a lot of messages with
1567 >equals marks at the ends of lines, like:
1568 >
1569 >> This e-mail notifies you that the Bureau of the Public Debt just issued=
1570 >> a press
1571 >> release concerning the securities identified in the subject area of thi=
1572 >> s
1573 >> message. =A0Clicking on the address listed above after "Press Release" =
1574 >> should take
1575 >> you to Public Debt's Internet page of a PDF version of the actual press=
1576 >
1577 >here's a copy of the original message from which this was taken:
1578 >
1579 >http://jeffcovey.net/tmp/.sup-equals.txt
1580 >
1581 >this was happening before and after i created my
1582 >~/.sup/hooks/mime-decode.rb file.
1583
1584 That looks like something relating to quoted-printable. IIRC the equal
1585 sign is an escape for the newline character.
1586
1587 /M
1588
1589 --
1590 Magnus Therning (OpenPGP: 0xAB4DFBA4)
1591 magnus?therning?org Jabber: magnus?therning?gmail?com
1592 http://therning.org/magnus
1593
1594 For a successful technology, reality must take precedence over public
1595 relations, for nature cannot be fooled.
1596 -- R.P. Feynman
1597 -------------- next part --------------
1598 A non-text attachment was scrubbed...
1599 Name: not available
1600 Type: application/pgp-signature
1601 Size: 189 bytes
1602 Desc: Digital signature
1603 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20070831/c6b50649/attachment.bin
1604
1605 From wmorgan-sup@masanjin.net Fri Aug 31 11:31:04 2007
1606 From: wmorgan-sup@masanjin.net (William Morgan)
1607 Date: Fri, 31 Aug 2007 08:31:04 -0700
1608 Subject: [sup-talk] on sup
1609 In-Reply-To: <1188557360-sup-7369@bryma>
1610 References: <1188557360-sup-7369@bryma>
1611 Message-ID: <1188573751-sup-6067@south>
1612
1613 Excerpts from Magnus Therning's message of Fri Aug 31 04:04:03 -0700 2007:
1614 > Hey! Sup is absolutely great!
1615
1616 Thanks! Feel free to join the mailing list and tell all your friends.
1617 Especially if they can write Ruby. :)
1618
1619 > Here are some things I'd like to see in sup in the future:
1620 >
1621 > - support for using the output of a command as signature (I don't seem
1622 > to even get the contents of ~/.signature inserted into new emails)
1623
1624 It should be trivial to add a hook for this. By default ~/.signature
1625 should be appended to email (not in the editor, but in Sup's review
1626 screen immediate post editing). If it's not, it's probably that
1627 ~/.sup/config.yaml is pointing to a different file.
1628
1629 > - PGP/GPG support, this is really a show stopper for me at the moment
1630
1631 Yep, I plan to have first-order GPG support (i.e. not just in the hooks
1632 system.) Not for the next release, but possibly the one after. The time
1633 is nigh.
1634
1635 > - support for choosing where to save sent messages
1636
1637 This I'm a little curious about. Why do you care where they live on
1638 disk, as long as they show up in the index?
1639
1640 Thanks for the feedback,
1641
1642 --
1643 William <wmorgan-sup at masanjin.net>
1644
1645 From magnus@therning.org Fri Aug 31 13:12:34 2007
1646 From: magnus@therning.org (Magnus Therning)
1647 Date: Fri, 31 Aug 2007 18:12:34 +0100
1648 Subject: [sup-talk] on sup
1649 In-Reply-To: <1188573751-sup-6067@south>
1650 References: <1188557360-sup-7369@bryma> <1188573751-sup-6067@south>
1651 Message-ID: <20070831171234.GD8312@die.therning.org>
1652
1653 On Fri, Aug 31, 2007 at 08:31:04 -0700, William Morgan wrote:
1654 >Excerpts from Magnus Therning's message of Fri Aug 31 04:04:03 -0700 2007:
1655 >> Hey! Sup is absolutely great!
1656 >
1657 >Thanks! Feel free to join the mailing list and tell all your friends.
1658 >Especially if they can write Ruby. :)
1659
1660 Here I am. Not very proficient in Ruby myself, but I suppose sup offers
1661 an incentive to check it out.
1662
1663 >> Here are some things I'd like to see in sup in the future:
1664 >>
1665 >> - support for using the output of a command as signature (I don't seem
1666 >> to even get the contents of ~/.signature inserted into new emails)
1667 >
1668 >It should be trivial to add a hook for this. By default ~/.signature
1669 >should be appended to email (not in the editor, but in Sup's review
1670 >screen immediate post editing). If it's not, it's probably that
1671 >~/.sup/config.yaml is pointing to a different file.
1672
1673 Ah, that's slightly confusing behaviour especially after being used to
1674 mutt. I think I can adapt though :-)
1675
1676 >> - PGP/GPG support, this is really a show stopper for me at the moment
1677 >
1678 >Yep, I plan to have first-order GPG support (i.e. not just in the hooks
1679 >system.) Not for the next release, but possibly the one after. The time
1680 >is nigh.
1681
1682 Is anyone working on it already?
1683
1684 >> - support for choosing where to save sent messages
1685 >
1686 >This I'm a little curious about. Why do you care where they live on
1687 >disk, as long as they show up in the index?
1688
1689 All right, here's some background :-)
1690
1691 I have a fairly extensive configuration of procmail for sorting mails
1692 into maildir folders on a server at a friend's place. I then
1693 synchronise those folders onto a few different machines. This way I can
1694 read emails on all machines, both at home and work. When I'm travelling
1695 I can use the web-based reader hosted on the same server at my friend's.
1696
1697 Given this I want to control where sent mails end up so that I can
1698 access those mails from all those locations. And I want to keep my
1699 hierarchy of folders so that reading emails is easy also on machines
1700 where I can't install sup and online.
1701
1702 This makes me think of another little detail, it seems sup's idea of
1703 what's read and what's new isn't based on the maildir notion of what's
1704 read and what's new (i.e. sup doesn't move mail from /new to /cur when
1705 it's read and doesn't recognise that mail in /cur is read).
1706
1707 /M
1708
1709 --
1710 Magnus Therning (OpenPGP: 0xAB4DFBA4)
1711 magnus?therning?org Jabber: magnus?therning?gmail?com
1712 http://therning.org/magnus
1713
1714 When the people fear their government, there is tyranny; when the
1715 government fears the people, there is liberty.
1716 -- Thomas Jefferson
1717 -------------- next part --------------
1718 A non-text attachment was scrubbed...
1719 Name: not available
1720 Type: application/pgp-signature
1721 Size: 189 bytes
1722 Desc: not available
1723 Url : http://rubyforge.org/pipermail/sup-talk/attachments/20070831/8ae01aa6/attachment-0001.bin
1724