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 8D452431FC0; Fri, 27 Nov 2009 18:55:43 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org 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 Gt8Sv6czDauT; Fri, 27 Nov 2009 18:55:43 -0800 (PST) Received: from cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id CC4BA431FAE; Fri, 27 Nov 2009 18:55:42 -0800 (PST) From: Carl Worth To: Scott Robinson , Jeffrey Ollie In-Reply-To: <1259171760-sup-1293@lisa> References: <1259164514-sup-196@lisa> <935ead450911250946t76bfa0d2k7da3154bbc57b10b@mail.gmail.com> <1259171760-sup-1293@lisa> Date: Fri, 27 Nov 2009 18:55:28 -0800 Message-ID: <87y6lrjr33.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: notmuch Subject: Re: Using notmuch from Ruby, Python, et al. X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 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: Sat, 28 Nov 2009 02:55:43 -0000 On Wed, 25 Nov 2009 09:58:00 -0800, Scott Robinson wrote: > Excerpts from Jeffrey Ollie's message of Wed Nov 25 09:46:47 -0800 2009: > > I selected cJSON because it was simple for integration. Given how libsha1.c is > included in lib/, I figured adding a depedency wouldn't be very > popular. I'm not dead-set against additional dependencies, but I think I do take a conservative approach, (hence copying in the tiny libsha1.c rather than linking to any enormous encryption library). > Would it be better to link with a previously existing library? For something like this, I don't see the need for any library at all---generating any particular format is always *much* easier than parsing it. So I wouldn't mind seeing a couple of tiny functions in notmuch for this (or other formats). And I think it would be better to start with code that's already written and debugged (and license compatible!) rather than starting from scratch. > Q: Why are my replies five sentences or less? > A: http://five.sentenc.es/ There---just five this time. :-) -Carl