Subject: [sup-talk] contacts list confusion

From: [email-masked]
Date: Thu, 15 Apr 2010 12:29:04 -0400

greetings!

i'm curious about how the contacts list actually works... i've read and written a number of emails in sup now, and "C" shows quite a few contacts. when i open contacts.txt for editing, those contacts do not show in that file. however, if i add a few contacts in contacts.txt, they get added to the "C" list in sup -- if they were already there, the nickname i put in contacts.txt shows up, and if they weren't, then they become new additions to the list. contacts which are in the "C" list but which are *not* in contacts.txt do not participate in autocompletion when filling in headers.

so, it looks like sup maintains its "C" list somewhere other than contacts.txt -- if i want those addresses which are "C"-listed to benefit from autocompletion, i have to manually add them to contacts.txt, right? 

why doesn't sup auto-add "C" list addresses to contacts.txt?

also, i noticed that all editing of contacts.txt has to be done while sup is not running -- anything changed during a sup run get reverted when sup closes.

one other question regarding contacts: is there any facility for mailing lists? it looks like that's not currently possible, since if i do this in contacts.txt...

listname: person1 <address1>, person2 <address2, person3 <address3

...person2 and person3 get dropped in autocompletion and the "C" list.

cheers!
-- 
.pltk.
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: [email-masked]
Date: Thu, 15 Apr 2010 12:35:16 -0400

> listname: person1 <address1>, person2 <address2, person3 <address3

oops... i meant this, of course:
listname: person1 <address1>, person2 <address2>, person3 <address3>

---

From: Tero Tilus <[email-masked]>
Date: Fri, 16 Apr 2010 12:30:51 +0300

plutek, 2010-04-15 19:29:
> i'm curious about how the contacts list actually works.

It works exactly as you described.  ;)

> sup maintains its "C" list somewhere other than contacts.txt

Sup doesn't actually maintain the "C" list anywhere.  It consists of
contacts.txt, the list returned from extra-contact-addresses hook and
other contacts extracted from the mails sup has recently indexed.  You
can load more (older) extracted contacts by hitting "M" when viewing
the contacts list.

> -- if i want those addresses which are "C"-listed to benefit from
> autocompletion, i have to manually add them to contacts.txt, right?

Partially.  You can highlight them, hit "i" (and optionally give
completion alias and fix real name) and sup adds them to contacts.txt.

> why doesn't sup auto-add "C" list addresses to contacts.txt?

Because you don't want all the (rubbish) addresses with all the
(rubbish) realnames floating around bloating your contacts.  You want
sup to be able to parse contacts out of mails, present them (the
"persistent" and latest new) nicely to you and let you cherry-pick the
contacts you want to "persist".

> is there any facility for mailing lists? it looks like that's not
> currently possible, since if i do this in contacts.txt...
>

I don't know how it is supposed to work, but I do have mailinglists in
my contacts.txt like this:

list-alias: person1-alias, person2-alias
person1-alias: Person One <person.one@invalid>
person2-alias: Person Two <person.two@invalid>

It has the added bonus of the people in the list being available for
autocompletion one by one too.

-- 
Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: [email-masked]
Date: Fri, 16 Apr 2010 11:57:00 -0400

> can load more (older) extracted contacts by hitting "M" when viewing

thanks for that!

> completion alias and fix real name) and sup adds them to contacts.txt.

excellent!

> contacts you want to "persist".

perfectly sensible!

> autocompletion one by one too.

cool.... a very nice list facility, indeed.

thanks for all the answers! with these details in place, sup has now officially taken over my world.

cheers!