70
|
1 @c $Id: tm-view-cb=en.texi,v 1.1.1.1 1996/12/18 22:43:52 steve Exp $
|
|
2
|
|
3 @node content-body, content-separator, content-header, MIME display
|
|
4 @comment node-name, next, previous, up
|
|
5 @subsubsection content-body
|
|
6 @cindex content-body
|
|
7
|
|
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.
|
|
12
|
|
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}.
|
|
18
|
|
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.
|
|
23
|
|
24 If it is not found, function @code{mime-viewer/default-content-filter}
|
|
25 is called.
|
|
26
|
|
27
|
|
28 @defvar mime-viewer/default-showing-Content-Type-list
|
|
29
|
|
30 List of content-type. If content-type of a content is a member of this
|
|
31 variable, its body is displayed.
|
|
32 @end defvar
|
|
33
|
|
34
|
|
35 @deffn{Function} mime-viewer/body-visible-p rcnum cinfo &optional ctype
|
|
36
|
|
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}.
|
|
41 @end deffn
|
|
42
|
|
43
|
|
44 @defvar mime-viewer/content-filter-alist
|
|
45
|
|
46 Association-list whose key is major-mode of a article buffer, value is
|
|
47 content-filter.
|
|
48 @end defvar
|
|
49
|
|
50
|
|
51 @deffn{Function} mime-viewer/default-content-filter rcnum cinfo ctype params subj
|
|
52
|
|
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}.
|
|
55
|
|
56 In default, it does nothing.
|
|
57 @end deffn
|