From e96f3fedd33b338bc4492b9ee198423f55686f05 Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Sat, 11 Aug 2012 09:18:48 +1700 Subject: [PATCH] Re: [PATCH v2] emacs: add function to toggle display of all multipart/alternative parts --- 10/d960d756775b8b64f5699d2046f01d208c4c86 | 105 ++++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 10/d960d756775b8b64f5699d2046f01d208c4c86 diff --git a/10/d960d756775b8b64f5699d2046f01d208c4c86 b/10/d960d756775b8b64f5699d2046f01d208c4c86 new file mode 100644 index 000000000..743b425ee --- /dev/null +++ b/10/d960d756775b8b64f5699d2046f01d208c4c86 @@ -0,0 +1,105 @@ +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 EF2D8431FAF + for ; Fri, 10 Aug 2012 09:18:59 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -2.29 +X-Spam-Level: +X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] 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 AUs9+gkAPfNB for ; + Fri, 10 Aug 2012 09:18:59 -0700 (PDT) +Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu + [131.215.239.19]) + by olra.theworths.org (Postfix) with ESMTP id 5BA9A431FAE + for ; Fri, 10 Aug 2012 09:18:59 -0700 (PDT) +Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1]) + by fire-doxen-postvirus (Postfix) with ESMTP id B881E32804B; + Fri, 10 Aug 2012 09:18:54 -0700 (PDT) +X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new +Received: from finestructure.net (unknown [76.89.192.57]) + (Authenticated sender: jrollins) + by fire-doxen-submit (Postfix) with ESMTP id E41EF328036; + Fri, 10 Aug 2012 09:18:50 -0700 (PDT) +Received: by finestructure.net (Postfix, from userid 1000) + id 956723AC; Fri, 10 Aug 2012 09:18:50 -0700 (PDT) +From: Jameson Graef Rollins +To: Jani Nikula , Mark Walters , + notmuch@notmuchmail.org +Subject: Re: [PATCH v2] emacs: add function to toggle display of all + multipart/alternative parts +In-Reply-To: <877gt67q93.fsf@nikula.org> +References: <1339775751-18002-1-git-send-email-jani@nikula.org> + <87zk80gvmb.fsf@servo.finestructure.net> + <87pq8vokmp.fsf@qmul.ac.uk> + <87ipcrvlcw.fsf@servo.finestructure.net> + <87r4rf9q8x.fsf@qmul.ac.uk> <877gt67q93.fsf@nikula.org> +User-Agent: Notmuch/0.13.2+137~ge34ed71 (http://notmuchmail.org) Emacs/23.4.1 + (x86_64-pc-linux-gnu) +Date: Fri, 10 Aug 2012 09:18:48 -0700 +Message-ID: <87wr16u3dj.fsf@servo.finestructure.net> +MIME-Version: 1.0 +Content-Type: multipart/signed; boundary="=-=-="; + micalg=pgp-sha256; protocol="application/pgp-signature" +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: Fri, 10 Aug 2012 16:19:00 -0000 + +--=-=-= + +On Fri, Aug 10 2012, Jani Nikula wrote: +> How would this work together with something like [1] (rationale in [2])? +> +> [1] id:"ab777cf0fa83778d3399ac52094df9230738819d.1328798471.git.jani@nikula.org" +> [2] id:"cover.1328719309.git.jani@nikula.org" +> +> If you introduce a mechanism to store the state, could it be extended to +> store the state of each individual part? That, in turn, could be used to +> add support for expanding/collapsing each alternative part through the +> buttons (e.g. [ text/html (not shown) ]). Each button could toggle the +> state of the part, and refresh buffer. + +Hey, Jani. Are these patches needed if we have Mark's patch? I would +prefer to see Mark's solution. Since alternative parts are supposed to +be just that, alternative, it seems to me that a solution that would +cycle through display of these parts is really what we want. Is there a +strong need to show multiple alternative parts at the exact same time? + +jamie. + +--=-=-= +Content-Type: application/pgp-signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.12 (GNU/Linux) + +iQIcBAEBCAAGBQJQJTRoAAoJEO00zqvie6q8C08P/1DfL478mpv6a2eNSlpJAUYU +y/2zl2rJf51RzLu2k9+C9PtWuClTZGT+UXZ179ebfhdvjon3Li+gH3OL21/F87eq +1G4wfW17wPD8F3IZ/bWMNQcUJNNZfCleC9oM/lVVDINxjweu68iTDl0G8xUvKmqD +U20UXgziY1XYy3LevfyYyHSifJuL++a3aLqC65BgVxMM47tXDisqm1sqsmHe/yej +7BiZWzDfHOjtj3uc1sC+5FUA2AmlxoSFmbeXhjohg0dvU02Jl66hLwj14fgC2Hbg +qvISLCp85nAyfgC2ymO9xqs3/I/Il51IHC19e4dxPEYh+CC3M7FbdSg8O82Ek3/q +4jqFl5Y54orB+gEgZmL47HMcP+YIaM9dJrvaCb+d52dMH+NbYwj/ytWGo3hTPOV9 +0idIqO4VA0PaTs+SGM6WzqQg3+HKTAmXauZus1keRc7XNmGbgoU+P/+XCQ5FK20B +LfFsjPqnIolfQDslGOYXCMJMxFI5CtRLGusj7X+zpzPP0B0YsPCQxYqKXMy6s9G9 +tQdv0WY75wrgZ+90K+WzhLEN5suWPfdiKQIBK7f0uq1jMdJAhCjXT1a9J9rqXKF7 +DeGSoxxozLN0mdBiexy2NxMmUuzo8L0pNDzvXl3PbAy+oziQtZV+AMWQeZUWqa2X +q1v5ZwDZxus4LBaEsIRQ +=lgVO +-----END PGP SIGNATURE----- +--=-=-=-- -- 2.26.2