Re: Info about notmuch database
authorboyska <piuttosto@logorroici.org>
Sat, 7 Jan 2012 11:48:57 +0000 (12:48 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:41:42 +0000 (09:41 -0800)
b2/7b9bc641841bd928f8c4a675092d481ef83d75 [new file with mode: 0644]

diff --git a/b2/7b9bc641841bd928f8c4a675092d481ef83d75 b/b2/7b9bc641841bd928f8c4a675092d481ef83d75
new file mode 100644 (file)
index 0000000..3941a4c
--- /dev/null
@@ -0,0 +1,94 @@
+Return-Path: <piuttosto@logorroici.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 31598407A33\r
+       for <notmuch@notmuchmail.org>; Sat,  7 Jan 2012 03:49:03 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.9\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.9 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FORGED_RELAY_MUA_TO_MX=1] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id Fn5GOknwREig for <notmuch@notmuchmail.org>;\r
+       Sat,  7 Jan 2012 03:49:02 -0800 (PST)\r
+Received: from confino.investici.org (investici.nine.ch [217.150.252.179])\r
+       (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id E87C5407A1D\r
+       for <notmuch@notmuchmail.org>; Sat,  7 Jan 2012 03:49:01 -0800 (PST)\r
+Received: from [217.150.252.179] (confino [217.150.252.179]) (Authenticated\r
+       sender: piuttosto@logorroici.org) by localhost (Postfix) with\r
+       ESMTPSA id 58964C865B\r
+       for <notmuch@notmuchmail.org>; Sat,  7 Jan 2012 11:48:58 +0000 (UTC)\r
+X-DKIM: Sendmail DKIM Filter v2.8.2 confino.investici.org 58964C865B\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=logorroici.org;\r
+       s=stigmate; t=1325936939;\r
+       bh=n+yOiSuEs/qwz8mRPUXTO4VVNFhaHP0P7BA+Mhn7HgM=;\r
+       h=Date:From:To:Subject:Message-ID:References:MIME-Version:\r
+       Content-Type:In-Reply-To;\r
+       b=oj2JrO1NFnJJi3JzpwM7yIDct4sCAM2W6/HkQuMObys+6qIMOaejLjIns1vB+/CK/\r
+       b6NU1XvU030SLkXuZlztL8xtPqmFe62amaO7TKVUtAF0/jVjzZXGN6tBdy8AnAI5o0\r
+       SGV+HcZgM81GsDffig7nV780SGtQ9/VYnPFOjdcM=\r
+Date: Sat, 7 Jan 2012 12:48:57 +0100\r
+From: boyska <piuttosto@logorroici.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: Re: Info about notmuch database\r
+Message-ID: <20120107114857.GA5670@edge>\r
+Mail-Followup-To: notmuch@notmuchmail.org\r
+References: <4e39a92bc2136f12ae6924e8878d5d1a@logorroici.org>\r
+       <87fwfup4w9.fsf@thor.loria.fr> <20120105153748.GA13888@edge>\r
+       <87boqip0no.fsf@thor.loria.fr>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: inline\r
+In-Reply-To: <87boqip0no.fsf@thor.loria.fr>\r
+User-Agent: Mutt/1.5.21 (2010-09-15)\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 07 Jan 2012 11:49:03 -0000\r
+\r
+On Thu, Jan 05, 2012 at 05:35:55PM +0100, Thomas Jost wrote:\r
+> On Thu, 5 Jan 2012 16:38:07 +0100, boyska <piuttosto@logorroici.org> wrote:\r
+> > > There's a description of the DB "schema" in lib/database.cc in the\r
+> > > notmuch source code. But you may also consider just using libnotmuch\r
+> > > instead, if that's enough for what you want to do.\r
+> > \r
+> > thanks, found it, much clearer now.\r
+> > But I really can't understand why not just putting these things on a\r
+> > separate file :) atomic consistency issues?\r
+> \r
+> I doubt it's for consistency (see commit 824dad76), more likely it's\r
+> because people should use libnotmuch rather than directly hacking into\r
+> the DB ;)\r
+\r
+Fine; I'll probably keep the whole output of "find" as the data of a\r
+SINGLE entry, instead of one entry for directory. This just seems easier\r
+to me.\r
+\r
+> Do you plan to use this addressbook with notmuch-address.el, or will it\r
+> be a standalone program?\r
+\r
+It will be a standalone program, meant to be used with mutt-query [1].\r
+So just call "notmany thomas" on commandline, and your email will\r
+appear.\r
+I don't use emacs, so I won't write an emacs tool (nor I know how\r
+notmuch-address.el works), but I am trying to keep library and UI\r
+separate, so writing a wrapper suitable for emacs is possible, and\r
+probably very easy.\r
+\r
+[1] http://wiki.mutt.org/?QueryCommand\r
+\r