[PATCH v5 1/6] emacs: show: fake wash parts are handled at insert-bodypart level
authorMark Walters <markwalters1009@gmail.com>
Mon, 10 Jun 2013 04:57:08 +0000 (05:57 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:55:30 +0000 (09:55 -0800)
6d/64c6295c296d9d23da489cc12ef52892ae9b22 [new file with mode: 0644]

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