--- /dev/null
+Return-Path: <bremner@unb.ca>\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 84390431FAF\r
+ for <notmuch@notmuchmail.org>; Thu, 20 Dec 2012 08:58:30 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+ 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 4gW05sZiqJ6M for <notmuch@notmuchmail.org>;\r
+ Thu, 20 Dec 2012 08:58:29 -0800 (PST)\r
+Received: from tesseract.cs.unb.ca (tesseract.cs.unb.ca [131.202.240.238])\r
+ (using TLSv1 with cipher AES256-SHA (256/256 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 902D2431FAE\r
+ for <notmuch@notmuchmail.org>; Thu, 20 Dec 2012 08:58:29 -0800 (PST)\r
+Received: from fctnnbsc30w-156034082078.dhcp-dynamic.fibreop.nb.bellaliant.net\r
+ ([156.34.82.78] helo=zancas.localnet)\r
+ by tesseract.cs.unb.ca with esmtpsa\r
+ (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72)\r
+ (envelope-from <bremner@unb.ca>)\r
+ id 1TljRx-0004k7-Fm; Thu, 20 Dec 2012 12:58:26 -0400\r
+Received: from bremner by zancas.localnet with local (Exim 4.80)\r
+ (envelope-from <bremner@unb.ca>)\r
+ id 1TljRr-0004kf-UW; Thu, 20 Dec 2012 12:58:19 -0400\r
+From: David Bremner <david@tethera.net>\r
+To: Tomi Ollila <tomi.ollila@iki.fi>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH 1/3] CLI: add talloc leak report,\r
+ controlled by an environment variable.\r
+In-Reply-To: <m2hangivfu.fsf@guru.guru-group.fi>\r
+References: <1355714648-23144-1-git-send-email-david@tethera.net>\r
+ <1355714648-23144-2-git-send-email-david@tethera.net>\r
+ <m2hangivfu.fsf@guru.guru-group.fi>\r
+User-Agent: Notmuch/0.14+163~g11a220a (http://notmuchmail.org) Emacs/24.2.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Thu, 20 Dec 2012 12:58:19 -0400\r
+Message-ID: <87hang8xuc.fsf@zancas.localnet>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-Spam_bar: -\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: Thu, 20 Dec 2012 16:58:30 -0000\r
+\r
+Tomi Ollila <tomi.ollila@iki.fi> writes:\r
+\r
+> On Mon, Dec 17 2012, david@tethera.net wrote:\r
+>\r
+>> From: David Bremner <bremner@debian.org>\r
+>>\r
+>> The argument handling in notmuch.c seems due for an overhaul, but\r
+>> until then use an environment variable to specify a location to write\r
+>> the talloc leak report to. This is only enabled for the (interesting)\r
+>> case where some notmuch subcommand is invoked.\r
+>> ---\r
+>\r
+> I'd still suggest to have similar command-line interface option(s) as\r
+> samba4 use: --leak-report and/or --leak-report-full\r
+>\r
+> (search --leak-r in talloc(3) namual page)\r
+>\r
+\r
+Sure sounds fine, when someone (TM) redoes the top level argument\r
+handling. I think it would make sense to ditch the alias handling\r
+completely; both current aliases are deprecated for a long time.\r
+\r
+d\r