--- /dev/null
+Return-Path: <amdragon@mit.edu>\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 79159431E64\r
+ for <notmuch@notmuchmail.org>; Wed, 29 Feb 2012 14:47:50 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+ tests=[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 UpBNWezq3emb for <notmuch@notmuchmail.org>;\r
+ Wed, 29 Feb 2012 14:47:49 -0800 (PST)\r
+Received: from dmz-mailsec-scanner-4.mit.edu (DMZ-MAILSEC-SCANNER-4.MIT.EDU\r
+ [18.9.25.15])\r
+ by olra.theworths.org (Postfix) with ESMTP id C23E9431FAE\r
+ for <notmuch@notmuchmail.org>; Wed, 29 Feb 2012 14:47:49 -0800 (PST)\r
+X-AuditID: 1209190f-b7f8a6d000000914-a7-4f4eab155beb\r
+Received: from mailhub-auth-3.mit.edu ( [18.9.21.43])\r
+ by dmz-mailsec-scanner-4.mit.edu (Symantec Messaging Gateway) with SMTP\r
+ id 16.55.02324.51BAE4F4; Wed, 29 Feb 2012 17:47:49 -0500 (EST)\r
+Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])\r
+ by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id q1TMlmBR031808; \r
+ Wed, 29 Feb 2012 17:47:48 -0500\r
+Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91])\r
+ (authenticated bits=0)\r
+ (User authenticated as amdragon@ATHENA.MIT.EDU)\r
+ by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id q1TMlkCj016120\r
+ (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);\r
+ Wed, 29 Feb 2012 17:47:47 -0500 (EST)\r
+Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.77)\r
+ (envelope-from <amdragon@mit.edu>)\r
+ id 1S2sJG-0002qE-FJ; Wed, 29 Feb 2012 17:47:46 -0500\r
+From: Austin Clements <amdragon@MIT.EDU>\r
+To: Jesse Rosenthal <jrosenthal@jhu.edu>\r
+Subject: Re: Replacing my name/email with "me" (or similar) in author lists\r
+In-Reply-To: <877gz5tz8p.fsf@jhu.edu>\r
+References: <slrnjki3c7.tcm.quite@kelebek.lublin.se>\r
+ <20120226112210.5422.8471@brick.lan>\r
+ <87ehthfsyn.fsf@schoepe.localhost> <87fwdxk062.fsf@zancas.localnet>\r
+ <87ehth8dd2.fsf@hermes.hocat.ca> <878vjl3ck3.fsf@jhu.edu>\r
+ <20120229153657.GA772@mit.edu> <877gz5tz8p.fsf@jhu.edu>\r
+User-Agent: Notmuch/0.11.1+252~gdf1a6d5 (http://notmuchmail.org) Emacs/23.3.1\r
+ (i486-pc-linux-gnu)\r
+Date: Wed, 29 Feb 2012 17:47:46 -0500\r
+Message-ID: <87k435ntnx.fsf@awakening.csail.mit.edu>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+X-Brightmail-Tracker:\r
+ H4sIAAAAAAAAA+NgFmpgleLIzCtJLcpLzFFi42IR4hTV1hVd7edvcO89n8WN1m5Gi29bdzNa\r
+ XL85k9ni/t4F7A4sHv++fWf3eLbqFrPHlkPvmT0mPJ7PFMASxWWTkpqTWZZapG+XwJXx/ZRq\r
+ wTP+ivfrpjE2ML7k6WLk5JAQMJFYvO08M4QtJnHh3nq2LkYuDiGBfYwSv1evZIdwNjBKtC5c\r
+ xwjhnGSSWPLhPytIi5DAEkaJv4dMQWw2AQ2JbfuXM4LYIkD2grZ17CA2s0CNxK6+s2BxYQFv\r
+ ie4rS5m6GDk4OAVUJRZdF4CY2c8kcXPBeiaQGlGBRIn1nffBbBagmmWNn1lAbF6gU9/fWMME\r
+ YQtKnJz5hAVivpbEjX8vmSYwCs5CkpqFJLWAkWkVo2xKbpVubmJmTnFqsm5xcmJeXmqRrole\r
+ bmaJXmpK6SZGcEBL8u9g/HZQ6RCjAAejEg8vU6GfvxBrYllxZe4hRkkOJiVR3rkrgEJ8Sfkp\r
+ lRmJxRnxRaU5qcWHGCU4mJVEeD92A+V4UxIrq1KL8mFS0hwsSuK8alrv/IQE0hNLUrNTUwtS\r
+ i2CyMhwcShK8jquAGgWLUtNTK9Iyc0oQ0kwcnCDDeYCGm4PU8BYXJOYWZ6ZD5E8xKkqJ8waD\r
+ JARAEhmleXC9sITzilEc6BVhXiuQKh5gsoLrfgU0mAlocACnN8jgkkSElFQDo0Cd3x7h2Jkx\r
+ d3lu77yy838T/7XTKh0ntTzPBQic+GSZuMD8RmZ3ybaZcQxFihUPLljWOZ+vPxI0Ie+BTODB\r
+ zgn395gfmdygXCneNuF5/cS/3z6vnatkEnFhMV+KZMeLB4cOJ+zccq6y+nM6154XMk8XhLMt\r
+ fOy+s3vtxc1fBI591bqk7MCWs1iJpTgj0VCLuag4EQBfqC+XEwMAAA==\r
+Cc: Notmuch Mail <notmuch@notmuchmail.org>\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: Wed, 29 Feb 2012 22:47:50 -0000\r
+\r
+On Wed, 29 Feb 2012 10:50:46 -0500, Jesse Rosenthal <jrosenthal@jhu.edu> wrote:\r
+> On Wed, 29 Feb 2012 10:36:57 -0500, Austin Clements <amdragon@MIT.EDU> wrote:\r
+> > What if the output of search (say, specifically the JSON format)\r
+> > included information on each message in the thread such as the\r
+> > 'message' production from devel/schemata minus the body field? Then\r
+> > the frontend would have loads of information it could produce its own\r
+> > summaries from. (Plus, with a little tweaking, I don't think this\r
+> > would be any more expensive than producing the current notmuch search\r
+> > summary output.)\r
+> \r
+> I was hoping for something like that when I started fiddling. But it's\r
+> still going to end up being a library question, because\r
+> notmuch-search.c, is tied pretty tightly to the lib: i.e. it uses\r
+> functions like `notmuch_thread_get_authors (thread)'. I was using the\r
+> python bindings, and I ended up having to make a second query off the\r
+> thread id (I could have recursed through the messages too, I suppose).\r
+> \r
+> So I guess what I'm saying is that what you're suggesting sounds great,\r
+> but we'd still have to either (a) add new library functions\r
+> (`notmuch_thread_get_recipients', `notmuch_thread_abbrev_me'), (b) keep\r
+> them all in the client and make pazz and scripters recreate them, or (c)\r
+> play around in the sort of client-library space that it sounded like\r
+> Bremner was suggesting.\r
+\r
+I was suggesting just using notmuch_thread_get_toplevel_messages in\r
+search (essentially, mixing a bit of show into search). No library\r
+changes necessary.\r
+\r
+It may still be useful to have a collection of *utilities* that could be\r
+reused in bindings; basically, things that currently live in the CLI but\r
+could be broken out. These should live outside of libnotmuch proper.\r
+My concern would be what we put in such a library. Currently, the CLI's\r
+internal architecture is quite agile, but as soon as you put some of\r
+that in a library, you have a library interface to support.\r