Subject: [sup-talk] Sup crash when adding CC to forwarded message

From: [email-masked] (Helge Titlestad)
Date: Wed, 01 Jul 2009 11:20:05 +0200

Hi,
sup 0.8 just crashed on me. What I did was:
* From thread-view, hit "f" to forward. 
* Enter address to forward to.
* Just hit "enter" when asked for CC.
* Save message (unedited). 
* Hit "c" to edit CC
-> crash

This is reproducible (only tried on one message, though.)

bt: 
--- NoMethodError from thread: main
undefined method `join' for "":String
/home/xhs/helgedt/gems/gems/sup-0.8/lib/sup/modes/edit-message-mode.rb:414:in `edit_field'
/home/xhs/helgedt/gems/gems/sup-0.8/lib/sup/modes/edit-message-mode.rb:119:in `edit_cc'
/home/xhs/helgedt/gems/gems/sup-0.8/lib/sup/mode.rb:50:in `send'
/home/xhs/helgedt/gems/gems/sup-0.8/lib/sup/mode.rb:50:in `handle_input'
/home/xhs/helgedt/gems/gems/sup-0.8/lib/sup/buffer.rb:249:in `handle_input'
/home/xhs/helgedt/gems/gems/sup-0.8/bin/sup:238
/home/xhs/helgedt/gems/bin/sup:19:in `load'
/home/xhs/helgedt/gems/bin/sup:19
-- 
alge

---

From: [email-masked] (William Morgan)
Date: Wed, 01 Jul 2009 11:19:27 -0700

Hi Helge,

> This is reproducible (only tried on one message, though.)

I can't reproduce this. Does it happen on all messages, or just on that
one? Does it happen if you specify someting for the cc: header?

Thanks!
-- 
William <wmorgan-sup at masanjin.net>

---

From: [email-masked] (Helge Titlestad)
Date: Wed, 01 Jul 2009 20:54:20 +0200

Excerpts from William Morgan's message of Wed Jul 01 20:19:27 +0200 2009:
>> [Adding CC crash procedure]
> 

It's stopped being reproducible now. \:

For the record, there was one "?" in the subject field. Probably shouldn't
be related, but you never know with these utf-8 woes. (:
-- 
alge

---

From: [email-masked] (William Morgan)
Date: Wed, 01 Jul 2009 11:57:55 -0700

Reformatted excerpts from Helge Titlestad's message of 2009-07-01:
> For the record, there was one "?" in the subject field. Probably
> shouldn't be related, but you never know with these utf-8 woes. (:

I'd be surprised... but yeah, who knows!
-- 
William <wmorgan-sup at masanjin.net>