From: Mark Walters Date: Fri, 31 May 2013 18:26:42 +0000 (+0100) Subject: [PATCH v3 1/5] emacs: show: fake wash parts are handled at insert-bodypart level X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=60257c38c0558f4532b43321f68f5d79351c61b8;p=notmuch-archives.git [PATCH v3 1/5] emacs: show: fake wash parts are handled at insert-bodypart level --- diff --git a/b2/50a4dee1e222811d6f164004121b84055c6511 b/b2/50a4dee1e222811d6f164004121b84055c6511 new file mode 100644 index 000000000..b4b2163ec --- /dev/null +++ b/b2/50a4dee1e222811d6f164004121b84055c6511 @@ -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 9C141431FC3 + for ; Fri, 31 May 2013 11:27:25 -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 eINWr+2SMYjo for ; + Fri, 31 May 2013 11:27:18 -0700 (PDT) +Received: from mail-we0-f173.google.com (mail-we0-f173.google.com + [74.125.82.173]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id E29E8431E62 + for ; Fri, 31 May 2013 11:27:15 -0700 (PDT) +Received: by mail-we0-f173.google.com with SMTP id x55so10583wes.18 + for ; Fri, 31 May 2013 11:27:14 -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=XTLQIG0MOjaajCAaqIqK4gOZq3kwruQokiCoFdr5H7k=; + b=fugkY3QCi1ZjaD4zsE45BfBli+/uu14dWbIJxzDFEj/m+2U0PySlJgLgqaQratpw+v + 3ELSwoybLHhC/ENlLrOvKchHpUlkMHyTnS2g9ulZFbeeny65FthWH7xjGxIWEDQdxxam + mFHalSP0UBrN3AvzbbqxwLq/MW00x7f0GKBnfwdVrTysWnrfWydxJzmSX82a8FZWfv7l + xNuI/oDPD/uakLPyATCuV+3Mk/o7Hw9HA+vPJ/j/U1+aoMmFcFXtFShPW/QP4melbXSY + kPKh4lSO87Xg3WdwGFAZZnnOKd9smHq3rf/BHFemp29fxvKCqa7eL6VnhSH13bIkfikg + /uFg== +X-Received: by 10.181.11.194 with SMTP id ek2mr4510257wid.27.1370024834747; + Fri, 31 May 2013 11:27:14 -0700 (PDT) +Received: from localhost (92.40.240.237.threembb.co.uk. [92.40.240.237]) + by mx.google.com with ESMTPSA id fu14sm5755056wic.0.2013.05.31.11.27.13 + for + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Fri, 31 May 2013 11:27:14 -0700 (PDT) +From: Mark Walters +To: notmuch@notmuchmail.org, Austin Clements , + Adam Wolfe Gordon +Subject: [PATCH v3 1/5] emacs: show: fake wash parts are handled at + insert-bodypart level +Date: Fri, 31 May 2013 19:26:42 +0100 +Message-Id: <1370024806-6616-2-git-send-email-markwalters1009@gmail.com> +X-Mailer: git-send-email 1.7.10.4 +In-Reply-To: <1370024806-6616-1-git-send-email-markwalters1009@gmail.com> +References: <1370024806-6616-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: Fri, 31 May 2013 18:27:25 -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 b0a8d8a..fd14469 100644 +--- a/emacs/notmuch-show.el ++++ b/emacs/notmuch-show.el +@@ -809,10 +809,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 +