[PATCH v2 0/3] emacs: show: lazy handling of hidden parts
authorMark Walters <markwalters1009@gmail.com>
Sun, 26 May 2013 07:57:38 +0000 (08:57 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:55:02 +0000 (09:55 -0800)
97/99cbdef646c0c139ebdac18e0e33cece0fe26c [new file with mode: 0644]

diff --git a/97/99cbdef646c0c139ebdac18e0e33cece0fe26c b/97/99cbdef646c0c139ebdac18e0e33cece0fe26c
new file mode 100644 (file)
index 0000000..789a407
--- /dev/null
@@ -0,0 +1,104 @@
+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 olra.theworths.org (Postfix) with ESMTP id 2A3A6431FD2\r
+       for <notmuch@notmuchmail.org>; Sun, 26 May 2013 00:57:56 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 2.7\r
+X-Spam-Level: **\r
+X-Spam-Status: No, score=2.7 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,\r
+       FREEMAIL_REPLY=2.499, 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 439rqvWSTlVk for <notmuch@notmuchmail.org>;\r
+       Sun, 26 May 2013 00:57:48 -0700 (PDT)\r
+Received: from mail-we0-f179.google.com (mail-we0-f179.google.com\r
+       [74.125.82.179]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 71A7A431FAE\r
+       for <notmuch@notmuchmail.org>; Sun, 26 May 2013 00:57:48 -0700 (PDT)\r
+Received: by mail-we0-f179.google.com with SMTP id m46so3530277wev.38\r
+       for <notmuch@notmuchmail.org>; Sun, 26 May 2013 00:57:46 -0700 (PDT)\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:x-mailer;\r
+       bh=oyW2jo3kINaAWQ0MUPqirL6KygLuyaq425UCTMovQvM=;\r
+       b=Zjo2cYUq3ESYMZAnR9L83oQ5XVs1jtQYhoiUx1JVCF/fkgk3VZWVMoY8yU54QnjjzF\r
+       pYb/EYvHc0DyOA7bSZPXpSWDZrvs0+fy6QAiYg5cKUqyb7XbyhESdOT0xLGyLxlcENOC\r
+       FzlQRISvqIRcS4oUBb4OvTipFzTuK1dKYz8gIZxihzwIBAN7y09lcHUVEYpGjALqII4T\r
+       NE5yDKVEobE2LlnTxO4hLwrrRPH4MlIKXcl0ogr7eMCPVBrBS9P4ordOJ9HQHPWnQWjR\r
+       hOQndlgtTQrd2St7jGlpSJ3msAWKZvLYpXUu1trbH191JtwxYyaYtJs1jjMuhrfJ0MvC\r
+       ruFQ==\r
+X-Received: by 10.180.19.72 with SMTP id c8mr4154244wie.35.1369555066009;\r
+       Sun, 26 May 2013 00:57:46 -0700 (PDT)\r
+Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31])\r
+       by mx.google.com with ESMTPSA id w8sm14758711wiz.0.2013.05.26.00.57.44\r
+       for <multiple recipients>\r
+       (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
+       Sun, 26 May 2013 00:57:45 -0700 (PDT)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v2 0/3] emacs: show: lazy handling of hidden parts\r
+Date: Sun, 26 May 2013 08:57:38 +0100\r
+Message-Id: <1369555061-21361-1-git-send-email-markwalters1009@gmail.com>\r
+X-Mailer: git-send-email 1.7.9.1\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: Sun, 26 May 2013 07:57:56 -0000\r
+\r
+This is a slightly tweaked version of\r
+id:1367672478-12247-1-git-send-email-markwalters1009@gmail.com minus\r
+the first two patches which have already been pushed.\r
+\r
+The second patch of the previous series obsoleted the handler\r
+notmuch-show-insert-part-inline-patch-fake-part so we remove that and\r
+we update the commit message of the second patch in this series to but\r
+otherwise patches 2 and 3 of this are identical to patches 3 and 4 of\r
+the previous series.\r
+\r
+There is one change that inadvertently slipped into the second patch\r
+of the previous series: it changed the (fake) name of the fake inline\r
+patch parts from inline-patch-fake-part to "inline patch". (I think\r
+this was when I was testing whether I could do away with the\r
+notmuch-show-insert-part-inline-patch-fake-part handler but I forgot\r
+to revert it after). The only place it shows to a user is in the part\r
+button title: it will say something like\r
+\r
+ [ 0001-emacs-show-separate-out-handling-of-application-octe.patch: inline patch (as text/x-diff) ]\r
+\r
+instead of \r
+\r
+ [ 0001-emacs-show-separate-out-handling-of-application-octe.patch: inline-patch-fake-part (as text/x-diff) ]\r
+\r
+but perhaps it should be reverted anyway.\r
+\r
+Sorry for messing that bit up\r
+\r
+Best wishes\r
+\r
+Mark\r
+\r
+Mark Walters (3):\r
+  emacs: show: fake wash parts are handled at insert-bodypart level\r
+  emacs: show: move the insertion of the header button to the top level\r
+  emacs: show: implement lazy hidden part handling\r
+\r
+ emacs/notmuch-show.el |  121 +++++++++++++++++++++++++++++--------------------\r
+ 1 files changed, 71 insertions(+), 50 deletions(-)\r
+\r
+-- \r
+1.7.9.1\r
+\r