Re: [PATCH v6 4/6] emacs/mua: Generate improved cited text for replies
[notmuch-archives.git] / 23 / 0a1264581879920ddaace2b3932653d851f16a
1 Return-Path: <awg@lagos.xvx.ca>\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 B73AA431FB6\r
6         for <notmuch@notmuchmail.org>; Mon, 16 Jan 2012 10:13:34 -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\r
12         tests=[RCVD_IN_DNSWL_NONE=-0.0001] 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 k9DBFZBSTkky for <notmuch@notmuchmail.org>;\r
16         Mon, 16 Jan 2012 10:13:34 -0800 (PST)\r
17 Received: from idcmail-mo1so.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10])\r
18         by olra.theworths.org (Postfix) with ESMTP id 168AA431FAF\r
19         for <notmuch@notmuchmail.org>; Mon, 16 Jan 2012 10:13:34 -0800 (PST)\r
20 Received: from pd2ml1so-ssvc.prod.shaw.ca ([10.0.141.139])\r
21         by pd4mo1so-svcs.prod.shaw.ca with ESMTP; 16 Jan 2012 11:13:33 -0700\r
22 X-Cloudmark-SP-Filtered: true\r
23 X-Cloudmark-SP-Result: v=1.1 cv=2TvZ7eE48NdEYeaL5Xf58dNzJU178UzT+2lxUZ5Mhss=\r
24         c=1 sm=1\r
25         a=sViZRLsD32MA:10 a=BLceEmwcHowA:10 a=yQp6g8lIsgqumF79BAsFDg==:17\r
26         a=atY1NDfoOiZserlB1lwA:9 a=fLy_qTxZqgMFa4fuI2MA:7 a=odvB31Xb1hMA:10\r
27         a=HpAAvcLHHh0Zw7uRqdWCyQ==:117\r
28 Received: from unknown (HELO lagos.xvx.ca) ([96.52.216.56])\r
29         by pd2ml1so-dmz.prod.shaw.ca with ESMTP; 16 Jan 2012 11:13:33 -0700\r
30 Received: by lagos.xvx.ca (Postfix, from userid 1000)\r
31         id CC7498004208; Mon, 16 Jan 2012 11:13:32 -0700 (MST)\r
32 From: Adam Wolfe Gordon <awg+notmuch@xvx.ca>\r
33 To: notmuch@notmuchmail.org\r
34 Subject: [PATCH v2 0/4] Quoting HTML Emails in Reply\r
35 Date: Mon, 16 Jan 2012 11:13:19 -0700\r
36 Message-Id: <1326737603-21166-1-git-send-email-awg+notmuch@xvx.ca>\r
37 X-Mailer: git-send-email 1.7.5.4\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: Mon, 16 Jan 2012 18:13:34 -0000\r
51 \r
52 Hi everyone,\r
53 \r
54 This is the second version of my patch series [1] implementing a new JSON format\r
55 for notmuch reply and modifying the emacs UI to use this format, allowing for\r
56 nice quoting of HTML-only emails.\r
57 \r
58 This version of the patches corrects some flaws mentioned on the mailing list\r
59 and on IRC. The biggest change is that instead of directly using w3 to parse\r
60 HTML emails in emacs, notmuch-mua uses mm-display-part, which should allow HTML\r
61 emails to be quoted even if the user does not have w3m.el (or even the w3m\r
62 binary) installed. Thanks to Dmitry Kurochkin for this suggestion.\r
63 \r
64 Still outstanding is adding customization variables to the emacs interface to\r
65 control which parts are preferred for quoting, and possibly to allow\r
66 customization of the "On %s, %s wrote" line. I don't think this necessarily\r
67 needs to be added before these patches are merged, since they retain the current\r
68 functionality for emails with plaintext parts, but I'm happy to hear opinions on\r
69 this. Either way, I'll add customization as a separate patch.\r
70 \r
71 Of course, I'm happy to hear any comments on the updated code, especially if I\r
72 missed anything from the last set of reviews.\r
73 \r
74 [1] id:1326009162-19524-1-git-send-email-awg+notmuch@xvx.ca\r
75 \r
76 Adam Wolfe Gordon (4):\r
77   test: Add broken test for the new JSON reply format.\r
78   reply: Add a JSON reply format.\r
79   man: Update notmuch-reply man page for JSON format.\r
80   emacs: Use the new JSON reply format.\r
81 \r
82  emacs/notmuch-lib.el     |    8 ++\r
83  emacs/notmuch-mua.el     |   95 +++++++++-----\r
84  man/man1/notmuch-reply.1 |    5 +\r
85  notmuch-reply.c          |  313 +++++++++++++++++++++++++++++++++++++---------\r
86  test/emacs               |    1 +\r
87  test/multipart           |    7 +\r
88  6 files changed, 336 insertions(+), 93 deletions(-)\r
89 \r
90 -- \r
91 1.7.5.4\r
92 \r