8

Is there a way to use Emacs to sync with Google Calendar and Google Contacts, ideally keeping a local copy so I can access them offline?

wonea
  • 1,817
  • 1
  • 23
  • 42
hpy
  • 6,001
  • 20
  • 60
  • 86
  • Why? What? What can emacs do with that information? – Nifle Sep 10 '10 at 16:27
  • 1
    I just like to see if I can use/manage my Google Calendar and Contacts in Emacs as part of an attempt to consolidate my work into one, free and open source, package. – hpy Sep 10 '10 at 16:41
  • [Also asked at Unix.SE](http://unix.stackexchange.com/questions/1850). – Gilles 'SO- stop being evil' Sep 10 '10 at 20:23
  • @Nifle "What can emacs do with that information?" What part of calendar and contact syncing is odd? you can use emacs as a diary/agenda and a mail client. Why wouldn't you want your calendar and contacts to sync? – kjfletch Jan 15 '11 at 22:50

4 Answers4

3

If you use BBDB to store your contacts in Emacs, then you should take a look at ASynK :

ASynK is the only software today that can do bi-directional sync between bbdb and google. In fact even Outlook (on Windows) and CardDAV are supported by ASynK. i.e. you can sync your BBDB to outlook, to an ownCloud installation or to Google - it's all bidirectional.

Calendar sync is not supported yet, but the basic sync infrastructure is in place. So it may happen some day.

(Disclaimer : I am the author.)

harrymc
  • 455,459
  • 31
  • 526
  • 924
Karra
  • 131
  • 2
1

The Emacs wiki mentions emacs-g-client for access to Google calendar. It was written in 2007, which is old by web service standards, so it may or may not still work.

Gilles 'SO- stop being evil'
  • 69,786
  • 21
  • 137
  • 178
  • Just checked their discussion group, last post in 2009. Will try it, tough. Thanks! – hpy Sep 10 '10 at 18:14
1

I don't imagine there's a good answer on the calendar side of things. Impedance mismatch between Diary and other stuff.

On the contacts side of things, there's some work done on BBDB-to/from-vCard.

http://www.emacswiki.org/emacs/BbdbExportImportSync describes some of it.

The seemingly most complete import/export is trebb/bbdb-vcard at GitHub. Again, there still seems to be some mismatch, so I'd mostly be inclined to manage the data in one place, whether that be BBDB or Google Contacts, and shove from the authoritative source to other places.

0

Org mode with org-caldav will sync your agenda with any caldav server. And google offer one such a server

Rémi
  • 1,486
  • 9
  • 10