[PATCH v7 00/10] Reply enhancements
authorAdam Wolfe Gordon <awg+notmuch@xvx.ca>
Mon, 12 Mar 2012 04:05:32 +0000 (22:05 +1800)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:45:24 +0000 (09:45 -0800)
6a/fa93f4ba6da9227f755a481e6f8e43a5754aa4 [new file with mode: 0644]

diff --git a/6a/fa93f4ba6da9227f755a481e6f8e43a5754aa4 b/6a/fa93f4ba6da9227f755a481e6f8e43a5754aa4
new file mode 100644 (file)
index 0000000..3a16486
--- /dev/null
@@ -0,0 +1,104 @@
+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 9638B431FBC\r
+       for <notmuch@notmuchmail.org>; Sun, 11 Mar 2012 21:05:52 -0700 (PDT)\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 nBPJZHHl-UxA for <notmuch@notmuchmail.org>;\r
+       Sun, 11 Mar 2012 21:05:51 -0700 (PDT)\r
+Received: from idcmail-mo2no.shaw.ca (idcmail-mo2no.shaw.ca [64.59.134.9])\r
+       by olra.theworths.org (Postfix) with ESMTP id D0F90431FAE\r
+       for <notmuch@notmuchmail.org>; Sun, 11 Mar 2012 21:05:51 -0700 (PDT)\r
+Received: from lb7f8hsrpno-svcs.dcs.int.inet (HELO pd6ml2no-ssvc.prod.shaw.ca)\r
+       ([10.0.144.222])\r
+       by pd6mo1no-svcs.prod.shaw.ca with ESMTP; 11 Mar 2012 22:05:50 -0600\r
+X-Cloudmark-SP-Filtered: true\r
+X-Cloudmark-SP-Result: v=1.1 cv=oQE6vNJ3d7oTBHj4PDKYH99BAdyPlqTp0xAtaaBYR4E=\r
+       c=1 sm=1 a=BLceEmwcHowA:10 a=yQp6g8lIsgqumF79BAsFDg==:17\r
+       a=4h0-BSLhytRg3FTCH9AA:9\r
+       a=dNJP58d0TKJLc99GAuIA:7 a=odvB31Xb1hMA:10\r
+       a=HpAAvcLHHh0Zw7uRqdWCyQ==:117\r
+Received: from unknown (HELO lagos.xvx.ca) ([96.52.216.56])\r
+       by pd6ml2no-dmz.prod.shaw.ca with ESMTP; 11 Mar 2012 22:05:50 -0600\r
+Received: by lagos.xvx.ca (Postfix, from userid 1000)\r
+       id E84608004958; Sun, 11 Mar 2012 22:05:49 -0600 (MDT)\r
+From: Adam Wolfe Gordon <awg+notmuch@xvx.ca>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v7 00/10] Reply enhancements\r
+Date: Sun, 11 Mar 2012 22:05:32 -0600\r
+Message-Id: <1331525142-30539-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: Mon, 12 Mar 2012 04:05:52 -0000\r
+\r
+Hi everyone,\r
+\r
+This is a new version of my reply series [1] that addresses Jani's and\r
+Austin's reviews and fixes a couple of bugs I found in using the patches.\r
+\r
+Summary of the changes:\r
+\r
+* The patch that disallows replying to multiple messages with the default\r
+  format has been dropped, as Jani and Austin agreed that there's no\r
+  reason this should be changed now. The JSON format sill only allows\r
+  replying to a single message.\r
+\r
+* The emacs reply code now shares code to get message content with show.\r
+  This should mean better handling of character sets and other things.\r
+\r
+* I noticed that reply supports a --decrypt option, and the emacs interface\r
+  actually does use it. I've documented the option in the reply man page.\r
+  If someone can test that replying to encrypted messages actually works in\r
+  emacs, that would be great - I have no way to test this.\r
+\r
+[1] id:"1329893199-21630-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
+  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
+  man: Add --decrypt to reply flags\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               |    8 +\r
+ devel/schemata           |   27 +-\r
+ emacs/notmuch-lib.el     |   44 ++\r
+ emacs/notmuch-mua.el     |  136 ++++--\r
+ emacs/notmuch-show.el    |   24 +-\r
+ man/man1/notmuch-reply.1 |   18 +-\r
+ notmuch-client.h         |   14 +-\r
+ notmuch-reply.c          |  153 ++++--\r
+ notmuch-show.c           |   29 +-\r
+ test/emacs               |  101 ++++-\r
+ test/multipart           |   52 ++\r
+ test/test-lib            | 1242 ++++++++++++++++++++++++++++++++++++++++++++++\r
+ 12 files changed, 1726 insertions(+), 122 deletions(-)\r
+ create mode 100755 test/test-lib\r
+\r
+-- \r
+1.7.5.4\r
+\r