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 56887431E82 for ; Sat, 17 Aug 2013 08:52:38 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_NONE=-0.0001] 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 oyOhMcRAinOT for ; Sat, 17 Aug 2013 08:52:30 -0700 (PDT) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) by olra.theworths.org (Postfix) with ESMTP id B3253431FC4 for ; Sat, 17 Aug 2013 08:52:30 -0700 (PDT) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=2.1 cv=IO07VGfG c=1 sm=0 tr=0 a=C2bPeGdon5f+QfTtoGFpIg==:117 a=C2bPeGdon5f+QfTtoGFpIg==:17 a=K-v-2zaBAAAA:8 a=gxDP-SbUGcMA:10 a=97V-WqMTq8EA:10 a=IkcTkHD0fZMA:10 a=3wHbS4G-AAAA:8 a=Qdy8_LB6nwUA:10 a=7343-z1_AAAA:8 a=S52A0xTpox6YweIGANYA:9 a=QEXdDO2ut3YA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp01.rcn.cmh.synacor.com smtp.mail=wuzzeb@wuzzeb.org; spf=pass; sender-id=pass Authentication-Results: smtp01.rcn.cmh.synacor.com header.from=wuzzeb@wuzzeb.org; sender-id=pass Received-SPF: pass (smtp01.rcn.cmh.synacor.com: domain wuzzeb.org designates 205.178.10.182 as permitted sender) Received: from [205.178.10.182] ([205.178.10.182:49206] helo=wuzzeb.org) by smtp.rcn.com (envelope-from ) (ecelerity 2.2.3.49 r(42060/42061)) with ESMTP id 1D/96-04066-C3C9F025; Sat, 17 Aug 2013 11:52:29 -0400 Received: from wuzzeb by wuzzeb.org with local (Exim 4.80.1) (envelope-from ) id 1VAink-0000R3-4C; Sat, 17 Aug 2013 10:52:28 -0500 From: =?utf-8?Q?John_Lenz?= To: =?utf-8?Q?Tomi_Ollila?= , Subject: Re: cli: add --include-html option to notmuch show Message-ID: In-reply-to: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sender: Date: Sat, 17 Aug 2013 10:52:28 -0500 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, 17 Aug 2013 15:52:38 -0000 On Sun Aug 4 14:47 -0500 2013, Tomi Ollila wrote: > The next question is should we have new option as > > --include-html > > or as > > --include-html=3D(true|false) > > or even > > --body=3D(true|false|text-and-html) > > See --exclude option in http://notmuchmail.org/manpages/notmuch-search-1/= > and --body option in http://notmuchmail.org/manpages/notmuch-show-1/ > for comparison... > I have no preference here, although I guess I would vote for --include-html=3D(true|false) since adding it to --body makes the --body options confusing: to make sense the body options should be --body=3D(text|text-and-html|none) but of course you can't change that and break the command line API. Well, maybe you could add all three --body=3D(text|text-and-html|none) and still accept true/false for compatibility.