Re: [PATCH 0/4] Allow specifying alternate names for addresses in other_email
[notmuch-archives.git] / 4e / eb450f57f5dd580ac43d45c27d9b53ee43accb
1 Return-Path: <wuzzeb@wuzzeb.org>\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 545A5431FB6\r
6         for <notmuch@notmuchmail.org>; Tue, 19 Feb 2013 20:45:37 -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.001\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.001 tagged_above=-999 required=5\r
12         tests=[MIME_QP_LONG_LINE=0.001] 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 9-EIqWKEOsnQ for <notmuch@notmuchmail.org>;\r
16         Tue, 19 Feb 2013 20:45:36 -0800 (PST)\r
17 Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78])\r
18         by olra.theworths.org (Postfix) with ESMTP id 74B56431FAE\r
19         for <notmuch@notmuchmail.org>; Tue, 19 Feb 2013 20:45:36 -0800 (PST)\r
20 X_CMAE_Category: 0,0 Undefined,Undefined\r
21 X-CNFS-Analysis: v=2.0 cv=L+6fspv8 c=1 sm=0 a=C2bPeGdon5f+QfTtoGFpIg==:17\r
22         a=97V-WqMTq8EA:10 a=3wHbS4G-AAAA:8 a=dSxMaU7jJ00A:10\r
23         a=xtERp6CFAAAA:8 a=JqsHG6aPAAAA:8 a=mkJXniIIlVzZHR6R2SgA:9\r
24         a=C2bPeGdon5f+QfTtoGFpIg==:117\r
25 X-CM-Score: 0\r
26 X-Scanned-by: Cloudmark Authority Engine\r
27 Authentication-Results: smtp02.rcn.cmh.synacor.com\r
28         header.from=wuzzeb@wuzzeb.org; sender-id=pass\r
29 Authentication-Results: smtp02.rcn.cmh.synacor.com\r
30  smtp.mail=wuzzeb@wuzzeb.org; spf=pass; sender-id=pass\r
31 Received-SPF: pass (smtp02.rcn.cmh.synacor.com: domain wuzzeb.org designates\r
32         205.178.10.182 as permitted sender)\r
33 Received: from [205.178.10.182] ([205.178.10.182:41475] helo=wuzzeb.org)\r
34         by smtp.rcn.com (envelope-from <wuzzeb@wuzzeb.org>)\r
35         (ecelerity 2.2.3.49 r(42060/42061)) with ESMTP\r
36         id 73/8C-09236-FE454215; Tue, 19 Feb 2013 23:45:35 -0500\r
37 Received: from wuzzeb by wuzzeb.org with local (Exim 4.80.1)\r
38         (envelope-from <wuzzeb@wuzzeb.org>)\r
39         id 1U81Yk-0000mg-PA; Tue, 19 Feb 2013 22:45:34 -0600\r
40 From: =?utf-8?Q?John_Lenz?= <lenz@math.uic.edu>\r
41 To: =?utf-8?Q?Nicolas_Pouillard?= <np@nicolaspouillard.fr>,\r
42         =?utf-8?Q?David_Bremner?= <david@tethera.net>, <notmuch@notmuchmail.org>\r
43 Subject: Re: notmuch webmails\r
44 In-reply-to: <20130219155005.2945.90450@mail-np.tu.ail>\r
45 References: <20130214204917.12166.59790@hermes>\r
46         <87d2w2ml8n.fsf@endefensadelsl.org> <E1U6mAt-0003xW-5T@wuzzeb.org>\r
47         <20130216195946.21525.5975@mail-np.tu.ail>\r
48         <87txpb5b7o.fsf@zancas.localnet>\r
49         <20130219155005.2945.90450@mail-np.tu.ail>\r
50 MIME-Version: 1.0\r
51 Content-Type: text/plain\r
52 Content-Transfer-Encoding: quoted-printable\r
53 Message-Id: <E1U81Yk-0000mg-PA@wuzzeb.org>\r
54 Sender: <wuzzeb@wuzzeb.org>\r
55 Date: Tue, 19 Feb 2013 22:45:34 -0600\r
56 Cc: bgmamari.foss@gmail.com\r
57 X-BeenThere: notmuch@notmuchmail.org\r
58 X-Mailman-Version: 2.1.13\r
59 Precedence: list\r
60 List-Id: "Use and development of the notmuch mail system."\r
61         <notmuch.notmuchmail.org>\r
62 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
63         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
64 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
65 List-Post: <mailto:notmuch@notmuchmail.org>\r
66 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
67 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
68         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
69 X-List-Received-Date: Wed, 20 Feb 2013 04:45:37 -0000\r
70 \r
71 On 2013-02-19 15:50:05 UTC, Nicolas Pouillard <np@nicolaspouillard.fr> wrote:=20=\r
72 \r
73 > Quoting David Bremner (2013-02-17 14:19:55)\r
74 > > Nicolas Pouillard <np@nicolaspouillard.fr> writes:\r
75 > > \r
76 > > > Quoting John Lenz (2013-02-16 19:07:47)\r
77 > > \r
78 > > >> Hi, I am working on one as well, but am further along.  I am starting\r
79 > > >> to use it as my main interface.  I have table view of messages, a\r
80 > > >> pager view, tagging and retagging, compose, compose with attachments,\r
81 > > >> etc.  Combined with the "Its All Text" firefox plugin, it works\r
82 > > >> pretty well.  I was planning on announcing in a week or so, but here\r
83 > > >> is the code since this thread showed up.  I will work on some\r
84 > > >> instructions on how to set it up soon, plus a little cleanup.\r
85 > > >> \r
86 > > >> https://bitbucket.org/wuzzeb/notmuch-web/src\r
87 > > >\r
88 > > > Wow in Haskell! I'm looking forward to try/use it.\r
89 > > \r
90 > > Interesting. I see you are calling out to the CLI.  Ben Gamari (in CC)\r
91 > > was working on some Haskell bindings; I'm not sure how far he got. I\r
92 > > think there were some conflicts between the memory models of talloc and\r
93 > > Haskell.\r
94\r
95 > Calling the CLI has been of a direct use for me to run the webapp on a\r
96 > different machine by simply having notmuch as a script using ssh.\r
97\r
98 \r
99 Yes, parsing the JSON from the CLI is pretty easy so I don't see much benefit\r
100 to using a direct binding.\r
101 \r
102 The only main issue I am still trying to work out is how to deal with flowed\r
103 messages.  I think for viewing, if there is a html alternative, I will use\r
104 xss-sanatize (http://hackage.haskell.org/package/xss-sanitize) with perhaps\r
105 some additional filtering for images and such.  The problem is format=3Dflowed\r
106 messages: the JSON from the CLI does not have the format=3Dflowed header\r
107 anywhere in the JSON.  The message body still has spaces at the end of flowed\r
108 lines, so if we knew that the message was flowed we could parse the spaces\r
109 in haskell.  Alternatively, I have been considering enhancing notmuch itself\r
110 to parse the flowed text into paragraphs and stick it into the JSON.  For\r
111 compose, I just need to enhance the mime-mail package to send flowed\r
112 text, but will have to figure out how to round-trip the reply text through\r
113 the textbox.\r