comparison man/tm/tm-view-ja.texi @ 8:4b173ad71786 r19-15b5

Import from CVS: tag r19-15b5
author cvs
date Mon, 13 Aug 2007 08:47:35 +0200
parents
children 49a24b4fd526
comparison
equal deleted inserted replaced
7:c153ca296910 8:4b173ad71786
1 \input texinfo.tex
2 @setfilename tm-view-ja.info
3 @settitle{tm-view 7.77 Reference Manual$B!JF|K\8lHG!K(B}
4 @titlepage
5 @title tm-view 7.77 Reference Manual$B!JF|K\8lHG!K(B
6 @author $B<i2,(B $BCNI'(B <morioka@@jaist.ac.jp>
7 @subtitle 1996/10/11
8 @end titlepage
9 @node Top, Introduction, (dir), (dir)
10 @top tm-view 7.77 Reference Manual$B!JF|K\8lHG!K(B
11
12 @ifinfo
13
14 This file documents tm-view, a MIME Viewer for GNU Emacs.@refill
15
16 GNU Emacs $BMQ$N(B MIME Viewer $B$G$"$k(B `tm-view' $B$K$D$$$F@bL@$7$^$9!#(B
17 @end ifinfo
18
19 @menu
20 * Introduction:: tm-view $B$C$F2?!)(B
21 * MIME display:: mime/viewer-mode $B$N2hLL9=@.(B
22 * mime/viewer-mode:: mime/viewer-mode $B$G$NA`:n(B
23 * method:: $B:F@8=hM}$N<B8=(B
24 * Two buffers for an article:: raw-article-buffer $B$H(B preview-buffer
25 * API:: MIME message $B$N(B decode $B$K4X$9$k4X?t(B
26 * Concept Index:: $B35G0:w0z(B
27 * Function Index:: $B4X?t:w0z(B
28 * Variable Index:: $BJQ?t:w0z(B
29 @end menu
30
31 @node Introduction, MIME display, Top, Top
32 @chapter tm-view $B$C$F2?!)(B
33
34 tm-view $B$O(B GNU Emacs $B$GF0:n$9$kHFMQE*$J(B MIME viewer $B$G$9!#(B@refill
35
36 tm-view $B$O(B @code{mime/viewer-mode} (@ref{mime/viewer-mode}) $B$H$$$&(B MIME
37 message $B$r8+$k$?$a$N(B major-mode $B$r(B MUA (@ref{(tm-ja)MUA}) $B$KBP$7$FDs6!$7(B
38 $B$^$9!#(BMUA $B$N@_7W<T$O$3$N(B mode $B$rMxMQ$9$k$3$H$G$=$N(B MUA $B$K(B MIME $B5!G=$rIU(B
39 $B2C$9$k$3$H$,$G$-$^$9!#(B@refill
40
41 tm-view $B$O(B MIME message $B$r1\Mw$9$k$?$a$N(B user interface $B$N3K$G$"$j!"$=$N(B
42 $B>e$G3F(B content-type (@ref{(tm-ja)content-type}) $B$r07$&$?$a$N(B
43 @cindex{method}@strong{method} (@ref{method}) $B$H8F$P$l$k%W%m%0%i%`$rF0:n(B
44 $B$5$;$^$9!#$^$?!"(BMIME message $B$NI=<($N;EJ}$r7h$a$k(B
45 @cindex{filter}@strong{filter} (@ref{Two buffers for an article}) $B$H8F$P(B
46 $B$l$k%W%m%0%i%`$r5/F0;~$K8F$S=P$7$^$9!#(Bmethod $B$H(B filter $B$r(B tm-view $B$KAH$_(B
47 $B9~$`;v$K$h$C$F!"(B@code{mime/viewer-mode} $B$G$5$^$6$^$J(B MIME content-type
48 $B$r07$&;v$,$G$-$^$9!#(B
49
50
51 @node MIME display, mime/viewer-mode, Introduction, Top
52 @chapter mime/viewer-mode $B$N2hLL9=@.(B
53
54 mime/viewer-mode (@ref{mime/viewer-mode}) $B$G$O3F(B part $B$KBP$7$F(B@refill
55
56 @example
57 [content-button]
58 (content-header)
59
60 (content-body)
61 (content-separator)
62 @end example
63
64 @noindent
65 $B$H$$$&>pJs$rI=<($7$^$9!#$3$l$i$O>r7o$K=>$C$F(B design $B$rJQ99$7$?$j!"I=<((B
66 $B$rM^@)$9$k$3$H$,$G$-$^$9!#(B
67
68 $B0J2<$K!"I=<(Nc$r<($7$^$9!#(B
69
70
71 @example
72 From: morioka@@jaist.ac.jp ($B<i2,(B $BCNI'(B / MORIOKA Tomohiko)
73 Subject: Re: $B<ALd!)(B
74 Newsgroups: zxr.message.mime
75 Date: 22 Oct 93 11:02:44
76 Mime-Version: 1.0
77 Organization: Japan Advanced Institute of Science and Technology,
78 Ishikawa, Japan
79
80 [1 (text/plain)]
81 MIME-Edit mode $B$K$*$1$k!"(BMIME message $B$N:n$jJ}!#(B
82
83 C-c C-x ? $B$r2!$9$H(B help $B$,=P$F$/$k!#(B
84
85 C-c C-x C-t insert a text message.
86 C-c C-x TAB insert a (binary) file.
87 C-c C-x C-e insert a reference to external body.
88 C-c C-x C-v insert a voice message.
89 C-c C-x C-y insert a mail or news message.
90 C-c C-x RET insert a mail message.
91 C-c C-x C-s insert a signature file at end.
92 C-c C-x t insert a new MIME tag.
93 C-c C-x a enclose as multipart/alternative.
94 C-c C-x p enclose as multipart/parallel.
95 C-c C-x m enclose as multipart/mixed.
96 C-c C-x d enclose as multipart/digest.
97 C-c C-x s enclose as PGP signed.
98 C-c C-x e enclose as PGP encrypted.
99 C-c C-x C-k insert PGP public key.
100 C-c C-x C-p preview editing MIME message.
101 ...
102
103 $B$C$FLu$G!"(BC-c C-x C-i $B$r2!$7$F!"A^F~$7$?$$(B binary file $B$r;XDj$7$^$9!#(B
104
105 binary file $B$N(B MIME encoding $B$K$O!"IaDL!"(BBase64 $B$r;XDj$7$^$9!#(B
106
107 [2 (image/gif)]
108
109 [3 (text/plain)]
110
111 $B$3$s$JIw$K!"3(F~$j(B message $B$N$G$->e$,$j!#(B
112
113 $B".".".".".".".".".".".(B $B%m%7%"%s!&%F%#!<$r0lGU!#(B $B".".".".".".".".".".".(B
114 $B".".".".".(B $B!y(B $B%8%c%`$G$O$J$/%^!<%^%l!<%I$G$b$J$/K*L*$G(B $B!y(B $B".".".".".(B
115 $B".".".".".(B $B'.'0'2$$'0','!(B $B'4'0'.'0'7'*','0(B $B".".".".".(B
116 $B".".".".".".".(B Internet E-mail: <morioka@@jaist.ac.jp> $B".".".".".".".(B
117 @end example
118
119
120
121 @menu
122 * content-button::
123 * content-header::
124 * content-body::
125 * content-separator::
126 @end menu
127
128 @node content-button, content-header, MIME display, MIME display
129 @section content-button
130
131 @cindex{content-button}@strong{content-button} $B$O(B part $B$N@hF,$K$"$C$F!"(B
132 $B$=$N(B part $B$K4X$9$kBg$^$+$J>pJs$rI=<($9$kItJ,$G$9!#(B@refill
133
134 $BI8=`$G$O(B
135
136 @example
137 [1.3 test (text/plain)]
138 @end example
139
140 @noindent
141 $B$N$h$&$J46$8$KI=<($5$l$^$9!#(B
142
143 $B:G=i$N?t;z$O(B message $BCf$N$3$N(B part $B$N0LCV$r@aHV9f$N$h$&$KI=$7$?$b$N$G!"(B
144 @cindex{content-number}@strong{content-number} $B$H8F$S$^$9!#(B@refill
145
146 $B#2HVL\$NJ8;zNs$OI=Bj$rI=$7$^$9!#$3$N>pJs$O!"(B
147
148 @enumerate
149 @item
150 Content-Type field (@ref{(tm-ja)Content-Type field}) $B$N(B name paramater
151 $B$b$7$/$O(B x-name parameter $B$K=q$+$l$?(B file $BL>(B
152 @item
153 Content-Description field (@ref{(tm-ja)Content-Description field}) $B$b$7(B
154 $B$/$O(B Subject field $B$K=q$+$l$?I=Bj(B
155 @item
156 uuencode $B$N>l9g$N(B file $BL>(B
157 @end enumerate
158
159 @noindent
160 $B$+$i:n$j$^$9!#$I$l$bB8:_$7$J$$>l9g$O6uGr$,I=<($5$l$^$9!#(B
161
162 $B#3HVL\$N3g8L$NCf$N>pJs$O$=$N(B part $B$N(B content-type/subtype $B$rI=$7$^$9!#Hs(B
163 MIME part $B$N>l9g!"(B@code{nil} $B$,I=<($5$l$^$9!#(B@refill
164
165 $B$3$N(B content-button $B$O(B content-header (@ref{content-header}),
166 content-body (@ref{content-body}) $B$rI=<($7$J$$>l9g!"(Bicon $B$N$h$&$JLr3d$r(B
167 $B2L$?$7$^$9!#Nc$($P!"(B
168
169 @example
170 [2 (image/gif)]
171 @end example
172
173 @noindent
174 $B$N>e$G(B @kbd{v} $B$r2!$;$P$3$3$KF~$C$F$$$k3($,I=<($5$l$^$9!#(B
175
176 $B$^$?!"(Bmouse $BA`:n$,2DG=$J>l9g!"(Bcontent-button $B$rBh#2%\%?%s!J(B3 button
177 mouse $B$N>l9g!"Cf1{$N%\%?%s!K$G2!$;$P!"F1MM$K$=$N3($,I=<($5$l$^$9!#(B
178 (@ref{mime/viewer-mode})@refill
179
180 $B$H$3$m$G!"(Bcontent-button $B$rI=<($9$k$N$O]5F+$7$$>l9g$,$"$k$N$G!"(B
181 content-button $B$NI=<($r>r7o$K$h$C$FM^@)$9$k$3$H$,$G$-$^$9!#(B
182
183
184 @defvar mime-viewer/content-button-ignored-ctype-list
185
186 content-button $B$rI=<($7$J$$(B content-type $B$rMWAG$H$9$k(B list.
187 @end defvar
188
189
190
191 @node content-header, content-body, content-button, MIME display
192 @section content-header
193
194 @cindex{content-header}@strong{content-header} $B$O$"$k(B part $B$N(B header $B$r(B
195 $BI=<($9$kItJ,$G$9!#$7$+$7!"A4$F$N(B part $B$N(B content-header $B$rI=<($9$k$N$O]5(B
196 $BF+$7$$$N$G!"0J2<$N$h$&$J(B mechanism $B$K$h$C$FI=<($9$k$+$7$J$$$+$r7h$a$F$$(B
197 $B$^$9!#(B@refill
198
199 $B$"$k(B part $B$N(B reversed-content-number $B$r4X?t(B
200 @code{mime-viewer/header-visible-p} $B$KM?$($?;~$NJV$jCM$,(B @code{t} $B$K$J$k(B
201 $B>l9g!"$=$N(B part $B$N(B content-header $B$,I=<($5$l$^$9!#(B@refill
202
203 $B$3$NH=Dj4X?t$O!"0lHV>e$N(B part $B$G$J$/!"$=$N(B part $B$N?F$N(B content-type
204 (@ref{(tm-ja)content-type}) $B$,JQ?t(B
205 @code{mime-viewer/childrens-header-showing-Content-Type-list} $B$G;XDj$5$l(B
206 $B$F$$$k>l9g$K(B @code{t} $B$rJV$7$^$9!#(B@refill
207
208 $B$3$N>r7o$rJQ$($?$$>l9g$O!"$3$N4X?t$r:FDj5A$7$F2<$5$$!#C"$7!"I8=`$G$O!"JQ(B
209 $B?t(B @code{mime-viewer/childrens-header-showing-Content-Type-list} $B$r;2>H(B
210 $B$7$^$9$,!":FDj5A$7$?>l9g!"$3$NJQ?t$NM-8z@-$OJ]>Z$5$l$J$$$N$GCm0U$7$F2<$5(B
211 $B$$!#(B@refill
212
213 content-header $B$,I=<($5$l$k>l9g!"(Bcontent-header $B$O(B
214 @cindex{content-header-filter}@strong{content-header-filter} $B$H8F$P$l$k(B
215 program $B$K$h$C$F@07A$5$l$^$9!#(Bcontent-header-filter $B$O(B
216 raw-article-buffer (@ref{raw-article-buffer}) $B$N(B major-mode $B$r(B key $B$H$7(B
217 $B$FJQ?t(B @code{mime-viewer/content-header-filter-alist} $B$+$iC5$5$l$^$9!#$b(B
218 $B$7!"(Bcontent-header-filter $B$,8+$D$+$i$J$+$C$?>l9g!"4X?t(B
219 @code{mime-viewer/default-content-header-filter} $B$,8F$P$l$^$9!#(B@refill
220
221
222 @defvar mime-viewer/childrens-header-showing-Content-Type-list
223
224 $B$"$k(B part $B$N;R$KEv$?$k(B content $B$N(B content-header $B$rI=<($9$Y$-(B
225 Content-Type $B$r<}$a$?(B list. $B4{DjCM$O(B @code{"message/rfc822"} $B$G$"$k!#(B
226 @refill
227
228 $B$3$NJQ?t$O4X?t(B @code{mime-viewer/header-visible-p} $B$K$h$C$F;2>H$5$l$k!#(B
229 @end defvar
230
231
232
233 @defun mime-viewer/header-visible-p rcnum cinfo &optional ctype
234
235 content-info @var{cinfo} $BCf$N(B reversed-content-number $B$,(B @var{rcnum} $B$G(B
236 $B$"$k(B part $B$N(B header $B$,I=<($5$l$k>l9g!"(B@code{t} $B$rJV$9!#$=$N(B part $B$N(B
237 content-type $B$,$"$i$+$8$a$o$+$C$F$$$k>l9g!"(B@var{ctype} $B$K0z?t$H$7$FEO$9(B
238 $B$3$H$,$G$-$k!#(B
239 @end defun
240
241
242
243 @defvar mime-viewer/content-header-filter-alist
244
245 raw-article-buffer $B$N(B major-mode $B$r(B key $B$H$7$?O"A[%j%9%H$G!"CMIt$K$O(B
246 content-header-filter $B$,F~$C$F$$$k!#(B
247 @end defvar
248
249
250
251 @defun mime-viewer/default-content-header-filter
252
253 $B$"$k(B part $B$N(B content-header $B$rI=<($9$Y$-;~!"JQ?t(B
254 @code{mime-viewer/content-header-filter-alist} $B$NCf$K(B
255 content-header-filter $B$,8+$D$+$i$J$+$C$?>l9g$K8F$S=P$5$l$k!#(B@refill
256
257 $BJQ?t(B @code{mime-viewer/ignored-field-regexp} $B$r;2>H$9$k!#(B
258 @end defun
259
260
261
262 @defvar mime-viewer/ignored-field-list
263
264 content-header $B$rI=<($9$k;~$K!"I=<($7$J$$(B field $B$r;XDj$9$k!#(B@refill
265
266 $B@55,I=8=$N(B list $B$K$J$C$F$*$j!"$3$NCM$r85$KJQ?t(B
267 @code{mime-viewer/ignored-field-regexp} $B$,:n$i$l$k!#(B@refill
268
269 $B$3$NJQ?t$OD>@\A`:n$;$:!"4X?t(B @code{tm:add-fields} $B$d(B
270 @code{tm:delete-fields} $B$r;H$C$FA`:n$9$k!#(B
271 @end defvar
272
273
274
275 @node content-body, content-separator, content-header, MIME display
276 @section content-body
277
278 @cindex{content-body}@strong{content-body} $B$O(B part $B$NFbMF$rI=<($9$kItJ,(B
279 $B$G$9!#(B@refill
280
281 $BA4$F$N(B part $B$NFbMF$rI=<($G$-$k$H$O8B$i$J$$$7!"$^$?!"I=<($7$?$/$J$$(B part
282 $B$bB8:_$9$k$N$G!"0J2<$N$h$&$JJ}K!$GI=<($9$k$+$7$J$$$+$r7h$a$F$$$^$9!#(B
283 @refill
284
285 $B$"$k(B part $B$N(B content-body $B$rI=<($9$k$+$I$&$+$O!"4X?t(B
286 @code{mime-viewer/body-visible-p} $B$,(B @code{t} $B$K$J$k$+$I$&$+$G7h$^$j$^$9!#(B
287 $BI8=`$G$O!"$"$k(B part $B$N(B content-type $B$,JQ?t(B
288 @code{mime-viewer/default-showing-Content-Type-list} $B$K@_Dj$5$l$F$$$k;~(B
289 $B$KI=<($5$l$^$9!#(B@refill
290
291 $B$"$k(B part $B$N(B content-body $B$,I=<($5$l$k;~!"(Bpreview buffer $B$K$O(B part $B$NFb(B
292 $BMF$r(B @cindex{content-filter}@strong{content-filter} $B$H8F$P$l$k(B program
293 $B$K$h$C$F@07A$5$l$?$b$N$,I=<($5$l$^$9!#8F$P$l$k(B content-filter $B$O(B
294 raw-article-buffer (@ref{raw-article-buffer}) $B$N(B major-mode $B$r(B key $B$H$7(B
295 $B$FJQ?t(B @code{mime-viewer/content-filter-alist} $B$+$iC5$5$l$^$9!#$b$7!"$3(B
296 $B$NJQ?t$KEPO?$5$l$F$$$J$+$C$?>l9g!"4X?t(B
297 @code{mime-viewer/default-content-filter} $B$,8F$P$l$^$9!#(B
298
299
300 @defvar mime-viewer/default-showing-Content-Type-list
301
302 content-body $B$rI=<($9$Y$-(B content-type $B$rMWAG$H$9$k(B list.
303 @end defvar
304
305
306
307 @defun mime-viewer/body-visible-p rcnum cinfo &optional ctype
308
309 reversed-content-number $B$,(B @var{rcnum} $B$G$"$k(B part $B$,I=<($5$l$k>l9g!"(B
310 @code{t} $B$rJV$9!#$=$N(B part $B$N(B content-type $B$,$"$i$+$8$a$o$+$C$F$$$k>l9g!"(B
311 @var{ctype} $B$K0z?t$H$7$FEO$9$3$H$,$G$-$k!#(B
312 @end defun
313
314
315
316 @defvar mime-viewer/content-filter-alist
317
318 raw-article-buffer $B$N(B major-mode $B$r(B key $B$H$7$?O"A[%j%9%H$G!"CMIt$K$O(B
319 content-filter $B$,F~$C$F$$$k!#(B
320 @end defvar
321
322
323
324 @defun mime-viewer/default-content-filter rcnum cinfo ctype params subj
325
326 $B$"$k(B part $B$N(B content-body $B$rI=<($9$Y$-;~!"JQ?t(B
327 @code{mime-viewer/content-filter-alist} $B$NCf$K(B content-filter $B$,8+$D$+$i(B
328 $B$J$+$C$?>l9g$K8F$S=P$5$l$k!#(B@refill
329
330 $BI8=`$G$O2?$b$7$J$$!#(B
331 @end defun
332
333
334
335
336 @node content-separator, , content-body, MIME display
337 @section content-separator
338
339 @cindex{content-separator}@strong{content-separator} $B$O(B part $B$N0lHV:G8e(B
340 $B$K(B part $B4V$N6-L\$rL@$i$+$K$9$k$?$a$KI=<($5$l$^$9!#(B@refill
341
342 content-separator $B$O4X?t(B @code{mime-viewer/default-content-separator}$B$K(B
343 $B$h$C$FI=<($5$l$^$9!#I8=`$G$O!"(Bcontent-header $B$b(B content-body $B$bI=<($5$l(B
344 $B$J$$>l9g$N$_!"2~9T$rI=<($7$^$9!#(B@refill
345
346 content-separator $B$N@_Dj$rJQ99$7$?$$>l9g$O!"$3$N4X?t$r:FDj5A$7$F2<$5$$!#(B
347 @refill
348
349
350 @defun mime-viewer/default-content-separator rcnum cinfo ctype params subj
351
352 content-number $B$,(B @var{cnum} $B$G$"$k(B part $B$N(B content-separator $B$rI=<($9$k!#(B
353 $BI8=`$G$O!"(Bcontent-header $B$b(B content-body $B$bI=<($5$l$J$$>l9g$N$_!"2~9T$r(B
354 $BI=<($9$k!#(B
355 @end defun
356
357
358
359 @node mime/viewer-mode, method, MIME display, Top
360 @chapter mime/viewer-mode $B$G$NA`:n(B
361
362 mime/viewer-mode $B$K$O0J2<$N5!G=$,$"$j$^$9!#(B@refill
363
364 @table @kbd
365 @item @key{u}
366 $B>e$N(B part $B$KLa$k!J(Bmessage $B$N0lHV>e$N(B part $B$G$3$l$r9T$J$&$H(B Summary
367 mode $B$KLa$k(B (*1)$B!K(B
368
369 @item @key{p}
370 $BA0$N(B part $B$K0\F0$9$k(B
371
372 @item @key{n}
373 $B<!$N(B part $B$K0\F0$9$k(B
374
375 @item @key{SPC}
376 scroll up $B$9$k(B
377
378 @item @key{M-SPC}
379 scroll down $B$9$k(B
380
381 @item @key{DEL}
382 scroll down $B$9$k(B
383
384 @item @key{RET}
385 $B<!$N9T$K0\F0$9$k(B
386
387 @item @key{M-RET}
388 $BA0$N9T$K0\F0$9$k(B
389
390 @item @key{M-RET}
391 $BA0$N9T$K0\F0$9$k(B
392
393 @item @key{<}
394 message $B$N@hF,$K0\F0$9$k(B
395
396 @item @key{>}
397 message $B$NKvHx$K0\F0$9$k(B
398
399 @item @key{v}
400 part $B$r:F@8$9$k(B (*2)
401
402 @item @key{e}
403 part $B$+$i(B file $B$r<h$j=P$9(B (*2)
404
405 @item @key{C-c C-p}
406 part $B$r0u:~$9$k(B (*2)
407
408 @item @key{f}
409 message $BCf$N(B X-Face $B$rI=<($9$k(B
410
411 @item @key{mouse-button-2}
412 preview-buffer $BCf$N(B mouse button $B$r5/F0$9$k(B
413
414 content-button $B$r2!$;$P!"$=$N(B part $B$,:F@8$5$l$k(B(*2)@refill
415
416 URL-button $B$r2!$;$P!"$=$N(B WWW browser $B$,5/F0$5$l$k(B@refill
417
418 @end table
419
420 @noindent
421 @strong{[$BCm0U(B]}
422 @quotation
423
424 (*1) tm-MUA $B$G(B tm-view $B$N@_Dj$r$7$F$$$J$$>l9g!"(BSummary mode $B$K$OLa$j$^$;(B
425 $B$s!#(B@refill
426
427 (*2) $B<B:]$NF0:n$OBP1~$9$k(B method $B$K0M$j$^$9!#(B
428 @end quotation
429
430
431
432 @node method, Two buffers for an article, mime/viewer-mode, Top
433 @chapter $B:F@8=hM}$N<B8=(B
434
435 @code{mime/viewer-mode} $B$G$O!"3F(B part $B$KBP$7$F!"(Bplay (@kbd{v}), extract
436 (@kbd{e}), print (@kbd{C-c C-p}) $B$H$$$&A`:n$r9T$J$&$3$H$,$G$-$^$9!#$3$&(B
437 $B$7$?A`:n$N$3$H$r!X!J(Bpart $B$KBP$9$k!K(Bdecode $BA`:n!Y$H8F$V$3$H$K$7$^$9!#$^$?!"(B
438 play, extract, print $B$H$$$&(B decode $BA`:n$N<oN`$N$3$H$r(B
439 @cindex{decoding-mode}@strong{decoding-mode} $B$H8F$V$3$H$K$7$^$9!#(B@refill
440
441 decode $BA`:n$,9T$J$o$l$?;~!"$=$N(B part $B$N(B content-type
442 (@ref{(tm-ja)content-type}) $B$J$I$N>r7o$d$=$N>l$N4D6-$K1~$8$F<B:]$K$=$NA`(B
443 $B:n$r<B9T$9$k<jB3$-$,8F$P$l$^$9!#$3$N<jB3$-$N$3$H$r(B
444 @cindex{method}@strong{method} $B$H8F$S$^$9!#(B@refill
445
446 method $B$K$O!"(BEmacs Lisp $B$G=q$+$l$?(B @cindex{$BFbIt(B method}@strong{$BFbIt(B method} $B$H!"(B
447 $B30It(B program $B$G<B8=$5$l$?(B @cindex{$B30It(B method}@strong{$B30It(B method} $B$,$"$j$^$9!#(B
448 $BFbIt(B method $B$O(B Emacs $B$N5!G=$r;H$C$F$-$a:Y$+$$=hM}$r9T$J$&$3$H$,$G$-$^(B
449 $B$9!#30It(B method $B$OHsF14|%W%m%;%98F$S=P$7$r;H$C$F<B8=$5$l$F$$$k$N$G!"<B(B
450 $B9TCfBT$?$5$l$:$K$9$_$^$9!#$3$N$?$a!"@E;_2h$dF02h$J$I$N5pBg$J(B data $B$r:F(B
451 $B@8$9$k$N$KNI$$$G$7$g$&!#(B
452
453
454 @menu
455 * decoding-condition:: part $B$N:F@8$K4X$9$k>r7o$N@_Dj(B
456 * environment variables:: $B4D6-JQ?t(B
457 @end menu
458
459 @node decoding-condition, environment variables, method, method
460 @section part $B$N:F@8$K4X$9$k>r7o$N@_Dj(B
461
462 tm-view $B$O(B decode $BA`:n$,9T$J$o$l$k$H!"JQ?t(B
463 @code{mime/content-decoding-condition} $B$+$i$=$N;~$N>r7o$K9gCW$7$?(B method
464 $B$rA\$7=P$7$F!"$=$l$r8F$S=P$7$^$9!#(B@refill
465
466 $BJQ?t(B @code{mime/content-decoding-condition} $B$O(B@refill
467
468 @lisp
469 ($B>r7o(B1 $B>r7o(B2 ...)
470 @end lisp
471
472 @noindent
473 $B$H$$$&7A$r$7$?(B list $B$G!"3F>r7o$O(B
474
475 @lisp
476 ((field-type_1 . value_1)
477 (field-type_2 . value_2)
478 ...)
479 @end lisp
480
481 @noindent
482 $B$H$$$&7A$NO"A[(B list $B$K$J$C$F$$$^$9!#(B
483
484 $BNc$($P!"(Btext/plain (@ref{(tm-ja)text/plain}) $B$N;~!"(Btm-plain $B$r5/F0$9$k;~!"(B
485
486 @lisp
487 ((type . "text/plain")
488 (method "tm-plain" nil 'file 'type 'encoding 'mode 'name))
489 @end lisp
490
491 @noindent
492 $B$H$$$&>r7o$r=q$-$^$9!#$3$N(B method $B$N(B value $BIt$N=q<0$K$D$$$F$O8e$G>\$7(B
493 $B$/=R$Y$^$9!#(B
494
495 $B$3$N>r7o$O(B content-type (@ref{(tm-ja)content-type}) $B$,(B text/plain $B$G$"$k(B
496 part $B$J$iA4$F$N(B decoding-mode $B$GM-8z$G$9!#$7$+$7!"(B@refill
497
498 @lisp
499 ((type . "text/plain")
500 (method "tm-plain" nil 'file 'type 'encoding 'mode 'name)
501 (mode . "play"))
502 @end lisp
503
504 @noindent
505 $B$J$i!"(Bplay mode $B$N;~$7$+M-8z$K$J$j$^$;$s!#(B
506
507 $B5U$K!"(B@refill
508
509 @lisp
510 ((method "metamail" t "-m" "tm" "-x" "-d" "-z" "-e" 'file)
511 (mode . "play"))
512 @end lisp
513
514 @noindent
515 $B$J$i!"A4$F$N(B content-type $B$N(B play mode $B$GM-8z$K$J$j$^$9!#(B
516
517 $B$3$&$7$F3F>r7o$rA0$+$i8+$F9T$-!":G=i$KM-8z$K$J$C$?>r7o$,<B9T$5$l$^$9!#(B
518
519
520 @menu
521 * method value:: method $B$NCMIt$N=q<0(B
522 * Example of decoding-condition:: decoding-condition $B$NNc(B
523 @end menu
524
525 @node method value, Example of decoding-condition, decoding-condition, decoding-condition
526 @subsection method $B$NCMIt$N=q<0(B
527
528 decode-condition $B$N(B method field $B$O(B@refill
529
530 @lisp
531 (method . SYMBOL)
532 @end lisp
533
534 @noindent
535 $B$+(B
536
537 @lisp
538 (method $BJ8;zNs(B FLAG $B0z?t(B1 $B0z?t(B2 ...)
539 @end lisp
540
541 @noindent
542 $B$H$$$&7A$r$7$F$$$^$9!#(B
543
544 $BA0<T$OFbIt(B method $B$r;XDj$9$k$?$a$N7A<0$G!"(Bdecode $BA`:n$,9T$J$o$l$?;~!"(B
545 SYMBOL $B$H$$$&4X?t$,4X?t8F$S=P$7$K$h$C$FFbIt(B method $B$H$7$F8F$S=P$5$l$^$9!#(B
546 @refill
547
548 $B8e<T$O30It(B method $B$r;XDj$9$k$?$a$N7A<0$G!"(Bdecode $BA`:n$,9T$J$o$l$?;~!"J8(B
549 $B;zNs$G;XDj$5$l$?30It(B program $B$,HsF14|%W%m%;%98F$S=P$7$K$h$C$F30It(B method
550 $B$H$7$F8F$S=P$5$l$^$9!#(B@refill
551
552 $B30It(B method $B$r;XDj$9$k>l9g$N(B method field $B$N=q<0$O0J2<$NDL$j$G$9!#(B
553 @refill
554
555 @table @samp
556 @item $BJ8;zNs(B
557 $B30It(B method $B$NL>A0(B
558
559 @item FLAG
560 @code{t} $B$J$i(B content-header $B$b30It(B method $B$KEO$9!#(B
561
562 @code{nil} $B$J$i(B content-body $B$N$_$rEO$9!#(B@refill
563
564 @item $B0z?tNs(B
565 $B30It(B method $B$N0z?t(B
566
567 @end table
568
569 $B$^$?!"30It(B method $B$N0z?t$O<!$N$h$&$J7A<0$G=q$-$^$9!#(B@refill
570
571 @table @samp
572 @item $BJ8;zNs(B
573 $B$=$NJ8;zNs$rEO$9(B
574
575 @item 'SYMBOL
576 SYMBOL $B$r(B key $B$H$7$?(B decoding-condition $B$NCM$rEO$9(B
577
578 @item '$BJ8;zNs(B
579 $BJ8;zNs$r(B key $B$H$7$?(B decoding-condition $B$NCM$rEO$9(B
580
581 @end table
582
583 'SYMBOL $B$G;XDj$G$-$k$b$N$K$O!"(B@refill
584
585 @table @samp
586 @item 'file
587 part $B$N>pJs$rEO$9$?$a$N(B file $BL>(B
588
589 @item 'type
590 Content-Type field $B$N(B content-type/subtype
591
592 @item 'encoding
593 Content-Transfer-Encoding field $B$N(B field body
594
595 @item 'mode
596 decoding-mode
597
598 @item 'name
599 file $B$KMn$9>l9g$N(B file $BL>(B
600
601 @end table
602
603 @noindent
604 $B$J$I$,$"$j!"(B@code{'$BJ8;zNs(B} $B$G$O(B Content-Type field $B$N(B parameter
605 $B$NCM$,;XDj$G$-$^$9!#(B
606
607
608 @node Example of decoding-condition, , method value, decoding-condition
609 @subsection decoding-condition $B$NNc(B
610
611 $B0J2<$K(B decoding-condition $B$N@_DjNc$r<($7$^$9!#(B
612
613 @lisp
614 (defvar mime/content-decoding-condition
615 '(((type . "text/plain")
616 (method "tm-plain" nil 'file 'type 'encoding 'mode 'name))
617 ((type . "text/x-latex")
618 (method "tm-latex" nil 'file 'type 'encoding 'mode 'name))
619 ((type . "audio/basic")
620 (method "tm-au" nil 'file 'type 'encoding 'mode 'name))
621 ((type . "image/gif")
622 (method "tm-image" nil 'file 'type 'encoding 'mode 'name))
623 ((type . "image/jpeg")
624 (method "tm-image" nil 'file 'type 'encoding 'mode 'name))
625 ((type . "image/tiff")
626 (method "tm-image" nil 'file 'type 'encoding 'mode 'name))
627 ((type . "image/x-tiff")
628 (method "tm-image" nil 'file 'type 'encoding 'mode 'name))
629 ((type . "image/x-xbm")
630 (method "tm-image" nil 'file 'type 'encoding 'mode 'name))
631 ((type . "image/x-pic")
632 (method "tm-image" nil 'file 'type 'encoding 'mode 'name))
633 ((type . "video/mpeg")`
634 (method "tm-mpeg" nil 'file 'type 'encoding 'mode 'name))
635 ((type . "application/octet-stream")
636 (method "tm-file" nil 'file 'type 'encoding 'mode 'name))
637 ((type . "message/partial")
638 (method . mime/decode-message/partial-region))
639 ((method "metamail" t
640 "-m" "tm" "-x" "-d" "-z" "-e" 'file)(mode . "play"))
641 ))
642 @end lisp
643
644
645 $BNc$($P!"!VA4It(B metamail $B;H$&$s$d!W$H$$$&>l9g!"(B
646
647 @lisp
648 (setq mime/content-decoding-condition
649 '(
650 ((method "metamail" t "-m" "tm" "-x" "-d" "-z" "-e" 'file))
651 ))
652 @end lisp
653
654 @noindent
655 $B$H$9$l$P(B OK $B$G$9!#(B
656
657 $B9)IW$9$l$P!"$+$J$jJ#;($J>r7o$,=q$1$k$G$7$g$&!#(B@refill
658
659 $B0J2<$K!"(Bdecoding-condition $B$r@_Dj$9$k$?$a$NM-MQ$J4X?t$r>R2p$7$^$9!#(B
660
661
662 @defun set-atype symbol alist
663
664 @var{symbol} $B$K>r7o(B @var{alist} $B$rDI2C$7$^$9!#(B
665
666 @noindent
667 @strong{[$BNc(B]}
668 @quotation
669
670 @lisp
671 (set-atype 'mime/content-decoding-condition
672 '((type . "message/external-body")
673 ("access-type" . "anon-ftp")
674 (method . mime/decode-message/external-ftp)
675 ))
676 @end lisp
677 @end quotation
678 @end defun
679
680
681
682 @node environment variables, , decoding-condition, method
683 @section $B4D6-JQ?t(B
684
685 $B0J2<$K(B tm-view $B$NI8=`(B method $B$,;2>H$9$k4D6-JQ?t$r<($7$^$9!#(B
686
687 @table @var
688 @item TM_TMP_DIR
689 $B0l;~E*$K:n@.$5$l$k(B file $B$d(B file $B=PNO$9$k>l9g$N(B default $B$N=PNO@h$H$7$F(B
690 $BMQ$$$i$l$k(B directory $B$r;XDj$9$k!#>JN,$5$l$?>l9g!"(B@file{/tmp/} $B$,(B
691 $BMQ$$$i$l$k!#(B
692
693 @item VIDEO_DITHER
694 mpeg_play $B$G$N(B dither $B$N$+$1J}$r;XDj$9$k!#4{DjCM$O(B `gray'.
695
696 @item TM_WWW_BROWSER
697 WWW browser $B$r;XDj$9$k!#4{DjCM$O(B `netscape'.
698
699 @end table
700
701
702
703 @node Two buffers for an article, API, method, Top
704 @chapter raw-article-buffer $B$H(B preview-buffer
705
706 tm-view $B$O!"(BMIME $B=hM}$r9T$J$&A0$N@8$N(B message $B$,F~$C$F$$$k(B
707 @cindex{raw-article-buffer}@strong{raw-article-buffer} $B$H$=$NFbMF$r(B user
708 $B$K4J7i$KI=<($7!"(Buser $B$,A`:n$9$k$?$a$N(B
709 @cindex{preview-buffer}@strong{preview-buffer} $B$H$$$&#2$D$N(B buffer $B$r4I(B
710 $BM}$7$^$9!#(Braw-article-buffer $B$N(B major-mode $B$O$b$H$b$H$N(B MUA $B$N(B article
711 $BI=<(MQ$N(B major-mode $B$G$"$j!"(Bpreview-buffer $B$N(B major-mode $B$O(B
712 @code{mime/viewer-mode} (@ref{mime/viewer-mode}) $B$H$J$j$^$9!#(B@refill
713
714 @code{mime/viewer-mode} $B$r<B9T$9$k$H!"(Btm-view $B$O$^$:(B raw-article-buffer
715 $B$NFbMF$r2r@O$7!"$=$N(B message $B$N9=B$$r(B raw-article-buffer $B$N(B buffer local
716 $BJQ?t(B @code{mime::article/content-info} $B$K5-O?$7$^$9!#(B@refill
717
718 $B<!$K!"$3$N7k2L$r85$K(B raw-article-buffer $B$KBP1~$9$k(B preview-buffer $B$r:n$j(B
719 $B$^$9!#$3$N:]!"(Bcontent-type $B$K1~$8$F!"(Bpart $BC10L$G(B header $B$d(B body $B$r2C9)$9(B
720 $B$k$3$H$,$G$-$^$9!#$3$N(B header $B$r2C9)$9$k%W%m%0%i%`$r(B
721 @cindex{header-filter}@strong{header-filter} (@ref{content-header}),
722 body $B$r2C9)$9$k%W%m%0%i%`$r(B
723 @cindex{content-filter}@strong{content-filter} (@ref{content-body}) $B$H8F(B
724 $B$S!"$3$l$i$rAm>N$7$F(B @cindex{filter}@strong{filter} $B$H8F$S$^$9!#(B
725
726 preview-buffer $B$r:n@.$9$k;~$K!"(Bmessage $B$NI=<(>e$N9=B$$r5-O?$7$?(B
727 preview-buffer $B$N(B buffer local $BJQ?t(B @code{mime::preview/content-list} $B$,(B
728 $B:n$i$l$^$9!#(Btm-view $B$O(B raw-article-buffer $B>e$N(B
729 @code{mime::article/content-info} $B$H(B preview-buffer $B>e$N(B
730 @code{mime::preview/content-list} $B$rMQ$$$F(B message $B$r4IM}$7$^$9!#(B@refill
731
732 @noindent
733 @strong{[$BCm0U(B]}
734 @quotation
735 $B$3$N@bL@=q$G$O!"(BContent-Type field $B$N(B content-type/subtype $B$N$3$H$r>N(B
736 $B$7$F(B ``content-type'' $B$H8F$S$^$9!#(B
737 @end quotation
738
739
740
741 @menu
742 * raw-article-buffer:: raw-article-buffer $B$N(B buffer local $BJQ?t(B
743 * preview-buffer:: preview-buffer $B$N(B buffer local $BJQ?t(B
744 @end menu
745
746 @node raw-article-buffer, preview-buffer, Two buffers for an article, Two buffers for an article
747 @section raw-article-buffer $B$N(B buffer local $BJQ?t(B
748
749 @deffn{Structure} mime::content-info rcnum point-min point-max type parameters encoding children
750
751 raw-article-buffer $B$K$*$1$k(B MIME part $B$K4X$9$k>pJs$r3JG<$9$k$?$a$N9=B$BN!#(B
752 $BC1$K(B @cindex{content-info}@strong{content-info} $B$H$b8F$V!#(B@refill
753
754 $B$3$N9=B$BN$r;2>H$9$k$K$O!"(B@code{mime::content-info/$B%9%m%C%HL>(B} $B$H$$$&(B
755 content-info $B$r0z?t$K$H$k4X?t$rMQ$$$k!#(B@refill
756
757 $B$3$N9=B$BN$N%9%m%C%H$O0J2<$NDL$j$G$"$k!'(B
758
759 @table @var
760 @item rcnum
761 ``reversed content-number'' (list)
762
763 @item point-min
764 raw-article-buffer $B$K$*$1$k@hF,(B point
765
766 @item point-max
767 raw-article-buffer $B$K$*$1$kKvHx(B point
768
769 @item type
770 content-type/sub-type$B!JJ8;zNs!"$^$?$O!"(Bnil$B!K(B
771
772 @item parameters
773 Content-Type field $B$N(B parameter $B!JO"A[(B list$B!K(B
774
775 @item encoding
776 Content-Transfer-Encoding$B!JJ8;zNs!"$^$?$O!"(Bnil$B!K(B
777
778 @item children
779 $B$3$N(B part $B$K4^$^$l$k(B part$B!J(Bcontent-info $B$N(B list$B!K(B
780
781 @end table
782
783 $B$"$k(B part $B$,(B multipart $B$b$7$/$O(B message/rfc822 $B$J$I$NJL$N(B part $B$r4^$`$h(B
784 $B$&$J(B part $B$G$"$C$?>l9g!"(B@var{children} $B$KJL$N(B part $B$N(B content-info $B$,4^(B
785 $B$^$l$k;v$K$h$C$F!"(Bcontent-info $B$OLZ9=B$$K$J$k!#(B
786 @end deffn
787
788
789 @defvar mime::article/content-info
790
791 raw-article-buffer $B$r(B MIME message $B$H$7$F2r@O$7$?7k2L(B (content-info)
792 @end defvar
793
794
795 @defvar mime::article/preview-buffer
796
797 raw-article-buffer $B$KBP1~$9$k(B preview-buffer.
798 @end defvar
799
800
801 @defun mime-article/point-content-number point &optional cinfo
802
803 content-info @var{cinfo} $B$G4IM}$5$l$kNN0h$K$*$$$F!"(B@var{point} $B$KBP1~$9(B
804 $B$k(B content-number $B$rJV$9!#(B@refill
805
806 @var{cinfo} $B$,>JN,$5$l$?>l9g$O!"(B@code{mime::article/content-info}$B$,MQ$$(B
807 $B$i$l$k!#(B
808 @end defun
809
810
811 @defun mime-article/rcnum-to-cinfo rcnum &optional cinfo
812
813 content-info @var{cinfo} $B$G4IM}$5$l$kNN0h$K$*$$$F!"(B
814 reversed-content-number @var{rcnum} $B$KBP1~$9$k(B content-info $B$rJV$9!#(B
815 @refill
816
817 @var{cinfo} $B$,>JN,$5$l$?>l9g$O!"(B@code{mime::article/content-info} $B$,MQ$$(B
818 $B$i$l$k!#(B
819 @end defun
820
821
822 @defun mime-article/cnum-to-cinfo rcnum &optional cinfo
823
824 content-info @var{cinfo} $B$G4IM}$5$l$kNN0h$K$*$$$F!"(Bcontent-number
825 @var{rcnum} $B$KBP1~$9$k(B content-info $B$rJV$9!#(B@refill
826
827 @var{cinfo} $B$,>JN,$5$l$?>l9g$O!"(B@code{mime::article/content-info} $B$,MQ$$(B
828 $B$i$l$k!#(B
829 @end defun
830
831
832 @defun mime/flatten-content-info &optional cinfo
833
834 content-info @var{cinfo} $BCf$KG<$a$i$l$?A4(B part $B$N(B content-info $B$N(B list
835 $B$rJV$9!#(B@refill
836
837 @var{cinfo} $B$,>JN,$5$l$?>l9g$O!"(B@code{mime::article/content-info} $B$,MQ$$(B
838 $B$i$l$k!#(B
839 @end defun
840
841
842
843 @node preview-buffer, , raw-article-buffer, Two buffers for an article
844 @section preview-buffer $B$N(B buffer local $BJQ?t(B
845
846 @defvar mime::preview/mother-buffer
847
848 $B$3$N(B preview-buffer $B$N?F$KAjEv$9$k(B buffer.
849 @end defvar
850
851
852 @deffn{Structure} mime::preview-content-info point-min point-max buffer content-info
853
854 preview-buffer $B$K$*$1$k(B MIME content $B$K4X$9$k>pJs$r3JG<$9$k$?$a$N9=B$BN!#(B
855 $BC1$K(B @cindex{preview-content-info}@strong{preview-content-info} $B$H$b8F$V!#(B
856 @refill
857
858 $B$3$N9=B$BN$r;2>H$9$k$K$O!"(B@code{mime::content-info/$B%9%m%C%HL>(B} $B$H$$$&(B
859 content-info $B$r0z?t$K$H$k4X?t$rMQ$$$k!#(B@refill
860
861 $B$3$N9=B$BN$N%9%m%C%H$O0J2<$NDL$j$G$"$k!#(B
862
863 @table @var
864 @item point-min
865 preview-buffer $B$K$*$1$k@hF,(B point
866
867 @item point-max
868 preview-buffer $B$K$*$1$kKvHx(B point
869
870 @item buffer
871 $B$3$N(B part $B$KBP1~$9$k(B raw-article-buffer
872
873 @item content-info
874 $B$3$N(B part $B$KBP1~$9$k(B content-info
875
876 @end table
877 @end deffn
878
879
880 @defvar mime::preview/content-list
881
882 $B$3$N(B preview-buffer $B$N9=B$$r$"$i$o$9(B preview-content-info $B$N(B list.
883 @end defvar
884
885 @defvar mime::preview/article-buffer
886
887 $B$3$N(B preview-buffer $B$KBP1~$9$k(B raw-article-buffer.
888 @end defvar
889
890
891 @defvar mime::preview/original-major-mode
892
893 $B$3$N(B preview-buffer $B$N$b$H$K$J$C$?(B buffer $B$N(B major-mode.
894 @end defvar
895
896
897 @defvar mime::preview/original-window-configuration
898
899 @code{mime/viewer-mode} $B$r<B9T$7$F!"$3$N(B preview-buffer $B:n$kD>A0$N(B
900 window-configuration.
901 @end defvar
902
903
904 @defun mime-preview/point-pcinfo point &optional pcl
905
906 preview-content-info @var{pcl} $B$G4IM}$5$l$k(B preview-buffer $BCf$NNN0h$K$*(B
907 $B$$$F!"(B@var{point} $B$KBP1~$9$k(B part $B$N(B preview-content-info $B$rJV$9!#(B
908 @refill
909
910 @var{cinfo} $B$,>JN,$5$l$?>l9g$O!"(B@code{mime::preview/content-list} $B$,MQ$$(B
911 $B$i$l$k!#(B
912 @end defun
913
914
915
916 @node API, Concept Index, Two buffers for an article, Top
917 @chapter MIME message $B$N(B decode $B$K4X$9$k4X?t(B
918
919 tm-view $B$NDs6!$9$k4X?t$r3F(B MUA (@ref{(tm-ja)MUA}) $B$KAH$_9~$`;v$K$h$C$F!"(B
920 $B3F(B MUA $B$K(B MIME $B:F@85!G=$rIU2C$9$k;v$,$G$-$^$9!#(B@refill
921
922 tm-view $B$,3F(B MUA $B$KDs6!$9$k4X?t$O!"(BMIME preview $B$r9T$&$?$a$N4X?t(B
923 @code{mime/viewer-mode} $B$H(B encoded-word (@ref{(tm-ja)encoded-word}) $B$r(B
924 decode $B$9$k$?$a$N4X?t72$G$9!#(B
925
926
927 @menu
928 * API about MIME preview:: MIME preview $B$K4X$9$k4X?t(B
929 * encoded-word decoding:: encoded-word $B$NI|85(B
930 @end menu
931
932 @node API about MIME preview, encoded-word decoding, API, API
933 @section MIME preview $B$K4X$9$k4X?t(B
934
935
936 @deffn{Command} mime/viewer-mode &optional mother ctl encoding ibuf obuf mother-keymap
937
938 @var{ibuf} $B$r(B MIME message $B$H$7$F2r@O$7$F!"$=$NFbMF$r1\Mw$9$k$?$a$N(B
939 preview-buffer $B$r(B @var{obuf} $B$K:n@.$7!"(B@code{mime/viewer-mode}
940 (@ref{mime/viewer-mode})$B$KF~$j$^$9!#(B@refill
941
942 @var{ibuf} $B$,>JN,$5$l$?>l9g!"(Bcurrent buffer $B$rMQ$$$^$9!#(B@refill
943
944 @var{mother} $B$O!"2r@O$NBP>]$H$9$k(B raw-article-buffer $B$,(B message/partial
945 $B7A<0$NJ,3d$5$l$?(B message $B$r7k9g$7$F:n@.$7$?>l9g$J$I$K$*$1$k85$N(B buffer
946 $B$r;XDj$9$k$?$a$K;H$$$^$9!#(B@refill
947
948 @var{ctl} $B$O(B Content-Type field (@ref{(tm-ja)Content-Type field}) $B$N(B
949 field-body $B$r(B @code{mime/Content-Type} $B$N=PNO@5<0$K$7$?$b$N$rF~$l$^$9!#(B
950 $B$3$N0z?t$,$"$k>l9g!"(Braw-article-buffer $B$N(B Content-Type field $B$h$j$b$3$N(B
951 $B0z?t$rM%@h$7$^$9!#(B@refill
952
953 @var{encoding} $B$O(B Content-Transfer-Encoding field $B$N(B field-body $B$rF~$l$^(B
954 $B$9!#$3$N0z?t$,$"$k>l9g!"(Braw-article-buffer $B$N(B Content-Transfer-Encoding
955 field $B$h$j$b$3$N0z?t$rM%@h$7$^$9!#(B@refill
956
957 @var{mother-keymap} $B$,;XDj$5$l$?>l9g!"(B@code{mime/viewer-mode} $B$N(B keymap
958 $B$O$3$N(B keymap $B$K2C$($?$b$N$H$J$j$^$9!#(B
959 @end deffn
960
961
962
963 @node encoded-word decoding, , API about MIME preview, API
964 @section encoded-word $B$NI|85(B
965
966 tm-view $B$O(B RFC 1522 $B$G5,Dj$5$l$?(B encoded-word
967 (@ref{(tm-ja)encoded-word}) $B$r(B decode $B$9$k$?$a$N4X?t$r;}$C$F$$$^$9!#(B
968
969 @noindent
970 @strong{[Memo]}
971 @quotation
972 $B5l(B @file{tiny-mime.el} $B$K$"$C$?(B RFC 1522 encoded-word $B$r(B decode
973 $B$9$k$?$a$N4X?t72$O(B tm-view $B$K0z$-7Q$,$l$^$7$?!#(B
974 @end quotation
975
976
977
978 @deffn{Command} mime/decode-message-header
979
980 current buffer $B$N(B message header $BCf$N(B encoded-word $B$r(B decode $B$7$^$9!#(B
981 @refill
982
983 $B2u$l$F$$$?$j!"IT@5$@$C$?$j!"(Bdecode $B$G$-$J$$(B MIME charset
984 (@ref{(tm-ja)MIME charset}) $B$,MQ$$$i$l$F$$$k(B encoded-word $B$O(B decode $B$5$l(B
985 $B$:$=$N$^$^;D$5$l$^$9!#(B
986 @end deffn
987
988
989
990 @deffn{Command} mime-eword/decode-region start end &optional unfolding must-unfold
991
992 @var{start} $B$H(B @var{end} $B$G0O$^$l$?NN0hCf$N(B encoded-word $B$r(B decode $B$7$^(B
993 $B$9!#(B@refill
994
995 $B2u$l$F$$$?$j!"IT@5$@$C$?$j!"(Bdecode $B$G$-$J$$(B MIME charset
996 (@ref{(tm-ja)MIME charset}) $B$,MQ$$$i$l$F$$$k(B encoded-word $B$O(B decode $B$5$l(B
997 $B$:$=$N$^$^;D$5$l$^$9!#(B@refill
998
999 @var{unfolding} $B$,(B non-nil $B$N>l9g!"@^$jJV$5$l$?(B field $B$r(B unfolding $B$7$^(B
1000 $B$9!#(B@refill
1001
1002 @var{must-fold} $B$,(B non-nil $B$N>l9g!"(Bencoded-word $B$N(B decode $B7k2L$K@^$jJV$7!"(B
1003 $B$b$7$/$O!"2~9T$,4^$^$l$F$$$k>l9g!"(Bunfold $B$7!"2~9T$r=|$-$^$9!#(B
1004 @end deffn
1005
1006
1007
1008 @defun mime-eword/decode-string string &optional must-unfold
1009
1010 @var{string} $BCf$N(B encoded-word $B$r(B decode $B$7$?J8;zNs$rJV$7$^$9!#(B@refill
1011
1012 $B2u$l$F$$$?$j!"IT@5$@$C$?$j!"(Bdecode $B$G$-$J$$(B MIME charset
1013 (@ref{(tm-ja)MIME charset}) $B$,MQ$$$i$l$F$$$k(B encoded-word $B$O(B decode $B$5$l(B
1014 $B$:$=$N$^$^=PNO$5$l$^$9!#(B@refill
1015
1016 @var{string} $B$,@^$jJV$5$l$F$$$k>l9g!"(Bencoded-word $B$r(B decode $B$9$kA0$K(B
1017 @var{string} $B$O(B unfold $B$5$l$^$9!#(B@refill
1018
1019 @var{must-fold} $B$,(B non-nil $B$N>l9g!"(Bencoded-word $B$N(B decode $B7k2L$K@^$jJV$7!"(B
1020 $B$b$7$/$O!"2~9T$,4^$^$l$F$$$F$b!"$=$l$i$O(B unfold $B$5$lC1BN$N2~9TJ8;z$b<h$j(B
1021 $B=|$+$l$^$9!#(B
1022 @end defun
1023
1024
1025
1026 @node Concept Index, Function Index, API, Top
1027 @chapter $B35G0:w0z(B
1028
1029 @printindex cp
1030
1031 @node Function Index, Variable Index, Concept Index, Top
1032 @chapter $B4X?t:w0z(B
1033
1034 @printindex fn
1035
1036 @node Variable Index, , Function Index, Top
1037 @chapter $BJQ?t:w0z(B
1038
1039 @printindex vr
1040 @bye