From: Jameson Graef Rollins <jrollins@finestructure.net>
To: Brian May <brian@microcomaustralia.com.au>,
notmuch <notmuch@notmuchmail.org>
Subject: Re: emacs email appears empty
Date: Fri, 30 Sep 2011 17:31:59 -0700 [thread overview]
Message-ID: <87ty7tr1q8.fsf@servo.factory.finestructure.net> (raw)
In-Reply-To: <CAA0ZO6DWT_QdB+53+h7Wq3uHArFtPYwsqHNkgvNY=Zibp2Cbmg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1567 bytes --]
On Thu, 29 Sep 2011 11:21:21 +1000, Brian May <brian@microcomaustralia.com.au> wrote:
> Have seen several cases now where the message appears blank in the
> emacs interface. With nothing but the headers.
>
> Pushing Shift+V shows the entire raw message. Nothing special, just a
> plain text email without any attachments.
>
> MIME-Version: 1.0
> Content-Type: text/plain; charset=utf-8
> Content-Transfer-Encoding: 7bit
>
> Any ideas?
I'll put money on these bad messages all originating from Apple mail
clients. Apple mail clients have this horrible habit of producing
completely broken mime structure. As an example, this is the mime
structure of a message I received with the X-Mailer header "Apple Mail
(2.1084)":
┬╴ multipart/alternative
├╴ text/plain
└┬╴ multipart/mixed
├╴ text/html
├╴ application/msword (attachment)
├╴ text/html
├╴ application/msword (attachment)
├╴ text/html
├╴ application/msword (attachment)
└╴ text/html
Notice what's going on here: the body part is "multipart/alternative",
but the alternative to the "text/plain" part is "multipart/mixed", which
happens to include all of the attachments. That's just plain wrong.
If your problem is because the content is not being displayed because
it's hidden in a multipart/alternative part for which there is a
content-less primary alternate, you might try setting
notmuch-show-all-multipart/alternative-parts in the your emacs
customization. It's not elegant, but it might help.
hth.
jamie.
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
prev parent reply other threads:[~2011-10-01 0:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-29 1:21 emacs email appears empty Brian May
2011-09-29 1:22 ` Brian May
2011-09-29 11:05 ` David Bremner
2011-09-29 11:57 ` Patrick Totzke
2011-09-29 12:49 ` Blake Sweeney
2011-10-10 23:02 ` Brian May
2011-10-10 23:14 ` David Bremner
2011-10-01 0:31 ` Jameson Graef Rollins [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ty7tr1q8.fsf@servo.factory.finestructure.net \
--to=jrollins@finestructure.net \
--cc=brian@microcomaustralia.com.au \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).