Re: [PATCH 0/4] Allow specifying alternate names for addresses in other_email
[notmuch-archives.git] / a7 / 4632e7a5610a35f56f1c471ea8d2b26cc9554e
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 6E6A6431FAE\r
6         for <notmuch@notmuchmail.org>; Wed,  8 Feb 2012 16:22:09 -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 4oAH+LfMdr6N for <notmuch@notmuchmail.org>;\r
16         Wed,  8 Feb 2012 16:22:08 -0800 (PST)\r
17 Received: from smtp-out-04.shaw.ca (smtp-out-04.shaw.ca [64.59.134.12])\r
18         by olra.theworths.org (Postfix) with ESMTP id 71D51431FAF\r
19         for <notmuch@notmuchmail.org>; Wed,  8 Feb 2012 16:22:08 -0800 (PST)\r
20 Received: from lb7f8hsrpno-svcs.dcs.int.inet (HELO pd6ml3no-ssvc.prod.shaw.ca)\r
21         ([10.0.144.222])\r
22         by pd5mo1no-svcs.prod.shaw.ca with ESMTP; 08 Feb 2012 17:22:07 -0700\r
23 X-Cloudmark-SP-Filtered: true\r
24 X-Cloudmark-SP-Result: v=1.1 cv=gFGh1ScE7ROJHT2jhivHYaSHya8441O0LZB7wkhlVyo=\r
25         c=1 sm=1\r
26         a=CMkXlkAlBFUA:10 a=BLceEmwcHowA:10 a=yQp6g8lIsgqumF79BAsFDg==:17\r
27         a=FPbcA7frrQUDSoSD1uIA:9 a=jAR98ZH7ysiss9ynm54A:7 a=odvB31Xb1hMA:10\r
28         a=HpAAvcLHHh0Zw7uRqdWCyQ==:117\r
29 Received: from unknown (HELO lagos.xvx.ca) ([96.52.216.56])\r
30         by pd6ml3no-dmz.prod.shaw.ca with ESMTP; 08 Feb 2012 17:22:07 -0700\r
31 Received: by lagos.xvx.ca (Postfix, from userid 1000)\r
32         id 3262F802A3DC; Wed,  8 Feb 2012 17:22:07 -0700 (MST)\r
33 From: Adam Wolfe Gordon <awg+notmuch@xvx.ca>\r
34 To: notmuch@notmuchmail.org\r
35 Subject: [PATCH v4 0/4] Quoting HTML parts in reply (and other reply\r
36         enhancements)\r
37 Date: Wed,  8 Feb 2012 17:21:52 -0700\r
38 Message-Id: <1328746916-25447-1-git-send-email-awg+notmuch@xvx.ca>\r
39 X-Mailer: git-send-email 1.7.5.4\r
40 In-Reply-To: <1326995217-27423-1-git-send-email-awg+notmuch@xvx.ca>\r
41 References: <1326995217-27423-1-git-send-email-awg+notmuch@xvx.ca>\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: Thu, 09 Feb 2012 00:22:09 -0000\r
55 \r
56 Hi everyone,\r
57 \r
58 Here is a new and much-improved version of my series [1] adding support for\r
59 quoting HTML parts in replies using a JSON reply format. This version is, as\r
60 the diffs indicate, much more ambitious than previous versions, especially\r
61 on the emacs front:\r
62 \r
63 * The JSON reply format now only includes headers (for both the original and \r
64   reply messages), as Dmitry pointed out that non-UTF8 characters sets cannot\r
65   be properly inlined in JSON.\r
66 \r
67 * Thus, emacs now uses notmuch show to fetch the body of the original message\r
68   before creating the quoted body of the reply.\r
69 \r
70 * In order to simplify this use of show, the JSON format no longer implies\r
71   --entire-thread. The other consumer of --format=json (notmuch-query.el) has\r
72   been updated to use --entire-thread when that's what it means, and the man\r
73   page has been updated.\r
74 \r
75 * Emacs now pays attention to multipart structures when deciding which parts\r
76   to quote in a reply. This uses essentially the same logic as in show, some\r
77   of which has been factored out into notmuch-lib.el. In particular, emacs will\r
78   include all the text parts of a message, except the non-preferred ones in a\r
79   multipart/alternative part.\r
80 \r
81 * There are two new emacs test cases to test and demonstrate the new reply\r
82   functionality. They show how it works a multipart/mixed and multipart/alternative\r
83   messages.\r
84 \r
85 I think that covers everything... Please let me know if there is something I\r
86 haven't explained well. And, of course, please send reviews on this extensive\r
87 change.\r
88 \r
89 [1] id:"1326995217-27423-1-git-send-email-awg+notmuch@xvx.ca"\r
90 \r
91 Adam Wolfe Gordon (4):\r
92   test: Add broken test for the new JSON reply format.\r
93   reply: Add a JSON reply format.\r
94   man: Update notmuch-reply man page for JSON format.\r
95   emacs: Use the new JSON reply format and message-cite-original\r
96 \r
97  emacs/notmuch-lib.el     |   39 +++++++++++\r
98  emacs/notmuch-mua.el     |  136 +++++++++++++++++++++++++++-----------\r
99  emacs/notmuch-query.el   |    2 +-\r
100  emacs/notmuch-show.el    |   24 +------\r
101  man/man1/notmuch-reply.1 |    5 ++\r
102  man/man1/notmuch-show.1  |    6 +--\r
103  notmuch-reply.c          |  167 ++++++++++++++++++++++++++++++++++------------\r
104  notmuch-show.c           |    1 -\r
105  test/emacs               |  101 +++++++++++++++++++++++++++-\r
106  test/multipart           |    7 ++\r
107  10 files changed, 375 insertions(+), 113 deletions(-)\r
108 \r
109 -- \r
110 1.7.5.4\r
111 \r