1 @c $Id: tm-view-cb_en.texi,v 1.1 1995/12/13 09:28:29 morioka Exp $
3 @node content-body, content-separator, content-header, MIME display
4 @comment node-name, next, previous, up
5 @subsubsection content-body
8 Content-body represents content of the message. tm-view does not
9 display raw content body. For example, if a content has binary, it is
10 hidden. If a content has richtext, it is formated. Namely content body
11 is hidden or formated.
13 Function @code{mime-viewer/body-visible-p} is a judge function whether
14 content-body of a content is displayed. If it returns @code{nil},
15 content-body is hidden. In default, it returns non-@code{nil} when
16 content-type of a content is a member of variable
17 @code{mime-viewer/default-showing-Content-Type-list}.
19 When content-body of a content is displayed, content-body is formated
20 by content-filter. Content-filter is searched from variable
21 @code{mime-viewer/content-filter-alist}. At this time, major-mode of
22 the article buffer is used as the key.
24 If it is not found, function @code{mime-viewer/default-content-filter}
28 @defvar mime-viewer/default-showing-Content-Type-list
30 List of content-type. If content-type of a content is a member of this
31 variable, its body is displayed.
35 @deffn{Function} mime-viewer/body-visible-p rcnum cinfo &optional ctype
37 Return non-@code{nil}, if content-type of a content is displayed.
38 @var{rcnum} is reversed-content-number of a content. @var{cinfo} is
39 content-info of the message. If you know content-type of a content,
40 you can specify it as argument @var{ctype}.
44 @defvar mime-viewer/content-filter-alist
46 Association-list whose key is major-mode of a article buffer, value is
51 @deffn{Function} mime-viewer/default-content-filter rcnum cinfo ctype params subj
53 It is called when content-body of a content should be displayed and
54 content-filter is not found in @code{mime-viewer/content-filter-alist}.
56 In default, it does nothing.