emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andreas Davour <koraq@yahoo.com>
To: org-mode <emacs-orgmode@gnu.org>
Subject: getting gnus contcats into org-contacts
Date: Thu, 7 Nov 2013 07:22:43 -0800 (PST)	[thread overview]
Message-ID: <1383837763.52432.YahooMailNeo@web161304.mail.bf1.yahoo.com> (raw)

[-- 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 --]

             reply	other threads:[~2013-11-07 15:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-07 15:22 Andreas Davour [this message]
2013-11-07 17:11 ` getting gnus contcats into org-contacts Eric S Fraga
2013-11-07 18:25   ` Sebastien Vauban
2013-12-13 20:20     ` Nick Dokos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1383837763.52432.YahooMailNeo@web161304.mail.bf1.yahoo.com \
    --to=koraq@yahoo.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).