[PATCH v5 0/7] emacs: Improve the cited message included in replies
authorMark Walters <markwalters1009@gmail.com>
Sun, 14 Feb 2016 18:39:52 +0000 (18:39 +0000)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:21:07 +0000 (16:21 -0700)
51/fdaf737ae936be077178b85dbac0c315ed7923 [new file with mode: 0644]

diff --git a/51/fdaf737ae936be077178b85dbac0c315ed7923 b/51/fdaf737ae936be077178b85dbac0c315ed7923
new file mode 100644 (file)
index 0000000..1b7fa0c
--- /dev/null
@@ -0,0 +1,130 @@
+Return-Path: <markwalters1009@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 8E93B6DE0A87\r
+ for <notmuch@notmuchmail.org>; Sun, 14 Feb 2016 10:40:11 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.259\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.259 tagged_above=-999 required=5 tests=[AWL=-0.171,\r
+  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1,\r
+ RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01,\r
+ SPF_PASS=-0.001] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id vsqxC2mkQM-x for <notmuch@notmuchmail.org>;\r
+ Sun, 14 Feb 2016 10:40:09 -0800 (PST)\r
+Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com\r
+ [74.125.82.66]) by arlo.cworth.org (Postfix) with ESMTPS id 4AAED6DE0943 for\r
+ <notmuch@notmuchmail.org>; Sun, 14 Feb 2016 10:40:09 -0800 (PST)\r
+Received: by mail-wm0-f66.google.com with SMTP id a4so7054786wme.3\r
+ for <notmuch@notmuchmail.org>; Sun, 14 Feb 2016 10:40:09 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+ h=from:to:cc:subject:date:message-id;\r
+ bh=Koxgd0++1sEJYQkhTv1AFH8BOMDtyJIXoheK/x3Dg6Y=;\r
+ b=ngipv1y5xL/coDticOs0C2SX4pNAZI8kM/tWo9Go3dGG1Jw5O92f9E458ICJngITU6\r
+ rw1EMHTz84aL1UCsKYSndUNfKWtBqFkoUkvieNDACH3BY8COBfFebYQ2Uyb86QWKEeBZ\r
+ WX2X5R3PAzmumHATC28QjScYVBLgBgz8C4Gc3EGL7myaGz7SZX5JqOAFc8uBrxH8jwh7\r
+ BCkW9q9mmF/KXHMnG7VZhsFGgQmPuTqWJgDtn/nbHqyNVZr1PrF5M8GU4S+JG6Vij0Sf\r
+ 9dmX2+kYtM77MOUUwWCEtiEfrWcC4FeXhl7JnaETm2dALW0xCkr/toXOkthsdV+n0UPR\r
+ 1j5w==\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:cc:subject:date:message-id;\r
+ bh=Koxgd0++1sEJYQkhTv1AFH8BOMDtyJIXoheK/x3Dg6Y=;\r
+ b=IjLkj4BoTlsaAihg08DUkcdzSzliMPiLVIQ6l93bG+K/miXE84GVTbXaI27WdnpbSc\r
+ dBjlgTQzHe+RXrhweYMO74jNCBQlY5CluJELXF+oXJcu1bzymHekPLHMQlAhWbE4MFYY\r
+ uILArXE+PUMaOGUkIHTuHru8tKHrW+3UawaFeDHOfm74AUY0/ZSvs2m5pYBzYtylx0i0\r
+ eYVZJTpjyuHL8/W5wqGh/CPAc6LfsNCUhfgs4/Oiqv5mhrQLb7lXxtONe6xiQ99VHhJ6\r
+ sDtUm9KFajpDUFeV/po0PSsU103paq9V/pP0AyeOHCiACErcxGs+cgdQwP1578nTjZ+2\r
+ v+tQ==\r
+X-Gm-Message-State:\r
+ AG10YOR+zV4KM5VGgfUqLd0mU1AveOsdrnh0g37vmgaH+JzOMHd0vqyqjSUbHERJGl00mA==\r
+X-Received: by 10.194.78.148 with SMTP id b20mr12002517wjx.71.1455475206202;\r
+ Sun, 14 Feb 2016 10:40:06 -0800 (PST)\r
+Received: from localhost (5751dfa2.skybroadband.com. [87.81.223.162])\r
+ by smtp.gmail.com with ESMTPSA id k4sm12051424wmc.12.2016.02.14.10.40.05\r
+ (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+ Sun, 14 Feb 2016 10:40:05 -0800 (PST)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v5 0/7] emacs: Improve the cited message included in replies\r
+Date: Sun, 14 Feb 2016 18:39:52 +0000\r
+Message-Id: <1455475199-32622-1-git-send-email-markwalters1009@gmail.com>\r
+X-Mailer: git-send-email 2.1.4\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://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: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sun, 14 Feb 2016 18:40:11 -0000\r
+\r
+This is a slight update and a rebase of this patch set (previous\r
+version at\r
+id:1446894276-7814-1-git-send-email-markwalters1009@gmail.com )\r
+\r
+The only change from last time (apart from fixing rebasing to master)\r
+is the rewording of couple of minor comments inline with dme's review\r
+of the previous version.\r
+\r
+Although I am submitting it is primarily dme's series, with minor\r
+updates from me.\r
+\r
+One particular motivation for this series is that it fixes a long\r
+standing bug we have that replying to a message with an rfc822 part\r
+completely omits that part. It also fixes the bug whereby we don't\r
+include application/octet-stream parts which are actually text/plain\r
+(and thus are displayed in show mode).\r
+\r
+This series makes the reply code use the same code as the show code so\r
+everything works as expected: the reply buffer looks essentially the\r
+same as the show buffer.\r
+\r
+There is one slight difference: the user might want different part\r
+headers displayed when replying; both because the audience is\r
+different (a non-notmuch using recipient) and because the buttons\r
+don't "work" (you can't click on them to show or view a part).\r
+\r
+Dme and I disagree on which of these we would like to see so make that\r
+customisable.\r
+\r
+The key change is patch 3 which switches how reply works. Also note\r
+that patch 2 is almost all whitespace change as the changes modify the\r
+indentation.\r
+\r
+Best wishes\r
+\r
+Mark\r
+\r
+\r
+David Edmondson (6):\r
+  emacs/show: Re-arrange determination if a part header is necessary\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/show: Make the insertion of part headers overridable.\r
+  emacs/mua: Let user specify which parts get a header in citations.\r
+\r
+Mark Walters (1):\r
+  test: fix the tests for the new reply code\r
+\r
+ emacs/notmuch-mua.el  |  60 ++++++++++-----------\r
+ emacs/notmuch-show.el | 144 +++++++++++++++++++++++++++++++-------------------\r
+ test/T310-emacs.sh    |  32 +++++++++++\r
+ test/test-lib.el      |   4 ++\r
+ 4 files changed, 156 insertions(+), 84 deletions(-)\r
+\r
+-- \r
+2.1.4\r
+\r