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 05EC44196F2 for ; Fri, 2 Apr 2010 23:34:59 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.001 X-Spam-Level: X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[BAYES_20=-0.001] autolearn=ham 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 rthQvHrb096Q for ; Fri, 2 Apr 2010 23:34:58 -0700 (PDT) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by olra.theworths.org (Postfix) with ESMTP id 0C4CB431FC1 for ; Fri, 2 Apr 2010 23:34:57 -0700 (PDT) Received: by wyj26 with SMTP id 26so920381wyj.26 for ; Fri, 02 Apr 2010 23:34:57 -0700 (PDT) Received: by 10.216.178.85 with SMTP id e63mr1162132wem.156.1270276497292; Fri, 02 Apr 2010 23:34:57 -0700 (PDT) Received: from ut.hh.sledj.net (host83-217-165-81.dsl.vispa.com [83.217.165.81]) by mx.google.com with ESMTPS id u14sm21089462gvf.2.2010.04.02.23.34.55 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 02 Apr 2010 23:34:56 -0700 (PDT) Received: by ut.hh.sledj.net (Postfix, from userid 1000) id A0BBB5941EC; Sat, 3 Apr 2010 07:34:57 +0100 (BST) To: Carl Worth , notmuch In-Reply-To: <87d3yhihzl.fsf@yoom.home.cworth.org> References: <87oci344n4.fsf@ut.hh.sledj.net> <87bpe2j2vu.fsf@yoom.home.cworth.org> <87oci2xmkv.fsf@ut.hh.sledj.net> <87d3yhihzl.fsf@yoom.home.cworth.org> From: David Edmondson Date: Sat, 03 Apr 2010 07:34:57 +0100 Message-ID: <87iq89xcvi.fsf@ut.hh.sledj.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [notmuch] pull request 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: Sat, 03 Apr 2010 06:34:59 -0000 On Fri, 02 Apr 2010 15:53:34 -0700, Carl Worth wrote: > Having played with it a tiny bit, I do think that since the part command > always requires a --part option that we might as well just make it part > of notmuch show. That is: > > notmuch show --part=2 id:foo > > instead of: > > notmuch part --part=2 id:foo > > It's no more to type and it keeps our top-level command-set simpler. As part of having more information about MIME structure in the JSON output (multipart/alternative, for example), I think that we (I, if I get to it first) will need to re-work the `show' implementation somewhat. We should wait until doing that work to merge the `--part' support across. dme. -- David Edmondson, http://dme.org