Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 902C7429E29 for ; Wed, 11 Jan 2012 20:26:52 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.29 X-Spam-Level: X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pxft32hmstgI for ; Wed, 11 Jan 2012 20:26:52 -0800 (PST) Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu [131.215.239.19]) by olra.theworths.org (Postfix) with ESMTP id 07CFD429E25 for ; Wed, 11 Jan 2012 20:26:52 -0800 (PST) Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1]) by earth-doxen-postvirus (Postfix) with ESMTP id 6CF5A66E0135; Wed, 11 Jan 2012 20:26:51 -0800 (PST) X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new Received: from finestructure.net (DHCP-123-180.caltech.edu [131.215.123.180]) (Authenticated sender: jrollins) by earth-doxen-submit (Postfix) with ESMTP id 904C466E0171; Wed, 11 Jan 2012 20:26:45 -0800 (PST) Received: by finestructure.net (Postfix, from userid 1000) id 5607D4DE; Wed, 11 Jan 2012 20:26:45 -0800 (PST) From: Jameson Graef Rollins To: piuttosto@logorroici.org, notmuch@notmuchmail.org Subject: Re: Info about notmuch database In-Reply-To: <20120102160417.GA15640@edge> References: <20120102160417.GA15640@edge> User-Agent: Notmuch/0.10.2+168~g34b8bac (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Wed, 11 Jan 2012 20:26:42 -0800 Message-ID: <87wr8xlf5p.fsf@servo.finestructure.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jan 2012 04:26:52 -0000 --=-=-= 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. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJPDmECAAoJEO00zqvie6q8UNYP/3qd6wHSoruaskyr5pvFyvEO RN1jiZvIUoqftpMpNdKbSu4qR7MGyPxKA04SW+9GPKdjIn75tUO0NwhGdIK6+A9+ svImxyYt56pVn9VoUboBgmqUCkgRGn6F+9WdAKYqDo3DRzfmAkGRiU+cRBb0qQts r8N8pO5els9qqanZZZpqaTMqn6jWfqHZ0EXZYPMk7RmXveIcA4kzqxSwXv7du0Mv fDNTrA7iUpE88sBJVwrfO0x0oN5CMnGQdXbFaFO/JJKmi19xgoiZnGotsFdwvrhl kLyhxPd1PJrqf501U8tfmfvbUyrlZZFIvdTZJkN1TBPI+jBN1aoXfUzt6eO6I+TQ LgklV9HNN1YZeV0w0+IRBI5SpdKHBRcv1ZnF53ZLDV8A12bfCodMbquvQA9Cboki 3ukrgqLP+LcWCSnRiBxj8SAMXq7c0CtAdXkeUIhL6VEBEMvAM7zQBh7npiFciT1F AIW4gcB2WC+mytKZtWaKw+GFkiqsq+LTZ25tiFIUjeRybv0LvC59yHHXtydsgUeb CRS8z8WXN4Glrzihh9Xg6pjkBG+C5fI7/fOjeshxfGL6NfdOaj82wrEpHpTl+P+Y ZfV8Dk0V7H0V3Jf9xnbx2bVCeAmLyrNS6gmtX5VS2uNpXU4WvUBTUl18aFaUCaIa LTPEpXeFIIWMkoYElZU5 =WSap -----END PGP SIGNATURE----- --=-=-=--