* [sup-talk] External contact manager/address book
@ 2008-05-08 11:55 Daniel H. Neilson
0 siblings, 0 replies; 4+ messages in thread
From: Daniel H. Neilson @ 2008-05-08 11:55 UTC (permalink / raw)
Excerpts from Marc Hartstein's message of Wed, 07 May 2008 14:10:35 -0400:
> Hey, thanks for linking to abook. It looks like it might be exactly
> what I've been looking for.
abook is not always pretty, but it is curses-based, has human-readable
data files, and is extensible within reason.
Excerpts from Israel Herraiz's message of Thu, 08 May 2008 13:26:19 +0200:
> No the most beautiful piece of code, but the attached Ruby script will
> do the task. Just copy it to your ~/.sup/hooks and when you hit tab
> for autocompletion of addresses and names, you will obtain a list from
> your abook database.
Thanks for the code Israel. One could ask for more, but this will do the
job for now.
DN
^ permalink raw reply [flat|nested] 4+ messages in thread
* [sup-talk] External contact manager/address book
2008-05-07 18:10 ` Marc Hartstein
@ 2008-05-08 11:26 ` Israel Herraiz
0 siblings, 0 replies; 4+ messages in thread
From: Israel Herraiz @ 2008-05-08 11:26 UTC (permalink / raw)
Excerpts from Marc's message on May 7, 2008 about 8 PM:
> I think you're looking for the extra-contact-addresses hook, announced
> about a month ago:
No the most beautiful piece of code, but the attached Ruby script will
do the task. Just copy it to your ~/.sup/hooks and when you hit tab
for autocompletion of addresses and names, you will obtain a list from
your abook database.
Cheers,
Israel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: extra-contact-addresses.rb
Type: application/octet-stream
Size: 166 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20080508/ecb50c4f/attachment-0001.obj>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [sup-talk] External contact manager/address book
2008-05-07 17:14 Daniel H. Neilson
@ 2008-05-07 18:10 ` Marc Hartstein
2008-05-08 11:26 ` Israel Herraiz
0 siblings, 1 reply; 4+ messages in thread
From: Marc Hartstein @ 2008-05-07 18:10 UTC (permalink / raw)
Excerpts from Daniel H. Neilson's message of Wed May 07 13:14:39 -0400 2008:
> In keeping with the philosophy of having one good tool for each job, I
> use a separate program to manage contacts (abook). It helps me to
> have phone numbers, birthdays, mailing addresses, and e-mail addresses
> all in the same place.
Hey, thanks for linking to abook. It looks like it might be exactly
what I've been looking for.
> abook is designed to work with mutt, using
>
> set query_command="abook --mutt-query '%s'"
>
> I wonder if there is a way to get similar behavior in sup?
I think you're looking for the extra-contact-addresses hook, announced
about a month ago:
extra-contact-addresses
-----------------------
File: ~/.sup/hooks/extra-contact-addresses.rb
A list of extra addresses to propose for tab completion, etc. when the
user is entering an email address. Can be plain email addresses or can
be full "User Name <email at domain.tld>" entries.
Variables: none
Return value: an array of email address strings.
Looks like, at present, you'll have to request the full db from abook
and pass it up to sup, and you'll have to do a bit of processing to
transform the format from mutt's "email at address Full Name" to "Full Name
<email at address>".
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20080507/25fe5341/attachment.bin>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [sup-talk] External contact manager/address book
@ 2008-05-07 17:14 Daniel H. Neilson
2008-05-07 18:10 ` Marc Hartstein
0 siblings, 1 reply; 4+ messages in thread
From: Daniel H. Neilson @ 2008-05-07 17:14 UTC (permalink / raw)
First off, thanks to William and everyone who has contributed to sup.
I'm making the switch from mutt and really enjoying it.
I hunted the list archives and the wiki but couldn't find an answer to
my current problem. In keeping with the philosophy of having one good
tool for each job, I use a separate program to manage contacts (abook).
It helps me to have phone numbers, birthdays, mailing addresses, and
e-mail addresses all in the same place.
abook is designed to work with mutt, using
set query_command="abook --mutt-query '%s'"
in my .muttrc . I know that other similar programs are designed to work
with mutt in the same way (lbdb?). This setup is nice because I can
auto-complete To: addresses with ctrl-T, and I get "Full Name <address>"
in the To: line.
I wonder if there is a way to get similar behavior in sup?
Thanks,
Dan
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-05-08 11:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-08 11:55 [sup-talk] External contact manager/address book Daniel H. Neilson
-- strict thread matches above, loose matches on Subject: below --
2008-05-07 17:14 Daniel H. Neilson
2008-05-07 18:10 ` Marc Hartstein
2008-05-08 11:26 ` Israel Herraiz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox