Re: [PATCH v2] emacs: Make the part content available to the mm-inline* checks.

Subject: Re: [PATCH v2] emacs: Make the part content available to the mm-inline* checks.

Date: Fri, 20 Jan 2012 12:13:49 -0800

To: Austin Clements, Dmitry Kurochkin

Cc: notmuch@notmuchmail.org

From: Jameson Graef Rollins


On Wed, 18 Jan 2012 14:35:01 -0500, Austin Clements <amdragon@MIT.EDU> wrote:
> Shouldn't we only be doing this for parts with inline (or not
> attachment) content-disposition?  That's cheap to check.  Or do we
> actually want things like image attachments to get inlined, despite
> their disposition?

This is a good question, actually.  Should we just always ignore the
disposition, and inline stuff if it's inlinable?  Should this be
configurable?

The whole disposition thing is actually pretty confused in general, I
think.  I'm not sure if people realize this but parts that are
disposition "attachment" are not indexed by notmuch, even if they're
imminently indexable.  This seems wrong to me, as I would like to have
as much of the message indexed as possible, regardless of disposition.
I'm not sure what the original motivation was there.

I point this out because there's a kind of schizophrenia related to
disposition handling in general, and it might be worthwhile to clarify
how we expect them to be handled, both in terms of indexing and display.

jamie.
part-000.sig (application/pgp-signature)

Thread: