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 2A3A6431FD2 for ; Sun, 26 May 2013 00:57:56 -0700 (PDT) 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 439rqvWSTlVk for ; Sun, 26 May 2013 00:57:48 -0700 (PDT) Received: from mail-we0-f179.google.com (mail-we0-f179.google.com [74.125.82.179]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 71A7A431FAE for ; Sun, 26 May 2013 00:57:48 -0700 (PDT) Received: by mail-we0-f179.google.com with SMTP id m46so3530277wev.38 for ; Sun, 26 May 2013 00:57:46 -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; bh=oyW2jo3kINaAWQ0MUPqirL6KygLuyaq425UCTMovQvM=; b=Zjo2cYUq3ESYMZAnR9L83oQ5XVs1jtQYhoiUx1JVCF/fkgk3VZWVMoY8yU54QnjjzF pYb/EYvHc0DyOA7bSZPXpSWDZrvs0+fy6QAiYg5cKUqyb7XbyhESdOT0xLGyLxlcENOC FzlQRISvqIRcS4oUBb4OvTipFzTuK1dKYz8gIZxihzwIBAN7y09lcHUVEYpGjALqII4T NE5yDKVEobE2LlnTxO4hLwrrRPH4MlIKXcl0ogr7eMCPVBrBS9P4ordOJ9HQHPWnQWjR hOQndlgtTQrd2St7jGlpSJ3msAWKZvLYpXUu1trbH191JtwxYyaYtJs1jjMuhrfJ0MvC ruFQ== X-Received: by 10.180.19.72 with SMTP id c8mr4154244wie.35.1369555066009; Sun, 26 May 2013 00:57:46 -0700 (PDT) Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31]) by mx.google.com with ESMTPSA id w8sm14758711wiz.0.2013.05.26.00.57.44 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 26 May 2013 00:57:45 -0700 (PDT) From: Mark Walters To: notmuch@notmuchmail.org Subject: [PATCH v2 0/3] emacs: show: lazy handling of hidden parts Date: Sun, 26 May 2013 08:57:38 +0100 Message-Id: <1369555061-21361-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: Sun, 26 May 2013 07:57:56 -0000 This is a slightly tweaked version of id:1367672478-12247-1-git-send-email-markwalters1009@gmail.com minus the first two patches which have already been pushed. The second patch of the previous series obsoleted the handler notmuch-show-insert-part-inline-patch-fake-part so we remove that and we update the commit message of the second patch in this series to but otherwise patches 2 and 3 of this are identical to patches 3 and 4 of the previous series. There is one change that inadvertently slipped into the second patch of the previous series: it changed the (fake) name of the fake inline patch parts from inline-patch-fake-part to "inline patch". (I think this was when I was testing whether I could do away with the notmuch-show-insert-part-inline-patch-fake-part handler but I forgot to revert it after). The only place it shows to a user is in the part button title: it will say something like [ 0001-emacs-show-separate-out-handling-of-application-octe.patch: inline patch (as text/x-diff) ] instead of [ 0001-emacs-show-separate-out-handling-of-application-octe.patch: inline-patch-fake-part (as text/x-diff) ] but perhaps it should be reverted anyway. Sorry for messing that bit up Best wishes Mark Mark Walters (3): emacs: show: fake wash parts are handled at insert-bodypart level emacs: show: move the insertion of the header button to the top level emacs: show: implement lazy hidden part handling emacs/notmuch-show.el | 121 +++++++++++++++++++++++++++++-------------------- 1 files changed, 71 insertions(+), 50 deletions(-) -- 1.7.9.1