From 9e64c27c416e2a98f9f4bea153e7776d9e23a394 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Fri, 24 Feb 2012 20:29:36 +2000 Subject: [PATCH] Re: notmuch as a shared object aka library knigge --- a2/d95a69d6dcd1f94de19a99b101eb48d1943f1a | 78 +++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 a2/d95a69d6dcd1f94de19a99b101eb48d1943f1a diff --git a/a2/d95a69d6dcd1f94de19a99b101eb48d1943f1a b/a2/d95a69d6dcd1f94de19a99b101eb48d1943f1a new file mode 100644 index 000000000..04b82db06 --- /dev/null +++ b/a2/d95a69d6dcd1f94de19a99b101eb48d1943f1a @@ -0,0 +1,78 @@ +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 AF823431FBC + for ; Thu, 23 Feb 2012 16:29:45 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +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 DB2fM2FW84KG for ; + Thu, 23 Feb 2012 16:29:45 -0800 (PST) +Received: from tesseract.cs.unb.ca (tesseract.cs.unb.ca [131.202.240.238]) + (using TLSv1 with cipher AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id E8557431FAE + for ; Thu, 23 Feb 2012 16:29:44 -0800 (PST) +Received: from fctnnbsc30w-142166230117.dhcp-dynamic.fibreop.nb.bellaliant.net + ([142.166.230.117] helo=zancas.localnet) + by tesseract.cs.unb.ca with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) + (Exim 4.72) (envelope-from ) + id 1S0j2c-0000Oz-C2; Thu, 23 Feb 2012 20:29:43 -0400 +Received: from bremner by zancas.localnet with local (Exim 4.77) + (envelope-from ) + id 1S0j2X-0003tn-1d; Thu, 23 Feb 2012 20:29:37 -0400 +From: David Bremner +To: Justus Winter <4winter@informatik.uni-hamburg.de>, + notmuch mailing list +Subject: Re: notmuch as a shared object aka library knigge +In-Reply-To: <20120223222200.17796.11840@thinkbox.jade-hamburg.de> +References: <20120221002921.8534.57091@thinkbox.jade-hamburg.de> + <20120221155312.GB30513@mit.edu> + <20120222151745.4213.93513@thinkbox.jade-hamburg.de> + <20120223222200.17796.11840@thinkbox.jade-hamburg.de> +User-Agent: Notmuch/0.11.1+188~ga5674c2 (http://notmuchmail.org) Emacs/23.3.1 + (x86_64-pc-linux-gnu) +Date: Thu, 23 Feb 2012 20:29:36 -0400 +Message-ID: <87hayhkr9r.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +X-Spam_bar: - +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: Fri, 24 Feb 2012 00:29:45 -0000 + +On Thu, 23 Feb 2012 23:22:00 +0100, Justus Winter <4winter@informatik.uni-hamburg.de> wrote: + +> That wasn't meant to sound as harsh as it probably did. I seriously +> hope that someone is around who enjoys to hack on the c/c++ part of +> the library and is willing fix problems in it. + +Luckily I deleted my snarky reply ;). + +> And I worked around the two functions (that I know of) that call +> exit(3) by conditionally raising exceptions in the python bindings, +> but this is only meant as a intermediate fix, a hack that should be +> removed as soon as the library is fixed. + +Can you make test cases to document exactly when internal errors are +occuring in the library? Somehow it seems like the CLI is not triggering +them. It might help clarify the discussion and/or motivate people to fix +them. + +d -- 2.26.2