content-body
............

Content-body represents content of the message. tm-view does not display raw content body. For example, if a content has binary, it is hidden. If a content has richtext, it is formated. Namely content body is hidden or formated.

Function mime-viewer/body-visible-p is a judge function whether content-body of a content is displayed. If it returns nil, content-body is hidden. In default, it returns non-nil when content-type of a content is a member of variable mime-viewer/default-showing-Content-Type-list.

When content-body of a content is displayed, content-body is formated by content-filter. Content-filter is searched from variable mime-viewer/content-filter-alist. At this time, major-mode of the article buffer is used as the key.

If it is not found, function mime-viewer/default-content-filter is called.

 -- Variable: mime-viewer/default-showing-Content-Type-list

     List of content-type. If content-type of a content is a member of this variable, its body is displayed.

Function mime-viewer/body-visible-p rcnum cinfo &optional ctype

Return non-nil, if content-type of a content is displayed. RCNUM is reversed-content-number of a content. CINFO is content-info of the message. If you know content-type of a content, you can specify it as argument CTYPE.

 -- Variable: mime-viewer/content-filter-alist

     Association-list whose key is major-mode of a article buffer, value is content-filter.

Function mime-viewer/default-content-filter rcnum cinfo ctype params subj

It is called when content-body of a content should be displayed and content-filter is not found in mime-viewer/content-filter-alist.

In default, it does nothing.