1 Return-Path: <jrollins@finestructure.net>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 9E00F431FB6
\r
6 for <notmuch@notmuchmail.org>; Mon, 18 Jun 2012 14:26:15 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id GoEYlkrt+LYw for <notmuch@notmuchmail.org>;
\r
16 Mon, 18 Jun 2012 14:26:13 -0700 (PDT)
\r
17 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu
\r
19 by olra.theworths.org (Postfix) with ESMTP id 3342A431FAF
\r
20 for <notmuch@notmuchmail.org>; Mon, 18 Jun 2012 14:26:12 -0700 (PDT)
\r
21 Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1])
\r
22 by fire-doxen-postvirus (Postfix) with ESMTP id 3B9C12E50D4C;
\r
23 Mon, 18 Jun 2012 14:26:10 -0700 (PDT)
\r
24 X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new
\r
25 Received: from finestructure.net (gwave-92.ligo.caltech.edu [131.215.114.92])
\r
26 (Authenticated sender: jrollins)
\r
27 by fire-doxen-submit (Postfix) with ESMTP id 6DDA62E50A1D;
\r
28 Mon, 18 Jun 2012 14:26:07 -0700 (PDT)
\r
29 Received: by finestructure.net (Postfix, from userid 1000)
\r
30 id 4CDD739B; Mon, 18 Jun 2012 14:26:07 -0700 (PDT)
\r
31 From: Jameson Graef Rollins <jrollins@finestructure.net>
\r
32 To: Jani Nikula <jani@nikula.org>, notmuch@notmuchmail.org
\r
33 Subject: Re: [PATCH] emacs: add function to toggle display of all
\r
34 multipart/alternative parts
\r
35 In-Reply-To: <1339775751-18002-1-git-send-email-jani@nikula.org>
\r
36 References: <1339775751-18002-1-git-send-email-jani@nikula.org>
\r
37 User-Agent: Notmuch/0.13.2+53~g1567997 (http://notmuchmail.org) Emacs/23.4.1
\r
38 (x86_64-pc-linux-gnu)
\r
39 Date: Mon, 18 Jun 2012 14:26:04 -0700
\r
40 Message-ID: <87zk80gvmb.fsf@servo.finestructure.net>
\r
42 Content-Type: multipart/signed; boundary="=-=-=";
\r
43 micalg=pgp-sha256; protocol="application/pgp-signature"
\r
44 X-BeenThere: notmuch@notmuchmail.org
\r
45 X-Mailman-Version: 2.1.13
\r
47 List-Id: "Use and development of the notmuch mail system."
\r
48 <notmuch.notmuchmail.org>
\r
49 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
50 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
51 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
52 List-Post: <mailto:notmuch@notmuchmail.org>
\r
53 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
54 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
55 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
56 X-List-Received-Date: Mon, 18 Jun 2012 21:26:15 -0000
\r
60 On Fri, Jun 15 2012, Jani Nikula <jani@nikula.org> wrote:
\r
61 > Add function notmuch-show-toggle-multipart-alternative to make
\r
62 > notmuch-show-all-multipart/alternative-parts buffer local, toggle its
\r
63 > value in the buffer, and redisplay the thread with either all or
\r
64 > preferred alternative parts expanded.
\r
66 > A small wrinkle is that in order to make the variable survive
\r
67 > notmuch-show-refresh-view (which is required for expanding/collapsing
\r
68 > the parts, but ends up calling kill-all-local-variables through
\r
69 > notmuch-show-mode) it is necessary to give it the permanent-local
\r
72 This is a very cool feature. I haven't looked closely at this but can't
\r
73 this mechanism work the same as the other show-mode toggles, like crypto
\r
74 or indenting? I wouldn't think it would require any more extra variable
\r
75 stuff than what is used for those other toggles.
\r
77 Also, the *really* sweet thing would be if the toggle actually cycled
\r
78 through display of the alternatives, only displaying one at a time.
\r
79 That would be very swank.
\r
81 David Edmondson put together the other show-mode toggling stuff, so he
\r
82 may be able to help with this as well.
\r
87 Content-Type: application/pgp-signature
\r
89 -----BEGIN PGP SIGNATURE-----
\r
90 Version: GnuPG v1.4.12 (GNU/Linux)
\r
92 iQIcBAEBCAAGBQJP35ztAAoJEO00zqvie6q8mz8P/j0tQV1ndALg5lGQeH25Pt4K
\r
93 6c68xpRliGATxPI5JqIY+pldLw+Vb6qo8qywJt6LTxX0lkS2NH0KFJoKSX25EXoM
\r
94 +63xWIphum+wlhIBxbR13q9BInBu5EJ6XIw3oX4x1x+BHz2IbTw6P71EgRxthaEZ
\r
95 tUaLHv4Q0gFMe3+cuBLirBnUI5zuouIiZzX8HVcHRczkzQJbXSCOnrlmykKnsXKm
\r
96 MfRqIW1vkw3wkLzazFlvnrvdnoKqM4hMP3YVtnkjbgQiAlpjz4joGgg7lDzAuW6l
\r
97 2atHntdbf05jnnvycR3htsS5lnhbWxWupzvCNa0wYW82f3lCR4fj2HBdYjMf9vha
\r
98 D3sTPEUfokDgdTGMg+Ztuyx2bcI47ljF8GAPb0JazyxnFcI9pILDS41F+zTXzN0i
\r
99 0a3vS64JzAx7hDuI7+uj6ohKnpIcFbubjTfSm8B0JV1SvGvJqyySsz4U5WSnO98U
\r
100 yl9L6NiBRD+TO7FRGqgChl/FsfE7B3ccwSGv+D4UtxLD+Ntwifut5oLPYJHbKu6k
\r
101 E5W13qbJnMjs70+8BXKdv9bWyI7zK14cWQ+FrAytHQfhJMxfShE+aoizdrT2M6+D
\r
102 ypKpLXnrFrorbUiONWNdlY+Sw6aWSdduQN8LSS6T5zk02ENORy1cEl5JaxNuk2w2
\r
103 KLgqpDW9H7mChk06T4i9
\r
105 -----END PGP SIGNATURE-----
\r