From: Adrien Bustany <abustany@gnome.org>
To: Enrico Zini <enrico@enricozini.org>
Cc: Notmuch development list <notmuch@notmuchmail.org>
Subject: Re: vala, this is notmuch. notmuch, this is vala
Date: Mon, 05 Apr 2010 16:12:02 +0200 [thread overview]
Message-ID: <1686c2264e9b7d32100a0b130d087203@localhost> (raw)
In-Reply-To: <20100405135004.GA23639@enricozini.org>
On Mon, 5 Apr 2010 14:50:04 +0100, Enrico Zini <enrico@enricozini.org>
wrote:
> 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.
We actually realized with spaetz that we duplicated work on this one... I
also have a vapi file, which is working pretty well so far (I've used
almost all the functions in it). I guess we should merge them, and include
the result in notmuch's tree.
See
http://git.mymadcat.com/index.php/p/abitmore/source/tree/master/src/notmuch.vapi
>
>
>> 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.
Make them two ;)
Cheers
Adrien
>
>
> Ciao,
>
> Enrico
>
> [1] http://packages.debian.org/sid/buffy
next prev parent reply other threads:[~2010-04-05 14:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-05 12:49 vala, this is notmuch. notmuch, this is vala Sebastian Spaeth
2010-04-05 13:50 ` Enrico Zini
2010-04-05 14:12 ` Adrien Bustany [this message]
2010-04-05 18:19 ` Carl Worth
2010-04-06 8:47 ` Sebastian Spaeth
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=1686c2264e9b7d32100a0b130d087203@localhost \
--to=abustany@gnome.org \
--cc=enrico@enricozini.org \
--cc=notmuch@notmuchmail.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).