Re: Hi all
[notmuch-archives.git] / a8 / db5e10e8388dd9faaa7da326a316078742ba62
1 Return-Path: <david@tethera.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 6A420431FBF\r
6         for <notmuch@notmuchmail.org>; Tue, 11 Feb 2014 14:02:24 -0800 (PST)\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 evGndpGrejVF for <notmuch@notmuchmail.org>;\r
16         Tue, 11 Feb 2014 14:02:18 -0800 (PST)\r
17 Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155])\r
18         (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 8E56D431FBD\r
21         for <notmuch@notmuchmail.org>; Tue, 11 Feb 2014 14:02:18 -0800 (PST)\r
22 Received: from remotemail by yantan.tethera.net with local (Exim 4.80)\r
23         (envelope-from <david@tethera.net>)\r
24         id 1WDLPC-0005e2-39; Tue, 11 Feb 2014 18:02:14 -0400\r
25 Received: (nullmailer pid 31592 invoked by uid 1000); Tue, 11 Feb 2014\r
26         22:02:09 -0000\r
27 From: David Bremner <david@tethera.net>\r
28 To: "W. Trevor King" <wking@tremily.us>, Tomi Ollila <tomi.ollila@iki.fi>\r
29 Subject: Re: [PATCH v2 14/20] nmbug-status: Encode output using the user's\r
30         locale\r
31 In-Reply-To: <20140211201135.GJ14197@odin.tremily.us>\r
32 References: <cover.1392056624.git.wking@tremily.us>\r
33         <deff072f78f4a7c5b0774e67a8f0517cc704725d.1392056624.git.wking@tremily.us>\r
34         <87eh396e6e.fsf@zancas.localnet> <m2sirpu46i.fsf@guru.guru-group.fi>\r
35         <20140211201135.GJ14197@odin.tremily.us>\r
36 User-Agent: Notmuch/0.17+53~g3e1d7f6 (http://notmuchmail.org) Emacs/24.3.1\r
37         (x86_64-pc-linux-gnu)\r
38 Date: Tue, 11 Feb 2014 18:02:09 -0400\r
39 Message-ID: <8761ol5mvy.fsf@zancas.localnet>\r
40 MIME-Version: 1.0\r
41 Content-Type: text/plain\r
42 Cc: notmuch@notmuchmail.org\r
43 X-BeenThere: notmuch@notmuchmail.org\r
44 X-Mailman-Version: 2.1.13\r
45 Precedence: list\r
46 List-Id: "Use and development of the notmuch mail system."\r
47         <notmuch.notmuchmail.org>\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
51 List-Post: <mailto:notmuch@notmuchmail.org>\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
55 X-List-Received-Date: Tue, 11 Feb 2014 22:02:24 -0000\r
56 \r
57 "W. Trevor King" <wking@tremily.us> writes:\r
58 \r
59 >\r
60 > If a user has set LANG=C, I expect that's what we should use for\r
61 > output (in which case dying with an encoding error is the right thing\r
62 > to do).  \r
63 >\r
64 \r
65 Perhaps for an interactive tool, intended mainly to be run in a\r
66 terminal. But nmbug-status is not such a tool (at least, that was not\r
67 why I wrote it). It's run non-interactively in a git hook to generate a\r
68 web page.\r
69 \r
70 I'm not sure how important the interactive use case is, but I don't want\r
71 to make nmbug-status less robust in order to conform to some abstract\r
72 ideal.\r
73 \r
74 One approach would be to enable certain "interactive" features via a\r
75 command line argument.\r
76 \r
77 d\r
78 \r
79 \r