[PATCH (draft) 0/2] Allow emacs to toggle display of all parts including multipart

Jameson Graef Rollins jrollins at finestructure.net
Mon Dec 3 09:15:21 PST 2012


On Sun, Dec 02 2012, Jani Nikula <jani at nikula.org> wrote:
>> The first patch binds this toggle to 't' on the part button. This
>> patch works by itself.
>
> I'd like to rebind RET to do the toggle by default. I don't think it's
> very useful to be able to save multipart/alternative parts by default.

In my opinion RET should always just display the part.  If the part is
inlineable, then it should toggle display of it in the show buffer.  If
it's not, it should open it in an external viewer.  I think that makes
the most sense, and agrees with the behavior of the collapsed citation
text buttons, for instance.

> One more wishlist item, which also doesn't need to be part of this
> series, or by you: I'd like to be able to specify *which*
> multipart/alternative parts should be displayed in addition to
> preferred. A list of (regexps matching) mime types to always open,
> whether they're preferred or not. I've previously sent patches to this
> effect, but they were never merged (I can repost if you want).

I still think that for multipart/alternatives parts we should just cycle
through display of the alternatives.  That's kind of the whole point of
this mime type.  Obviously display everything is better than not being
able to access the alternative parts at all.  But forcing
mutlipart/alternative to behave exactly like multipart/mixed seems to
miss the point to me.

This is something that could be worked off of this series, though, so
definitely don't take this as a mark against this work.  I think this is
a very useful usability improvement.  Thank you for working on it, Mark.

jamie.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20121203/e54c6bb0/attachment.pgp>


More information about the notmuch mailing list