I currently use a little Vala utility that Sebastian Spaeth wrote in order to 
use what's already stored in the notmuch database as a simple addressbook. It's 
fast and works extremely well for me.

See the section "Address lookup while composing" at 
http://notmuchmail.org/emacstips/ for links to that and a couple other similar 
implementations.

Maybe one of these suits your needs or could be used as a starting point for 
the functionality you're trying to implement?

Dan

----- Original Message -----
From: notmuch-boun...@notmuchmail.org <notmuch-boun...@notmuchmail.org>
To: piutto...@logorroici.org <piutto...@logorroici.org>; 
notmuch@notmuchmail.org <notmuch@notmuchmail.org>
Sent: Wed Jan 11 23:26:42 2012
Subject: Re: Info about notmuch database

On Mon, 2 Jan 2012 17:04:17 +0100, piutto...@logorroici.org wrote:
> I like notmuch a lot, so I'm writing a (conceptually) similar software
> about addressbook: it will scan all your emails, storing email addresses
> in a xapian database (you can think of it as little brother database[1] on
> steroids)
> The part that I'd like to re-implement is "notmuch new": it seems that
> in the xapian db there is not only informations about each mail, but
> also the mtime of each directory. My impression is this being "chaotic",
> but probably I am just missing the point.

Hi.  I think this is a neat idea.  However, it has be wondering: would
it be possible to just extend the notmuch database itself to support
this?  Could notmuch just index all the email addresses in such a way
that they would be easily retrievable?  Maybe through an "addresses" sub
command or something?  Obviously having notmuch handle this
functionality natively would get rid of the need to reinvent a lot of
the stuff you're trying to reinvent now (such as "notmuch new").

jamie.
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch

Reply via email to