--- /dev/null
+Return-Path: <dme@dme.org>\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 46348429E36\r
+ for <notmuch@notmuchmail.org>; Mon, 12 May 2014 05:29:49 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+ tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 wbKWiSDTvce6 for <notmuch@notmuchmail.org>;\r
+ Mon, 12 May 2014 05:29:43 -0700 (PDT)\r
+Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com\r
+ [209.85.212.174]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id CFEC7431FD0\r
+ for <notmuch@notmuchmail.org>; Mon, 12 May 2014 05:29:34 -0700 (PDT)\r
+Received: by mail-wi0-f174.google.com with SMTP id r20so4372318wiv.1\r
+ for <notmuch@notmuchmail.org>; Mon, 12 May 2014 05:29:32 -0700 (PDT)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=1e100.net; s=20130820;\r
+ h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to\r
+ :references;\r
+ bh=xtlHVzJ/1dwWaAE1Kmxo7DpbCbUtM4O+RBRBjnS3OlQ=;\r
+ b=lfgaDymrb7U+78rYMVeQm6YddPySo7zpInPDH5hcGoB4zken4eLWzVIR4ZET2nnrSx\r
+ niBT/GgnG4lw0kv3R1cB+VKiyvP4oMnvN05eJxUU6O2XMQA+Accl8ObXBO5j3k8WTBXk\r
+ 488kh7BzEmjFl73IRl7E2Tp4dxPbYS8KAtdmpIgL69A6yruaxfmlciFgto1lGxLXIMFi\r
+ i7PRfy177EUOLddngJYjSp84gjx/fxpNVn2IGnr2/+1+6SSeWW3aDJhR4SA593AV677c\r
+ pCSmrwWXqpvCFBbRyZpvSn/0y7sMgwkQWzdRF55QQIPaM9G+qVNBpOWlqo6u5HHUqSH9\r
+ HLhg==\r
+X-Gm-Message-State:\r
+ ALoCoQmNFb62vytRguEzqRU1ipRrS2oB5wSPZVaHTr0kfx0ysFhm2ePJwvK5S5/ADd3fFLD10aOH\r
+X-Received: by 10.180.105.72 with SMTP id gk8mr15373651wib.32.1399897772409;\r
+ Mon, 12 May 2014 05:29:32 -0700 (PDT)\r
+Received: from hotblack-desiato.hh.sledj.net\r
+ ([2a01:348:1a2:1:a288:b4ff:fe8a:77d8])\r
+ by mx.google.com with ESMTPSA id m2sm17743154wjf.42.2014.05.12.05.29.30\r
+ for <notmuch@notmuchmail.org>\r
+ (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+ Mon, 12 May 2014 05:29:30 -0700 (PDT)\r
+Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000)\r
+ id 348F610B320; Mon, 12 May 2014 13:29:29 +0100 (BST)\r
+From: David Edmondson <dme@dme.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v3 0/9] emacs: Improve the cited message included in replies\r
+Date: Mon, 12 May 2014 13:29:20 +0100\r
+Message-Id: <1399897769-26809-1-git-send-email-dme@dme.org>\r
+X-Mailer: git-send-email 2.0.0.rc0\r
+In-Reply-To: <87sixdujkv.fsf@qmul.ac.uk>\r
+References: <87sixdujkv.fsf@qmul.ac.uk>\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 May 2014 12:29:49 -0000\r
+\r
+\r
+emacs: Improve the cited message included in replies\r
+\r
+I tried to do things in small increments to make it easier to review.\r
+\r
+v2:\r
+- Don't run the text/plain hooks when generating the message to quote.\r
+\r
+v3:\r
+- Remove the 'no-button code, as it's no longer used.\r
+- Control the insertion of part headers using a function.\r
+- Fix the tests.\r
+\r
+\r
+David Edmondson (9):\r
+ emacs/show: Re-arrange determination if a part header is necessary\r
+ emacs/show: Allow the user to decide when part headers should be\r
+ inserted\r
+ emacs/show: Accommodate the lack of part header buttons\r
+ emacs/mua: Generate improved cited text for replies\r
+ emacs/show: Remove the 'no-buttons option of\r
+ `notmuch-show-insert-bodypart'\r
+ emacs/mua: Don't insert part headers in citations\r
+ test: Update the test output to accord with the reply changes\r
+ emacs/mua: Insert part headers depending on the message\r
+ test: Update the test output to accord with more reply changes\r
+\r
+ emacs/notmuch-mua.el | 82 +++++++++++++++++++-----------\r
+ emacs/notmuch-show.el | 135 +++++++++++++++++++++++++++++++-------------------\r
+ test/T310-emacs.sh | 44 ++++++++++++++++\r
+ 3 files changed, 180 insertions(+), 81 deletions(-)\r
+\r
+-- \r
+2.0.0.rc0\r
+\r