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 79273431E82 for ; Wed, 29 Feb 2012 07:50:21 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.3 X-Spam-Level: X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3] 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 Av0loqmBs0ij for ; Wed, 29 Feb 2012 07:50:21 -0800 (PST) Received: from ipex2.johnshopkins.edu (ipex2.johnshopkins.edu [162.129.8.151]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id DF3DD431E64 for ; Wed, 29 Feb 2012 07:50:20 -0800 (PST) X-IronPort-AV: E=Sophos;i="4.73,503,1325480400"; d="scan'208";a="129588587" Received: from unknown (HELO watt) ([10.161.33.18]) by ipex2.johnshopkins.edu with ESMTP/TLS/AES256-SHA; 29 Feb 2012 10:50:20 -0500 Received: from jkr by watt with local (Exim 4.76) (envelope-from ) id 1S2lni-0006Pw-Fb; Wed, 29 Feb 2012 10:50:46 -0500 From: Jesse Rosenthal To: Austin Clements Subject: Re: Replacing my name/email with "me" (or similar) in author lists In-Reply-To: <20120229153657.GA772@mit.edu> References: <20120226112210.5422.8471@brick.lan> <87ehthfsyn.fsf@schoepe.localhost> <87fwdxk062.fsf@zancas.localnet> <87ehth8dd2.fsf@hermes.hocat.ca> <878vjl3ck3.fsf@jhu.edu> <20120229153657.GA772@mit.edu> User-Agent: Notmuch/0.11.1+192~g36ce7e3 (http://notmuchmail.org) Emacs/24.0.93.1 (i686-pc-linux-gnu) Date: Wed, 29 Feb 2012 10:50:46 -0500 Message-ID: <877gz5tz8p.fsf@jhu.edu> MIME-Version: 1.0 Content-Type: text/plain Cc: Notmuch Mail 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: Wed, 29 Feb 2012 15:50:21 -0000 On Wed, 29 Feb 2012 10:36:57 -0500, Austin Clements wrote: > What if the output of search (say, specifically the JSON format) > included information on each message in the thread such as the > 'message' production from devel/schemata minus the body field? Then > the frontend would have loads of information it could produce its own > summaries from. (Plus, with a little tweaking, I don't think this > would be any more expensive than producing the current notmuch search > summary output.) I was hoping for something like that when I started fiddling. But it's still going to end up being a library question, because notmuch-search.c, is tied pretty tightly to the lib: i.e. it uses functions like `notmuch_thread_get_authors (thread)'. I was using the python bindings, and I ended up having to make a second query off the thread id (I could have recursed through the messages too, I suppose). So I guess what I'm saying is that what you're suggesting sounds great, but we'd still have to either (a) add new library functions (`notmuch_thread_get_recipients', `notmuch_thread_abbrev_me'), (b) keep them all in the client and make pazz and scripters recreate them, or (c) play around in the sort of client-library space that it sounded like Bremner was suggesting. Best, Jesse