Re: [PATCH 1/2] Add Google Inc. to AUTHORS as a contributor.
[notmuch-archives.git] / 41 / de649d24a2184e040a84de72bf4206cd82d55b
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 38A28431FBF\r
6         for <notmuch@notmuchmail.org>; Tue, 14 Feb 2012 21:00:43 -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 YmFy0ZYQv4Lh for <notmuch@notmuchmail.org>;\r
16         Tue, 14 Feb 2012 21:00:42 -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 6E57E431FBD\r
19         for <notmuch@notmuchmail.org>; Tue, 14 Feb 2012 21:00:42 -0800 (PST)\r
20 Received: from lb7f8hsrpno-svcs.dcs.int.inet (HELO pd5ml3no-ssvc.prod.shaw.ca)\r
21         ([10.0.144.222])\r
22         by pd5mo1no-svcs.prod.shaw.ca with ESMTP; 14 Feb 2012 22:00:41 -0700\r
23 X-Cloudmark-SP-Filtered: true\r
24 X-Cloudmark-SP-Result: v=1.1 cv=TH029eDfZHqIRue7hhxWRjZ7JL4S9vo/jJY5vkv2d5E=\r
25         c=1 sm=1\r
26         a=oz4yHJstQ4QA:10 a=BLceEmwcHowA:10 a=yQp6g8lIsgqumF79BAsFDg==:17\r
27         a=y3FsA9EK9nUvDaqFHiAA:9 a=ez9Q0DsB6V5r5XYGvRMA: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 pd5ml3no-dmz.prod.shaw.ca with ESMTP; 14 Feb 2012 22:00:41 -0700\r
31 Received: by lagos.xvx.ca (Postfix, from userid 1000)\r
32         id 546118004EBA; Tue, 14 Feb 2012 22:00:40 -0700 (MST)\r
33 From: Adam Wolfe Gordon <awg+notmuch@xvx.ca>\r
34 To: notmuch@notmuchmail.org,\r
35         amdragon@mit.edu\r
36 Subject: [PATCH v5 0/4] Reply enhancements (was: quoting HTML email ...)\r
37 Date: Tue, 14 Feb 2012 22:00:23 -0700\r
38 Message-Id: <1329282027-29457-1-git-send-email-awg+notmuch@xvx.ca>\r
39 X-Mailer: git-send-email 1.7.5.4\r
40 X-BeenThere: notmuch@notmuchmail.org\r
41 X-Mailman-Version: 2.1.13\r
42 Precedence: list\r
43 List-Id: "Use and development of the notmuch mail system."\r
44         <notmuch.notmuchmail.org>\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
48 List-Post: <mailto:notmuch@notmuchmail.org>\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
52 X-List-Received-Date: Wed, 15 Feb 2012 05:00:43 -0000\r
53 \r
54 Hi everyone,\r
55 \r
56 There are relatively few changes from the last version [1], but the JSON\r
57 format has big changes again. A summary of all the changes:\r
58 \r
59 * The JSON reply format now uses the new formatter from the show JSON\r
60   format. This means that the MUA will not need to call notmuch show\r
61   for text/* parts, except HTML, as the content of those parts will be\r
62   included in the JSON output.\r
63 \r
64 * The JSON reply format has changed in a few other minor ways, due to\r
65   reusing the show code.\r
66 \r
67 * Because the original message is now included in the reply format, the\r
68   old show behavior of --format=json implies --entire-thread is reinstated.\r
69   I still think this is a weird behavior, but there's no good reason to\r
70   change it.\r
71 \r
72 * The emacs code is simplified a bit by the changes to the JSON format, but\r
73   its behavior is basically the same.\r
74 \r
75 * Man pages and tests changed to reflect the above changes.\r
76 \r
77 Note that, as implied above, this series relies on Austin's rewrite of the\r
78 show JSON formatter [2]. I should probably add the reply JSON format to\r
79 the devel/schemata file, but I'll leave that for another patch (perhaps\r
80 in a series with a news entry if this is deemed ready to push).\r
81 \r
82 Thanks to everyone for the replies on previous versions, and please let\r
83 me know if you have any comments. Also, it would be great if others can\r
84 test this out on some interesting messages, as my email collection is\r
85 not very esoteric.\r
86 \r
87 [1] id:"1328746916-25447-1-git-send-email-awg+notmuch@xvx.ca"\r
88 [2] id:"1329240823-7856-1-git-send-email-amdragon@mit.edu"\r
89 \r
90 Adam Wolfe Gordon (4):\r
91   test: Add broken test for the new JSON reply format.\r
92   reply: Add a JSON reply format.\r
93   man: Update notmuch-reply man page for JSON format.\r
94   emacs: Use the new JSON reply format and message-cite-original\r
95 \r
96  emacs/notmuch-lib.el     |   39 +++++++++++\r
97  emacs/notmuch-mua.el     |  123 +++++++++++++++++++++++++----------\r
98  emacs/notmuch-show.el    |   24 +------\r
99  man/man1/notmuch-reply.1 |    5 ++\r
100  notmuch-client.h         |    3 +\r
101  notmuch-reply.c          |  164 ++++++++++++++++++++++++++++++++++------------\r
102  notmuch-show.c           |    2 +-\r
103  test/emacs               |  101 ++++++++++++++++++++++++++++-\r
104  test/multipart           |   51 +++++++++++++++++++++++++++++++++++++++++++++++++++\r
105  9 files changed, 365 insertions(+), 103 deletions(-)\r
106 \r
107 -- \r
108 1.7.5.4\r
109 \r