1 Return-Path: <bgamari@gmail.com>
\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 07825431FBC
\r
6 for <notmuch@notmuchmail.org>; Mon, 25 Jan 2010 19:30:51 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.866 tagged_above=-999 required=5
\r
12 tests=[AWL=-0.867, BAYES_50=0.001] autolearn=ham
\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 70kbXptgoE9G for <notmuch@notmuchmail.org>;
\r
16 Mon, 25 Jan 2010 19:30:50 -0800 (PST)
\r
17 Received: from mail-yw0-f193.google.com (mail-yw0-f193.google.com
\r
19 by olra.theworths.org (Postfix) with ESMTP id 26912431FAE
\r
20 for <notmuch@notmuchmail.org>; Mon, 25 Jan 2010 19:30:50 -0800 (PST)
\r
21 Received: by ywh31 with SMTP id 31so3400242ywh.32
\r
22 for <notmuch@notmuchmail.org>; Mon, 25 Jan 2010 19:30:49 -0800 (PST)
\r
23 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
24 h=domainkey-signature:received:received:content-type:subject:from:to
\r
25 :in-reply-to:references:date:message-id:user-agent
\r
26 :content-transfer-encoding;
\r
27 bh=HlZGBkgqb5wHjppwkVV8InvIhVXtauBE4gp5PMsfWn0=;
\r
28 b=KFRhMMwNDX7F1iNbpte8tAiAQKXsWTN/MosvRAPLiLSj0S5AOtcFHl3Cyb0zrc8ich
\r
29 zXoPRHBcWRQkmoGcZjd1IuQKS8Zl73mljOveEZhWoNtC4noE/DH9Iewym+KZ/QT+eXsk
\r
30 N/kByAJ7TmO6xjF1Vtr+zPirX4fKEdcxDyWTA=
\r
31 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
\r
32 h=content-type:subject:from:to:in-reply-to:references:date:message-id
\r
33 :user-agent:content-transfer-encoding;
\r
34 b=jniRr8B5YpBbW3CBoG28GQ8siq+hdwaWZ8FENANwQX1ON/wtylQGeEA08S05xHhdgm
\r
35 vLhJ9TXtBN2jsDyI3WVSBghvM+xYKHSwAQI0VRhkC00P5PyHNnt/aKpm8B59WDKCCUSx
\r
36 31376x/teQRqBB5XtM38zBuUtw/mHNozVPcKc=
\r
37 Received: by 10.150.55.28 with SMTP id d28mr9637469yba.335.1264476649544;
\r
38 Mon, 25 Jan 2010 19:30:49 -0800 (PST)
\r
39 Received: from localhost (umass-959-100.wireless.umass.edu [128.119.77.100])
\r
40 by mx.google.com with ESMTPS id 6sm1894073yxg.12.2010.01.25.19.30.48
\r
41 (version=TLSv1/SSLv3 cipher=RC4-MD5);
\r
42 Mon, 25 Jan 2010 19:30:48 -0800 (PST)
\r
43 Content-Type: text/plain; charset=UTF-8
\r
44 From: Ben Gamari <bgamari@gmail.com>
\r
45 To: notmuch <notmuch@notmuchmail.org>
\r
46 In-reply-to: <4B5DE02C.3070309@simon-cozens.org>
\r
47 References: <4B5DE02C.3070309@simon-cozens.org>
\r
48 Date: Mon, 25 Jan 2010 22:30:47 -0500
\r
49 Message-Id: <1264476319-sup-7498@ben-laptop>
\r
51 Content-Transfer-Encoding: 8bit
\r
52 Subject: Re: [notmuch] [PATCH] Mail::Notmuch Perl wrapper
\r
53 X-BeenThere: notmuch@notmuchmail.org
\r
54 X-Mailman-Version: 2.1.13
\r
56 List-Id: "Use and development of the notmuch mail system."
\r
57 <notmuch.notmuchmail.org>
\r
58 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
59 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
60 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
61 List-Post: <mailto:notmuch@notmuchmail.org>
\r
62 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
63 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
64 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
65 X-List-Received-Date: Tue, 26 Jan 2010 03:30:51 -0000
\r
67 Excerpts from Simon Cozens's message of Mon Jan 25 13:17:16 -0500 2010:
\r
68 > (Resent with compressed patch)
\r
71 > Here's a Perl library, Mail::Notmuch, which wraps the notmuch library.
\r
72 > I've attached it because it's pretty huge. It requires you to
\r
73 > build notmuch as a shared library - there's a patch on the mailing list
\r
74 > earlier which does that.
\r
76 I know practically nothing about writing Perl bindings, but it seems
\r
77 like this might be work better left to a bindings generator. I currently
\r
78 have a patch which enables binding generation through SWIG. It works
\r
79 well, although SWIG unfortunately doesn't have very good support for
\r
80 exposing object-oriented C interfaces like notmuchs' through the target
\r
81 language's type system. Nonetheless, this is easily done by a wrapper
\r
82 library to prettify the binding (which in the case of Python took very
\r
85 I sent the patchset out a few weeks ago, but I'll rebase it on top of my
\r
86 shared-library branch and send it out again tonight.
\r