content-header
..............

A content header shows the header portion of a content in the preview buffer.

When the function mime-viewer/header-visible-p returns t for content-number of a content, content-header is displayed. This judge function returns t when a content is root or content-type of its parent is a member of the variable mime-viewer/childrens-header-showing-Content-Type-list.

If you want to change this condition, please redefine it.

When content-header is displayed, content-header are formated by content-header-filter. Content-header-filter is searched from variable mime-viewer/content-header-filter-alist. Its key is major-mode of the article buffer. If not found, function mime-viewer/default-content-header-filter is called.

 -- Variable: mime-viewer/childrens-header-showing-Content-Type-list

     List of content-type. If content-type of parent of a content is a member of this variable, its content-header is displayed. Default value is "message/rfc822".

     This variable is referred by the function mime-viewer/header-visible-p.

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

Returns t if a content is displayed.

CNUM is content-number. CINFO is content-info. If you know content-type, you can specify by CTYPE.

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

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

Function mime-viewer/default-content-header-filter

It is called when content-header-filter is not found in variable mime-viewer/content-header-filter-alist.

 -- Variable: mime-viewer/ignored-field-list

     List of regular expression to represent invisible fields.

     Variable mime-viewer/ignored-field-regexp is created from it.

     Please use function tm:add-fields or tm:delete-fields to set it.