From: Mark Walters Date: Sun, 26 May 2013 07:57:39 +0000 (+0100) Subject: [PATCH v2 1/3] emacs: show: fake wash parts are handled at insert-bodypart level X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7b577d25d7394f5b388a9e3417a674b2c954c9e4;p=notmuch-archives.git [PATCH v2 1/3] emacs: show: fake wash parts are handled at insert-bodypart level --- diff --git a/77/c89bb4638aadc3131b334a54a31962d11d5758 b/77/c89bb4638aadc3131b334a54a31962d11d5758 new file mode 100644 index 000000000..b6ff1d8e4 --- /dev/null +++ b/77/c89bb4638aadc3131b334a54a31962d11d5758 @@ -0,0 +1,89 @@ +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 B3AE5431FC9 + for ; Sun, 26 May 2013 00:57:54 -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 CIhk3mpE5uQU for ; + Sun, 26 May 2013 00:57:49 -0700 (PDT) +Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com + [209.85.212.173]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 14121431FBF + for ; Sun, 26 May 2013 00:57:48 -0700 (PDT) +Received: by mail-wi0-f173.google.com with SMTP id hi5so749489wib.12 + for ; Sun, 26 May 2013 00:57:48 -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=1Op3kDOzl+qYhSn1sPqY10xRQYJUX9fgkWbi6H9+FRY=; + b=fa13nB6cqR/aS2UxB7tMR+tu2Y9ypvjTGd87ti2XeHBaKd48meevNmMTYrDUsH479I + NEEI6CT2xMAEZtgpU8f/b27iE901ShqVkKjoO5HDcIfcRfW4EK/a3RBGF39/lyQmtUPk + Eieo06TDzS69eFU+jAVz7ppnmK4LI+F0ZFiB9Szp5rjoOUnvVXpF4SDNgj0TH6T5bm4y + 1E9/QsKRHaGBl29CLbyjftwC+n+ZRC/6q/FU2yXmK2Gh8G0JZ10fOcv0p/Z+giEOijEn + mDkTZwAkTW/SnXf9/9qa2Cu0YLS9SscyqovAmLsKfFaov0fnE/OdNytfRiLBEr5Y3Gtt + 6TDw== +X-Received: by 10.181.13.131 with SMTP id ey3mr4053496wid.41.1369555067977; + Sun, 26 May 2013 00:57:47 -0700 (PDT) +Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31]) + by mx.google.com with ESMTPSA id b11sm9260499wiv.10.2013.05.26.00.57.46 + for + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Sun, 26 May 2013 00:57:47 -0700 (PDT) +From: Mark Walters +To: notmuch@notmuchmail.org +Subject: [PATCH v2 1/3] emacs: show: fake wash parts are handled at + insert-bodypart level +Date: Sun, 26 May 2013 08:57:39 +0100 +Message-Id: <1369555061-21361-2-git-send-email-markwalters1009@gmail.com> +X-Mailer: git-send-email 1.7.9.1 +In-Reply-To: <1369555061-21361-1-git-send-email-markwalters1009@gmail.com> +References: <1369555061-21361-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: Sun, 26 May 2013 07:57:55 -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 files changed, 0 insertions(+), 4 deletions(-) + +diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el +index d56154e..51bda31 100644 +--- a/emacs/notmuch-show.el ++++ b/emacs/notmuch-show.el +@@ -813,10 +813,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.9.1 +