Re: Info about notmuch database

Subject: Re: Info about notmuch database

Date: Sun, 08 Jan 2012 15:34:10 +0100

To: Sebastian Spaeth, boyska, notmuch@notmuchmail.org

Cc:

From: Thomas Jost


On Sun, 08 Jan 2012 13:59:30 +0100, Sebastian Spaeth <Sebastian@SSpaeth.de> wrote:
> On Thu, 05 Jan 2012 16:04:22 +0100, Thomas Jost <schnouki@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
part-000.sig (application/pgp-signature)

Thread: