annotate man/tm/tm-view-cb=en.texi @ 70:131b0175ea99 r20-0b30

Import from CVS: tag r20-0b30
author cvs
date Mon, 13 Aug 2007 09:02:59 +0200
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1 @c $Id: tm-view-cb=en.texi,v 1.1.1.1 1996/12/18 22:43:52 steve Exp $
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
2
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
3 @node content-body, content-separator, content-header, MIME display
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
4 @comment node-name, next, previous, up
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
5 @subsubsection content-body
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
6 @cindex content-body
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
7
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
8 Content-body represents content of the message. tm-view does not
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
9 display raw content body. For example, if a content has binary, it is
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
10 hidden. If a content has richtext, it is formated. Namely content body
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
11 is hidden or formated.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
12
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
13 Function @code{mime-viewer/body-visible-p} is a judge function whether
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
14 content-body of a content is displayed. If it returns @code{nil},
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
15 content-body is hidden. In default, it returns non-@code{nil} when
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
16 content-type of a content is a member of variable
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
17 @code{mime-viewer/default-showing-Content-Type-list}.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
18
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
19 When content-body of a content is displayed, content-body is formated
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
20 by content-filter. Content-filter is searched from variable
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
21 @code{mime-viewer/content-filter-alist}. At this time, major-mode of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
22 the article buffer is used as the key.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
23
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
24 If it is not found, function @code{mime-viewer/default-content-filter}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
25 is called.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
26
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
27
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
28 @defvar mime-viewer/default-showing-Content-Type-list
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
29
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
30 List of content-type. If content-type of a content is a member of this
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
31 variable, its body is displayed.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
32 @end defvar
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
33
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
34
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
35 @deffn{Function} mime-viewer/body-visible-p rcnum cinfo &optional ctype
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
36
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
37 Return non-@code{nil}, if content-type of a content is displayed.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
38 @var{rcnum} is reversed-content-number of a content. @var{cinfo} is
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
39 content-info of the message. If you know content-type of a content,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
40 you can specify it as argument @var{ctype}.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
41 @end deffn
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
42
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
43
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
44 @defvar mime-viewer/content-filter-alist
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
45
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
46 Association-list whose key is major-mode of a article buffer, value is
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
47 content-filter.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
48 @end defvar
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
49
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
50
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
51 @deffn{Function} mime-viewer/default-content-filter rcnum cinfo ctype params subj
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
52
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
53 It is called when content-body of a content should be displayed and
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
54 content-filter is not found in @code{mime-viewer/content-filter-alist}.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
55
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
56 In default, it does nothing.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
57 @end deffn