Subject: [sup-talk] problem with labels...

From: [email-masked] (Jimmy Tang)
Date: Tue, 25 Sep 2007 11:27:18 +0100

Hi All,

I think i've found a bug in 0.1 of sup with labels, it seems to be in
the tip of the repository as well.

if i do

	for i in $(ls system.*); do echo sup-add -l $i -a mbox://`pwd`/$i; done

to add all my mailboxes, where one of the mbox files is...

	system.RequestTracker

the labelling seems to break when I lists all the with the mode "L" 

so instead of getting following when i hit "L" 

inbox
lists.sup
lists.namd-l
system.RequestTracker
system.amanda
system.cron

I get

inbox
lists.sup
lists.namd-l
system.amanda
system.cron

and the labels starting at system.amanda gets offset by one. sup doesnt
seem to like capitalised letters in the labels.

Thanks,
Jimmy

-- 
Jimmy Tang
Trinity Centre for High Performance Computing,
Lloyd Building, Trinity College Dublin, Dublin 2, Ireland.
http://www.tchpc.tcd.ie/ | http://www.tchpc.tcd.ie/~jtang

---

From: [email-masked] (William Morgan)
Date: Wed, 26 Sep 2007 17:47:51 -0700

> seem to like capitalised letters in the labels.

Weird. This works for me. Specifically, I added a source with label
"system.RequestTracker", and another with label "system.amanda". The
label list shows them both, and pressing enter works fine.

The tab completion is broken and tries to downcase them, but the label
list should work. Can you try and pare this down to a reproducible test
case?

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

---

From: [email-masked] (Jimmy Tang)
Date: Thu, 27 Sep 2007 11:27:23 +0100

Hi William,

> list should work. Can you try and pare this down to a reproducible test

i have a test case with some sample mails that has failed on the machine
i use sup on (on a daily basis) and also on my own desktop machine.

mailserver:
	rh9
	sup 0.1 and installed from the current version of ruby and rubygems

mydesktop
	ubuntu feisty fawn
	sup 0.1 and installed from the current version of ruby and rubygems
	from the repositorys

both installs of sup just uses all the latest suggested libs.

i was too sure on what you wanted for a reproducible test case, so i just 
put a small shell script of the commands and order of commands that causes
it to fail for me together. I'll send you the tarball in a seperate mail.

Thanks,
Jimmy

---

From: [email-masked] (William Morgan)
Date: Sat, 27 Oct 2007 15:56:07 -0700

Excerpts from Jimmy Tang's message of Thu Sep 27 03:27:23 -0700 2007:
> i was too sure on what you wanted for a reproducible test case, so i
> just put a small shell script of the commands and order of commands
> that causes it to fail for me together. I'll send you the tarball in a
> seperate mail.

I've fixed the downcasing issue with tab completion and now everything
seems to work perfectly with the latest SVN. Give it a try and let me
know if it works for you.

---

From: [email-masked] (Jimmy Tang)
Date: Sun, 28 Oct 2007 10:01:51 +0000

Hi William

> know if it works for you.

yeap, it's working as expected now, thanks :)

Thanks,
Jimmy.