From 8f816f49ca0123c03e503022b9fd063712a02d0b Mon Sep 17 00:00:00 2001 From: Mark Walters Date: Mon, 10 Jun 2013 05:57:08 +0100 Subject: [PATCH] [PATCH v5 1/6] emacs: show: fake wash parts are handled at insert-bodypart level --- 6d/64c6295c296d9d23da489cc12ef52892ae9b22 | 90 +++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 6d/64c6295c296d9d23da489cc12ef52892ae9b22 diff --git a/6d/64c6295c296d9d23da489cc12ef52892ae9b22 b/6d/64c6295c296d9d23da489cc12ef52892ae9b22 new file mode 100644 index 000000000..183ec1c65 --- /dev/null +++ b/6d/64c6295c296d9d23da489cc12ef52892ae9b22 @@ -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 1D74D431FAE + for ; Sun, 9 Jun 2013 21:57:28 -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 yZaImHbvPzUT for ; + Sun, 9 Jun 2013 21:57:20 -0700 (PDT) +Received: from mail-ee0-f53.google.com (mail-ee0-f53.google.com + [74.125.83.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client + certificate requested) by olra.theworths.org (Postfix) with ESMTPS id + 89E25431FAF for ; Sun, 9 Jun 2013 21:57:20 -0700 + (PDT) +Received: by mail-ee0-f53.google.com with SMTP id c41so2752063eek.12 + for ; Sun, 09 Jun 2013 21:57:19 -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=uairplrx51AFe6RZkxbr8NFZP7SoFb7p5f3jLEaVe9A=; + b=Q6VwrMKOwjjTwi0+9ceDwKUjiGWYaL5H24JMFk+MoPQU2ZzaQ3swEauHmuP0QiZOp6 + lCXuxPzQxuizzg5wsNGttlQGBKuVovL9/wcreE8aBUM+5enuXBsTgdyq8ocEGWbpJR4c + vXaChaT4E59YrnGrHCse5WdjXJOBd11ck4WWmrFgagvLYoH09LzWfc2uIb5del5QQbp4 + Q7aidNE64T9WSLMckSQ1wPaefHo6DC5FxytxZ7LCOH5iFI/3zx6TNWPiExIsED/3DfuT + 5IMp6dp3idU/MmlnB9PSHWyBwrJ3c5T9ct/wzuIo5pJ2Nd9ry+yeQtG4K8DgzJoW9q6G + eOLw== +X-Received: by 10.14.8.68 with SMTP id 44mr9101679eeq.56.1370840239352; + Sun, 09 Jun 2013 21:57:19 -0700 (PDT) +Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31]) + by mx.google.com with ESMTPSA id f9sm2205894eev.9.2013.06.09.21.57.18 + for + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Sun, 09 Jun 2013 21:57:18 -0700 (PDT) +From: Mark Walters +To: notmuch@notmuchmail.org, + Austin Clements +Subject: [PATCH v5 1/6] emacs: show: fake wash parts are handled at + insert-bodypart level +Date: Mon, 10 Jun 2013 05:57:08 +0100 +Message-Id: <1370840233-23258-2-git-send-email-markwalters1009@gmail.com> +X-Mailer: git-send-email 1.7.9.1 +In-Reply-To: <1370840233-23258-1-git-send-email-markwalters1009@gmail.com> +References: <1370840233-23258-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: Mon, 10 Jun 2013 04:57:28 -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 83bb9ad..209cd4a 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.9.1 + -- 2.26.2