emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* getting gnus contcats into org-contacts
@ 2013-11-07 15:22 Andreas Davour
  2013-11-07 17:11 ` Eric S Fraga
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Davour @ 2013-11-07 15:22 UTC (permalink / raw)
  To: org-mode

[-- Attachment #1: Type: text/plain, Size: 2184 bytes --]



Hi

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)                                                       
                  :PROPERTIES:                                                                        
                  :EMAIL: %(org-contacts-template-email)                                              
                  :END:"))

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.


/andreas

--
"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

[-- Attachment #2: Type: text/html, Size: 6251 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-12-13 20:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-07 15:22 getting gnus contcats into org-contacts Andreas Davour
2013-11-07 17:11 ` Eric S Fraga
2013-11-07 18:25   ` Sebastien Vauban
2013-12-13 20:20     ` Nick Dokos

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).