1 Return-Path: <tomi.ollila@nixu.com>
\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 22872429E27
\r
6 for <notmuch@notmuchmail.org>; Mon, 10 Oct 2011 06:59:10 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id JxA3pUXLSB5y for <notmuch@notmuchmail.org>;
\r
16 Mon, 10 Oct 2011 06:59:09 -0700 (PDT)
\r
17 Received: from taco2.nixu.fi (taco2.nixu.fi [194.197.118.31])
\r
18 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 554E6429E26
\r
21 for <notmuch@notmuchmail.org>; Mon, 10 Oct 2011 06:59:09 -0700 (PDT)
\r
22 Received: from taco2.nixu.fi (localhost [127.0.0.1])
\r
23 by taco2.nixu.fi (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id
\r
25 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
\r
26 Mon, 10 Oct 2011 16:59:06 +0300
\r
27 Received: (from too@localhost)
\r
28 by taco2.nixu.fi (8.14.3/8.14.3/Submit) id p9ADx6mC012049;
\r
29 Mon, 10 Oct 2011 16:59:06 +0300
\r
30 X-Authentication-Warning: taco2.nixu.fi: too set sender to
\r
31 tomi.ollila@nixu.com using -f
\r
32 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
33 To: David Bremner <bremner@unb.ca>
\r
34 Subject: Re: output file argument to notmuch dump.
\r
35 References: <8739f5tzxj.fsf@zancas.localnet> <8739f2qhla.fsf@zancas.localnet>
\r
36 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL
\r
37 $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F
\r
38 !)g;OY^,BjTbr)Np:%c_o'jj,Z
\r
39 Date: Mon, 10 Oct 2011 16:59:06 +0300
\r
40 In-Reply-To: <8739f2qhla.fsf@zancas.localnet> (David Bremner's message of
\r
41 "Sun, 09 Oct 2011 13:01:53 -0300")
\r
42 Message-ID: <yf6y5wtq76d.fsf@taco2.nixu.fi>
\r
43 User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/22.2 (gnu/linux)
\r
45 Content-Type: text/plain
\r
46 Cc: notmuch <notmuch@notmuchmail.org>
\r
47 X-BeenThere: notmuch@notmuchmail.org
\r
48 X-Mailman-Version: 2.1.13
\r
50 List-Id: "Use and development of the notmuch mail system."
\r
51 <notmuch.notmuchmail.org>
\r
52 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
53 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
54 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
55 List-Post: <mailto:notmuch@notmuchmail.org>
\r
56 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
57 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
58 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
59 X-List-Received-Date: Mon, 10 Oct 2011 13:59:10 -0000
\r
61 On Sun 09 Oct 2011 19:01, David Bremner <bremner@unb.ca> writes:
\r
63 > On Thu, 06 Oct 2011 21:20:40 -0300, David Bremner <bremner@unb.ca> wrote:
\r
65 >> I'd like to add a search term argument to notmuch dump (see
\r
66 >> id:"87wrcijn1w.fsf@zancas.localnet" and followup for context). The
\r
67 >> "notmuch" way would be to have
\r
69 >> notmuch dump <search-term>
\r
71 >> do the right thing
\r
73 > Another option occured to me that is consistent at least with notmuch
\r
74 > tag and notmuch show would be to support the following transitional
\r
78 > notmuch dump file [--] search terms
\r
79 > notmuch dump -- search terms
\r
81 > the first two could then be deprecated, and eventually the syntax
\r
83 > notmuch dump search terms
\r
87 In this case there would be 2 transitional syntaxes. IMHO
\r
89 'notmuch dump <search-terms>' causes least transitional pain.
\r
91 > the question of whether to support
\r
93 > notmuch dump --file foo.txt
\r
95 > or something like
\r
97 > notmuch --stdout=foo.txt dump
\r
101 notmuch [--output-file=<file>] <command> ...
\r
103 > could be dealt with later.
\r