Red Hat Bugzilla – Bug 195396
mutt is mangling mail in its viewer
Last modified: 2015-01-04 17:27:26 EST
This mbox http://people.redhat.com/davej/muttbork.mbox contains two mails, where
the patches appear to be mangled when viewed in mutt.
In the first mail
([Ubuntu PATCH] Make btsco headset (a bluetooth device) work)
The diff appears line-wrapped like so ...
- hdev->sco_pkts = hdev->sco_cnt =
+ hdev->sco_pkts = hdev->sco_cnt = bs->sco_max_pkt ?
__le16_to_cpu(bs->sco_max_pkt) : 8;
instead of showing as two wide lines.
In the second mail, the leading whitespace at the beginning of unpatched lines
of the diff has been eaten.
The mails have format=flowed parameter in content-type. Therefore mutt tries to
interpret the format, see RFC 3676 for details. It is better to avoid posting
patches in flowed format. Blame the sender :)
Is this a recent change in mutt behaviour ?
I'm noticing that quite a few mailers (including thunderbird) send stuff that
way, and I've not noticed this mangling until the last week or so.
No, there wasn't an update for very long time. I tried CVS version of mutt and
result is exactly the same.
Searching "format=flowed" on mozilla's bugzilla shows a lot of bugs. Maybe this
is one of them.