tm 6.67
[elisp/tm.git] / doc / tm-view_ja.texi
1 \input texinfo.tex
2 @c{-*-tm manual-*-}
3 @setfilename tm-view_ja.info
4 @settitle{tm-view manual}
5
6 @titlepage
7 @sp{5}
8 @center{@titlefont{tm-view}}
9 @sp{15}
10 @center{@titlefont{¼é²¬ ÃÎɧ}}
11 @sp{1}
12 @center
13  @code{$Id: tm-view_ja.texi,v 6.1 1995/06/29 14:12:00 morioka Exp $}
14
15 @end titlepage
16
17
18 @node Top, Abstract, (tm_ja.info), (tm_ja.info)
19 @comment  node-name,  next,  previous,  up
20
21 @ifinfo
22 GNU Emacs ¤ÇÆ°ºî¤¹¤ëÈÆÍÑŪ¤Ê MIME viewer kernel ¤Î `tm-view' ¤Ë¤Ä¤¤¤Æ
23 ÀâÌÀ¤·¤Þ¤¹¡£
24 @end ifinfo
25
26 @menu
27 * Abstract::       tm-view ³µÀâ
28 * how-to-run::     mime/viewer-mode ¤Îµ¯Æ°¤Î»ÅÊý
29 * how-to-use::     mime/viewer-mode ¤Î command
30 * Preview Buffer:: preview buffer ¤Î²èÌ̹½À®
31 * Decoding:: content ¤ËÂФ¹¤ëºÆÀ¸¡¢file Ãê½Ð¡¢°õºþÁàºî¤Î»ÅÁȤß
32
33 Preview buffer
34 * Preview Buffer:: preview buffer ¤Î²èÌ̹½À®
35 * content-subject::
36 * content-header::
37 * content-body::
38 * content-separator::
39
40 Decoding
41 * Decoding:: content ¤ËÂФ¹¤ëºÆÀ¸¡¢file Ãê½Ð¡¢°õºþÁàºî¤Î»ÅÁȤß
42 * decoding-condition:: content ¤Î decode ¾ò·ï¤ÎÀßÄê
43 * Format of method value:: method ¤ÎÃÍÉô¤Î½ñ¼°
44 * Example of decoding-condition:: ÀßÄêÎã
45
46 Indexes
47 * Concept Index::
48 * Command Index::
49 * Variable Index::
50 @end menu
51
52
53 @node Abstract, how-to-run, Top, Top
54 @comment  node-name,  next,  previous,  up
55 @chapter{tm-view ¤È¤Ï}
56 @cindex{tm-view ¤È¤Ï}
57
58 tm-view ¤Ï GNU Emacs ¤ÇÆ°ºî¤¹¤ëÈÆÍÑŪ¤Ê MIME viewer ¤Ç¤¹¡£
59
60 tm-view ¤Ï @code{mime/viewer-mode} ¤È¤¤¤¦ MIME message ¤ò¸«¤ë¤¿¤á¤Î 
61 major-mode ¤ò MUA ¤ËÂФ·¤ÆÄ󶡤·¤Þ¤¹¡£MUA ¤ÎÀ߷׼ԤϤ³¤Î mode ¤òÍøÍѤ¹
62 ¤ë¤³¤È¤Ç¤½¤Î MUA ¤Ë MIME µ¡Ç½¤òÉղ乤뤳¤È¤¬¤Ç¤­¤Þ¤¹¡£
63
64 tm-view ¤Ï¡¢MIME ½èÍý¤ò¹Ô¤Ê¤¦Á°¤ÎÀ¸¤Î message ¤¬Æþ¤Ã¤Æ¤¤¤ë³Æ MUA ¤Î 
65 @strong{article buffer} ¤È¤½¤ÎÆâÍƤò user ¤Ë´Ê·é¤Ëɽ¼¨¤¹¤ë¤¿¤á¤Î 
66 @strong{preview buffer} ¤È¤¤¤¦£²¤Ä¤Î buffer ¤ò´ÉÍý¤·¤Þ¤¹¡£
67
68 @code{mime/viewer-mode} ¤ò¼Â¹Ô¤¹¤ë¤È¡¢tm-view ¤Ï¤Þ¤º article buffer ¤Î
69 ÆâÍƤò²òÀϤ·¡¢¤½¤Î message ¤Î¹½Â¤¤ò article buffer ¤Î buffer local ÊÑ
70 ¿ô @code{mime::article/content-info} ¤Ëµ­Ï¿¤·¤Þ¤¹¡£
71
72 ¼¡¤Ë¡¢¤³¤Î·ë²Ì¤ò¸µ¤Ë article buffer ¤ËÂбþ¤¹¤ë preview buffer ¤òºî¤ê¤Þ
73 ¤¹¡£¤³¤ÎºÝ¡¢Content-Type ¤Ë±þ¤¸¤Æ¡¢content Ã±°Ì¤Ç header ¤ä body ¤ò²Ã
74 ¹©¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
75
76 @code{mime/viewer-mode} ¤ò¼Â¹Ô¤·¤¿·ë²Ì¤Ç¤­¤ë preview buffer ¾å¤Ç user 
77 ¤Ï¡¢³°Éô vewer ¤Îµ¯Æ°¡¦file Ãê½Ð¡¦°õºþ¤È¤¤¤Ã¤¿ decode Áàºî¤ò¹Ô¤Ê¤¦¤³¤È
78 ¤¬¤Ç¤­¤Þ¤¹¡£
79
80
81 @section{¡ÎÃí°Õ¡Ï}
82
83 ¤³¤ÎÀâÌÀ½ñ¤Ç¤Ï¡¢Content-Type field ¤Î content-type/subtype ¤Î¤³¤È¤ò¾Î
84 ¤·¤Æ @strong{content-type} ¤È¸Æ¤Ó¤Þ¤¹¡£
85
86
87 @node how-to-run, how-to-use, Abstract, Top
88 @comment  node-name,  next,  previous,  up
89 @chapter{mime/viewer-mode ¤Îµ¯Æ°¤Î»ÅÊý}
90 @cindex{mime/viewer-mode ¤Îµ¯Æ°¤Î»ÅÊý}
91
92 @deffn{Command} mime/viewer-mode &optional mother ctl encoding
93
94 current-buffer ¤ò MIME message ¤È¤·¤Æ²òÀϤ·¤Æ¡¢¤½¤ÎÆâÍƤò±ÜÍ÷¤¹¤ë¤¿¤á
95 ¤Î preview buffer ¤òºîÀ®¤·¡¢@code{mime/viewer-mode} ¤ËÆþ¤ê¤Þ¤¹¡£
96
97 @var{mother} ¤Ï¡¢²òÀϤÎÂоݤȤ¹¤ë article buffer ¤¬ message/partial ·Á
98 ¼°¤Îʬ³ä¤µ¤ì¤¿ message ¤ò·ë¹ç¤·¤ÆºîÀ®¤·¤¿¾ì¹ç¤Ê¤É¤Ë¤ª¤±¤ë¸µ¤Î buffer 
99 ¤ò»ØÄꤹ¤ë¤¿¤á¤Ë»È¤¤¤Þ¤¹¡£
100
101 @var{ctl} ¤Ï Content-Type field ¤Î field-body ¤ò 
102 @code{mime/Content-Type} ¤Î½ÐÎÏÀµ¼°¤Ë¤·¤¿¤â¤Î¤òÆþ¤ì¤Þ¤¹¡£¤³¤Î°ú¿ô¤¬¤¢
103 ¤ë¾ì¹ç¡¢article buffer ¤Î Content-Type field ¤è¤ê¤â¤³¤Î°ú¿ô¤òÍ¥À褷¤Þ
104 ¤¹¡£
105
106 @var{encoding} ¤Ï Content-Transfer-Encoding field ¤Î field-body ¤òÆþ¤ì
107 ¤Þ¤¹¡£¤³¤Î°ú¿ô¤¬¤¢¤ë¾ì¹ç¡¢article buffer ¤Î Content-Transfer-Encoding
108 field ¤è¤ê¤â¤³¤Î°ú¿ô¤òÍ¥À褷¤Þ¤¹¡£
109 @end deffn
110
111
112 @node how-to-use, Preview Buffer, how-to-run, Top
113 @comment  node-name,  next,  previous,  up
114 @chapter{mime/viewer-mode ¤Î command}
115 @cindex{mime/viewer-mode ¤Î command}
116
117 mime/viewer-mode ¤Ë¤Ï°Ê²¼¤Îµ¡Ç½¤¬¤¢¤ê¤Þ¤¹¡£
118
119 @table @kbd 
120 @item u
121         ¾å¤Î content ¤ËÌá¤ë¡Êmessage ¤Î°ìÈÖ¾å¤Î content ¤Ç¤³¤ì¤ò¹Ô¤Ê¤¦
122         ¤È Summary mode ¤ËÌá¤ë (*1)¡Ë
123 @item p
124         Á°¤Î content ¤Ë°ÜÆ°¤¹¤ë
125 @item n
126         ¼¡¤Î content ¤Ë°ÜÆ°¤¹¤ë
127 @item @key{SPC}
128         scroll up ¤¹¤ë
129 @item @key{M-SPC}
130         scroll down ¤¹¤ë
131 @item @key{DEL}
132         scroll down ¤¹¤ë
133 @item @key{RET}
134         ¼¡¤Î¹Ô¤Ë°ÜÆ°¤¹¤ë
135 @item @key{M-RET}
136         Á°¤Î¹Ô¤Ë°ÜÆ°¤¹¤ë
137 @item v
138         content ¤òºÆÀ¸¤¹¤ë           (*2)
139 @item e
140         content ¤«¤é file ¤ò¼è¤ê½Ð¤¹ (*2)
141 @item C-c C-p
142         content ¤ò°õºþ¤¹¤ë           (*2)
143 @end table
144
145 @noindent @b{¡ÎÃí°Õ¡Ï}
146 @enumerate
147 @item
148 tm-MUA ¤Ç tm-view ¤ÎÀßÄê¤ò¤·¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢Summary mode ¤Ë¤ÏÌá¤ê¤Þ¤»¤ó¡£ 
149
150 @item
151 ¼ÂºÝ¤ÎÆ°ºî¤ÏÂбþ¤¹¤ë method ¤Ë°Í¤ê¤Þ¤¹¡£
152 @end enumerate
153
154
155 @node Preview Buffer, content-subject, how-to-use, Top
156 @comment  node-name,  next,  previous,  up
157 @chapter{preview buffer ¤Î²èÌ̹½À®}
158 @cindex{preview buffer ¤Î²èÌ̹½À®}
159
160 preview buffer ¤Ç¤Ï³Æ content ¤ËÂФ·¤Æ
161
162 @example
163         [content-subject]
164         (content-header)
165         
166         (content-body)
167         (content-separator)
168 @end example
169
170 ¤È¤¤¤¦¾ðÊó¤òɽ¼¨¤·¤Þ¤¹¡£¤³¤ì¤é¤Ï content-type Ëè¤Ë design ¤òÊѹ¹¤·¤¿¤ê¡¢
171 ɽ¼¨¤òÍÞÀ©¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
172
173 °Ê²¼¤Ë¡¢preview buffer ¤Îɽ¼¨Îã¤ò¼¨¤·¤Þ¤¹¡£
174
175
176 @example
177 [0 tm6.63.tar.gz (multipart/mixed)]
178 From: ¼é²¬ ÃÎɧ (MORIOKA Tomohiko) <morioka@@jaist.ac.jp>
179 Newsgroups: zxr.comp.emacs.tm-english
180 Subject: tm6.63.tar.gz
181 Date: Mon, 26 Jun 1995 17:39:50 JST
182 Organization: Chamonix, JAIST, Tatsunokuchi, Ishikawa, Japan
183 Reply-To: tm-eng@@chamonix.jaist.ac.jp
184 To: tm-eng@@chamonix.jaist.ac.jp
185 In-Reply-To: Your message of "Sun, 25 Jun 1995 23:20:49 MST"
186 X-Mua: mh-e 4.1 + tm 6.63 / Mule 2.2 ( ¼ã»ç ) PL02
187 X-Mime-Composer: mime.el + tiny-mime 5.12
188 X-Ml-Count: 32
189
190 [1  (text/plain)]
191   I put tm6.63.tar.gz in ftp.jaist.ac.jp.
192
193   In this version, tm-view uses new MIME encoding/decoding engine
194 ``mel (MIME encoding library''. This library has internal/external
195 encoding/decoding engine. If data is smaller than a limit, tm-view
196 uses internal decoder, otherwise external decoder.
197
198 [2 tm6.63.tar.gz ([anon-ftp] ftp.jaist.ac.jp:/pub/GNU/elisp/mime/alpha)]
199
200 [3  (text/plain)]
201 ----
202 MORIOKA, Tomohiko <morioka@@jaist.ac.jp>
203 @end example
204
205
206 @menu
207 * content-subject::
208 * content-header::
209 * content-body::
210 * content-separator::
211 @end menu
212
213
214 @node content-subject, content-header, Preview Buffer, Preview Buffer
215 @comment  node-name,  next,  previous,  up
216 @section{content-subject}
217 @cindex{content-subject}
218
219 content-subject ¤Ï content ¤ÎÀèƬ¤Ë¤¢¤Ã¤Æ¡¢¤½¤Î content ¤Ë´Ø¤¹¤ëÂç¤Þ¤«
220 ¤Ê¾ðÊó¤òɽ¼¨¤¹¤ëÉôʬ¤Ç¤¹¡£
221
222 ɸ½à¤Ç¤Ï
223
224 @example
225         [1.3 test (text/plain)]
226 @end example
227
228 ¤Î¤è¤¦¤Ê´¶¤¸¤Ëɽ¼¨¤µ¤ì¤Þ¤¹¡£
229
230 ºÇ½é¤Î¿ô»ú¤Ï message Ãæ¤Î¤³¤Î content ¤Î°ÌÃÖ¤òÀáÈÖ¹æ¤Î¤è¤¦¤Ëɽ¤·¤¿¤â¤Î
231 ¤Ç¡¢content-number ¤È¸Æ¤Ó¤Þ¤¹¡£
232
233 £²ÈÖÌܤÎʸ»úÎó¤ÏɽÂê¤òɽ¤·¤Þ¤¹¡£¤³¤Î¾ðÊó¤Ï¡¢
234
235 @itemize
236 @item{Content-Type field ¤Î name paramater ¤â¤·¤¯¤Ï x-name parameter ¤Ë½ñ
237   ¤«¤ì¤¿ file Ì¾}
238 @item{Content-Description field ¤â¤·¤¯¤Ï Subject field ¤Ë½ñ¤«¤ì¤¿É½Âê}
239 @item{uuencode ¤Î¾ì¹ç¤Î file Ì¾}
240 @end itemize
241
242 ¤«¤éºî¤ê¤Þ¤¹¡£¤É¤ì¤â¸ºß¤·¤Ê¤¤¾ì¹ç¤Ï¶õÇò¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£
243
244 £³ÈÖÌܤγç¸Ì¤ÎÃæ¤Î¾ðÊó¤Ï¤½¤Î content ¤Î content-type/subtype ¤òɽ¤·¤Þ
245 ¤¹¡£Èó MIME part ¤Î¾ì¹ç¡¢@code{nil} ¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£
246
247 ¤³¤Î content-subject ¤Ï content-header, content-body ¤òɽ¼¨¤·¤Ê¤¤¾ì¹ç¡¢
248 icon ¤Î¤è¤¦¤ÊÌò³ä¤ò²Ì¤¿¤·¤Þ¤¹¡£Î㤨¤Ð¡¢
249
250 @example
251         [2  (image/gif)]
252 @end example
253
254 ¤Î¾å¤Ç `v' ¤ò²¡¤»¤Ð¤³¤³¤ËÆþ¤Ã¤Æ¤¤¤ë³¨¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£
255
256
257 @defvr{Variable} mime-viewer/content-subject-omitting-Content-Type-list
258
259 ɽ¼¨¤·¤Ê¤¤ Content-Type ¤òÍ×ÁǤȤ¹¤ë list. ´Ø¿ô 
260 @code{mime-viewer/default-content-subject-function} ¤Ë¤è¤Ã¤Æ»²¾È¤µ¤ì¤ë¡£
261 @end defvr
262
263
264 @deffn{Function} mime-viewer/default-content-subject-function cnum cinfo ctype params subj
265
266 ɸ½à¤Î content-subject É½¼¨´Ø¿ô¡£ÊÑ¿ô 
267 @code{mime-viewer/content-subject-omitting-Content-Type-list} ¤ò»²¾È¤·
268 ¤Æ¤¤¤ë¡£
269 @end deffn
270
271
272 @defvar mime-viewer/content-subject-function cnum cinfo ctype params subj
273
274 content-subject É½¼¨´Ø¿ô¤òÀßÄꤹ¤ë¤¿¤á¤ÎÊÑ¿ô¡£´ûÄêÃͤϴؿô 
275 @code{mime-viewer/default-content-subject-function} ¤Ç¤¢¤ë¡£
276
277 ¤³¤ÎÊÑ¿ô¤Ë¡¢´Ø¿ô @code{mime-viewer/default-content-subject-function} 
278 °Ê³°¤Î´Ø¿ô¤òÀßÄꤷ¤¿¾ì¹ç¡¢ÊÑ¿ô 
279 @code{mime-viewer/content-subject-omitting-Content-Type-list} ¤ÎÍ­¸úÀ­
280 ¤ÏÊݾڤµ¤ì¤Ê¤¤¤Î¤ÇÃí°Õ¤¹¤ë¤³¤È¡£
281 @end defvar
282
283
284 @node content-header, content-body, content-subject, Preview Buffer
285 @comment  node-name,  next,  previous,  up
286 @section{content-header}
287 @cindex{content-header}
288
289 ¤¢¤ë content ¤Î content-number ¤ò´Ø¿ô 
290 @code{mime-viewer/header-visible-p} ¤ËÆþÎϤ·¤Æ¤½¤ÎÊÖ¤êÃͤ¬ @code{t} ¤Ë
291 ¤Ê¤ë¾ì¹ç¡¢¤½¤Î content ¤Î content-header ¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£¤³¤ÎȽÄê´Ø¿ô
292 ¤Ï¡¢°ìÈÖ¾å¤Î content ¤Ç¤¢¤ë¤«¡¢¤½¤Î content ¤Î¿Æ¤Î content-type ¤¬ÊÑ¿ô 
293 @code{mime-viewer/childrens-header-showing-Content-Type-list} ¤Ç»ØÄꤵ
294 ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ë @code{t} ¤òÊÖ¤·¤Þ¤¹¡£
295
296 ¤³¤Î¾ò·ï¤òÊѤ¨¤¿¤¤¾ì¹ç¤Ï¡¢¤³¤Î´Ø¿ô¤òºÆÄêµÁ¤·¤Æ²¼¤µ¤¤¡£Ã¢¤·¡¢É¸½à¤Ç¤Ï¡¢
297 ÊÑ¿ô @code{mime-viewer/childrens-header-showing-Content-Type-list} ¤ò
298 »²¾È¤·¤Þ¤¹¤¬¡¢ºÆÄêµÁ¤·¤¿¾ì¹ç¡¢¤³¤ÎÊÑ¿ô¤ÎÍ­¸úÀ­¤ÏÊݾڤµ¤ì¤Ê¤¤¤Î¤ÇÃí°Õ¤·
299 ¤Æ²¼¤µ¤¤¡£
300
301 content-header ¤¬É½¼¨¤µ¤ì¤ë¾ì¹ç¡¢content-header ¤Ï 
302 content-header-filter ¤Ë¤è¤Ã¤ÆÀ°·Á¤µ¤ì¤Þ¤¹¡£¸Æ¤Ð¤ì¤ë 
303 content-header-filter ¤Ï article buffer ¤Î major-mode ¤ò key ¤È¤·¤ÆÊÑ
304 ¿ô @code{mime-viewer/content-header-filter-alist} ¤«¤éõ¤µ¤ì¤Þ¤¹¡£¤â¤·¡¢
305 content-header-filter ¤¬¸«¤Ä¤«¤é¤Ê¤«¤Ã¤¿¾ì¹ç¡¢´Ø¿ô 
306 @code{mime-viewer/default-content-header-filter} ¤¬¸Æ¤Ð¤ì¤Þ¤¹¡£
307
308
309 @defvar mime-viewer/childrens-header-showing-Content-Type-list
310
311 ¤¢¤ë content ¤Î»Ò¤ËÅö¤¿¤ë content ¤Î content-header ¤òɽ¼¨¤¹¤Ù¤­ 
312 Content-Type ¤ò¼ý¤á¤¿ list. ´ûÄêÃͤϠ"message/rfc822" ¤Ç¤¢¤ë¡£
313
314 ¤³¤ÎÊÑ¿ô¤Ï´Ø¿ô @code{mime-viewer/header-visible-p} ¤Ë¤è¤Ã¤Æ»²¾È¤µ¤ì¤ë¡£
315 @end defvar
316
317
318 @deffn{Function} mime-viewer/header-visible-p cnum cinfo &optional ctype
319
320 content-info @var{cinfo} Ãæ¤Î content-number ¤¬ @var{cnum} ¤Ç¤¢¤ë 
321 content ¤Î header ¤¬É½¼¨¤µ¤ì¤ë¾ì¹ç¡¢t ¤òÊÖ¤¹¡£¤½¤Î content ¤Î 
322 content-type ¤¬¤¢¤é¤«¤¸¤á¤ï¤«¤Ã¤Æ¤¤¤ë¾ì¹ç¡¢@var{ctype} ¤Ë°ú¿ô¤È¤·¤ÆÅÏ
323 ¤¹¤³¤È¤¬¤Ç¤­¤ë¡£
324 @end deffn
325
326
327 @defvar mime-viewer/content-header-filter-alist
328
329 article buffer ¤Î major-mode ¤ò key ¤È¤·¤¿Ï¢Áۥꥹ¥È¤Ç¡¢ÃÍÉô¤Ë¤Ï 
330 content-header-filter ¤¬Æþ¤Ã¤Æ¤¤¤ë¡£
331 @end defvar
332
333
334 @deffn{Function} mime-viewer/default-content-header-filter
335
336 ¤¢¤ë content ¤Î content-header ¤òɽ¼¨¤¹¤Ù¤­»þ¡¢ÊÑ¿ô 
337 @code{mime-viewer/content-header-filter-alist} ¤ÎÃæ¤Ë 
338 content-header-filter ¤¬¸«¤Ä¤«¤é¤Ê¤«¤Ã¤¿¾ì¹ç¤Ë¸Æ¤Ó½Ð¤µ¤ì¤ë¡£
339 @end deffn
340
341
342 @node content-body, content-separator, content-header, Preview Buffer
343 @comment  node-name,  next,  previous,  up
344 @section{content-body}
345 @cindex{content-body}
346
347 ¤¢¤ë content ¤Î content-body ¤òɽ¼¨¤¹¤ë¤«¤É¤¦¤«¤Ï¡¢´Ø¿ô 
348 @code{mime-viewer/body-visible-p} ¤¬ @code{t} ¤Ë¤Ê¤ë¤«¤É¤¦¤«¤Ç·è¤Þ¤ê¤Þ
349 ¤¹¡£É¸½à¤Ç¤Ï¡¢¤¢¤ë content ¤Î content-type ¤¬ÊÑ¿ô 
350 @code{mime-viewer/default-showing-Content-Type-list} ¤ËÀßÄꤵ¤ì¤Æ¤¤¤ë
351 »þ¤Ëɽ¼¨¤µ¤ì¤Þ¤¹¡£
352
353 ¤¢¤ë content ¤Î content-body ¤¬É½¼¨¤µ¤ì¤ë»þ¡¢preview buffer ¤Ë¤Ï 
354 content-body ¤ò content-filter ¤Ë¤è¤Ã¤ÆÀ°·Á¤µ¤ì¤¿¤â¤Î¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£
355 ¸Æ¤Ð¤ì¤ë content-filter ¤Ï article buffer ¤Î major-mode ¤ò key ¤È¤·¤Æ
356 ÊÑ¿ô @code{mime-viewer/content-filter-alist} ¤«¤éõ¤µ¤ì¤Þ¤¹¡£¤â¤·¡¢¤³
357 ¤ÎÊÑ¿ô¤ËÅÐÏ¿¤µ¤ì¤Æ¤¤¤Ê¤«¤Ã¤¿¾ì¹ç¡¢´Ø¿ô 
358 @code{mime-viewer/default-content-filter} ¤¬¸Æ¤Ð¤ì¤Þ¤¹¡£
359
360
361 @defvar mime-viewer/default-showing-Content-Type-list
362
363 ɽ¼¨¤¹¤Ù¤­ content-type ¤òÍ×ÁǤȤ¹¤ë list.
364 @end defvar
365
366
367 @deffn{Function} mime-viewer/body-visible-p cnum cinfo &optional ctype
368
369 content-number ¤¬ @var{cnum} ¤Ç¤¢¤ë content ¤¬É½¼¨¤µ¤ì¤ë¾ì¹ç¡¢@code{t} 
370 ¤òÊÖ¤¹¡£¤½¤Î content ¤Î content-type ¤¬¤¢¤é¤«¤¸¤á¤ï¤«¤Ã¤Æ¤¤¤ë¾ì¹ç¡¢
371 @var{ctype} ¤Ë°ú¿ô¤È¤·¤ÆÅϤ¹¤³¤È¤¬¤Ç¤­¤ë¡£
372 @end deffn
373
374
375 @defvar mime-viewer/content-filter-alist
376
377 article buffer ¤Î major-mode ¤ò key ¤È¤·¤¿Ï¢Áۥꥹ¥È¤Ç¡¢ÃÍÉô¤Ë¤Ï 
378 content-filter ¤¬Æþ¤Ã¤Æ¤¤¤ë¡£
379 @end defvar
380
381
382 @deffn{Function} mime-viewer/default-content-filter cnum cinfo ctype params subj
383
384 ¤¢¤ë content ¤Î content-body ¤òɽ¼¨¤¹¤Ù¤­»þ¡¢ÊÑ¿ô 
385 @code{mime-viewer/content-filter-alist} ¤ÎÃæ¤Ë content-filter ¤¬¸«¤Ä¤«
386 ¤é¤Ê¤«¤Ã¤¿¾ì¹ç¤Ë¸Æ¤Ó½Ð¤µ¤ì¤ë¡£
387
388 ɸ½à¤Ç¤Ï²¿¤â¤·¤Ê¤¤¡£
389 @end deffn
390
391
392 @node content-separator, Decoding, content-body, Preview Buffer
393 @comment  node-name,  next,  previous,  up
394 @section{content-separator}
395 @cindex{content-separator}
396
397 content-separator ¤Ï content ¤Î°ìÈֺǸå¤Ë content ´Ö¤Î¶­ÌܤòÌÀ¤é¤«¤Ë¤¹
398 ¤ë¤¿¤á¤Ëɽ¼¨¤µ¤ì¤Þ¤¹¡£
399
400 content-separator ¤Ï´Ø¿ô @code{mime-viewer/default-content-separator} 
401 ¤Ë¤è¤Ã¤Æɽ¼¨¤µ¤ì¤Þ¤¹¡£É¸½à¤Ç¤Ï¡¢content-header ¤â content-body ¤âɽ¼¨
402 ¤µ¤ì¤Ê¤¤¾ì¹ç¤Î¤ß¡¢²þ¹Ô¤òɽ¼¨¤·¤Þ¤¹¡£
403
404 content-separator ¤ÎÀßÄê¤òÊѹ¹¤·¤¿¤¤¾ì¹ç¤Ï¡¢¤³¤Î´Ø¿ô¤òºÆÄêµÁ¤·¤Æ²¼¤µ¤¤¡£
405
406
407 @deffn{Function} mime-viewer/default-content-separator cnum cinfo ctype params subj
408
409 content-number ¤¬ @var{cnum} ¤Ç¤¢¤ë content ¤Î content-separator ¤òɽ
410 ¼¨¤¹¤ë¡£É¸½à¤Ç¤Ï¡¢content-header ¤â content-body ¤âɽ¼¨¤µ¤ì¤Ê¤¤¾ì¹ç¤Î
411 ¤ß¡¢²þ¹Ô¤òɽ¼¨¤¹¤ë¡£
412 @end deffn
413
414
415 @node Decoding, decoding-condition, Preview Buffer, Top
416 @comment  node-name,  next,  previous,  up
417 @chapter{Decoding}
418 @cindex{Decoding}
419
420 @code{mime/viewer-mode} ¤Ç¤Ï user ¤Ï³Æ content ¤ËÂФ·¤Æ¡¢play
421 (@key{v}), extract (@key{e}), print (@key{C-c C-p}) ¤È¤¤¤¦Áàºî¤ò¹Ô¤Ê¤¦
422 ¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤³¤¦¤·¤¿Áàºî¤Î¤³¤È¤ò¡Ø¡Êcontent ¤ËÂФ¹¤ë¡Ëdecode Áàºî¡Ù
423 ¤È¸Æ¤Ö¤³¤È¤Ë¤·¤Þ¤¹¡£¤Þ¤¿¡¢@strong{play}, @strong{extract},
424 @strong{print} ¤È¤¤¤¦ decode Áàºî¤Î¼ïÎà¤Î¤³¤È¤ò @strong{decoding-mode} 
425 ¤È¸Æ¤Ö¤³¤È¤Ë¤·¤Þ¤¹¡£
426
427 decode Áàºî¤¬¹Ô¤Ê¤ï¤ì¤¿»þ¡¢¤½¤Î content ¤Î content-type ¤Ê¤É¤Î¾ò·ï¤ä¤½
428 ¤Î¾ì¤Î´Ä¶­¤Ë±þ¤¸¤Æ¼ÂºÝ¤Ë¤½¤ÎÁàºî¤ò¼Â¹Ô¤¹¤ë¼ê³¤­¤¬¸Æ¤Ð¤ì¤Þ¤¹¡£¤³¤Î¼ê³
429 ¤­¤Î¤³¤È¤ò @strong{method} ¤È¸Æ¤Ó¤Þ¤¹¡£
430
431 method ¤Ë¤Ï¡¢Emacs Lisp ¤Ç½ñ¤«¤ì¤¿ @strong{ÆâÉô method} ¤È¡¢³°Éô 
432 program ¤Ç¼Â¸½¤µ¤ì¤¿ @strong{³°Éô method} ¤¬¤¢¤ê¤Þ¤¹¡£ÆâÉô method ¤Ï 
433 Emacs ¤Îµ¡Ç½¤ò»È¤Ã¤Æ¤­¤áºÙ¤«¤¤½èÍý¤ò¹Ô¤Ê¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£³°Éô method 
434 ¤ÏÈóƱ´ü¥×¥í¥»¥¹¸Æ¤Ó½Ð¤·¤ò»È¤Ã¤Æ¼Â¸½¤µ¤ì¤Æ¤¤¤ë¤Î¤Ç¡¢¼Â¹ÔÃæÂÔ¤¿¤µ¤ì¤º¤Ë
435 ¤¹¤ß¤Þ¤¹¡£¤³¤Î¤¿¤á¡¢ÀŻ߲è¤äÆ°²è¤Ê¤É¤ÎµðÂç¤Ê data ¤òºÆÀ¸¤¹¤ë¤Î¤ËÎɤ¤¤Ç
436 ¤·¤ç¤¦¡£
437
438 @menu
439 * decoding-condition::            content ¤Î decode ¾ò·ï¤ÎÀßÄê
440 * Format of method value::        method ¤ÎÃÍÉô¤Î½ñ¼°
441 * Example of decoding-condition:: ÀßÄêÎã
442 @end menu
443
444
445 @node decoding-condition, Format of method value, Decoding, Decoding
446 @comment  node-name,  next,  previous,  up
447 @section{content ¤Î decode ¾ò·ï¤ÎÀßÄê}
448 @cindex{content ¤Î decode ¾ò·ï¤ÎÀßÄê}
449
450 tm-view ¤Ï decode Áàºî¤¬¹Ô¤Ê¤ï¤ì¤ë¤È¡¢ÊÑ¿ô 
451 @code{mime/content-decoding-condition} ¤«¤é¤½¤Î»þ¤Î¾ò·ï¤Ë¹çÃפ·¤¿ 
452 method ¤òÁܤ·½Ð¤·¤Æ¡¢¤½¤ì¤ò¸Æ¤Ó½Ð¤·¤Þ¤¹¡£
453
454 ÊÑ¿ô @code{mime/content-decoding-condition} ¤Ï
455
456 @lisp
457         (¾ò·ï1 ¾ò·ï2 ...)
458 @end lisp
459
460 ¤È¤¤¤¦·Á¤ò¤·¤¿ list ¤Ç¡¢³Æ¾ò·ï¤Ï
461
462 @lisp
463         ((field-type_1 . value_1)
464          (field-type_2 . value_2)
465          ...)
466 @end lisp
467
468 ¤È¤¤¤¦·Á¤ÎÏ¢ÁÛ list ¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£
469
470 Î㤨¤Ð¡¢text/plain ¤Î»þ¡¢tm-plain ¤òµ¯Æ°¤¹¤ë»þ¡¢
471
472 @lisp
473         ((type . "text/plain")
474          (method "tm-plain" nil 'file 'type 'encoding 'mode 'name))
475 @end lisp
476
477 ¤È¤¤¤¦¾ò·ï¤ò½ñ¤­¤Þ¤¹¡£¤³¤Î method ¤Î value Éô¤Î½ñ¼°¤Ë¤Ä¤¤¤Æ¤Ï¸å¤Ç¾Ü¤·
478 ¤¯½Ò¤Ù¤Þ¤¹¡£
479
480 ¤³¤Î¾ò·ï¤Ï content-type ¤¬ text/plain ¤Ç¤¢¤ë content ¤Ê¤éÁ´¤Æ¤Î 
481 decoding-mode ¤ÇÍ­¸ú¤Ç¤¹¡£¤·¤«¤·¡¢
482
483 @lisp
484         ((type . "text/plain")
485          (method "tm-plain" nil 'file 'type 'encoding 'mode 'name)
486          (mode . "play"))
487 @end lisp
488
489 ¤Ê¤é¡¢play mode ¤Î»þ¤·¤«Í­¸ú¤Ë¤Ê¤ê¤Þ¤»¤ó¡£
490
491 µÕ¤Ë¡¢
492
493 @lisp
494         ((method "metamail" t "-m" "tm" "-x" "-d" "-z" "-e" 'file)
495          (mode . "play"))
496 @end lisp
497
498 ¤Ê¤é¡¢Á´¤Æ¤Î content-type ¤Î play mode ¤ÇÍ­¸ú¤Ë¤Ê¤ê¤Þ¤¹¡£
499
500 ¤³¤¦¤·¤Æ³Æ¾ò·ï¤òÁ°¤«¤é¸«¤Æ¹Ô¤­¡¢ºÇ½é¤ËÍ­¸ú¤Ë¤Ê¤Ã¤¿¾ò·ï¤¬¼Â¹Ô¤µ¤ì¤Þ¤¹¡£
501
502
503 @node Format of method value, Example of decoding-condition, decoding-condition, Decoding
504 @comment  node-name,  next,  previous,  up
505 @section{method ¤Î ÃÍÉô¤Î½ñ¼°}
506 @cindex{method ¤Î ÃÍÉô¤Î½ñ¼°}
507
508 decode-condition ¤Î method field ¤Ï
509
510 @lisp
511         (method . SYMBOL)
512 @end lisp
513
514 ¤«
515
516 @lisp
517         (method  Ê¸»úÎó  FLAG  °ú¿ô1  °ú¿ô2  ...)
518 @end lisp
519
520 ¤È¤¤¤¦·Á¤ò¤·¤Æ¤¤¤Þ¤¹¡£
521
522 Á°¼Ô¤ÏÆâÉô method ¤ò»ØÄꤹ¤ë¤¿¤á¤Î·Á¼°¤Ç¡¢decode Áàºî¤¬¹Ô¤Ê¤ï¤ì¤¿»þ¡¢
523 SYMBOL ¤È¤¤¤¦´Ø¿ô¤¬´Ø¿ô¸Æ¤Ó½Ð¤·¤Ë¤è¤Ã¤ÆÆâÉô method ¤È¤·¤Æ¸Æ¤Ó½Ð¤µ¤ì¤Þ
524 ¤¹¡£
525
526 ¸å¼Ô¤Ï³°Éô method ¤ò»ØÄꤹ¤ë¤¿¤á¤Î·Á¼°¤Ç¡¢decode Áàºî¤¬¹Ô¤Ê¤ï¤ì¤¿»þ¡¢
527 ʸ»úÎó¤Ç»ØÄꤵ¤ì¤¿³°Éô program ¤¬ÈóƱ´ü¥×¥í¥»¥¹¸Æ¤Ó½Ð¤·¤Ë¤è¤Ã¤Æ³°Éô 
528 method ¤È¤·¤Æ¸Æ¤Ó½Ð¤µ¤ì¤Þ¤¹¡£
529
530
531 ³°Éô method ¤ò»ØÄꤹ¤ë¾ì¹ç¤Î method field ¤Î½ñ¼°¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¹¡£
532
533 @table @samp
534 @item Ê¸»úÎó
535         ³°Éô method ¤Î̾Á°
536 @item FLAG
537         @code{t} ¤Ê¤é content-header ¤â³°Éô method ¤ËÅϤ¹¡£@code{nil} 
538         ¤Ê¤é content-body ¤Î¤ß¤òÅϤ¹¡£
539 @item °ú¿ôÎó
540         ³°Éô method ¤Î°ú¿ô
541 @end table
542
543 ¤Þ¤¿¡¢³°Éô method ¤Î°ú¿ô¤Ï¼¡¤Î¤è¤¦¤Ê·Á¼°¤Ç½ñ¤­¤Þ¤¹¡£
544
545 @table @samp
546 @item Ê¸»úÎó
547         ¤½¤Îʸ»úÎó¤òÅϤ¹
548 @item 'SYMBOL
549         SYMBOL ¤ò key ¤È¤·¤¿ decoding-condition ¤ÎÃͤòÅϤ¹
550 @item 'ʸ»úÎó
551         Ê¸»úÎó¤ò key ¤È¤·¤¿ decoding-condition ¤ÎÃͤòÅϤ¹
552 @end table
553
554 'SYMBOL ¤Ç»ØÄê¤Ç¤­¤ë¤â¤Î¤Ë¤Ï¡¢
555
556 @table @samp
557 @item 'file
558         content ¤òÅϤ¹¤¿¤á¤Î file Ì¾
559 @item 'type
560         Content-Type field ¤Î content-type/subtype
561 @item 'encoding
562         Content-Transfer-Encoding field ¤Î field body
563 @item 'mode
564         decoding-mode
565 @item 'name
566         file ¤ËÍ¾ì¹ç¤Î file Ì¾
567 @end table
568
569 ¤Ê¤É¤¬¤¢¤ê¡¢'ʸ»úÎó ¤Ç¤Ï Content-Type field ¤Î parameter ¤ÎÃͤ¬»ØÄê¤Ç
570 ¤­¤Þ¤¹¡£
571
572
573 @node Example of decoding-condition, Concept Index, Format of method value, Decoding
574 @comment  node-name,  next,  previous,  up
575 @section{decoding-condition ¤ÎÎã}
576 @cindex{decoding-condition ¤ÎÎã}
577
578 °Ê²¼¤Ë decoding-condition ¤ÎÀßÄêÎã¤ò¼¨¤·¤Þ¤¹¡£
579
580 @lisp
581 (defvar mime/content-decoding-condition
582   '(((type . "text/plain")
583      (method "tm-plain" nil 'file 'type 'encoding 'mode 'name))
584     ((type . "text/x-latex")
585      (method "tm-latex" nil 'file 'type 'encoding 'mode 'name))
586     ((type . "audio/basic")
587      (method "tm-au"    nil 'file 'type 'encoding 'mode 'name))
588     ((type . "image/gif")
589      (method "tm-image" nil 'file 'type 'encoding 'mode 'name))
590     ((type . "image/jpeg")
591      (method "tm-image" nil 'file 'type 'encoding 'mode 'name))
592     ((type . "image/tiff")
593      (method "tm-image" nil 'file 'type 'encoding 'mode 'name))
594     ((type . "image/x-tiff")
595      (method "tm-image" nil 'file 'type 'encoding 'mode 'name))
596     ((type . "image/x-xbm")
597      (method "tm-image" nil 'file 'type 'encoding 'mode 'name))
598     ((type . "image/x-pic")
599      (method "tm-image" nil 'file 'type 'encoding 'mode 'name))
600     ((type . "video/mpeg")`
601      (method "tm-mpeg"  nil 'file 'type 'encoding 'mode 'name))
602     ((type . "application/octet-stream")
603      (method "tm-file"  nil 'file 'type 'encoding 'mode 'name))
604     ((type . "message/partial")
605      (method . mime/decode-message/partial-region))
606     ((method "metamail" t
607              "-m" "tm" "-x" "-d" "-z" "-e" 'file)(mode . "play"))
608     ))
609 @end lisp
610
611 Î㤨¤Ð¡¢¡ÖÁ´Éô metamail »È¤¦¤ó¤ä¡×¤È¤¤¤¦¾ì¹ç¡¢
612
613 @lisp
614 (setq mime/content-decoding-condition
615       '(
616         ((method "metamail" t "-m" "tm" "-x" "-d" "-z" "-e" 'file))
617        ))
618 @end lisp
619
620 ¤È¤¹¤ì¤Ð OK ¤Ç¤¹¡£
621
622 ¹©Éפ¹¤ì¤Ð¡¢¤«¤Ê¤êÊ£»¨¤Ê¾ò·ï¤¬½ñ¤±¤ë¤Ç¤·¤ç¤¦¡£
623
624
625 °Ê²¼¤Ë¡¢decoding-condition ¤òÀßÄꤹ¤ë¤¿¤á¤ÎÍ­ÍѤʴؿô¤ò¾Ò²ð¤·¤Þ¤¹¡£
626
627
628 @deffn{Function} set-atype symbol alist
629
630 @var{symbol} ¤Ë¾ò·ï @var{alist} ¤òÄɲä·¤Þ¤¹¡£
631
632 Î㡧
633
634 @lisp
635 (set-atype 'mime/content-decoding-condition
636            '((type . "message/external-body")
637              ("access-type" . "anon-ftp")
638              (method . mime/decode-message/external-ftp)
639              ))
640 @end lisp
641 @end deffn
642
643
644 @node Concept Index, Command Index, Decoding, Top
645 @unnumbered ³µÇ°º÷°ú
646
647 @printindex cp
648
649
650 @node Command Index, Variable Index, Concept Index, Top
651 @unnumbered ´Ø¿ô¡¦¥³¥Þ¥ó¥Éº÷°ú
652
653 @printindex fn
654
655
656 @node Variable Index,  , Command Index, Top
657 @unnumbered ÊÑ¿ôº÷°ú
658
659 @printindex vr
660
661 @bye