missing part in emacs UI

Jameson Graef Rollins jrollins at finestructure.net
Sun Aug 18 19:32:35 PDT 2013


Hi, folks.  I have one of these broken mails that tend to come from
Apple devices, where the "alternative" part of a multipart/alternative
message contains multipart/related.  The MIME structure looks like this:

└┬╴multipart/alternative 896783 bytes
 ├─╴text/plain 379 bytes
 └┬╴multipart/related 892556 bytes
  ├─╴text/html 1236 bytes
  └─╴image/jpeg inline [photo.JPG] 890841 bytes

While annoying, notmuch should be able to handle it ok.  The problem is
when viewing this message in the emacs UI, the last inline image/jpeg
part appears to be missing.  Here's what my buffer looks like (things in
<> are my comments):

  <Beginning of buffer>
  <header>
  ...
  </header>
  
  [ multipart/alternative ]
  [ text/plain ]
  ...
  [ multipart/related ]
  [ text/html ]
  ...
  <End of buffer>

There is no part button for the final image/jpeg part.  The only reason
I suspected that something was amiss was because there was zero content
(other than a signature) in the rest of the message, so it appeared to
be basically contentless.  I noticed the additional part when I looked
at the raw message.  There are no errors associated with the display of
the message.  I could extract the image/jpeg part from the command line
just fine (notmuch show --part=5 --format=raw), and the image is not
corrupted.

I'm guessing this has something to do with the final part being
"inline", but that's pure speculation.  Even if it's inline, though, I
expect to see the part button, so that I can save/view/etc. the part.

Anyone have any ideas what the issue could be?  Thanks in advance.

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/20130818/721e7277/attachment.pgp>


More information about the notmuch mailing list