--- /dev/null
+Return-Path: <jani@nikula.org>\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 ABC2B431FAF\r
+ for <notmuch@notmuchmail.org>; Sun, 2 Dec 2012 11:48:12 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+ tests=[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 3yFHoChwDjQa for <notmuch@notmuchmail.org>;\r
+ Sun, 2 Dec 2012 11:48:08 -0800 (PST)\r
+Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com\r
+ [209.85.217.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 69B0E431FAE\r
+ for <notmuch@notmuchmail.org>; Sun, 2 Dec 2012 11:48:08 -0800 (PST)\r
+Received: by mail-lb0-f181.google.com with SMTP id ge1so1909606lbb.26\r
+ for <notmuch@notmuchmail.org>; Sun, 02 Dec 2012 11:48:04 -0800 (PST)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=google.com; s=20120113;\r
+ h=from:to:subject:in-reply-to:references:user-agent:date:message-id\r
+ :mime-version:content-type:x-gm-message-state;\r
+ bh=0LAAsEJfAnSg9rUi36Z94yfasLyK1kL7zwFnCRy5Lg0=;\r
+ b=Z5IxaYYtS2FLhgvVkYwkIyo/vH1ByGQmVZ1d1EGcpaTP8YxEflyEaaM+zeTrzI0vgj\r
+ b6gXrnn0o5DKUvF72bVdGuzi1h479BY3HfC0Z4zHerWvEXAmujYWE6zgGxpxhtx8aiEo\r
+ CMcjU0JR9bwP/h5McR1XCrnZNBFNo01tGMIIorP4YwnLyZwcGHgtQqgvqBIJIhMDT4um\r
+ Xgy/xfcysIo/P5OLJLl3K5KcuCNPb0O+H3n4by5SI3hnnu3KZkWWTNnrMpIUhITLAqqM\r
+ FaQYdzF5wHNrOhYC8GSjXDBt2ed5lXZEzHXzZ4uhZzoO7GmKWiNcXACZRk0WLBqzoMAD\r
+ kuJQ==\r
+Received: by 10.112.10.98 with SMTP id h2mr3352804lbb.127.1354477684064;\r
+ Sun, 02 Dec 2012 11:48:04 -0800 (PST)\r
+Received: from localhost (dsl-hkibrasgw4-fe51df00-27.dhcp.inet.fi.\r
+ [80.223.81.27])\r
+ by mx.google.com with ESMTPS id gr12sm4333716lab.3.2012.12.02.11.48.01\r
+ (version=SSLv3 cipher=OTHER); Sun, 02 Dec 2012 11:48:02 -0800 (PST)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: Mark Walters <markwalters1009@gmail.com>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH (draft) 0/2] Allow emacs to toggle display of all parts\r
+ including multipart\r
+In-Reply-To: <1351152563-27277-1-git-send-email-markwalters1009@gmail.com>\r
+References: <1351152563-27277-1-git-send-email-markwalters1009@gmail.com>\r
+User-Agent: Notmuch/0.14+128~g6dd5220 (http://notmuchmail.org) Emacs/23.4.1\r
+ (i686-pc-linux-gnu)\r
+Date: Sun, 02 Dec 2012 21:48:00 +0200\r
+Message-ID: <87mwxwme1b.fsf@nikula.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+X-Gm-Message-State:\r
+ ALoCoQkSu8u2fpSNDzZiYstDveYIwgZ/jvRfNgFPqHf4r4lpuuBVb2GTbEBbgJDu1iLmNdt4UWO2\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: Sun, 02 Dec 2012 19:48:12 -0000\r
+\r
+On Thu, 25 Oct 2012, Mark Walters <markwalters1009@gmail.com> wrote:\r
+> This patch series adds a function to toggle the display of any emacs\r
+> part in the show buffer. This is particularly useful for\r
+> multipart/alternative where the parts have different information.\r
+\r
+I didn't look at the code, but I tried it. And I like it. There are some\r
+annoyances and some things I'll still want to customize for myself, but\r
+I really like it.\r
+\r
+> The first patch binds this toggle to 't' on the part button. This\r
+> patch works by itself.\r
+\r
+I'd like to rebind RET to do the toggle by default. I don't think it's\r
+very useful to be able to save multipart/alternative parts by default.\r
+\r
+> The second patch makes it that "viewing" (ie v on the part-button) a\r
+> "not shown" part displays the part in the buffer. Note this is not a\r
+> toggle since having displayed the part in the buffer the user may wish\r
+> to view the part externally (eg if it is a text/html part).\r
+>\r
+> Caveats: \r
+> the patches work by reloading the whole buffer: this may mean\r
+> extra messages appear in the thread. This is not ideal but is\r
+> the same as toggling indentation etc.\r
+\r
+It's all right.\r
+\r
+> the reload saves state as normal but this means the view\r
+> returns to the top of the current message. Since we know\r
+> exactly where the user was (ie on the button) this should be\r
+> restored.\r
+\r
+This is annoying, and should be fixed eventually (but this can come\r
+afterwards). One option would be to just take a line count from the\r
+beginning of the message to the button, and return point to the button\r
+after refresh. This should work even if new messages show up.\r
+\r
+> for technical reasons the "view" part functionality in the\r
+> second patch only works for view called explicitly: not if\r
+> the user has customised the default action to be view and\r
+> calls that. This is easy to fix but the most natural way\r
+> would break existing customisation of this action.\r
+>\r
+> reloading the buffer without keeping state does not currently\r
+> reset the toggled parts. Again this is easy to fix but lets\r
+> see if people like the general approach first.\r
+\r
+IMHO can be fixed later.\r
+\r
+One more wishlist item, which also doesn't need to be part of this\r
+series, or by you: I'd like to be able to specify *which*\r
+multipart/alternative parts should be displayed in addition to\r
+preferred. A list of (regexps matching) mime types to always open,\r
+whether they're preferred or not. I've previously sent patches to this\r
+effect, but they were never merged (I can repost if you want).\r
+\r
+BR,\r
+Jani.\r
+\r
+\r
+>\r
+> Best wishes\r
+>\r
+> Mark\r
+>\r
+>\r
+> Mark Walters (2):\r
+> emacs: allow the user to toggle the visibility of\r
+> multipart/alternative parts\r
+> emacs: show: make "view part" show hidden parts\r
+>\r
+> emacs/notmuch-show.el | 53 ++++++++++++++++++++++++++++++++++++++++--------\r
+> 1 files changed, 44 insertions(+), 9 deletions(-)\r
+>\r
+> -- \r
+> 1.7.9.1\r
+>\r
+> _______________________________________________\r
+> notmuch mailing list\r
+> notmuch@notmuchmail.org\r
+> http://notmuchmail.org/mailman/listinfo/notmuch\r