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