[PATCH v4 1/5] emacs: show: fake wash parts are handled at insert-bodypart level
authorMark Walters <markwalters1009@gmail.com>
Sat, 1 Jun 2013 08:15:43 +0000 (09:15 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:55:15 +0000 (09:55 -0800)
52/3da6682ba2ea49df8a70beb7ead622967ed3d3 [new file with mode: 0644]

diff --git a/52/3da6682ba2ea49df8a70beb7ead622967ed3d3 b/52/3da6682ba2ea49df8a70beb7ead622967ed3d3
new file mode 100644 (file)
index 0000000..5e003ed
--- /dev/null
@@ -0,0 +1,90 @@
+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 77EA4429E50\r
+       for <notmuch@notmuchmail.org>; Sat,  1 Jun 2013 01:16:20 -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 XTvkOL8W5yKA for <notmuch@notmuchmail.org>;\r
+       Sat,  1 Jun 2013 01:16:15 -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 C9896429E3F\r
+       for <notmuch@notmuchmail.org>; Sat,  1 Jun 2013 01:16:14 -0700 (PDT)\r
+Received: by mail-we0-f179.google.com with SMTP id w59so336120wes.24\r
+       for <notmuch@notmuchmail.org>; Sat, 01 Jun 2013 01:16:13 -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=l9rkpTKOITYCgtc2eFBQlte6iedo9nJivN97CogbZIo=;\r
+       b=gdC1m9+QH/O7NArnPDvwHjRRvuyct/EWxkruc/XZGX1sNxjtXkuFdUL5qP5t5UuNaU\r
+       aNe9A42P+4iri7Aeo/tt06m1yTGVHo33GFmty/6gx1tp5eI5NWOpSE9Y8wPZmwURMkC6\r
+       ryLEVgKhqYFsTsRRNYy70pZd3DSU5N4Iv9sEOUzQaSxZJbg8gt8kRJmjXvarB4Bdj+nZ\r
+       o3YWR/MD6hc1ZyevAad76ynfi+YRGm5WAF9ZT9a4PUE8Vt9kbe7G8WH3dwKPv4pjuk8Z\r
+       ng20fpfC9gjEEwBQmaPkN0J1gqAOrBzHTgNZ60zL9JYpkpjR55AH6Fka2/mO6g6SgCLY\r
+       giEQ==\r
+X-Received: by 10.180.36.229 with SMTP id t5mr6305880wij.21.1370074573750;\r
+       Sat, 01 Jun 2013 01:16:13 -0700 (PDT)\r
+Received: from localhost (94.197.247.227.threembb.co.uk. [94.197.247.227])\r
+       by mx.google.com with ESMTPSA id b11sm8569964wiv.10.2013.06.01.01.16.11\r
+       for <multiple recipients>\r
+       (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
+       Sat, 01 Jun 2013 01:16:13 -0700 (PDT)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: notmuch@notmuchmail.org, Austin Clements <aclements@csail.mit.edu>,\r
+       Adam Wolfe Gordon <awg+notmuch@xvx.ca>\r
+Subject: [PATCH v4 1/5] emacs: show: fake wash parts are handled at\r
+       insert-bodypart level\r
+Date: Sat,  1 Jun 2013 09:15:43 +0100\r
+Message-Id: <1370074547-24677-2-git-send-email-markwalters1009@gmail.com>\r
+X-Mailer: git-send-email 1.7.10.4\r
+In-Reply-To: <1370074547-24677-1-git-send-email-markwalters1009@gmail.com>\r
+References: <1370074547-24677-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: Sat, 01 Jun 2013 08:16:20 -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 file changed, 4 deletions(-)\r
+\r
+diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el\r
+index 613e666..dda5c10 100644\r
+--- a/emacs/notmuch-show.el\r
++++ b/emacs/notmuch-show.el\r
+@@ -751,10 +751,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.10.4\r
+\r