Re: [PATCH v2] emacs: add function to toggle display of all multipart/alternative...
authorJani Nikula <jani@nikula.org>
Sun, 24 Jun 2012 07:10:01 +0000 (10:10 +0300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:47:47 +0000 (09:47 -0800)
ac/17d8d6ce4f22e46efa21715a1450f0d322b7aa [new file with mode: 0644]

diff --git a/ac/17d8d6ce4f22e46efa21715a1450f0d322b7aa b/ac/17d8d6ce4f22e46efa21715a1450f0d322b7aa
new file mode 100644 (file)
index 0000000..a98c1c5
--- /dev/null
@@ -0,0 +1,124 @@
+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 2E5CB431FBD\r
+       for <notmuch@notmuchmail.org>; Sun, 24 Jun 2012 00:10:04 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.699\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5\r
+       tests=[HTML_MESSAGE=0.001, 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 YPINXvKFe3g9 for <notmuch@notmuchmail.org>;\r
+       Sun, 24 Jun 2012 00:10:03 -0700 (PDT)\r
+Received: from mail-ob0-f181.google.com (mail-ob0-f181.google.com\r
+       [209.85.214.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 741CA431FAF\r
+       for <notmuch@notmuchmail.org>; Sun, 24 Jun 2012 00:10:03 -0700 (PDT)\r
+Received: by obbup19 with SMTP id up19so5244500obb.26\r
+       for <notmuch@notmuchmail.org>; Sun, 24 Jun 2012 00:10:01 -0700 (PDT)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=google.com; s=20120113;\r
+       h=mime-version:in-reply-to:references:date:message-id:subject:from:to\r
+       :cc:content-type:x-gm-message-state;\r
+       bh=1H2o4s5+udM2FMbh4djIIgQb36kx62coEsGti2qet+8=;\r
+       b=In0WhtExJCSTTSefThkjkYLHcfrb/xTyDgrB1KCogU6CBRRXMwyrrDgDr2BqFOydBq\r
+       50dO0SgXEQtWNFlfDEtGdvX2JvS8ljx5waj+dMbMjrRmKmZW0OuNWeotwBJ0EnEcA4xS\r
+       OWw6kaEDqRVw12EeYrhLag1GETrfZm7g/L3+nAit0Crwmhw+LOxUqn9Zt6txrGMiZ6vQ\r
+       uNLeShLCRontLZJWev76zv3r858C+DGtldhA1hYAC3JUJmnWj0yilC9rB8vHizYQG1xC\r
+       Xx/ovc6oHFQZ5FscH5yR97GZBWbk+I8DTbd/ECtr3I1v7ynuKwNO2xThhcdcJMajOaGr\r
+       AHVQ==\r
+MIME-Version: 1.0\r
+Received: by 10.182.77.170 with SMTP id t10mr8119382obw.70.1340521801817; Sun,\r
+       24 Jun 2012 00:10:01 -0700 (PDT)\r
+Received: by 10.76.10.102 with HTTP; Sun, 24 Jun 2012 00:10:01 -0700 (PDT)\r
+Received: by 10.76.10.102 with HTTP; Sun, 24 Jun 2012 00:10:01 -0700 (PDT)\r
+In-Reply-To: <87zk7vasdd.fsf@zancas.localnet>\r
+References: <1339775751-18002-1-git-send-email-jani@nikula.org>\r
+       <1340136889-2992-1-git-send-email-jani@nikula.org>\r
+       <87zk7vasdd.fsf@zancas.localnet>\r
+Date: Sun, 24 Jun 2012 10:10:01 +0300\r
+Message-ID:\r
+ <CAB+hUn9_Ba6Cr55VCjj3=BxnshFOBBOe=G11ReECFkN_RrwUwQ@mail.gmail.com>\r
+Subject: Re: [PATCH v2] emacs: add function to toggle display of all\r
+       multipart/alternative parts\r
+From: Jani Nikula <jani@nikula.org>\r
+To: David Bremner <david@tethera.net>\r
+Content-Type: multipart/alternative; boundary=f46d044517c1cf9f0604c3328d46\r
+X-Gm-Message-State:\r
+ ALoCoQkkb0I3jQiB8HDOVqpzSPq6IocuDllqfbG+uUW1ycuYYDaCK6JXt04InSo/7UC80v3VvwY9\r
+Cc: notmuch@notmuchmail.org\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, 24 Jun 2012 07:10:04 -0000\r
+\r
+--f46d044517c1cf9f0604c3328d46\r
+Content-Type: text/plain; charset=UTF-8\r
+\r
+On Jun 23, 2012 1:34 AM, "David Bremner" <david@tethera.net> wrote:\r
+>\r
+> Jani Nikula <jani@nikula.org> writes:\r
+>\r
+> >\r
+> > A small wrinkle is that in order to make the variable survive\r
+> > notmuch-show-refresh-view (which is required for expanding/collapsing\r
+> > the parts, but ends up calling kill-all-local-variables through\r
+> > notmuch-show-mode) it is necessary to give it the permanent-local\r
+> > property.\r
+>\r
+> The code looks simple enough; should we apply this patch while we wait\r
+> for something fancier?\r
+\r
+Applying this doesn't make the fancy stuff harder to do at all. And this\r
+doesn't have a key binding, on purpose, so we're not committed to that\r
+either. But then I'm biased...\r
+\r
+> I don't really know how to evaluate the\r
+> permanent-local bit.\r
+\r
+All the other show mode toggles use that too. It's probably less surprising\r
+like this than the permanently local only as needed approach in v1.\r
+\r
+>\r
+> d\r
+\r
+--f46d044517c1cf9f0604c3328d46\r
+Content-Type: text/html; charset=UTF-8\r
+\r
+<p><br>\r
+On Jun 23, 2012 1:34 AM, &quot;David Bremner&quot; &lt;<a href="mailto:david@tethera.net">david@tethera.net</a>&gt; wrote:<br>\r
+&gt;<br>\r
+&gt; Jani Nikula &lt;<a href="mailto:jani@nikula.org">jani@nikula.org</a>&gt; writes:<br>\r
+&gt;<br>\r
+&gt; &gt;<br>\r
+&gt; &gt; A small wrinkle is that in order to make the variable survive<br>\r
+&gt; &gt; notmuch-show-refresh-view (which is required for expanding/collapsing<br>\r
+&gt; &gt; the parts, but ends up calling kill-all-local-variables through<br>\r
+&gt; &gt; notmuch-show-mode) it is necessary to give it the permanent-local<br>\r
+&gt; &gt; property.<br>\r
+&gt;<br>\r
+&gt; The code looks simple enough; should we apply this patch while we wait<br>\r
+&gt; for something fancier?</p>\r
+<p>Applying this doesn&#39;t make the fancy stuff harder to do at all. And this doesn&#39;t have a key binding, on purpose, so we&#39;re not committed to that either. But then I&#39;m biased...</p>\r
+<p>&gt; I don&#39;t really know how to evaluate the<br>\r
+&gt; permanent-local bit.</p>\r
+<p>All the other show mode toggles use that too. It&#39;s probably less surprising like this than the permanently local only as needed approach in v1.</p>\r
+<p>&gt;<br>\r
+&gt; d<br>\r
+</p>\r
+\r
+--f46d044517c1cf9f0604c3328d46--\r