annotate man/tm/tm-view=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=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 tm-view, tm-edit, tm-MUA, Top
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 @chapter tm-view
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
6 @cindex tm-view
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
7
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
8 The tm-view is a general MIME viewer running on GNU Emacs.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
9
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
10 tm-view provides the major-mode called @code{mime/viewer-mode} to read
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
11 MIME message for MUA. MUA implementer can use it to add MIME function.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
12
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
13 tm-view is a user interface kernel to view and navigate MIME message.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
14 tm-view drives some programs to navigate each content-type/sub-types,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
15 they are called @strong{method}. tm-view calls some programs to
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
16 display each content-type/sub-types in preview buffer, they are called
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
17 @strong{filter}. @strong{method} and @strong{filter} are tm-view
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
18 application program. They expand tm-view to treat various kinds of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
19 MIME types.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
20
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
21 @menu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
22 * mime/viewer-mode::
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
23 * Mechanism of tm-view::
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
24 * method:: decoding mechanism
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
25 * Functions of tm-view::
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
26 @end menu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
27
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
28
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
29 @node mime/viewer-mode, method, tm-view, tm-view
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
30 @comment node-name, next, previous, up
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
31 @section mime/viewer-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
32 @cindex mime/viewer-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
33
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
34 @code{mime/viewer-mode} is a major-mode to preview MIME message. In
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
35 MIME viewer mode, you can navigate MIME message interactively.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
36
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
37 @menu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
38 * MIME display::
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
39 * MIME navigation::
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
40 @end menu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
41
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
42 @node MIME display, MIME navigation, mime/viewer-mode, mime/viewer-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
43 @comment node-name, next, previous, up
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
44 @subsection Screen design of preview buffer
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
45 @cindex Screen design of preview buffer
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
46
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
47 In preview buffer, following are displayed for each content:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
48
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
49 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
50 [content-subject]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
51 (content-header)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
52
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
53 (content-body)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
54 (content-separator)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
55 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
56
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
57 You can change design or stop to display if you specify for each
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
58 content-types.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
59
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
60 Example:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
61
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
62 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
63 From: morioka@@jaist.ac.jp (MORIOKA Tomohiko)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
64 Subject: Re: Question
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
65 Newsgroups: zxr.message.mime
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
66 Date: 22 Oct 93 11:02:44
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
67 Mime-Version: 1.0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
68 Organization: Japan Advanced Institute of Science and Technology,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
69 Ishikawa, Japan
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
71 [1 (text/plain)]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
72 How to compose MIME message in MIME-Edit mode.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
73
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
74 Press `C-c C-x ?' then help message will be displayed:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
75
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
76 C-c C-x C-t insert a text message.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
77 C-c C-x TAB insert a (binary) file.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
78 C-c C-x C-e insert a reference to external body.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
79 C-c C-x C-v insert a voice message.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
80 C-c C-x C-y insert a mail or news message.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
81 C-c C-x RET insert a mail message.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
82 C-c C-x C-s insert a signature file at end.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
83 C-c C-x t insert a new MIME tag.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
84 C-c C-x a enclose as multipart/alternative.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
85 C-c C-x p enclose as multipart/parallel.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
86 C-c C-x m enclose as multipart/mixed.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
87 C-c C-x d enclose as multipart/digest.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
88 C-c C-x s enclose as PGP signed.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
89 C-c C-x e enclose as PGP encrypted.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
90 C-c C-x C-k insert PGP public key.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
91 C-c C-x C-p preview editing MIME message.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
92 ...
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
93
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
94 So press `C-c C-x C-i' and specify file name you want to include.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
95
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
96 MIME encoding for binary file is normally Base64.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
97
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
98 [2 (image/gif)]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
99
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
100 [3 (text/plain)]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
101
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
102 In this way, it is finish a message attaching a picture.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
103
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
104 ======================== A cup of Russian tea ========================
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
105 ============ * not by jam, not by marmalade, by honey * ============
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
106 ============ MORIOKA Tomohiko ============
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
107 =============== Internet E-mail: <morioka@@jaist.ac.jp> ===============
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
108 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
109
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
110
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
111 @menu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
112 * content-subject::
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
113 * content-header::
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
114 * content-body::
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
115 * content-separator::
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
116 @end menu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
117
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
118 @include tm-view-cs=en.texi
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
119 @include tm-view-ch=en.texi
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
120 @include tm-view-cb=en.texi
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
121
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
122
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
123 @node content-separator, , content-body, MIME display
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
124 @comment node-name, next, previous, up
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
125 @subsubsection content-separator
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
126 @cindex content-separator
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
127
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
128 Content-separator is displayed to represent boundary of contents.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
129
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
130 Content-separator is displayed by function
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
131 @code{mime-viewer/default-content-separator}. In default, it displays
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
132 line-break when content-header and content-body are not displayed.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
133
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
134 If you want to change this condition, please redefine this function.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
135
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
136
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
137 @deffn{Function} mime-viewer/default-content-separator cnum cinfo ctype params subj
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
138
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
139 Display content-separator. @var{cnum} is content-number of a
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
140 content. @var{cinfo} is content-info of the message. @var{ctype} is
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
141 content-type of a content. @var{params} is Content-Type field
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
142 parameters of a content. @var{subj} is subject.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
143
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
144 In default, it displays line-break when content-header and
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
145 content-body are not displayed.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
146 @end deffn
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
147
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
148
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
149 @node MIME navigation, , MIME display, mime/viewer-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
150 @comment node-name, next, previous, up
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
151 @subsection Commands of mime/viewer-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
152 @cindex Commands of mime/viewer-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
153
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
154 @code{mime/viewer-mode} has following functions:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
155
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
156 @table @kbd
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
157 @item @key{u}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
158 goes to the upper content (returns to the Summary mode if the cursor
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
159 is sitting on the top content (*1))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
160
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
161 @item @key{p}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
162 goes to the previous content
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
163
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
164 @item @key{n}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
165 goes to the next content
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
166
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
167 @item @key{SPC}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
168 scrolls up
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
169
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
170 @item @key{M-SPC}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
171 scrolls down
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
172
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
173 @item @key{DEL}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
174 scrolls down
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
175
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
176 @item @key{RET}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
177 goes to the next line
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
178
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
179 @item @key{M-RET}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
180 goes to the previous line
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
181
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
182 @item @key{<}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
183 goes to the beginning of message
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
184
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
185 @item @key{>}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
186 goes to the end of message
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
187
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
188 @item @key{v}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
189 playbacks a content (*2)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
190
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
191 @item @key{e}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
192 extracts a file from a content (*2)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
193
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
194 @item @key{C-c C-p}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
195 prints a content (*2)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
196
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
197 @item @key{f}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
198 displays X-Face in the message
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
199
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
200 @item @key{mouse-button-2}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
201 drives mouse button.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
202
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
203 If you press content-subject, it playbacks the content. (*2)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
204
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
205 If you press URL-button, it runs WWW browser.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
206 @end table
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
207
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
208
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
209 @b{[Notice]}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
210 @enumerate
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
211 @item
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
212 Not return to the Summary mode unless tm-view has been setup using
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
213 tm-mh-e, tm-gnus, tm-rmail etc.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
214
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
215 @item
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
216 Actual playback/extract/print will be performed by a method.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
217 @end enumerate
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
218
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
219
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
220 @include tm-view-m=en.texi
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
221
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
222
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
223 @node Mechanism of tm-view, Functions of tm-view, method, tm-view
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
224 @comment node-name, next, previous, up
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
225 @section Mechanism of tm-view
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
226 @cindex mechanism of tm-view
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
227
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
228 tm-view managements two buffers, one is for raw message called
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
229 @strong{article buffer}, another one is to preview for user called
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
230 @strong{preview buffer}.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
231
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
232 When called @code{mime/viewer-mode}, tm-view analyzes article buffer,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
233 and sets its result to the variable @code{mime::article/content-info}.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
234
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
235 After that, tm-view create a preview buffer corresponded to the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
236 article buffer. As this time, tm-view modifies header and body of each
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
237 contents of the message. It is done by definition for Content-Types.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
238
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
239 On the preview buffer created by tm-view, user can manipulate a
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
240 message to decode, such as run external viewer, extract files, or
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
241 print.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
242
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
243 Notice: In this document, I call @strong{content-type} as
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
244 content-type/subtype of Content-Type field.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
245
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
246
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
247 @menu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
248 * article-buffer::
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
249 * preview-buffer::
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
250 @end menu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
251
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
252 @include tm-view-a=en.texi
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
253
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
254 @include tm-view-p=en.texi
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
255
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
256
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
257 @node Functions of tm-view, , Mechanism of tm-view, tm-view
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
258 @comment node-name, next, previous, up
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
259 @section Functions of tm-view
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
260
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
261 tm-view provides some available functions to decode and navigate MIME
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
262 message to each MUAs.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
263
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
264 There are 2 kinds of functions, one is for MIME preview, another one
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
265 is to decode RFC 1522 encoded-word.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
266
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
267 Memo: Old tiny-mime.el was abolished. Functions to decode RFC 1522
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
268 encoded-word are took over to tm-view.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
269
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
270
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
271 @menu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
272 * function to preview::
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
273 * encoded-word decoding::
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
274 @end menu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
275
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
276
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
277 @node function to preview, encoded-word decoding, Functions of tm-view, Functions of tm-view
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
278 @comment node-name, next, previous, up
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
279 @subsection function to preview MIME message
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
280 @cindex mime/viewer-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
281
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
282 @deffn{Command} mime/viewer-mode &optional mother ctl encoding
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
283
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
284 Parse current-buffer as a MIME message, and create preview buffer to
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
285 display to user, then enter @code{mime/viewer-mode}.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
286
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
287 @var{mother} is used to specify original article buffer. It may be
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
288 useful when an article buffer is assembled from message/partial.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
289
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
290 @var{ctl} is used to specify Content-Type field information. Its
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
291 format is output format of @code{mime/Content-Type}. When @var{ctl} is
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
292 specified, tm-view uses it instead of Content-Type field of the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
293 article buffer.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
294
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
295 @var{encoding} is used to specify field-body of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
296 Content-Transfer-Encoding field. When is is specified, tm-view uses it
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
297 instead of Content-Type field of the article buffer.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
298 @end deffn
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
299
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
300
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
301 @include tm-ew-d=en.texi