From: Mark Walters Date: Sat, 1 Jun 2013 08:15:42 +0000 (+0100) Subject: [PATCH v4 0/5] emacs: show: lazy handling of hidden parts X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a159464ddd97f4085b98759cddd944aa3c99365d;p=notmuch-archives.git [PATCH v4 0/5] emacs: show: lazy handling of hidden parts --- diff --git a/25/a3024d840648edcee261e01ef05c047553911c b/25/a3024d840648edcee261e01ef05c047553911c new file mode 100644 index 000000000..ba91486fc --- /dev/null +++ b/25/a3024d840648edcee261e01ef05c047553911c @@ -0,0 +1,93 @@ +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 3ABFE429E44 + for ; Sat, 1 Jun 2013 01:16:18 -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 yF2FQ9Y-4BEi for ; + Sat, 1 Jun 2013 01:16:11 -0700 (PDT) +Received: from mail-we0-f173.google.com (mail-we0-f173.google.com + [74.125.82.173]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 7EF0F431FDE + for ; Sat, 1 Jun 2013 01:16:11 -0700 (PDT) +Received: by mail-we0-f173.google.com with SMTP id x55so370804wes.32 + for ; Sat, 01 Jun 2013 01:16:10 -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=XQ8CyYeaerDfm8s4m6rZKAxlFA1esAQu344YhdI1nTs=; + b=gVp5gpKB6P2t9X9p+Ud9mkAtEsPYElEPigrW72kJvKTfEvwFTaoVIreHqf5eBp3+zT + 1zZR3uZRaGy9fwTKKylsnuJXiNJeCp6TWx3FwF2nzUrwiXfyoevuBrw+h8NO3tAewSwL + 0kdztvHKpYcc1EtybIe4Q84GldbEaxNjAofgYvBigJcXF1+upNOOom9n7s84g/j8N+pZ + zQNuaVgr03RXypwVPYfRDIYY4XWNV/9S8g4ex1I3AWOpHZ5EXNTpAR6lbZJEy8E8YmDt + tW15GF+BMRVXSCVbGhgVIdFur1YsBVONP87eaM62r9/hX+scIIWQkbZz5OsDjAtjxGab + XMGg== +X-Received: by 10.180.37.133 with SMTP id y5mr6252895wij.20.1370074569017; + Sat, 01 Jun 2013 01:16:09 -0700 (PDT) +Received: from localhost (94.197.247.227.threembb.co.uk. [94.197.247.227]) + by mx.google.com with ESMTPSA id d5sm8655149wic.1.2013.06.01.01.16.03 + for + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Sat, 01 Jun 2013 01:16:08 -0700 (PDT) +From: Mark Walters +To: notmuch@notmuchmail.org, Austin Clements , + Adam Wolfe Gordon +Subject: [PATCH v4 0/5] emacs: show: lazy handling of hidden parts +Date: Sat, 1 Jun 2013 09:15:42 +0100 +Message-Id: <1370074547-24677-1-git-send-email-markwalters1009@gmail.com> +X-Mailer: git-send-email 1.7.10.4 +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: Sat, 01 Jun 2013 08:16:18 -0000 + +This is version 4 of this series. Version 3 is at +id:1370024806-6616-1-git-send-email-markwalters1009@gmail.com + +Changes from version 3 are: fix the whitespace changes in patch 3/5, +store both the start of the part and the start of the content in +insert-bodypart (Austin's part handler series needs one and I need the +other) and fixed the missing save-excursion in patch 4/5. + +Finally, there is one more substantial change: rebasing on to Austin's +part handler (now in master). There was a little more to this than I +expected so for anyone testing please use this version. + +Many thanks + +Mark + + + +Mark Walters (5): + 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: pass button to create-overlays + emacs: show: modify the way hidden state is recorded. + emacs: show: implement lazy hidden part handling + + emacs/notmuch-show.el | 189 +++++++++++++++++++++++++++++-------------------- + 1 file changed, 111 insertions(+), 78 deletions(-) + +-- +1.7.10.4 +