Subject: [sup-talk] Saving status of merged threads with '#' on next branch

From: [email-masked] (Bjørn Michelsen)
Date: Wed, 08 Apr 2009 22:44:34 +0200

Hi all,

For some reason, the '#' command isn't saving the status of tagged
threads being forced to merge. I get a visual feedback that the threads
have been put into the same one, but when I come back to the view after
killing the buffer, they're separated again.

I'm currently running sup from the next branch. But, I also checked the
command on the 0.7 gem version without any luck.

I'm a bit lost as to where I should begin troubleshooting, so I'm
wondering if someone else have had the same problem?

Maybe I have misinterpreted the command?
-- 
Mvh.
Bj?rn Michelsen
MOB: +47 934 55 474

---

From: [email-masked] (Mark Alexander)
Date: Thu, 9 Apr 2009 08:39:39 -0700

> killing the buffer, they're separated again.

I've noticed this as well.  I figured it was a feature, not a bug :-) .

---

From: [email-masked] (William Morgan)
Date: Thu, 09 Apr 2009 11:02:08 -0700

> wondering if someone else have had the same problem?

It's a known problem. I'm not sure why it isn't saved. If you want to
start investigating, ThreadSet#join_threads in lib/sup/threads.rb is the
joining code. Maybe the call to Message#add_ref is wrong somehow.

I'm also curious about your From: line, which is RFC2047-encoded but
with the "UNKNOWN" charset. What produces that? Surely not Sup!
-- 
William <wmorgan-sup at masanjin.net>

---

From: [email-masked] (Bjorn Michelsen)
Date: Wed, 15 Apr 2009 17:58:03 +0200

> joining code. Maybe the call to Message#add_ref is wrong somehow.

Thanks for clearing that up, as well as the additional information
regarding where to start looking.

> with the "UNKNOWN" charset. What produces that? Surely not Sup!

I haven't replied earlier because I've been trying to figure out what
causes the strange From: address.

locale outputs the following:

  LANG=nb_NO.UTF-8
  LC_CTYPE=nb_NO.UTF-8
  LC_NUMERIC="nb_NO.UTF-8"
  LC_TIME="nb_NO.UTF-8"
  LC_COLLATE="nb_NO.UTF-8"
  LC_MONETARY="nb_NO.UTF-8"
  LC_MESSAGES=en_US.UTF-8
  LC_PAPER="nb_NO.UTF-8"
  LC_NAME="nb_NO.UTF-8"
  LC_ADDRESS="nb_NO.UTF-8"
  LC_TELEPHONE="nb_NO.UTF-8"
  LC_MEASUREMENT="nb_NO.UTF-8"
  LC_IDENTIFICATION="nb_NO.UTF-8"
  LC_ALL=

And Vim is saying that all files related to sup is encoded as utf8.

So, at the moment I don't know why this is happening. Maybe someone
using special characters can let me in on their secret?
-- 
Mvh.
Bj?rn Michelsen
MOB: +47 934 55 474

---

From: [email-masked] (William Morgan)
Date: Wed, 15 Apr 2009 10:33:24 -0700

> causes the strange From: address.

Is the weird encoding also present in the files in ~/.sup/sent.mbox? If
so, it's could be Rubymail... AFAICT, Rubymail doesn't do anything with
rfc2047, but I could have missed it.

If not, are you using some funky sendmail?
-- 
William <wmorgan-sup at masanjin.net>

---

From: [email-masked] (Bjorn Michelsen)
Date: Thu, 16 Apr 2009 11:53:31 +0200

> rfc2047, but I could have missed it.

No, everything is encoded correctly in ~/.sup/sent.mbox

> If not, are you using some funky sendmail?

I'm using sSMTP at the moment. Maybe it has something to do with the
following bug

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=341952#10  ?
-- 
Mvh.
Bj?rn Michelsen
MOB: +47 934 55 474

---

From: [email-masked] (William Morgan)
Date: Tue, 21 Apr 2009 06:28:41 -0700

> No, everything is encoded correctly in ~/.sup/sent.mbox

Then this is almost definitely your MTA, not Sup. But you could also try
sending a message to yourself with another MUA and see what happens.

(Probably what will happen is that the MUA will RFC2047-encode your
headers, and sSMTP will see that and leave them alone, and this problem
will be hidden. So the right answer is really for Sup to RFC2047-encode
headers in outgoing email.)

>   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=341952#10  ?

The problem could be someone trying to fix that bug (which is basically
"we should add RFC2047 support"). Somehow it's not picking up your
locale settings.
-- 
William <wmorgan-sup at masanjin.net>