From: Adam Wolfe Gordon Date: Thu, 16 Feb 2012 03:12:30 +0000 (+1700) Subject: [PATCH v5.2 0/7] Reply enhancements, tidied up X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8ba0080aa78f4f10f9377c20ca2d558ec07e571a;hp=14ed408a81f4aa5c7a85daaba138eb3c8334dbb8;p=notmuch-archives.git [PATCH v5.2 0/7] Reply enhancements, tidied up --- diff --git a/10/b96c8e39fe582e494112cf6a477bf900165a44 b/10/b96c8e39fe582e494112cf6a477bf900165a44 new file mode 100644 index 000000000..36caa1874 --- /dev/null +++ b/10/b96c8e39fe582e494112cf6a477bf900165a44 @@ -0,0 +1,92 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 4ABD7429E54 + for ; Wed, 15 Feb 2012 19:12:51 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id mPZ79JSCDRf8 for ; + Wed, 15 Feb 2012 19:12:47 -0800 (PST) +Received: from idcmail-mo2no.shaw.ca (idcmail-mo2no.shaw.ca [64.59.134.9]) + by olra.theworths.org (Postfix) with ESMTP id 6282E429E48 + for ; Wed, 15 Feb 2012 19:12:47 -0800 (PST) +Received: from lb7f8hsrpno-svcs.dcs.int.inet (HELO pd7ml1no-ssvc.prod.shaw.ca) + ([10.0.144.222]) + by pd6mo1no-svcs.prod.shaw.ca with ESMTP; 15 Feb 2012 20:12:46 -0700 +X-Cloudmark-SP-Filtered: true +X-Cloudmark-SP-Result: v=1.1 cv=Ro8QOmc0aMDfanRtxUddlQ8SbE2D0zCZP8MBHZpYE5w= + c=1 sm=1 + a=RAtBT_Fs28AA:10 a=BLceEmwcHowA:10 a=yQp6g8lIsgqumF79BAsFDg==:17 + a=_q93uCeIh43_I9jXnKwA:9 a=odvB31Xb1hMA:10 + a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 +Received: from unknown (HELO lagos.xvx.ca) ([96.52.216.56]) + by pd7ml1no-dmz.prod.shaw.ca with ESMTP; 15 Feb 2012 20:12:46 -0700 +Received: by lagos.xvx.ca (Postfix, from userid 1000) + id 998F6800420A; Wed, 15 Feb 2012 20:12:45 -0700 (MST) +From: Adam Wolfe Gordon +To: notmuch@notmuchmail.org +Subject: [PATCH v5.2 0/7] Reply enhancements, tidied up +Date: Wed, 15 Feb 2012 20:12:30 -0700 +Message-Id: <1329361957-28493-1-git-send-email-awg+notmuch@xvx.ca> +X-Mailer: git-send-email 1.7.5.4 +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Thu, 16 Feb 2012 03:12:51 -0000 + +Hi all, + +As indicated by the odd version number, this is a very minor change to +the patchset I sent last night [1]: + +* Split the refactoring into separate patches, both for the reply patch + and the emacs patch. The first reply patch should now be applicable + by itself, as requested by Austin to ease his work on rewriting the + default reply formatter. + +* Fix a bug in my emacs code that caused replies to be created with two + From headers, owing to capitalization descrepencies. + +* Split the emacs tests into their own patch, since they're pretty big. + +[1] id:"1329282027-29457-1-git-send-email-awg+notmuch@xvx.ca" + +Adam Wolfe Gordon (7): + test: Add broken test for the new JSON reply format. + reply: Factor out reply creation + reply: Add a JSON reply format. + man: Update notmuch-reply man page for JSON format. + emacs: Factor out useful functions into notmuch-lib + test: Add broken tests for new emacs reply functionality + emacs: Use the new JSON reply format and message-cite-original + + emacs/notmuch-lib.el | 39 +++++++++ + emacs/notmuch-mua.el | 127 ++++++++++++++++++++--------- + emacs/notmuch-show.el | 24 +----- + man/man1/notmuch-reply.1 | 5 + + notmuch-client.h | 3 + + notmuch-reply.c | 202 +++++++++++++++++++++++++++++++++++----------- + notmuch-show.c | 2 +- + test/emacs | 101 ++++++++++++++++++++++- + test/multipart | 51 ++++++++++++ + 9 files changed, 443 insertions(+), 111 deletions(-) + +-- +1.7.5.4 +