unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: "Bryant, Daniel B." <Dan.Bryant@jhuapl.edu>
To: "'notmuch@notmuchmail.org'" <notmuch@notmuchmail.org>,
	"'piuttosto@logorroici.org'" <piuttosto@logorroici.org>
Subject: Re: Info about notmuch database
Date: Wed, 11 Jan 2012 23:48:15 -0500	[thread overview]
Message-ID: <24CAA033F4DBCD4DB53CBFB11AEF037C0F2A166805@aplesrepublic.dom1.jhuapl.edu> (raw)


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-bounces@notmuchmail.org <notmuch-bounces@notmuchmail.org>
To: piuttosto@logorroici.org <piuttosto@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, piuttosto@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.

             reply	other threads:[~2012-01-12  4:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-12  4:48 Bryant, Daniel B. [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-01-04 15:49 Info about notmuch database boyska
2012-01-05 15:04 ` Thomas Jost
2012-01-05 15:38   ` boyska
2012-01-05 16:35     ` Thomas Jost
2012-01-07 11:48       ` boyska
2012-01-08 12:59   ` Sebastian Spaeth
2012-01-08 14:34     ` Thomas Jost
2012-01-02 16:04 piuttosto
2012-01-12  4:26 ` Jameson Graef Rollins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=24CAA033F4DBCD4DB53CBFB11AEF037C0F2A166805@aplesrepublic.dom1.jhuapl.edu \
    --to=dan.bryant@jhuapl.edu \
    --cc=notmuch@notmuchmail.org \
    --cc=piuttosto@logorroici.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).