Re: Displaying text/calendar after the text/html part
Steinar Bang <[email protected]>
| Newsgroups | gmane.emacs.gnus.general |
|---|---|
| Organization | Probably a good idea |
| Message-ID | <[email protected]> |
>>>>> Husain Alshehhi <[email protected]>: > Hello, > By default, if I get an email that has two parts, text/html (first) and > text/calendar (second), gnus by default shows the text/calendar. This > default behavior is because mime tools in emacs display the latest part > as it is the "most rich"[1]. However, in the case, both display > different information. I would like to display the text/html first, and > then the text/calendar at the same time. I would like to do that when > the email has html and calendar parts. Is this possible? Doesn't that depend on whether it is multipart/mixed or multipart/alternative? With multipart/mixed: https://datatracker.ietf.org/doc/html/rfc2046#section-5.1.3 The "mixed" subtype of "multipart" is intended for use when the body parts are independent and need to be bundled in a particular order. Any "multipart" subtypes that an implementation does not recognize must be treated as being of subtype "mixed". With multipart/alternative: https://datatracker.ietf.org/doc/html/rfc2046#section-5.1.4 The "multipart/alternative" type is syntactically identical to "multipart/mixed", but the semantics are different. In particular, each of the body parts is an "alternative" version of the same information. I.e. with multipart/mixed both the calendar and text should be displayed in the order they are found in the email, while with multipart/alternative only the "richest" alternative should be displayed?