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 852814196F4 for ; Mon, 5 Apr 2010 06:49:35 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.001 X-Spam-Level: X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[BAYES_40=-0.001] autolearn=ham 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 uNkJl8yiQpZb for ; Mon, 5 Apr 2010 06:49:34 -0700 (PDT) Received: from enricozini.org (enricozini.org [92.243.17.14]) by olra.theworths.org (Postfix) with ESMTP id BE73A4196F0 for ; Mon, 5 Apr 2010 06:49:33 -0700 (PDT) Received: from enricozini.org (localhost [127.0.0.1]) by enricozini.org (Postfix) with ESMTP id 9A2293993F for ; Mon, 5 Apr 2010 15:49:32 +0200 (CEST) Received: by enricozini.org (Postfix, from userid 1000) id 1916724053; Mon, 5 Apr 2010 14:50:05 +0100 (BST) Date: Mon, 5 Apr 2010 14:50:04 +0100 From: Enrico Zini To: Notmuch development list Message-ID: <20100405135004.GA23639@enricozini.org> References: <874ojq5ajw.fsf@SSpaeth.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="BXVAT5kNtrzKuDFl" Content-Disposition: inline In-Reply-To: <874ojq5ajw.fsf@SSpaeth.de> User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: [notmuch] vala, this is notmuch. notmuch, this is vala 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: Mon, 05 Apr 2010 13:49:35 -0000 --BXVAT5kNtrzKuDFl Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 05, 2010 at 02:49:23PM +0200, Sebastian Spaeth wrote: > So I bound notmuch.so to vala (at least what I needed) and played with > the code a bit. The resulting 100 lines of vala code are here: Ooh, a .vapi for notmuch, that is something that makes me happy. It could be shipped with notmuch proper, even if it's rough now, and then improved as people use it. > Usage: "./vnotmuch Seb" will output all 'to:' addresses according to > frequency for all messages where to, cc, or bcc matches "Seb*". It also > filters with AND "from:yourprimarymailaddress". Just > "./vnotmuch" outputs all addresses that you ever sent mails to. It never > writes/modifies your db. Now I use "lbdb", which gets very slow as time goes. You idea creates a most definitely superior system. > Just a teaser to make you interested in vala :). As it happens, some of us already are interested. As soon as automatic gobject introspection based language bindings become workable for at least python and perl, my plan is to rewrite buffy[1] in Vala. A second plan would be to have buffy show stats for saved notmuch queries as well as (or instead of) mail folders. It's very nice to know I wouldn't be the only person playing with Vala around here. Ciao, Enrico [1] http://packages.debian.org/sid/buffy --=20 GPG key: 4096R/E7AD5568 2009-05-08 Enrico Zini --BXVAT5kNtrzKuDFl Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQEcBAEBCAAGBQJLueqMAAoJEON4Oc9CHQtaTcQH/RzUcrj/I9nLfDfR9o1p0/8Q oSCe5sMEpZgEDdP/ymqEUgw5kzNpB0AQO+eJN6x8l3jokuS9qvcpH6MFQ8s+xlpa R0/S7WCMIXk4FMGypL9kDa7gn42aPTfCJ3cFfT3sCklHyexj8YN3ktt9r60B4lsT nNhq+ERpzzu3qV5Gw9aRbkAEMhRx+CmTmyeVQVzKJUS0kkTMELu8biU4R1Qiw7LK rOllTfbRkxcEtHfWhcS24d5YUgBfKFghuky5PY6jyMHVPTDuRn7uDYALPHgy149a aXSAxe4REgI85m3mYVkkK029UEa5pqmc2YURMZ67tS+Vnpe4vgX3/NBcKwxDjn0= =VSAx -----END PGP SIGNATURE----- --BXVAT5kNtrzKuDFl--