[PATCH v6 00/10] Reply improvements
authorAdam Wolfe Gordon <awg+notmuch@xvx.ca>
Wed, 22 Feb 2012 06:46:29 +0000 (23:46 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:44:48 +0000 (09:44 -0800)
d6/0919f105df5980fbf69b42ffb114d257cb6e9f [new file with mode: 0644]

diff --git a/d6/0919f105df5980fbf69b42ffb114d257cb6e9f b/d6/0919f105df5980fbf69b42ffb114d257cb6e9f
new file mode 100644 (file)
index 0000000..fbf6791
--- /dev/null
@@ -0,0 +1,103 @@
+Return-Path: <awg@lagos.xvx.ca>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 07D30431FC0\r
+       for <notmuch@notmuchmail.org>; Tue, 21 Feb 2012 22:46:51 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id Zd-CZp6Km+JL for <notmuch@notmuchmail.org>;\r
+       Tue, 21 Feb 2012 22:46:50 -0800 (PST)\r
+Received: from idcmail-mo2no.shaw.ca (idcmail-mo2no.shaw.ca [64.59.134.9])\r
+       by olra.theworths.org (Postfix) with ESMTP id D813F431FCF\r
+       for <notmuch@notmuchmail.org>; Tue, 21 Feb 2012 22:46:46 -0800 (PST)\r
+Received: from lb7f8hsrpno-svcs.dcs.int.inet (HELO pd5ml3no-ssvc.prod.shaw.ca)\r
+       ([10.0.144.222])\r
+       by pd6mo1no-svcs.prod.shaw.ca with ESMTP; 21 Feb 2012 23:46:45 -0700\r
+X-Cloudmark-SP-Filtered: true\r
+X-Cloudmark-SP-Result: v=1.1 cv=TH029eDfZHqIRue7hhxWRjZ7JL4S9vo/jJY5vkv2d5E=\r
+       c=1 sm=1 a=BLceEmwcHowA:10 a=yQp6g8lIsgqumF79BAsFDg==:17\r
+       a=PskpEHOysnx7lAWaVvAA:9\r
+       a=6KwGOC7SS7YnxZViWkwA:7 a=odvB31Xb1hMA:10\r
+       a=HpAAvcLHHh0Zw7uRqdWCyQ==:117\r
+Received: from unknown (HELO lagos.xvx.ca) ([96.52.216.56])\r
+       by pd5ml3no-dmz.prod.shaw.ca with ESMTP; 21 Feb 2012 23:46:45 -0700\r
+Received: by lagos.xvx.ca (Postfix, from userid 1000)\r
+       id 5DF5F8004C42; Tue, 21 Feb 2012 23:46:44 -0700 (MST)\r
+From: Adam Wolfe Gordon <awg+notmuch@xvx.ca>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v6 00/10] Reply improvements\r
+Date: Tue, 21 Feb 2012 23:46:29 -0700\r
+Message-Id: <1329893199-21630-1-git-send-email-awg+notmuch@xvx.ca>\r
+X-Mailer: git-send-email 1.7.5.4\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 22 Feb 2012 06:46:51 -0000\r
+\r
+Hi all,\r
+\r
+This is an updated version of my previous series [1], primarily addressing\r
+the concerns from Austin's review. The big changes are:\r
+\r
+* Documentation: add a TODO regarding reply to multiple messages and the\r
+  JSON reply format to schemata.\r
+\r
+* Emacs: using plists instead of alists in JSON parsing, and the resulting\r
+  adjustments to the code that consumes the parsed data.\r
+\r
+* Emacs: slightly nicer handling of multipart/alternative parts. In\r
+  particular, quote only the last part of desirable type instead of all the\r
+  parts of desirable type.\r
+\r
+* Split up the reply patch to make things a bit more clear.\r
+\r
+I noticed that the factoring out reply creation patch has been promoted to\r
+"maybe ready" in nmbug. I think this version is unchanged, but since the\r
+old one hasn't been pushed this one can probably replace it there.\r
+\r
+[1] id:"1329361957-28493-1-git-send-email-awg+notmuch@xvx.ca"\r
+\r
+Adam Wolfe Gordon (10):\r
+  test: Add broken test for the new JSON reply format.\r
+  reply: Factor out reply creation\r
+  reply: Require that only one message is returned\r
+  TODO: Add replying to multiple messages\r
+  reply: Add a JSON reply format.\r
+  schemata: Add documentation for JSON reply format.\r
+  man: Update notmuch-reply man page for JSON format.\r
+  emacs: Factor out useful functions into notmuch-lib\r
+  test: Add broken tests for new emacs reply functionality\r
+  emacs: Use the new JSON reply format and message-cite-original\r
+\r
+ devel/TODO               |    5 ++\r
+ devel/schemata           |   27 +++++++-\r
+ emacs/notmuch-lib.el     |   44 ++++++++++++\r
+ emacs/notmuch-mua.el     |  132 +++++++++++++++++++++++++-----------\r
+ emacs/notmuch-show.el    |   24 +------\r
+ man/man1/notmuch-reply.1 |    5 ++\r
+ notmuch-client.h         |   10 ++-\r
+ notmuch-reply.c          |  166 ++++++++++++++++++++++++++++++++--------------\r
+ notmuch-show.c           |   30 ++++++--\r
+ test/emacs               |  101 +++++++++++++++++++++++++++-\r
+ test/multipart           |   51 ++++++++++++++\r
+ 11 files changed, 468 insertions(+), 127 deletions(-)\r
+\r
+-- \r
+1.7.5.4\r
+\r