From 6054a4465cb33979445844a561db22c25a09afc0 Mon Sep 17 00:00:00 2001 From: Mark Walters Date: Sat, 1 Jun 2013 09:15:43 +0100 Subject: [PATCH] [PATCH v4 1/5] emacs: show: fake wash parts are handled at insert-bodypart level --- 52/3da6682ba2ea49df8a70beb7ead622967ed3d3 | 90 +++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 52/3da6682ba2ea49df8a70beb7ead622967ed3d3 diff --git a/52/3da6682ba2ea49df8a70beb7ead622967ed3d3 b/52/3da6682ba2ea49df8a70beb7ead622967ed3d3 new file mode 100644 index 000000000..5e003ed7a --- /dev/null +++ b/52/3da6682ba2ea49df8a70beb7ead622967ed3d3 @@ -0,0 +1,90 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 77EA4429E50 + for ; Sat, 1 Jun 2013 01:16:20 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0.201 +X-Spam-Level: +X-Spam-Status: No, score=0.201 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001, + RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id XTvkOL8W5yKA for ; + Sat, 1 Jun 2013 01:16:15 -0700 (PDT) +Received: from mail-we0-f179.google.com (mail-we0-f179.google.com + [74.125.82.179]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id C9896429E3F + for ; Sat, 1 Jun 2013 01:16:14 -0700 (PDT) +Received: by mail-we0-f179.google.com with SMTP id w59so336120wes.24 + for ; Sat, 01 Jun 2013 01:16:13 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; + bh=l9rkpTKOITYCgtc2eFBQlte6iedo9nJivN97CogbZIo=; + b=gdC1m9+QH/O7NArnPDvwHjRRvuyct/EWxkruc/XZGX1sNxjtXkuFdUL5qP5t5UuNaU + aNe9A42P+4iri7Aeo/tt06m1yTGVHo33GFmty/6gx1tp5eI5NWOpSE9Y8wPZmwURMkC6 + ryLEVgKhqYFsTsRRNYy70pZd3DSU5N4Iv9sEOUzQaSxZJbg8gt8kRJmjXvarB4Bdj+nZ + o3YWR/MD6hc1ZyevAad76ynfi+YRGm5WAF9ZT9a4PUE8Vt9kbe7G8WH3dwKPv4pjuk8Z + ng20fpfC9gjEEwBQmaPkN0J1gqAOrBzHTgNZ60zL9JYpkpjR55AH6Fka2/mO6g6SgCLY + giEQ== +X-Received: by 10.180.36.229 with SMTP id t5mr6305880wij.21.1370074573750; + Sat, 01 Jun 2013 01:16:13 -0700 (PDT) +Received: from localhost (94.197.247.227.threembb.co.uk. [94.197.247.227]) + by mx.google.com with ESMTPSA id b11sm8569964wiv.10.2013.06.01.01.16.11 + for + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Sat, 01 Jun 2013 01:16:13 -0700 (PDT) +From: Mark Walters +To: notmuch@notmuchmail.org, Austin Clements , + Adam Wolfe Gordon +Subject: [PATCH v4 1/5] emacs: show: fake wash parts are handled at + insert-bodypart level +Date: Sat, 1 Jun 2013 09:15:43 +0100 +Message-Id: <1370074547-24677-2-git-send-email-markwalters1009@gmail.com> +X-Mailer: git-send-email 1.7.10.4 +In-Reply-To: <1370074547-24677-1-git-send-email-markwalters1009@gmail.com> +References: <1370074547-24677-1-git-send-email-markwalters1009@gmail.com> +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Sat, 01 Jun 2013 08:16:20 -0000 + +Earlier patches have moved the handling of wash fake inline patch +parts to insert-bodypart so we can drop the function +notmuch-show-insert-part-inline-patch-fake-part +--- + emacs/notmuch-show.el | 4 ---- + 1 file changed, 4 deletions(-) + +diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el +index 613e666..dda5c10 100644 +--- a/emacs/notmuch-show.el ++++ b/emacs/notmuch-show.el +@@ -751,10 +751,6 @@ message at DEPTH in the current thread." + nil)) + nil)))) + +-;; Handler for wash generated inline patch fake parts. +-(defun notmuch-show-insert-part-inline-patch-fake-part (msg part content-type nth depth declared-type) +- (notmuch-show-insert-part-*/* msg part content-type nth depth declared-type)) +- + (defun notmuch-show-insert-part-text/html (msg part content-type nth depth declared-type) + ;; text/html handler to work around bugs in renderers and our + ;; invisibile parts code. In particular w3m sets up a keymap which +-- +1.7.10.4 + -- 2.26.2