[PATCH v3 4/5] emacs: wash: fix fake-diff part to include msg parameter
authorMark Walters <markwalters1009@gmail.com>
Sat, 15 Dec 2012 08:15:36 +0000 (08:15 +0000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:52:14 +0000 (09:52 -0800)
a2/1051b62f1b038ee37a66658da03f5f8ea83b6e [new file with mode: 0644]

diff --git a/a2/1051b62f1b038ee37a66658da03f5f8ea83b6e b/a2/1051b62f1b038ee37a66658da03f5f8ea83b6e
new file mode 100644 (file)
index 0000000..8935d15
--- /dev/null
@@ -0,0 +1,86 @@
+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 B6EB5431FC2\r
+       for <notmuch@notmuchmail.org>; Sat, 15 Dec 2012 00:15:54 -0800 (PST)\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 8hfEQ5ZFC5wC for <notmuch@notmuchmail.org>;\r
+       Sat, 15 Dec 2012 00:15:54 -0800 (PST)\r
+Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com\r
+       [209.85.212.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 89267431FC7\r
+       for <notmuch@notmuchmail.org>; Sat, 15 Dec 2012 00:15:52 -0800 (PST)\r
+Received: by mail-wi0-f181.google.com with SMTP id hm9so961793wib.2\r
+       for <notmuch@notmuchmail.org>; Sat, 15 Dec 2012 00:15:51 -0800 (PST)\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=fqtw5ubvo3mZ4mvIWdatCv3rymr4Ku6h0E/NdA2Cp1s=;\r
+       b=bIT6mYTvgSO7ddcUCO37nfH69gX9yeVwiuoDHkvYdeLtJY5xz4/h9Iu4weTuIEe40o\r
+       nW8EUvNHCS1nrjrc0moujxwLt7+Xv+a9+dJyUH9Jw+K5MuCJGaZPI8x1V5bKdGI8zWn1\r
+       VIK1loVoMY3PwkKByPt3UYxqLKxQzIP96Gv43T8P1obG8Uh39w2+/Q1LFHjEtqgMFVg0\r
+       +5Xs/5LOU6qZyJtpbZSiBhPeJYDYnrH+a+AN9rK4tnsxcapOrXOpHsl6UOKaErkn8pqZ\r
+       yZzHEG+H8xUYNssJ7plcYezTog1KPdvV3aGZrgheXxozrxkfC71bpc9snNG4CouzRl1L\r
+       t5gw==\r
+Received: by 10.194.10.74 with SMTP id g10mr7585038wjb.21.1355559351429;\r
+       Sat, 15 Dec 2012 00:15:51 -0800 (PST)\r
+Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31])\r
+       by mx.google.com with ESMTPS id dw4sm1157495wib.1.2012.12.15.00.15.50\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Sat, 15 Dec 2012 00:15:50 -0800 (PST)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v3 4/5] emacs: wash: fix fake-diff part to include msg\r
+       parameter\r
+Date: Sat, 15 Dec 2012 08:15:36 +0000\r
+Message-Id: <1355559338-14313-5-git-send-email-markwalters1009@gmail.com>\r
+X-Mailer: git-send-email 1.7.9.1\r
+In-Reply-To: <1355559338-14313-1-git-send-email-markwalters1009@gmail.com>\r
+References: <1355559338-14313-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: Sat, 15 Dec 2012 08:15:55 -0000\r
+\r
+The fake-diff part from notmuch wash did not pass the msg parameter to\r
+notmuch-show-insert-bodypart. Previously this did not matter, but is\r
+now needed to get the overlays right for invisibility.\r
+---\r
+ emacs/notmuch-wash.el |    2 +-\r
+ 1 files changed, 1 insertions(+), 1 deletions(-)\r
+\r
+diff --git a/emacs/notmuch-wash.el b/emacs/notmuch-wash.el\r
+index 7d003a2..b2affba 100644\r
+--- a/emacs/notmuch-wash.el\r
++++ b/emacs/notmuch-wash.el\r
+@@ -378,7 +378,7 @@ for error."\r
+                              (plist-get\r
+                               (plist-get msg :headers) :Subject))))\r
+       (delete-region (point-min) (point-max))\r
+-      (notmuch-show-insert-bodypart nil part depth)))))\r
++      (notmuch-show-insert-bodypart msg part depth)))))\r
\r
+ ;;\r
\r
+-- \r
+1.7.9.1\r
+\r