Re: [PATCH v2] emacs: add function to toggle display of all multipart/alternative parts

Subject: Re: [PATCH v2] emacs: add function to toggle display of all multipart/alternative parts

Date: Fri, 10 Aug 2012 09:18:48 -0700

To: Jani Nikula, Mark Walters, notmuch@notmuchmail.org

Cc:

From: Jameson Graef Rollins


On Fri, Aug 10 2012, Jani Nikula <jani@nikula.org> 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.
part-000.sig (application/pgp-signature)

Thread: