Re: [PATCH (draft) 0/2] Allow emacs to toggle display of all parts including multipart
authorJameson Graef Rollins <jrollins@finestructure.net>
Mon, 3 Dec 2012 17:15:21 +0000 (09:15 +1600)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:51:23 +0000 (09:51 -0800)
7c/cdd7ee4ad5d8f8d67ddba0a7c4883e4c881a9d [new file with mode: 0644]

diff --git a/7c/cdd7ee4ad5d8f8d67ddba0a7c4883e4c881a9d b/7c/cdd7ee4ad5d8f8d67ddba0a7c4883e4c881a9d
new file mode 100644 (file)
index 0000000..8a51083
--- /dev/null
@@ -0,0 +1,116 @@
+Return-Path: <jrollins@finestructure.net>\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 8A2E8431FB6\r
+       for <notmuch@notmuchmail.org>; Mon,  3 Dec 2012 09:15:34 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.3\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3] 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 AXicypA5Xoi7 for <notmuch@notmuchmail.org>;\r
+       Mon,  3 Dec 2012 09:15:30 -0800 (PST)\r
+Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
+       [131.215.239.19])\r
+       by olra.theworths.org (Postfix) with ESMTP id 8C5A0431FAE\r
+       for <notmuch@notmuchmail.org>; Mon,  3 Dec 2012 09:15:30 -0800 (PST)\r
+Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
+       by earth-doxen-postvirus (Postfix) with ESMTP id 0009D66E0204;\r
+       Mon,  3 Dec 2012 09:15:29 -0800 (PST)\r
+X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new\r
+Received: from finestructure.net (DHCP-123-194.caltech.edu [131.215.123.194])\r
+       (Authenticated sender: jrollins)\r
+       by earth-doxen-submit (Postfix) with ESMTP id EA50D66E01CE;\r
+       Mon,  3 Dec 2012 09:15:25 -0800 (PST)\r
+Received: by finestructure.net (Postfix, from userid 1000)\r
+       id 1074D616EF; Mon,  3 Dec 2012 09:15:24 -0800 (PST)\r
+From: Jameson Graef Rollins <jrollins@finestructure.net>\r
+To: Jani Nikula <jani@nikula.org>, Mark Walters <markwalters1009@gmail.com>,\r
+       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: <87mwxwme1b.fsf@nikula.org>\r
+References: <1351152563-27277-1-git-send-email-markwalters1009@gmail.com>\r
+       <87mwxwme1b.fsf@nikula.org>\r
+User-Agent: Notmuch/0.14+132~g59fcb16 (http://notmuchmail.org) Emacs/24.2.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Mon, 03 Dec 2012 09:15:21 -0800\r
+Message-ID: <87y5hf9hw6.fsf@servo.finestructure.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha256; protocol="application/pgp-signature"\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: Mon, 03 Dec 2012 17:15:34 -0000\r
+\r
+--=-=-=\r
+Content-Type: text/plain\r
+\r
+On Sun, Dec 02 2012, Jani Nikula <jani@nikula.org> wrote:\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
+In my opinion RET should always just display the part.  If the part is\r
+inlineable, then it should toggle display of it in the show buffer.  If\r
+it's not, it should open it in an external viewer.  I think that makes\r
+the most sense, and agrees with the behavior of the collapsed citation\r
+text buttons, for instance.\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
+I still think that for multipart/alternatives parts we should just cycle\r
+through display of the alternatives.  That's kind of the whole point of\r
+this mime type.  Obviously display everything is better than not being\r
+able to access the alternative parts at all.  But forcing\r
+mutlipart/alternative to behave exactly like multipart/mixed seems to\r
+miss the point to me.\r
+\r
+This is something that could be worked off of this series, though, so\r
+definitely don't take this as a mark against this work.  I think this is\r
+a very useful usability improvement.  Thank you for working on it, Mark.\r
+\r
+jamie.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.12 (GNU/Linux)\r
+\r
+iQIcBAEBCAAGBQJQvN4pAAoJEO00zqvie6q8ohcP/1U4mEZJjQPmZIjvTUfb/csA\r
+nmocmBGumDAq43uO9mIDKhJbeJXfJXS6SonTPNzme0hfL1LiDAePE02/wnKixMsc\r
+AvZqkgZtPdPYv/dKFr0dGmzHKuFZzHTv36F6QPml9ipT9B1i+hW3XV14Lb4ly+Zc\r
+F2rlNelSQr2kRKvRijrceih873jx07XhSjVxUm+3s3wbMUTQu7fIpWCbEe21ZI41\r
+A56EoPZlBNwJoiOZSkQyOC31CHl41wwCWbyQqBPfn8GwUkQy4cb4c/h0i3dBOMvv\r
+1O9n736KJiYIarHwn4zGMNj7gMb9GAMVapeyKcrRbfv/XPB//iUaubn+0vuX8L+/\r
+sS4MjepWfRGgoEn3WE2XORFDw8fQuF5hVYaaT92YJtXfypPaS9dffLx+06HAwAwK\r
+Ojksyfh65E1U/GWViIkAJzsvMMqmU1COQLge2r9+c3o56NDZoYV8oe1bblx0M+pl\r
+ii6AiYXuIESvwIggAOCgRE5qRB9aRAaIK8eccLyG1JjeCMG4P6hZEpiiwnNkI8X/\r
+qd9YF5GL/GtOlnlsm7sSMxpYVPqaOZfKoE2g4H0Fb63TY0jHIID5fhuLwX8Onxsd\r
+n4gz+ArnL9rl1KHU/pc29Co/LN2kGTni5qmGHBQGNJnbJKofhLlsL4U9jvn8qgqT\r
+8DKC6+bXL1b4O+CnwDqS\r
+=0BXQ\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r