[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] getting gnus contcats into org-contacts

From: Andreas Davour
Subject: [O] getting gnus contcats into org-contacts
Date: Thu, 7 Nov 2013 07:22:43 -0800 (PST)


I've just started using gnus again, and since it seems like bbdb is in a messy state someone suggested I try org-contacts as an address book solution. It looks quite usable, but I have a few questions.

1. What is the function (org-contacts-gnus-insinuate) really used for? It sets up some hooks and a keybinding is what I've read. But, what the use of those hooks? Also, I have not found that keybinding to be active in any of my gnus buffers. Am I missing something? I guess it leads into my next question.

2. Can I get the email addresses of my contacts into org-contacts automatically somehow? I have read about org-capture and written this snippet:

(require 'org-contacts)
(setq org-contacts-files '("~/.org-contacts.org"))
(require 'org-capture)
(add-to-list 'org-capture-templates
             '("c" "Contacts" entry (file "~/.org-contacts.org")
               "* %(org-contacts-template-name)                                                      
                  :EMAIL: %(org-contacts-template-email)                                             

Using that I can now run M-x org-capture (bound to some suitable key) and populate my contacts list. After that I can hit TAB and get my addresses in the To: fields and so on. Excellent!

But, is there a way to get that done automatically? That process is totally predictable. Way back when I used gnus/bbdb it picked up addresses by itself.

I guess I'm crossing into org-capture territory here, but felt this was anyway a suitable place to ask. I'm not very good at elisp so I have no idea how to do this myself, but thought that someone ought to have done this before. Oddly, google could find nothing.

Thanks for any suggestions.

"My son has spoken the truth, and he has sacrificed more than either the president of the United States or Peter King have ever in their political careers or their American lives. So how they choose to characterize him really doesn't carry that much weight with me." -- Edward Snowden's Father

reply via email to

[Prev in Thread] Current Thread [Next in Thread]