[PATCH v2 1/3] emacs: show: fake wash parts are handled at insert-bodypart level
authorMark Walters <markwalters1009@gmail.com>
Sun, 26 May 2013 07:57:39 +0000 (08:57 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:55:02 +0000 (09:55 -0800)
77/c89bb4638aadc3131b334a54a31962d11d5758 [new file with mode: 0644]

diff --git a/77/c89bb4638aadc3131b334a54a31962d11d5758 b/77/c89bb4638aadc3131b334a54a31962d11d5758
new file mode 100644 (file)
index 0000000..b6ff1d8
--- /dev/null
@@ -0,0 +1,89 @@
+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 B3AE5431FC9\r
+       for <notmuch@notmuchmail.org>; Sun, 26 May 2013 00:57:54 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.201\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.201 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
+       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 CIhk3mpE5uQU for <notmuch@notmuchmail.org>;\r
+       Sun, 26 May 2013 00:57:49 -0700 (PDT)\r
+Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com\r
+       [209.85.212.173]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 14121431FBF\r
+       for <notmuch@notmuchmail.org>; Sun, 26 May 2013 00:57:48 -0700 (PDT)\r
+Received: by mail-wi0-f173.google.com with SMTP id hi5so749489wib.12\r
+       for <notmuch@notmuchmail.org>; Sun, 26 May 2013 00:57:48 -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:in-reply-to:references;\r
+       bh=1Op3kDOzl+qYhSn1sPqY10xRQYJUX9fgkWbi6H9+FRY=;\r
+       b=fa13nB6cqR/aS2UxB7tMR+tu2Y9ypvjTGd87ti2XeHBaKd48meevNmMTYrDUsH479I\r
+       NEEI6CT2xMAEZtgpU8f/b27iE901ShqVkKjoO5HDcIfcRfW4EK/a3RBGF39/lyQmtUPk\r
+       Eieo06TDzS69eFU+jAVz7ppnmK4LI+F0ZFiB9Szp5rjoOUnvVXpF4SDNgj0TH6T5bm4y\r
+       1E9/QsKRHaGBl29CLbyjftwC+n+ZRC/6q/FU2yXmK2Gh8G0JZ10fOcv0p/Z+giEOijEn\r
+       mDkTZwAkTW/SnXf9/9qa2Cu0YLS9SscyqovAmLsKfFaov0fnE/OdNytfRiLBEr5Y3Gtt\r
+       6TDw==\r
+X-Received: by 10.181.13.131 with SMTP id ey3mr4053496wid.41.1369555067977;\r
+       Sun, 26 May 2013 00:57:47 -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 b11sm9260499wiv.10.2013.05.26.00.57.46\r
+       for <multiple recipients>\r
+       (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
+       Sun, 26 May 2013 00:57:47 -0700 (PDT)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v2 1/3] emacs: show: fake wash parts are handled at\r
+       insert-bodypart level\r
+Date: Sun, 26 May 2013 08:57:39 +0100\r
+Message-Id: <1369555061-21361-2-git-send-email-markwalters1009@gmail.com>\r
+X-Mailer: git-send-email 1.7.9.1\r
+In-Reply-To: <1369555061-21361-1-git-send-email-markwalters1009@gmail.com>\r
+References: <1369555061-21361-1-git-send-email-markwalters1009@gmail.com>\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:55 -0000\r
+\r
+Earlier patches have moved the handling of wash fake inline patch\r
+parts to insert-bodypart so we can drop the function\r
+notmuch-show-insert-part-inline-patch-fake-part\r
+---\r
+ emacs/notmuch-show.el |    4 ----\r
+ 1 files changed, 0 insertions(+), 4 deletions(-)\r
+\r
+diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el\r
+index d56154e..51bda31 100644\r
+--- a/emacs/notmuch-show.el\r
++++ b/emacs/notmuch-show.el\r
+@@ -813,10 +813,6 @@ message at DEPTH in the current thread."\r
+               nil))\r
+         nil))))\r
\r
+-;; Handler for wash generated inline patch fake parts.\r
+-(defun notmuch-show-insert-part-inline-patch-fake-part (msg part content-type nth depth declared-type)\r
+-  (notmuch-show-insert-part-*/* msg part content-type nth depth declared-type))\r
+-\r
+ (defun notmuch-show-insert-part-text/html (msg part content-type nth depth declared-type)\r
+   ;; text/html handler to work around bugs in renderers and our\r
+   ;; invisibile parts code. In particular w3m sets up a keymap which\r
+-- \r
+1.7.9.1\r
+\r