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 5C17F431FBC for ; Thu, 13 Dec 2012 01:12:11 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 2.7 X-Spam-Level: ** X-Spam-Status: No, score=2.7 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, FREEMAIL_REPLY=2.499, 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 u6-XjUuJ5swC for ; Thu, 13 Dec 2012 01:12:11 -0800 (PST) Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id C9436431FB6 for ; Thu, 13 Dec 2012 01:12:10 -0800 (PST) Received: by mail-wi0-f175.google.com with SMTP id hm11so3659139wib.2 for ; Thu, 13 Dec 2012 01:12:09 -0800 (PST) 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; bh=IjfeRHdkdyfCitqpx+jhrHyLzpQ6YaVIzAMKMsMPvNk=; b=STrXL2o4gAVavyzT0cHMYVsGrEUIzYoDa21am/cUhzRY8oVndWAuIMMP/hxhRVc4vO Z2/HXOLm6K+Rzu7cWU3vA46Hyxe20GZkRfttd7KWnHYQUWeoi2wM8jt+YfarxdNasJog QmNSZrLaJuZLA6Wz4mumrY55iA0a45bbYRs3K0qNp5lUPSlAg2marHid/HEggTjYVMlk 7n1c6eddO7M9cM4Wxftan8CKJGzfFQm66QWHkTXo6c7PHDr99Au3nZ7wy7sgVmV3bujV ncTwn39Z6Hh4n9I6bVA59PeUETnE2nyQSxGTzhDLcPT014Rwp1wBz4RKvFkATKyf/F8c whUA== Received: by 10.180.92.71 with SMTP id ck7mr1771254wib.20.1355389929613; Thu, 13 Dec 2012 01:12:09 -0800 (PST) Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31]) by mx.google.com with ESMTPS id l5sm1532257wia.10.2012.12.13.01.12.07 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 13 Dec 2012 01:12:08 -0800 (PST) From: Mark Walters To: notmuch@notmuchmail.org Subject: [PATCH v2 0/5] Use invisibility to toggle display of all parts including multipart Date: Thu, 13 Dec 2012 09:11:59 +0000 Message-Id: <1355389924-3718-1-git-send-email-markwalters1009@gmail.com> X-Mailer: git-send-email 1.7.9.1 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: Thu, 13 Dec 2012 09:12:11 -0000 This is version 2 of the patch series (version 1 at id:1354663662-20524-1-git-send-email-markwalters1009@gmail.com) Almost all of the changes and fixes are in response to Austin's review. I have changed things as he suggested. There are two small extra tiny patches in this version: I set the default value of notmuch-show-all-multipart/alternative-parts to nil. The second is to fix a bug reported by Jani: that fake-patch parts (as provided by notmuch-wash) did not get hidden when the whole message was hidden. This was due to notmuch-wash-convert-inline-patch-to-part not passing a msg on down to notmuch-show-insert-bodypart. Previously this did not matter but with with this series msg is needed to construct the correct overlays. Best wishes Mark Mark Walters (5): emacs: show: modify insert-part-header to save the button text emacs: show: add overlays for each part emacs: show: add invisibility button action emacs: wash: fix fake-diff part to include msg parameter emacs: show: set default show-all-multipart/alternatives to nil emacs/notmuch-show.el | 115 ++++++++++++++++++++++++++++++++++++++----------- emacs/notmuch-wash.el | 2 +- 2 files changed, 90 insertions(+), 27 deletions(-) -- 1.7.9.1