[PATCH v4 4/5] emacs: wash: fix fake-diff part to include msg parameter
authorMark Walters <markwalters1009@gmail.com>
Mon, 17 Dec 2012 21:54:46 +0000 (21:54 +0000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:52:30 +0000 (09:52 -0800)
a4/ab2a57a7b0acb763fb44825188b0abb07f8cf9 [new file with mode: 0644]

diff --git a/a4/ab2a57a7b0acb763fb44825188b0abb07f8cf9 b/a4/ab2a57a7b0acb763fb44825188b0abb07f8cf9
new file mode 100644 (file)
index 0000000..dc4c75f
--- /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 5CE3F431FB6\r
+       for <notmuch@notmuchmail.org>; Mon, 17 Dec 2012 13:55:13 -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 DVvxWs1DiAOe for <notmuch@notmuchmail.org>;\r
+       Mon, 17 Dec 2012 13:55:11 -0800 (PST)\r
+Received: from mail-wg0-f47.google.com (mail-wg0-f47.google.com\r
+ [74.125.82.47])       (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
+ certificate requested)        by olra.theworths.org (Postfix) with ESMTPS id\r
+ 3D087431FD4   for <notmuch@notmuchmail.org>; Mon, 17 Dec 2012 13:55:09 -0800\r
+ (PST)\r
+Received: by mail-wg0-f47.google.com with SMTP id dq11so2813147wgb.2\r
+       for <notmuch@notmuchmail.org>; Mon, 17 Dec 2012 13:55:08 -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=TJzPueoHtKZXDOFcfBvSmlRmqRvskJjzk8ybMxL+cndFFBcoDxK+SD5SHnRyyuyjZ+\r
+       mLEyOxrVsBU/w4+ho44qvdLN0Gx7N+3JJH0vkb/iknBHPWGhESFGDek7nYpibZj+A/74\r
+       /lj/eatgC6QOxOB/hENP7a6Ajkcv+xi8MR6e3dwl46HD4S7CZGZ/lOxKec9Ujs8P6Q2s\r
+       UqsGeAT7Xiei7h7RbfbzbgifCpA+ZyoiIzzQhbL2a7RXFA95bC2mqB7EDxQhEyCMK3Tr\r
+       rqrO9wIEOSd/ahpQUNkRGbe7wO4ekaaHz60JiXEoinDmNVP6YoulTFLWNt+WOmPMP7Mc\r
+       WqMQ==\r
+Received: by 10.194.76.137 with SMTP id k9mr20012703wjw.29.1355781308039;\r
+       Mon, 17 Dec 2012 13:55:08 -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 dm3sm13043400wib.9.2012.12.17.13.55.06\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Mon, 17 Dec 2012 13:55:07 -0800 (PST)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v4 4/5] emacs: wash: fix fake-diff part to include msg\r
+       parameter\r
+Date: Mon, 17 Dec 2012 21:54:46 +0000\r
+Message-Id: <1355781287-6010-5-git-send-email-markwalters1009@gmail.com>\r
+X-Mailer: git-send-email 1.7.9.1\r
+In-Reply-To: <1355781287-6010-1-git-send-email-markwalters1009@gmail.com>\r
+References: <1355781287-6010-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, 17 Dec 2012 21:55:13 -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