New "notmuch address" command
[notmuch-archives.git] / 2b / 9ad6b8499547205d52d87c98dceccaac025eef
1 Return-Path: <tom.prince@ualberta.net>\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 DF067429E26\r
6         for <notmuch@notmuchmail.org>; Thu,  6 Oct 2011 18:43:43 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\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 ZTUQCu1XVbTI for <notmuch@notmuchmail.org>;\r
16         Thu,  6 Oct 2011 18:43:43 -0700 (PDT)\r
17 Received: from socrates.hocat.ca (socrates.hocat.ca [76.10.188.53])\r
18         by olra.theworths.org (Postfix) with ESMTP id 29C90431FB6\r
19         for <notmuch@notmuchmail.org>; Thu,  6 Oct 2011 18:43:43 -0700 (PDT)\r
20 Received: from hermes.hocat.ca (hermes.hocat.ca [69.165.170.253])\r
21         by socrates.hocat.ca (Postfix) with SMTP id C114D2485;\r
22         Thu,  6 Oct 2011 19:43:39 -0600 (MDT)\r
23 Received: (nullmailer pid 8566 invoked by uid 1000);\r
24         Fri, 07 Oct 2011 01:43:38 -0000\r
25 From: Tom Prince <tom.prince@ualberta.net>\r
26 To: David Bremner <bremner@unb.ca>,\r
27         Dmitry Kurochkin <dmitry.kurochkin@gmail.com>\r
28 Subject: Re: output file argument to notmuch dump.\r
29 In-Reply-To: <87sjn539lm.fsf@zancas.localnet>\r
30 References: <8739f5tzxj.fsf@zancas.localnet> <87vcs1ljq3.fsf@gmail.com>\r
31         <87sjn539lm.fsf@zancas.localnet>\r
32 User-Agent: Notmuch/0.7 (http://notmuchmail.org) Emacs/23.3.3\r
33         (x86_64-pc-linux-gnu)\r
34 Date: Thu, 06 Oct 2011 21:43:38 -0400\r
35 Message-ID: <871uup8tkl.fsf@hermes.hocat.ca>\r
36 MIME-Version: 1.0\r
37 Content-Type: text/plain; charset=us-ascii\r
38 Cc: notmuch <notmuch@notmuchmail.org>\r
39 X-BeenThere: notmuch@notmuchmail.org\r
40 X-Mailman-Version: 2.1.13\r
41 Precedence: list\r
42 List-Id: "Use and development of the notmuch mail system."\r
43         <notmuch.notmuchmail.org>\r
44 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
45         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
46 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
47 List-Post: <mailto:notmuch@notmuchmail.org>\r
48 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
49 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
50         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
51 X-List-Received-Date: Fri, 07 Oct 2011 01:43:44 -0000\r
52 \r
53 On Thu, 06 Oct 2011 21:53:57 -0300, David Bremner <bremner@unb.ca> wrote:\r
54 > On Fri, 07 Oct 2011 04:37:56 +0400, Dmitry Kurochkin <dmitry.kurochkin@gmail.com> wrote:\r
55 > > On Thu, 06 Oct 2011 21:20:40 -0300, David Bremner <bremner@unb.ca> wrote:\r
56\r
57 > > IMHO 1[+2] is the way.  It breaks the dump command interface, but would\r
58 > > make it consistent with other commands.  Implementing the second option\r
59 > > (for all commands) is nice but independent and optional.  Also, perhaps\r
60 > > --output, --output-file or smth would a better name than --write.\r
61\r
62 > I'm not fussy about the name, except that --output is taken, and I\r
63 > thought there might be some benefit of making options have unique\r
64 > prefixes.\r
65 \r
66 Is -o/--output taken before the subcommand? i.e.\r
67 notmuch -o <dumpfile> dump <query> <terms>\r
68 Or would that be to confusing?\r
69 \r
70 (-o is fairly standard for stdout redirection, so it would be nice to\r
71 use that for notmuch, as well.)\r
72 \r
73   Tom\r