Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chrisbarrett/osx-bbdb
Import OS X Contacts into Emacs' BBDB.
https://github.com/chrisbarrett/osx-bbdb
Last synced: 16 days ago
JSON representation
Import OS X Contacts into Emacs' BBDB.
- Host: GitHub
- URL: https://github.com/chrisbarrett/osx-bbdb
- Owner: chrisbarrett
- Created: 2013-08-13T03:55:52.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-09-15T04:33:16.000Z (about 10 years ago)
- Last Synced: 2023-04-03T19:47:35.921Z (over 1 year ago)
- Language: Emacs Lisp
- Homepage:
- Size: 228 KB
- Stars: 8
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.org
Awesome Lists containing this project
README
#+TITLE: OS X bbdb importer
#+AUTHOR: Chris Barrett* Description
Provides a command, =import-osx-contacts-to-bbdb=, that will copy contacts from
your OS X Address Book into BBDB. It also uses a timer to periodically add new contacts.Requires Emacs 24+, tested on OS X 10.8.
* Installation
#+BEGIN_SRC
brew install contacts
#+END_SRCthen paste the code below into an elisp buffer, then =M-x eval-buffer=.
#+BEGIN_SRC emacs-lisp
(require 'package)
;; Ensure melpa repository is added.
(add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/"))
(package-initialize)
;; Install directly from github.
(with-current-buffer (url-retrieve-synchronously
"https://raw.github.com/chrisbarrett/osx-bbdb/master/osx-bbdb.el")
(call-interactively 'package-install-from-buffer))
#+END_SRCThis utility requires a few additional packages, which will be automatically
downloaded by Emacs' package manager.Once you've installed the package, add the following to your /init.el/:
#+BEGIN_SRC emacs-lisp
(when (equal system-type 'darwin)
(require 'osx-bbdb))
#+END_SRC* Contributing
- TODO Merge fields for existing contacts, instead of skipping.