--- /dev/null
+Return-Path: <polatel@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id 700F4429E21\r
+ for <notmuch@notmuchmail.org>; Mon, 3 Oct 2011 22:06:19 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+ tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id L3pLRh4PgXR9 for <notmuch@notmuchmail.org>;\r
+ Mon, 3 Oct 2011 22:06:15 -0700 (PDT)\r
+Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com\r
+ [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 8AB52431FB6\r
+ for <notmuch@notmuchmail.org>; Mon, 3 Oct 2011 22:06:15 -0700 (PDT)\r
+Received: by bkbzt12 with SMTP id zt12so224537bkb.26\r
+ for <notmuch@notmuchmail.org>; Mon, 03 Oct 2011 22:06:14 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
+ h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references\r
+ :organization; bh=LiBDXXRCOFGIs7KTrBlhaVedSL6v4PNXsduq4pesDDU=;\r
+ b=VP51zqqkBSiANqjNrer4eFua63NigMCpgqAlhLvuEbOC/DuIayj1b+QQETiRC6BJbZ\r
+ EoHmMglvHyGKJnjlGEfu2YltWvyZ6lrQbr/P4RxpL19ENIRCy4qT6nYyfKw0DJH3o81m\r
+ s41MSYL2OpP7HJi4iWivOrLf4KSVLA0Vxq3GM=\r
+Received: by 10.223.34.73 with SMTP id k9mr1120241fad.9.1317704774156;\r
+ Mon, 03 Oct 2011 22:06:14 -0700 (PDT)\r
+Received: from localhost ([88.236.39.101])\r
+ by mx.google.com with ESMTPS id v17sm23986327fai.18.2011.10.03.22.06.13\r
+ (version=TLSv1/SSLv3 cipher=OTHER);\r
+ Mon, 03 Oct 2011 22:06:13 -0700 (PDT)\r
+From: Ali Polatel <polatel@gmail.com>\r
+To: David Bremner <david@tethera.net>\r
+Subject: [PATCH v3 0/2] Better error handling\r
+Date: Tue, 4 Oct 2011 08:06:07 +0300\r
+Message-Id: <cover.1317704225.git.alip@exherbo.org>\r
+X-Mailer: git-send-email 1.7.6.1\r
+In-Reply-To: <20111004050046.GA6048@hayalet>\r
+References: <20111004050046.GA6048@hayalet>\r
+Organization: Pink Floyd\r
+Cc: Ali Polatel <alip@exherbo.org>,\r
+ Notmuch Mailing List <notmuch@notmuchmail.org>,\r
+ Austin Clements <amdragon@MIT.EDU>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 04 Oct 2011 05:06:20 -0000\r
+\r
+From: Ali Polatel <alip@exherbo.org>\r
+\r
+New set of patches addressing the issues in the mail\r
+"id:8739f9muhp.fsf@zancas.localnet"\r
+\r
+You may also find the commits in my notmuch repository:\r
+git://github.com/alip/notmuch.git branch: find_message-v3\r
+\r
+Ali Polatel (2):\r
+ lib: destroy message object after message removal\r
+ lib: make find_message{,by_filename) report errors\r
+\r
+ lib/database.cc | 98 ++++++++++++++++++++++++++++++++++++-----------------\r
+ lib/message.cc | 8 +++--\r
+ lib/notmuch.h | 58 +++++++++++++++++++++----------\r
+ notmuch-new.c | 4 ++-\r
+ notmuch-restore.c | 11 ++++--\r
+ 5 files changed, 122 insertions(+), 57 deletions(-)\r
+\r
+-- \r
+1.7.6.1\r
+\r