On Sun, 08 Jan 2012 13:59:30 +0100, Sebastian Spaeth <Sebastian at SSpaeth.de> wrote: > On Thu, 05 Jan 2012 16:04:22 +0100, Thomas Jost <schnouki at schnouki.net> > wrote: > > There's a description of the DB "schema" in lib/database.cc in the > > notmuch source code. But you may also consider just using libnotmuch > > instead, if that's enough for what you want to do. > > > > Also: why Xapian? I'm already using something similar I wrote with > > Python, storing everything in a dictionary, using Pickle to save that to > > disk: 162 lines of code and 45 kb of data are enough to store my > > addressbook and have completion in Emacs... > > Ohh, that sounds nice. Is that public somewhere? > > Sebastian
https://github.com/Schnouki/dotfiles/blob/master/notmuch/addrbook.py Maybe I should add more comments in it :) Regards, -- Thomas/Schnouki -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 489 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120108/4a45b952/attachment.pgp>