From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 07825431FBC for ; Mon, 25 Jan 2010 19:30:51 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.866 X-Spam-Level: X-Spam-Status: No, score=-0.866 tagged_above=-999 required=5 tests=[AWL=-0.867, BAYES_50=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 70kbXptgoE9G for ; Mon, 25 Jan 2010 19:30:50 -0800 (PST) Received: from mail-yw0-f193.google.com (mail-yw0-f193.google.com [209.85.211.193]) by olra.theworths.org (Postfix) with ESMTP id 26912431FAE for ; Mon, 25 Jan 2010 19:30:50 -0800 (PST) Received: by ywh31 with SMTP id 31so3400242ywh.32 for ; Mon, 25 Jan 2010 19:30:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:subject:from:to :in-reply-to:references:date:message-id:user-agent :content-transfer-encoding; bh=HlZGBkgqb5wHjppwkVV8InvIhVXtauBE4gp5PMsfWn0=; b=KFRhMMwNDX7F1iNbpte8tAiAQKXsWTN/MosvRAPLiLSj0S5AOtcFHl3Cyb0zrc8ich zXoPRHBcWRQkmoGcZjd1IuQKS8Zl73mljOveEZhWoNtC4noE/DH9Iewym+KZ/QT+eXsk N/kByAJ7TmO6xjF1Vtr+zPirX4fKEdcxDyWTA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:subject:from:to:in-reply-to:references:date:message-id :user-agent:content-transfer-encoding; b=jniRr8B5YpBbW3CBoG28GQ8siq+hdwaWZ8FENANwQX1ON/wtylQGeEA08S05xHhdgm vLhJ9TXtBN2jsDyI3WVSBghvM+xYKHSwAQI0VRhkC00P5PyHNnt/aKpm8B59WDKCCUSx 31376x/teQRqBB5XtM38zBuUtw/mHNozVPcKc= Received: by 10.150.55.28 with SMTP id d28mr9637469yba.335.1264476649544; Mon, 25 Jan 2010 19:30:49 -0800 (PST) Received: from localhost (umass-959-100.wireless.umass.edu [128.119.77.100]) by mx.google.com with ESMTPS id 6sm1894073yxg.12.2010.01.25.19.30.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 25 Jan 2010 19:30:48 -0800 (PST) Content-Type: text/plain; charset=UTF-8 From: Ben Gamari To: notmuch In-reply-to: <4B5DE02C.3070309@simon-cozens.org> References: <4B5DE02C.3070309@simon-cozens.org> Date: Mon, 25 Jan 2010 22:30:47 -0500 Message-Id: <1264476319-sup-7498@ben-laptop> User-Agent: Sup/git Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] Mail::Notmuch Perl wrapper 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: Tue, 26 Jan 2010 03:30:51 -0000 Excerpts from Simon Cozens's message of Mon Jan 25 13:17:16 -0500 2010: > (Resent with compressed patch) > > Hi there, > Here's a Perl library, Mail::Notmuch, which wraps the notmuch library. > I've attached it because it's pretty huge. It requires you to > build notmuch as a shared library - there's a patch on the mailing list > earlier which does that. I know practically nothing about writing Perl bindings, but it seems like this might be work better left to a bindings generator. I currently have a patch which enables binding generation through SWIG. It works well, although SWIG unfortunately doesn't have very good support for exposing object-oriented C interfaces like notmuchs' through the target language's type system. Nonetheless, this is easily done by a wrapper library to prettify the binding (which in the case of Python took very little time). I sent the patchset out a few weeks ago, but I'll rebase it on top of my shared-library branch and send it out again tonight. Cheers, - Ben