1 Return-Path: <bremner@pivot.cs.unb.ca>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 49060431FC0
\r
6 for <notmuch@notmuchmail.org>; Fri, 18 Dec 2009 16:36:42 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
8 Received: from olra.theworths.org ([127.0.0.1])
\r
9 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
10 with ESMTP id AMgVeddNlCSi for <notmuch@notmuchmail.org>;
\r
11 Fri, 18 Dec 2009 16:36:41 -0800 (PST)
\r
12 Received: from pivot.cs.unb.ca (pivot.cs.unb.ca [131.202.240.57])
\r
13 by olra.theworths.org (Postfix) with ESMTP id 552AF431FAE
\r
14 for <notmuch@notmuchmail.org>; Fri, 18 Dec 2009 16:36:41 -0800 (PST)
\r
16 fctnnbsc30w-142167182194.pppoe-dynamic.high-speed.nb.bellaliant.net
\r
17 ([142.167.182.194] helo=localhost)
\r
18 by pivot.cs.unb.ca with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32)
\r
19 (Exim 4.69) (envelope-from <bremner@pivot.cs.unb.ca>)
\r
20 id 1NLnJI-0007Nm-7t; Fri, 18 Dec 2009 20:36:40 -0400
\r
21 Received: from bremner by localhost with local (Exim 4.69)
\r
22 (envelope-from <bremner@pivot.cs.unb.ca>)
\r
23 id 1NLnJC-0004By-Ps; Fri, 18 Dec 2009 20:36:34 -0400
\r
24 From: David Bremner <david@tethera.net>
\r
25 To: Carl Worth <cworth@cworth.org>, notmuch@notmuchmail.org
\r
26 In-Reply-To: <87iqc4yyo8.fsf@yoom.home.cworth.org>
\r
27 References: <1261114167-sup-8228@lisa>
\r
28 <1261141195-5469-1-git-send-email-david@tethera.net>
\r
29 <87iqc4yyo8.fsf@yoom.home.cworth.org>
\r
30 Date: Fri, 18 Dec 2009 20:36:34 -0400
\r
31 Message-ID: <871virsstp.fsf@pivot.cs.unb.ca>
\r
33 Content-Type: text/plain; charset=us-ascii
\r
34 X-Sender-Verified: bremner@pivot.cs.unb.ca
\r
35 Subject: Re: [notmuch] [PATCH] Add an "--output=(json|text|)" command-line
\r
36 option to both notmuch-search and notmuch-show.
\r
37 X-BeenThere: notmuch@notmuchmail.org
\r
38 X-Mailman-Version: 2.1.12
\r
40 List-Id: "Use and development of the notmuch mail system."
\r
41 <notmuch.notmuchmail.org>
\r
42 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
43 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
44 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
45 List-Post: <mailto:notmuch@notmuchmail.org>
\r
46 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
47 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
48 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
49 X-List-Received-Date: Sat, 19 Dec 2009 00:36:42 -0000
\r
51 On Fri, 18 Dec 2009 09:33:43 -0800, Carl Worth <cworth@cworth.org> wrote:
\r
53 > I think that selecting *what* to emit is orthogonal from selecting *how*
\r
54 > to format that output.
\r
56 I can see that point of view.
\r
58 > See some ideas in the TODO file, (where I proposed --for and --format
\r
59 > options for these).
\r
61 It's a detail, but could you choose two names that are not substrings of
\r
62 each other? Eventually we do want tab completion on the command line to
\r
63 work :). Also, "search --for tags foo" suggests to me that
\r
64 searching for tags matching foo. What about using --output for that?
\r
65 One thing that is not completely clear to me at this point is what the
\r
66 difference is between
\r
68 notmuch search --for messages search-terms
\r
72 notmuch show search-terms
\r