[PATCH] configure: add --without-api-docs option
[notmuch-archives.git] / a3 / 836b4afc673654be074f917ee4d95284c047cc
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 1A1D3431FBD\r
6         for <notmuch@notmuchmail.org>; Tue, 11 Feb 2014 04:12:58 -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 FAsdNfDbSF83 for <notmuch@notmuchmail.org>;\r
16         Tue, 11 Feb 2014 04:12:50 -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 A4844431FAF\r
21         for <notmuch@notmuchmail.org>; Tue, 11 Feb 2014 04:12:50 -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 1WDCCj-0003Lm-MT; Tue, 11 Feb 2014 08:12:45 -0400\r
25 Received: (nullmailer pid 27778 invoked by uid 1000); Tue, 11 Feb 2014\r
26         12:12:41 -0000\r
27 From: David Bremner <david@tethera.net>\r
28 To: "W. Trevor King" <wking@tremily.us>, notmuch@notmuchmail.org\r
29 Subject: Re: [PATCH v2 14/20] nmbug-status: Encode output using the user's\r
30         locale\r
31 In-Reply-To:\r
32  <deff072f78f4a7c5b0774e67a8f0517cc704725d.1392056624.git.wking@tremily.us>\r
33 References: <cover.1392056624.git.wking@tremily.us>\r
34         <deff072f78f4a7c5b0774e67a8f0517cc704725d.1392056624.git.wking@tremily.us>\r
35 User-Agent: Notmuch/0.17+53~g3e1d7f6 (http://notmuchmail.org) Emacs/24.3.1\r
36         (x86_64-pc-linux-gnu)\r
37 Date: Tue, 11 Feb 2014 08:12:41 -0400\r
38 Message-ID: <87eh396e6e.fsf@zancas.localnet>\r
39 MIME-Version: 1.0\r
40 Content-Type: text/plain\r
41 Cc: Tomi Ollila <tomi.ollila@iki.fi>\r
42 X-BeenThere: notmuch@notmuchmail.org\r
43 X-Mailman-Version: 2.1.13\r
44 Precedence: list\r
45 List-Id: "Use and development of the notmuch mail system."\r
46         <notmuch.notmuchmail.org>\r
47 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
48         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
49 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
50 List-Post: <mailto:notmuch@notmuchmail.org>\r
51 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
52 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
53         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
54 X-List-Received-Date: Tue, 11 Feb 2014 12:12:58 -0000\r
55 \r
56 "W. Trevor King" <wking@tremily.us> writes:\r
57 \r
58 > Instead of always writing UTF-8, allow the user to configure the\r
59 > output encoding using their locale.  This is useful for previewing\r
60 > output in the terminal, for poor souls that don't use UTF-8 locales\r
61 > ;).\r
62 \r
63 This (or some other patch in the series) seems to cause some problems on\r
64 the production instance:\r
65 \r
66 remote: Traceback (most recent call last):\r
67 remote:   File "/home/nmbug/tools/nmbug-status", line 336, in <module>\r
68 remote:     page.write(database=db, views=config['views'])\r
69 remote:   File "/home/nmbug/tools/nmbug-status", line 96, in write\r
70 remote:     self._write_view(database=database, view=view, stream=stream)\r
71 remote:   File "/home/nmbug/tools/nmbug-status", line 115, in _write_view\r
72 remote:     self._write_threads(threads=threads, stream=stream)\r
73 remote:   File "/home/nmbug/tools/nmbug-status", line 219, in _write_threads\r
74 remote:     ).format(**message_display_data))\r
75 remote:   File "/usr/lib/python2.6/codecs.py", line 351, in write\r
76 remote:     data, consumed = self.encode(object, self.errors)\r
77 remote: UnicodeEncodeError: 'ascii' codec can't encode character u'\u017b' in position 219: ordinal not in range(128)\r
78 \r
79 possibly because of\r
80 \r
81 LANG=C\r
82 LANGUAGE=\r
83 LC_CTYPE="C"\r
84 LC_NUMERIC="C"\r
85 LC_TIME="C"\r
86 LC_COLLATE="C"\r
87 LC_MONETARY="C"\r
88 LC_MESSAGES="C"\r
89 LC_PAPER="C"\r
90 LC_NAME="C"\r
91 LC_ADDRESS="C"\r
92 LC_TELEPHONE="C"\r
93 LC_MEASUREMENT="C"\r
94 LC_IDENTIFICATION="C"\r
95 LC_ALL=C\r
96 \r
97 I think it's fine to _allow_ the user to configure the output encoding. I'm\r
98 less sure about _requiring_ it.\r
99 \r
100 d\r