Re: [feature request] emacs: use `notmuch insert` for FCC
[notmuch-archives.git] / 17 / 1c40b0a73896aa18cbfa01276c8945c998c56e
1 Return-Path: <tomi.ollila@iki.fi>\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 1B008431FBC\r
6         for <notmuch@notmuchmail.org>; Wed,  5 Feb 2014 07:00:59 -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 WhTFB5yGozl6 for <notmuch@notmuchmail.org>;\r
16         Wed,  5 Feb 2014 07:00:51 -0800 (PST)\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
18         by olra.theworths.org (Postfix) with ESMTP id A2A2F431FAE\r
19         for <notmuch@notmuchmail.org>; Wed,  5 Feb 2014 07:00:51 -0800 (PST)\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
21         by guru.guru-group.fi (Postfix) with ESMTP id 9B119100033;\r
22         Wed,  5 Feb 2014 17:00:45 +0200 (EET)\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>\r
24 To: "W. Trevor King" <wking@tremily.us>\r
25 Subject: Re: [PATCH 00/17] nmbug-status: Python-3-compabitility and general\r
26         refactoring\r
27 In-Reply-To: <m2fvnywsly.fsf@guru.guru-group.fi>\r
28 References: <cover.1391424512.git.wking@tremily.us>\r
29         <m2ha8frjgg.fsf@guru.guru-group.fi>\r
30         <20140204005331.GQ14197@odin.tremily.us>\r
31         <m2fvnzp3uh.fsf@guru.guru-group.fi>\r
32         <20140204161142.GS14197@odin.tremily.us>\r
33         <m2a9e6zppp.fsf@guru.guru-group.fi>\r
34         <20140204191453.GV14197@odin.tremily.us>\r
35         <m2fvnywsly.fsf@guru.guru-group.fi>\r
36 User-Agent: Notmuch/0.17+55~g4397960 (http://notmuchmail.org) Emacs/24.3.1\r
37         (x86_64-unknown-linux-gnu)\r
38 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
39         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
40         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
41 Date: Wed, 05 Feb 2014 17:00:45 +0200\r
42 Message-ID: <m2fvnxvc2q.fsf@guru.guru-group.fi>\r
43 MIME-Version: 1.0\r
44 Content-Type: text/plain\r
45 Cc: notmuch@notmuchmail.org\r
46 X-BeenThere: notmuch@notmuchmail.org\r
47 X-Mailman-Version: 2.1.13\r
48 Precedence: list\r
49 List-Id: "Use and development of the notmuch mail system."\r
50         <notmuch.notmuchmail.org>\r
51 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
53 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
54 List-Post: <mailto:notmuch@notmuchmail.org>\r
55 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
56 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
57         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
58 X-List-Received-Date: Wed, 05 Feb 2014 15:00:59 -0000\r
59 \r
60 On Tue, Feb 04 2014, Tomi Ollila <tomi.ollila@iki.fi> wrote:\r
61 \r
62 > On Tue, Feb 04 2014, "W. Trevor King" <wking@tremily.us> wrote:\r
63 >\r
64 >\r
65 > $ PYTHONPATH=$PWD/bindings/python/ ./devel/nmbug/nmbug-status\r
66 > ...\r
67 > Traceback (most recent call last):\r
68 >   File "devel/nmbug/nmbug-status", line 318, in <module>\r
69 >     page.write(database=db, views=config['views'])\r
70 >   File "devel/nmbug/nmbug-status", line 94, in write\r
71 >     self._write_view(database=database, view=view, stream=stream)\r
72 >   File "devel/nmbug/nmbug-status", line 113, in _write_view\r
73 >     self._write_threads(threads=threads, stream=stream)\r
74 >   File "devel/nmbug/nmbug-status", line 215, in _write_threads\r
75 >     ).format(**message_display_data))\r
76 >   File "/usr/lib64/python2.6/codecs.py", line 351, in write\r
77 >     data, consumed = self.encode(object, self.errors)\r
78 > UnicodeEncodeError: 'ascii' codec can't encode character u'\u017b' in\r
79 > position 176: ordinal not in range(128)\r
80 >\r
81 >\r
82 > I'll dig deeper tomorrow.\r
83 \r
84 PEBKAC. I (actually) used wrapper to run nmbug-status -- to run right\r
85 notmuch binary. While it mostly sets environment to be right it internally\r
86 uses LC_ALL=C for consistency -- and the wrapper forgot to restore\r
87 LC_ALL before running nmbug-status.\r
88 \r
89 (that also confirms that the suggestion you made I used cron was somewhat\r
90 accurate ;)\r
91 \r
92 After I fixed the wrapper the program works fine on python 2.6.6.\r
93 \r
94 I have some comments on the new look -- which is pretty nice btw.\r
95 \r
96 now every other thread is background-colored (girly) pink (fef?)\r
97 and every other light blue (eff). for me the light blue is not\r
98 visible (there are no body background color set?)\r
99 \r
100 ... hmm, i added 'body { background-color: #FFF; }' to the page and\r
101 still light blue is not visible on my screen (checked w/ #f0f that\r
102 the above line actually has some effect)... #DFF for the light-blue\r
103 works better for me.\r
104 \r
105 I think rounded corners are nice but IMHO the round radius is too big\r
106 -- using 0.5mm for the radius would IMHO be better.\r
107 \r
108 >\r
109 > Tomi\r
110 \r
111 Tomi\r