Re: [PATCH v2] Omit User-Agent: header by default
[notmuch-archives.git] / 81 / 476261f7270305fd29f97bf478147eba3989c1
1 Return-Path: <jrosenthal@jhu.edu>\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 3E83C429E26\r
6         for <notmuch@notmuchmail.org>; Fri,  7 Oct 2011 03:41:10 -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: 1.001\r
10 X-Spam-Level: *\r
11 X-Spam-Status: No, score=1.001 tagged_above=-999 required=5\r
12         tests=[FSL_HELO_NON_FQDN_1=0.001, HELO_NO_DOMAIN=1] 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 oAilIlQrkmFH for <notmuch@notmuchmail.org>;\r
16         Fri,  7 Oct 2011 03:41:09 -0700 (PDT)\r
17 X-Greylist: delayed 1029 seconds by postgrey-1.32 at olra;\r
18         Fri, 07 Oct 2011 03:41:09 PDT\r
19 Received: from ladybug (li131-231.members.linode.com [69.164.216.231])\r
20         (using TLSv1 with cipher AES256-SHA (256/256 bits))\r
21         (No client certificate requested)\r
22         by olra.theworths.org (Postfix) with ESMTPS id B8942431FB6\r
23         for <notmuch@notmuchmail.org>; Fri,  7 Oct 2011 03:41:09 -0700 (PDT)\r
24 Received: from jkr by ladybug with local (Exim 4.76)\r
25         (envelope-from <jrosenthal@jhu.edu>)\r
26         id 1RC7aw-00086N-3x; Fri, 07 Oct 2011 06:23:58 -0400\r
27 From: Jesse Rosenthal <jrosenthal@jhu.edu>\r
28 To: David Bremner <bremner@unb.ca>, notmuch <notmuch@notmuchmail.org>\r
29 Subject: Re: output file argument to notmuch dump.\r
30 In-Reply-To: <8739f5tzxj.fsf@zancas.localnet>\r
31 References: <8739f5tzxj.fsf@zancas.localnet>\r
32 User-Agent: Notmuch/unknown (http://notmuchmail.org) Emacs/23.3.1\r
33         (x86_64-apple-darwin)\r
34 Date: Fri, 07 Oct 2011 06:23:58 -0400\r
35 Message-ID: <m1wrcht801.fsf@jhu.edu>\r
36 MIME-Version: 1.0\r
37 Content-Type: text/plain; charset=us-ascii\r
38 X-BeenThere: notmuch@notmuchmail.org\r
39 X-Mailman-Version: 2.1.13\r
40 Precedence: list\r
41 List-Id: "Use and development of the notmuch mail system."\r
42         <notmuch.notmuchmail.org>\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
44         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
46 List-Post: <mailto:notmuch@notmuchmail.org>\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
50 X-List-Received-Date: Fri, 07 Oct 2011 10:41:10 -0000\r
51 \r
52 On Thu, 06 Oct 2011 21:20:40 -0300, David Bremner <bremner@unb.ca> wrote:\r
53 > 1) just delete the output file option from notmuch-dump, and use shell\r
54 >    redirection. So far I don't see a non-contrived example when writing\r
55 >    an output file directly is useful, but maybe that is just a failure\r
56 >    of imagination.\r
57\r
58 > 2) delete the output file option and a global "--write" option that \r
59 >    calls freopen(... stdout). As a bonus(?) this would work for any \r
60 >    notmuch command.\r
61 \r
62 Either of these seem like the right approach to me. I might favor (1)\r
63 just a bit so I don't have to choose between different ways of doing the\r
64 same thing, but that's a small point. As Jamie said, they're pretty\r
65 much the same.\r
66 \r
67 --Jesse\r