1 Return-Path: <abustany@gnome.org>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 22D9C4196F4
\r
6 for <notmuch@notmuchmail.org>; Mon, 5 Apr 2010 07:12:10 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0.8 tagged_above=-999 required=5 tests=[BAYES_50=0.8]
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id zXgSw5delufH for <notmuch@notmuchmail.org>;
\r
16 Mon, 5 Apr 2010 07:12:05 -0700 (PDT)
\r
17 Received: from mail.mymadcat.com (mymadcat.com [213.251.163.154])
\r
18 by olra.theworths.org (Postfix) with ESMTP id DC8BB4196F0
\r
19 for <notmuch@notmuchmail.org>; Mon, 5 Apr 2010 07:12:04 -0700 (PDT)
\r
20 Received: by mail.mymadcat.com (Postfix, from userid 504)
\r
21 id EB0EA3DB60; Mon, 5 Apr 2010 16:12:03 +0200 (CEST)
\r
22 Received: from mail.mymadcat.com (localhost.localdomain [127.0.0.1])
\r
23 by mail.mymadcat.com (Postfix) with ESMTPSA id 085103DAE6;
\r
24 Mon, 5 Apr 2010 16:12:03 +0200 (CEST)
\r
26 Content-Type: text/plain;
\r
28 Content-Transfer-Encoding: 8bit
\r
29 Date: Mon, 05 Apr 2010 16:12:02 +0200
\r
30 From: Adrien Bustany <abustany@gnome.org>
\r
31 To: Enrico Zini <enrico@enricozini.org>
\r
32 In-Reply-To: <20100405135004.GA23639@enricozini.org>
\r
33 References: <874ojq5ajw.fsf@SSpaeth.de>
\r
34 <20100405135004.GA23639@enricozini.org>
\r
35 Message-ID: <1686c2264e9b7d32100a0b130d087203@localhost>
\r
36 X-Sender: abustany@gnome.org
\r
37 User-Agent: RoundCube Webmail/0.3-beta
\r
38 Cc: Notmuch development list <notmuch@notmuchmail.org>
\r
39 Subject: Re: [notmuch] vala, this is notmuch. notmuch, this is vala
\r
40 X-BeenThere: notmuch@notmuchmail.org
\r
41 X-Mailman-Version: 2.1.13
\r
43 List-Id: "Use and development of the notmuch mail system."
\r
44 <notmuch.notmuchmail.org>
\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
46 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
48 List-Post: <mailto:notmuch@notmuchmail.org>
\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
51 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
52 X-List-Received-Date: Mon, 05 Apr 2010 14:12:10 -0000
\r
54 On Mon, 5 Apr 2010 14:50:04 +0100, Enrico Zini <enrico@enricozini.org>
\r
56 > On Mon, Apr 05, 2010 at 02:49:23PM +0200, Sebastian Spaeth wrote:
\r
58 >> So I bound notmuch.so to vala (at least what I needed) and played with
\r
59 >> the code a bit. The resulting 100 lines of vala code are here:
\r
61 > Ooh, a .vapi for notmuch, that is something that makes me happy. It
\r
62 > could be shipped with notmuch proper, even if it's rough now, and then
\r
63 > improved as people use it.
\r
64 We actually realized with spaetz that we duplicated work on this one... I
\r
65 also have a vapi file, which is working pretty well so far (I've used
\r
66 almost all the functions in it). I guess we should merge them, and include
\r
67 the result in notmuch's tree.
\r
70 http://git.mymadcat.com/index.php/p/abitmore/source/tree/master/src/notmuch.vapi
\r
73 >> Usage: "./vnotmuch Seb" will output all 'to:' addresses according to
\r
74 >> frequency for all messages where to, cc, or bcc matches "Seb*". It also
\r
75 >> filters with AND "from:yourprimarymailaddress". Just
\r
76 >> "./vnotmuch" outputs all addresses that you ever sent mails to. It
\r
78 >> writes/modifies your db.
\r
80 > Now I use "lbdb", which gets very slow as time goes. You idea creates a
\r
81 > most definitely superior system.
\r
84 >> Just a teaser to make you interested in vala :).
\r
86 > As it happens, some of us already are interested.
\r
88 > As soon as automatic gobject introspection based language bindings
\r
89 > become workable for at least python and perl, my plan is to rewrite
\r
92 > A second plan would be to have buffy show stats for saved notmuch
\r
93 > queries as well as (or instead of) mail folders.
\r
95 > It's very nice to know I wouldn't be the only person playing with Vala
\r
109 > [1] http://packages.debian.org/sid/buffy
\r