update cvs development method.
[elisp/flim.git] / mime-ja.sgml
1 <!doctype sinfo system>
2 <head>
3 <title>FLIM 1.12 MIME \e$B5!G=@bL@=q\e(B
4 <author>\e$B<i2,\e(B \e$BCNI'\e(B <mail>morioka@jaist.ac.jp</mail>
5 <date>1999-01-27
6
7 <toc>
8 </head>
9
10 <body>
11
12 <abstract>
13 <p>
14 This file documents MIME features of FLIM, a fundamental library to
15 process Internet Messages for GNU Emacsen.
16 <p>
17 GNU Emacsen \e$BMQ$N\e(B Internet Message \e$B=hM}$N$?$a$N4pAC\e(B library \e$B$G$"$k\e(B FLIM 
18 \e$B$N\e(B MIME \e$B5!G=$K4X$7$F@bL@$7$^$9!#\e(B
19 </abstract>
20
21
22 <h1> FLIM \e$B$C$F2?!)\e(B
23 <node> Introduction
24 <p>
25 FLIM \e$B$O\e(B Internet Message \e$B$NI=8=$dId9f2=$K4X$9$k4pACE*$J5!G=$rDs6!$9$k\e(B
26 \e$B$?$a$N\e(B library \e$B$G$9!#\e(B
27
28
29 <h1> FLIM \e$B$N\e(B MIME \e$B5!G=$N;H$$J}\e(B
30 <node> How to use
31 <p>
32 FLIM \e$B$NDs6!$9$k\e(B MIME \e$B5!G=$r;H$&$?$a$K$O\e(B
33
34 <lisp>
35 (require 'mime)
36 </lisp>
37
38 <noindent>\e$B$rI>2A$7$F$/$@$5$$!#\e(B
39
40
41 <h1> Message \e$B$H\e(B Entity
42 <node> Entity
43 <p>
44 <dref>RFC 2045</dref> \e$B$K$h$l$P!"!V\e(BEntity \e$B$H$$$&8l$O!"\e(Bmessage, \e$B$b$7$/$O!"\e(B
45 multipart entity \e$B$N\e(B body \e$BCf$N#1$D$NItJ,$N!"\e(BMIME \e$B$GDj5A$5$l$?\e(B header
46 field \e$B$HFbMF$r;X$9!W$H$J$C$F$$$^$9!#$3$3$G$O!"\e(BMIME \e$B$GDj5A$5$l$?\e(B header
47 field \e$B0J30$NA4$F$N\e(B header \e$B$H\e(B body \e$B$r;X$98l$H$7$F\e(B 
48 <concept>entity</concept>\e$B$rMQ$$$k$3$H$K$7$^$9!#\e(B
49 <p>
50 RFC 2045 \e$B$NDj5A$O!"\e(BMIME message \e$B$,\e(B entity \e$B$r@a$H$9$kLZ9=B$$G$"$k$3$H$r\e(B
51 \e$B<($7$F$$$^$9!#$D$^$j!"\e(BMIME \e$B$O\e(B message \e$B$rLZ9=B$$K3HD%$7$?Lu$G$9!#\e(B
52 <p>
53 FLIM \e$B$O\e(B entity \e$B$N>pJs$rI=8=$9$k$?$a$K\e(B<concept>mime-entity</concept> \e$B9=\e(B
54 \e$BB$BN$rMQ$$$^$9!#0J2<$G$OC1$K\e(B mime-entity \e$B$H8F$V$3$H$K$7$^$9!#\e(B
55
56
57 <h2> Entity \e$B$N@8@.\e(B
58 <node> Entity creation
59 <p>
60 <defun name="mime-open-entity">
61           <opts> type location
62 <p>
63 Entity \e$B$r3+$$$F!"$=$l$rJV$7$^$9!#\e(B
64 <p>
65 <var>type</var> \e$B$O\e(B representation-type \e$B$G$9!#\e(B <cf node="mm-backend">
66 <p>
67 <var>location</var> \e$B$O\e(B entity \e$B$N0LCV$G$9!#;XDjJ}K!$O\e(B
68 representation-type \e$B$K0M$C$FJQ$o$j$^$9!#\e(B
69 </defun>
70
71 <defun name="mime-parse-buffer">
72           <opts> buffer type
73 <p>
74 <var>buffer</var> \e$B$r\e(B message \e$B$H$7$F9=J82r@O$7!"$=$N7k2L$N\e(B mime-entity 
75 \e$B$r\e(B <var>buffer</var> \e$B$N\e(B<code>mime-message-structure</code> \e$B$K3JG<$9$k!#\e(B
76 <p>
77 <var>buffer</var> \e$B$,>JN,$5$l$?>l9g!"8=:_$N\e(B buffer \e$B$r9=J82r@O$9$k!#\e(B
78 <p>
79 <var>type</var> \e$B$,;XDj$5$l$?>l9g!"$=$NCM$r@8@.$5$l$k\e(B mime-entity \e$B$NI=\e(B
80 \e$B>]7?$H$7$FMQ$$$k!#>JN,$5$l$?>l9g$O\e(B <var>buffer</var> \e$B$H$J$k!#\e(B<cf
81 node="mm-backend">
82 </defun>
83
84
85 <h2> Entity \e$B3,AX\e(B
86 <node> Entity hierarchy
87 <p>
88 MIME message \e$B$O\e(B entity \e$B$rC10L$H$9$kLZ9=B$$K$J$C$F$$$^$9!#\e(B
89 <p>
90 \e$B$3$NLZ$K$*$$$F:,$H$J$k@a$O\e(B message \e$BA4BN$rI=$9\e(B entity \e$B$G$9!#$3$3$G$O!"\e(B
91 \e$B$3$l$r\e(B <concept>root-entity</concept> \e$B$b$7$/$O\e(B
92 <concept>message</concept> \e$B$H8F$S$^$9!#\e(B
93 <p>
94 root-entity \e$B0J30$N\e(B entity \e$B$O?F$r;}$A$^$9!#$^$?!"\e(Bentity \e$B$O;R6!$r;}$D$+\e(B
95 \e$B$bCN$l$^$;$s!#$3$N?F;R4X78$r9M$($k$3$H$G\e(B entity \e$B$NAjBP4X78$r07$&$3$H$,\e(B
96 \e$B$G$-$^$9!#\e(B
97 <p>
98 \e$B0lJ}!"\e(Bentity \e$B$N\e(B message \e$B$K$*$1$k0LCV$r9M$($k$3$H$b$G$-$^$9!#\e(B
99 <p>
100 entity \e$B$O$3$NLZ$K$*$1$k@a$H$J$j$^$9$,!"$3$NLZ$K$O?<$5$HF1$8?<$5$NCf$N\e(B
101 \e$B=gHV$K=>$C$FHV9f$,IU$1$k$3$H$,$G$-$^$9!#B($A!"\e(B
102 <verb>
103
104                               \e$B(#(!(!(!($\e(B
105                               \e$B("\e(B  nil \e$B("\e(B
106                               \e$B(&(!(((!(%\e(B
107               \e$B(#(!(!(!(!(!(!(!(!(!(+(!(!(!(!(!(!(!(!(!($\e(B
108             \e$B(#(*($\e(B              \e$B(#(*($\e(B              \e$B(#(*($\e(B
109             \e$B("#0("\e(B              \e$B("#1("\e(B              \e$B("#2("\e(B
110             \e$B(&(((%\e(B              \e$B(&(((%\e(B              \e$B(&(((%\e(B
111               \e$B("\e(B        \e$B(#(!(!(!(!(+(!(!(!(!($\e(B        \e$B("\e(B
112           \e$B(#(!(*(!($(#(!(*(!($(#(!(*(!($(#(!(*(!($(#(!(*(!($\e(B
113           \e$B("\e(B \e$B#0\e(B.\e$B#0("("\e(B \e$B#1\e(B.\e$B#0("("\e(B \e$B#1\e(B.\e$B#1("("\e(B \e$B#1\e(B.\e$B#2("("\e(B \e$B#2\e(B.\e$B#0("\e(B
114           \e$B(&(!(!(!(%(&(!(!(!(%(&(!(!(!(%(&(!(!(!(%(&(!(!(!(%\e(B
115
116 </verb>
117 <p>
118 <noindent>\e$B$N$h$&$K?<$5\e(B n \e$B$N@a$K$OD9$5\e(B n \e$B$N@0?tNs$N@aHV9f$,?6$l$^$9!#$3$l\e(B
119 \e$B$r\e(B <concept>entity-number</concept> \e$B$H8F$S$^$9!#\e(Bentity-number \e$B$O\e(B S \e$B<0$H\e(B
120 \e$B$7$F$O\e(B <code>(1 2 3)</code> \e$B$N$h$&$J@0?t$N%j%9%H$H$7$FI=8=$5$l$^$9!#\e(B
121 <p>
122 mime-entity \e$B$G$O!"$3$l$HF1MM$N\e(B <concept>node-id</concept> \e$B$rMQ$$$^$9!#\e(B
123 node-id \e$B$O$A$g$&$I\e(B entity-number \e$B$r5U$K$7$?%j%9%H$G!"\e(Bentity-number
124 1.2.3 \e$B$KBP1~$9$k\e(B node-id \e$B$O\e(B <code>(3 2 1)</code> \e$B$G$9!#\e(B
125 <p>
126 \e$BA0=R$N$h$&$K!"\e(BMIME message \e$B$O\e(B entity \e$B$rC10L$H$7$?LZ9=B$$K$J$C$F$$$k$N$G!"\e(B
127 \e$B$3$N:,$G$"$k\e(B message \e$BA4BN$b\e(B mime-entity \e$B$GI=8=$9$k$3$H$,$G$-!"\e(Bbuffer
128 local \e$BJQ?t\e(B <code>mime-message-structure</code> \e$B$K3JG<$9$k$3$H$K$7$^$9!#\e(B
129 <p>
130 <code>mime-message-structure</code> \e$B$r5/E@$K\e(B entity-number \e$B$d\e(B node-id 
131 \e$B$G<($5$l$k\e(B entity \e$B$r<h$j=P$9$3$H$,$G$-$^$9!#\e(B
132
133 <defvar name="mime-message-structure">
134 <p>
135 \e$B8=:_$N\e(B buffer \e$B$K$*$1$k\e(B message \e$BA4BN$N\e(B mime-entity \e$B9=B$BN$r3JG<$9$k\e(B
136 buffer local \e$BJQ?t!#\e(B
137 </defvar>
138
139 <defun name="mime-entity-children">
140           <args> entity
141 <p>
142 <var>entity</var> \e$B$K4^$^$l$k\e(B entity \e$B$N\e(B list \e$B$rJV$9!#\e(B
143 </defun>
144
145 <defun name="mime-entity-parent">
146           <args> entity <opts> message
147 <p>
148 <var>entity</var> \e$B$N?F$N\e(B entity \e$B$rJV$9!#\e(B
149 <p>
150 <var>message</var> \e$B$,;XDj$5$l$?>l9g!"$3$l$r:,$H8+Jo$9!#\e(B
151 </defun>
152
153 <defun name="mime-root-entity-p">
154           <args> entity
155 <p>
156 <var>entity</var> \e$B$,:,!JB($A!"\e(Bmessage \e$BA4BN!K$G$"$k>l9g$K!"\e(B
157 \e$BHs\e(B-<code>nil</code> \e$B$rJV$9!#\e(B
158 </defun>
159
160 <defun name="mime-entity-node-id">
161           <args> entity
162 <p>
163 <var>entity</var> \e$B$N\e(B node-id \e$B$rJV$9!#\e(B
164 </defun>
165
166 <defun name="mime-entity-number">
167           <args> entity
168 <p>
169 <var>entity</var> \e$B$N\e(B entity-number \e$B$rJV$9!#\e(B
170 </defun>
171
172
173 <h2> Entity \e$B$N8!:w\e(B
174 <node> Entity Search
175 <p>
176 <defun name="mime-find-entity-from-number">
177             <args> entity-number <opts> message
178 <p>
179 <var>message</var> \e$B$+$i!"\e(B<var>enity-number</var> \e$B$N\e(B entity \e$B$rJV$7$^$9!#\e(B
180 <p>
181 <var>message</var> \e$B$,;XDj$5$l$F$$$J$$>l9g$O!"\e(B
182 <code>mime-message-structrue</code> \e$B$,;H$o$l$^$9!#\e(B
183 </defun>
184
185 <defun name="mime-find-entity-from-node-id">
186             <args> entity-node-id <opts> message
187 <p>
188 <var>message</var> \e$B$+$i!"\e(B<var>entity-node-id</var> \e$B$N\e(B entity \e$B$rJV$7$^\e(B
189 \e$B$9!#\e(B
190 <p>
191 <var>message</var> \e$B$,;XDj$5$l$F$$$J$$>l9g$O!"\e(B
192 <code>mime-message-structure</code> \e$B$,;H$o$l$^$9!#\e(B
193 </defun>
194
195 <defun name="mime-find-entity-from-content-id">
196             <args> cid <opts> message
197 <p>
198 <var>message</var> \e$B$+$i!"\e(B<var>cid</var> \e$B$N\e(B entity \e$B$rJV$7$^$9!#\e(B
199 <p>
200 <var>message</var> \e$B$,;XDj$5$l$F$$$J$$>l9g$O!"\e(B
201 <code>mime-message-structure</code> \e$B$,;H$o$l$^$9!#\e(B
202 </defun>
203
204
205 <h2> Entity \e$B$NB0@-\e(B
206 <node> Entity Attributes
207 <p>
208 <defun name="mime-entity-content-type">
209             <args> entity
210 <p>
211 <var>entity</var> \e$B$N\e(B content-type \e$B$rJV$9!#\e(B<cf
212 node="mime-content-type">
213 </defun>
214
215 <defun name="mime-entity-content-disposition">
216             <args> entity
217 <p>
218 <var>entity</var> \e$B$N\e(B content-disposition \e$B$rJV$9!#\e(B<cf
219 node="mime-content-disposition">
220 </defun>
221
222 <defun name="mime-entity-filename">
223             <args> entity
224 <p>
225 <var>entity</var> \e$B$N\e(B file \e$BL>$rJV$9!#\e(B
226 </defun>
227
228 <defun name="mime-entity-encoding">
229             <args> entity <opts> default-encoding
230 <p>
231 <var>entity</var> \e$B$N\e(B content-transfer-encoding \e$B$rJV$9!#\e(B<cf
232 node="Content-Transfer-Encoding">
233 <p>
234 \e$B$b$7!"\e(B<var>entity</var> \e$B$K\e(B Content-Transfer-Encoding \e$BMs$,B8:_$7$J$$>l\e(B
235 \e$B9g$O!"\e(B<var>default-encoding</var> \e$B$rJV$9!#$3$l$,;XDj$5$l$J$$>l9g$O!"\e(B
236 <code>"7bit"</code> \e$B$rMQ$$$k!#\e(B
237 </defun>
238
239 <defun name="mime-entity-cooked-p">
240             <args> entity
241 <p>
242 <var>entity</var> \e$B$NFbMF$,4{$K%3!<%IJQ49$5$l$F$$$k>l9g$O\e(B nil \e$B$GL5$$CM\e(B
243 \e$B$rJV$9!#\e(B
244 </defun>
245
246
247 <h2> Entity header \e$B$N>pJs\e(B
248 <node> Entity-header
249 <p>
250 <defun name="mime-fetch-field">
251             <args> field-name <opts> entity
252 <p>
253 <var>entity</var> \e$B$N\e(B header \e$BCf$N\e(B <var>field-name</var> \e$BMs$N\e(B body \e$B$rJV$9!#\e(B
254 <p>
255 \e$B7k2L$NJ8;zNs$O\e(B network \e$BI=8=$N$^$^$G$"$k!#\e(B
256 <p>
257 <var>entity</var> \e$B$,>JN,$5$l$?>l9g$O!"\e(B
258 <code>mime-message-structure</code> \e$B$NCM$rMQ$$$k!#\e(B
259 <p>
260 <var>field-name</var> \e$BMs$,B8:_$7$J$$>l9g$O\e(B <code>nil</code> \e$B$rJV$9!#\e(B
261 </defun>
262
263 <defun name="mime-read-field">
264             <args> field-name <opts> entity
265 <p>
266 <var>entity</var> \e$B$N\e(B header \e$BCf$N\e(B <var>field-name</var> \e$BMs$r9=J82r@O$7$?\e(B
267 \e$B7k2L$rJV$9!#\e(B
268 <p>
269 \e$B7k2L$N7A<0$OMsKh$K0[$J$k!#Hs9=B$2=Ms$N>l9g$OJ8;zNs$rJV$7!"9=B$2=Ms$N>l9g\e(B
270 \e$B$O$=$N7A<0$K=>$C$?\e(B list \e$B$rJV$9!#\e(B
271 <p>
272 \e$B7k2LCf$NJ8;zNs$O\e(B Emacs \e$B$NFbItI=8=$KJQ49$5$l$k!#\e(B
273 <p>
274 <var>entity</var> \e$B$,>JN,$5$l$?>l9g$O!"\e(B
275 <code>mime-message-structure</code> \e$B$NCM$rMQ$$$k!#\e(B
276 <p>
277 <var>field-name</var> \e$BMs$,B8:_$7$J$$>l9g$O\e(B nil \e$B$rJV$9!#\e(B
278 </defun>
279
280
281 <h2> Entity \e$B$NJ8;zI=8=\e(B
282 <node> entity formatting
283 <p>
284 <defun name="mime-insert-header">
285             <args> entity <opts> invisible-fields visible-fields
286 <p>
287 \e$B8=:_0LCV$K\e(B <var>entity</var> \e$B$NI|9f$7$?\e(B header \e$B$rA^F~$9$k!#\e(B
288 <p>
289 <var>invisible-fields</var> \e$B$H\e(B <var>visible-fields</var> \e$B$O@55,I=8=$N\e(B
290 list \e$B$G!"$=$l$>$l!"I=<($7$?$/$J$$\e(B field \e$BL>$HI=<($7$?$$MsL>$rI=8=$7$?$b$N\e(B
291 \e$B$G$"$k!#\e(B
292 <p>
293 <var>invisible-fields</var> \e$B$NMWAG$N$I$l$+$K\e(B match \e$B$7!"$+$D!"\e(B
294 <var>visible-fields</var> \e$B$NMWAG$N$I$l$K$b\e(B match \e$B$7$J$$Ms$OI=<($5$l$J\e(B
295 \e$B$$!#\e(B
296 <p>
297 <dref>encoded-word</dref> \e$B$OI|9f$5$l$k!#!X@8$NHs\e(B us-ascii \e$BJ8;z!Y$O\e(B 
298 <code>default-mime-charset</code> \e$B$H$7$F2r<a$5$l$k!#\e(B
299 </defun>
300
301 <defun name="mime-insert-text-content">
302             <args> entity
303 <p>
304 point \e$B$NA0$K\e(B <var>entity</var> \e$B$r\e(B text entity \e$B$H$7$FA^F~$7$^$9!#\e(B
305 <p>
306 <var>entity</var> \e$B$NFbMF$O\e(B <dref>MIME charset</dref> \e$B$H$7$FI|9f2=$5$l\e(B
307 \e$B$^$9!#\e(B<var>entity</var> \e$B$N\e(B Content-Type field \e$B$K\e(B charset paramter \e$B$,L5\e(B
308 \e$B$$$H!"\e(B<code>default-mime-charset</code> \e$B$,=i4|CM$H$7$F;H$o$l$^$9!#\e(B
309 </defun>
310
311 <defvar name="default-mime-charset">
312 <p>
313 \e$BE,@Z$J\e(B <dref>MIME charset</dref> \e$B$,8+$D$+$i$J$+$C$?>l9g$KMQ$$$i$l$k\e(B
314 MIME charset.
315 <p>
316 \e$BK\Mh$O\e(B APEL \e$B$NJQ?t$G$"$k!#\e(B
317 </defvar>
318
319
320 <h2> Entity \e$B$NFbMF\e(B
321 <node> Entity-content
322 <p>
323 <defun name="mime-entity-content">
324             <args> entity
325 <p>
326 <var>entity</var> \e$B$NFbMF$N\e(B byte \e$BNs$rJV$9!#\e(B
327 </defun>
328
329 <defun name="mime-insert-entity-content">
330             <args> entity
331 <p>
332 point \e$B$N0LCV$K\e(B <var>entity</var> \e$B$NFbMF$rA^F~$7$^$9!#\e(B
333 </defun>
334
335 <defun name="mime-write-entity-content">
336             <args> entity filename
337 <p>
338 <var>entity</var> \e$B$NFbMF$r\e(B <var>filename</var> \e$B$K=q$-9~$_$^$9!#\e(B
339 </defun>
340
341
342 <h2> Entity \e$B$N%M%C%H%o!<%/I=8=\e(B
343 <node> Entity-network-representation
344 <p>
345 <defun name="mime-insert-entity">
346             <args> entity
347 <p>
348 <var>entity</var> \e$B$N\e(B header \e$B$H\e(B body \e$B$r\e(B point \e$B$N$H$3$m$KA^F~$7$^$9!#\e(B
349 </defun>
350
351 <defun name="mime-write-entity">
352             <args> entity filename
353 <p>
354 <var>entity</var> \e$B$NI=8=$r\e(B <var>filename</var> \e$B$K=q$-9~$_$^$9!#\e(B
355 </defun>
356
357 <defun name="mime-write-entity-body">
358             <args> entity filename
359 <p>
360 <var>entity</var> \e$B$N\e(B body \e$B$r\e(B <var>filename</var> \e$B$K=q$-9~$_$^$9!#\e(B
361 </defun>
362
363
364 <h2> Entity \e$B$N\e(B buffer \e$B$K$h$kI=8=\e(B
365 <node> Entity buffer
366 <p>
367 <defun name="mime-entity-buffer">
368             <args> entity
369 <p>
370 <var>entity</var> \e$B$,B8:_$9$k\e(B buffer \e$B$rJV$9!#\e(B
371 </defun>
372
373 <defun name="mime-entity-point-min">
374             <args> entity
375 <p>
376 <var>entity</var> \e$B$,B8:_$9$k\e(B buffer \e$B$K$*$1$k!"\e(B<var>entity</var> \e$B$,@j$a$k\e(B
377 \e$BNN0h$N@hF,0LCV$rJV$9!#\e(B
378 </defun>
379
380 <defun name="mime-entity-point-max">
381             <args> entity
382 <p>
383 <var>entity</var> \e$B$,B8:_$9$k\e(B buffer \e$B$K$*$1$k!"\e(B<var>entity</var> \e$B$,@j$a$k\e(B
384 \e$BNN0h$NKvHx0LCV$rJV$9!#\e(B
385 </defun>
386
387 <defun name="mime-entity-header-start">
388             <args> entity
389 <p>
390 <var>entity</var> \e$B$,B8:_$9$k\e(B buffer \e$B$K$*$1$k!"\e(Bheader \e$B$,@j$a$kNN0h$N@hF,\e(B
391 \e$B0LCV$rJV$9!#\e(B
392 </defun>
393
394 <defun name="mime-entity-header-end">
395             <args> entity
396 <p>
397 <var>entity</var> \e$B$,B8:_$9$k\e(B buffer \e$B$K$*$1$k!"\e(Bheader \e$B$,@j$a$kNN0h$NKvHx\e(B
398 \e$B0LCV$rJV$9!#\e(B
399 </defun>
400
401 <defun name="mime-entity-body-start">
402             <args> entity
403 <p>
404 <var>entity</var> \e$B$,B8:_$9$k\e(B buffer \e$B$K$*$1$k!"\e(Bbody \e$B$,@j$a$kNN0h$N@hF,0L\e(B
405 \e$BCV$rJV$9!#\e(B
406 </defun>
407
408 <defun name="mime-entity-body-end">
409             <args> entity
410 <p>
411 <var>entity</var> \e$B$,B8:_$9$k\e(B buffer \e$B$K$*$1$k!"\e(Bbody \e$B$,@j$a$kNN0h$NKvHx0L\e(B
412 \e$BCV$rJV$9!#\e(B
413 </defun>
414
415
416 <h2> Entity \e$B$NI=8=$H<B8=\e(B
417 <node> mm-backend
418 <p>
419 Entity \e$B$OCj>]2=$5$l$?%G!<%?I=8=$G!"<B:]$N%G!<%?I=8=$H$7$F$OMQES$K1~$8$F\e(B
420 \e$B$5$^$6$^$J$b$N$,MxMQ$G$-$k$h$&$K@_7W$5$l$F$$$^$9!#\e(B
421 <p>
422 \e$B$3$3$G!"\e(Bentity \e$B$,$I$&$$$&<oN`$NI=8=$r9T$C$F$$$k$+$r<($9$N$,\e(B
423 <concept>representation-type</concept> \e$B$G!"\e(Bentity \e$B$r@8@.$9$k;~$K$O$3$l$r\e(B
424 \e$B;XDj$7$^$9!#\e(B<cf node="Entity Creation">
425 <p>
426 \e$BA0@a$^$G$K=R$Y$FMh$?\e(B entity \e$B$KBP$9$k=hM}$O!"\e(Bentity \e$B$KBP$7$F$=$N=hM}$r0M\e(B
427 \e$BMj$9$k$3$H$K$h$C$F<B8=$5$l$F$$$^$9!#\e(BEntity \e$B$O<+J,$N\e(B 
428 representation-type \e$B$rCN$C$F$*$j!"$=$N\e(B representation-type \e$B$K1~$8$F<B:]\e(B
429 \e$B$N=hM}$r9T$&4X?t$r8F$S=P$7$^$9!#$3$N$h$&$J4X?t$r\e(B <concept>entity \e$B=hM}\e(B
430 method</concept> \e$B$H8F$S$^$9!#$^$?!"\e(Brepresentation-type \e$BKh$K$3$N$h$&$J4X\e(B
431 \e$B?t$r$^$H$a$?$b$N$r\e(B <concept>mm-backend</concept> \e$B$H8F$S$^$9!#\e(B
432 <p>
433 mm-backend \e$B$O\e(B representation-type \e$B$NL>A0$N@hF,$K\e(B <code>mm</code> \e$B$H$$$&\e(B
434 \e$B@\F,<-$rIU$1$?4X?tL>$+$i$J$k\e(B module \e$B$G!"$=$N\e(B module \e$BL>$OF1MM$K\e(B
435 representation-type \e$B$NL>A0$N@hF,$K\e(B <code>mm</code> \e$B$rIU$1$?$b$N$K$J$C$F\e(B
436 \e$B$$$^$9!#$3$N\e(B module \e$B$O\e(B representation-type \e$B$N\e(B entity \e$B$,:G=i$K@8@.$5$l$k\e(B
437 \e$B;~$K<+F0E*$K\e(B require \e$B$5$l$^$9!#\e(B
438
439
440 <h3> Entity \e$B$X$NJX$j\e(B
441 <node> Request for entity
442 <p>
443 <defun name="mime-entity-send">
444               <args> entity message <rest> args
445 <p>
446 <var>entity</var> \e$B$K\e(B <var>message</var> \e$B$rAw$k!#\e(B
447 <p>
448 <var>args</var> \e$B$O\e(B <var>message</var> \e$B$N0z?t$G$"$k!#\e(B
449 </defun>
450
451
452 <h3> mm-backend \e$B$N:n$jJ}\e(B
453 <node> mm-backend module
454 <p>
455 <defmacro name="mm-define-backend">
456 <args> type
457 <opts> parents
458 <p>
459 <var>type</var> \e$B$r\e(B mm-backend \e$B$H$7$FDj5A$7$^$9!#\e(B
460 <p>
461 <var>PARENTS</var> \e$B$,;XDj$5$l$F$$$k>l9g$O!"\e(B<var>type</var> \e$B$O\e(B prents
462 \e$B$r7Q>5$7$^$9!#$=$l$>$l$N\e(B parent \e$B$O\e(B representation-type \e$B$G$"$kI,MW$,$"\e(B
463 \e$B$j$^$9!#\e(B
464 <p>
465 \e$BNc\e(B:
466 <p>
467 <lisp>
468 (mm-define-backend chao (generic))
469 </lisp>
470 </defmacro>
471
472 <defmacro name="mm-define-method">
473 <args> name args <rest> body
474 <p>
475 <var>name</var> \e$B$r\e(B (nth 1 (car <var>args</var>)) backend \e$B$N\e(B method \e$B4X\e(B
476 \e$B?t$H$7$FDj5A$7$^$9!#\e(B
477 <p>
478 <var>args</var> \e$B$O\e(B lambda \e$B$N0z?t%j%9%H$N$h$&$J$b$N$G$9$,!"\e(B(car
479 <var>args</var>) \e$B$O;XDj$5$l$?\e(B parameter \e$B$G$"$kI,MW$,$"$j$^$9!#\e(B(car
480 (car <var>args</var>)) \e$B$OJQ?t$NL>A0$G!"\e(B(nth 1 (car <var>args</var>))
481 \e$B$O\e(B backend \e$B$NL>A0\e(B (representation-type) \e$B$G$9!#\e(B
482 <p>
483 \e$BNc\e(B:
484 <p>
485 <lisp>
486 (mm-define-method entity-cooked-p ((entity chao)) nil)
487 </lisp>
488 </defmacro>
489
490
491 <h1> Content-Type \e$BMs$N>pJs\e(B
492 <node> Content-Type
493 <p>
494 <concept>Content-Type \e$BMs\e(B</concept> \e$B$O\e(B <dref>media-type</dref> \e$B$d\e(B MIME
495 charset \e$B$H$$$C$?\e(B <dref>entity</dref> \e$B$NFbMF$N<oN`$dI=8=7A<0$J$I$r5-=R\e(B
496 \e$B$9$k$?$a$N$b$N$G!"\e(B<dref>RFC 2045</dref> \e$B$GDj5A$5$l$F$$$^$9!#\e(B
497
498 <memo>
499 <p>
500 \e$BNr;KE*$K$O\e(B RFC 1049 \e$B$G\e(B Content-Type \e$BMs$,Ds0F$5$l$F$$$k!#C"$7!"\e(BMIME \e$B$N\e(B
501 media-type \e$B$N$h$&$J\e(B type \e$B$H\e(B subtype \e$B$N6hJL$O$J$/!"\e(BMIME charset \e$B$N$h$&\e(B
502 \e$B$JJ8;zId9f$N<oN`$rI=8=$9$k$3$H$b$G$-$J$$!#\e(B
503 </memo>
504
505 <p>
506 FLIM \e$B$O\e(B Content-Type \e$BMs$r9=J82r@O$9$k4X?t$H\e(B Content-Type \e$BMs$N2r@O7k2L$r\e(B
507 \e$B3JG<$9$k9=B$BN\e(B <concept>mime-content-type</concept> \e$B$rDs6!$7$^$9!#\e(B
508
509
510 <h2> Content-Type \e$BMs$N7A<0\e(B
511 <node> Content-Type field
512 <p>
513 Content-Type \e$BMs$N7A<0$O0J2<$N$h$&$KDj5A$5$l$F$$$^$9!'\e(B
514
515 <quote>
516 ``Content-Type'' ``:'' <concept>type</concept> ``/''
517 <concept>subtype</concept> *( ``;'' <concept>parameter</concept> )
518 </quote>
519 <p>
520 \e$BNc$($P!"\e(B
521
522 <quote>
523 <verb>
524 Content-Type: image/jpeg
525 </verb>
526 </quote>
527
528 <noindent>
529 \e$B$d\e(B
530
531 <quote>
532 <verb>
533 Content-Type: text/plain; charset=iso-2022-jp
534 </verb>
535 </quote>
536
537 <noindent>
538 \e$B$J$I$N$h$&$KMQ$$$i$l$^$9!#\e(B
539 <p>
540 \e$B$3$3$G!"\e(B`type' \e$B$H\e(B `subtype' \e$B$O\e(B entity \e$B$N7A<0$r<($9$b$N$G!"N><T$rAm>N$7\e(B
541 \e$B$F!"\e(B`media-type' \e$B$H8F$V$3$H$K$7$^$9!#>e5-$NNc$K$*$1$k\e(B `image/jpeg' \e$B$d\e(B
542 `text/plain' \e$B$O\e(B media-type \e$B$N#1$D$G$9!#\e(B
543
544 <memo>
545 <p>
546 Content-Type \e$BMs$N$J$$\e(B entity \e$B$O\e(B
547
548 <quote>
549 <verb>
550 Content-Type: text/plain; charset=us-ascii
551 </verb>
552 </quote>
553
554 <noindent>
555 \e$B$H$7$F2r<a$5$l$k!#\e(B<cf node="us-ascii">
556 </memo>
557
558
559 <h2> mime-content-type \e$B9=B$BN\e(B
560 <node> mime-content-type
561 <p>
562 <define type="Structure" name="mime-content-type">
563 <p>
564 Content-Type \e$BMs$N>pJs$r3JG<$9$k$?$a$N9=B$BN!#\e(B
565 <p>
566 \e$B$3$N9=B$BN$r;2>H$9$k$K$O\e(B <code>mime-content-type-\e$BMWAGL>\e(B</code> \e$B$H$$$&L>\e(B
567 \e$BA0$N;2>H4X?t$rMQ$$$k!#\e(B
568 <p>
569 \e$B$3$N9=B$BN$NMWAG$O0J2<$NDL$j$G$"$k!'\e(B
570
571 <vl>
572 <dt>primary-type<dd>media-type \e$B$N<g7?\e(B (symbol).
573 </dd>
574 <dt>subtype<dd>media-type \e$B$NI{7?\e(B (symbol).
575 </dd>
576 <dt>parameters<dd>Content-Type \e$BMs$N\e(B parameter (\e$BO"A[\e(B list).
577 </dd>
578 </vl>
579 </define>
580
581 <defun name="make-mime-content-type">
582           <args> type subtype
583           <opts> parameters
584 <p>content-type \e$B$N@8@.;R!#\e(B
585 </defun>
586
587 <defun name="mime-content-type-parameter">
588 <args> content-type parameter
589 <p>
590 <var>content-type</var> \e$B$N\e(B <var>parameter</var> \e$B$NCM$rJV$9!#\e(B
591 </defun>
592
593
594 <h2> Content-Type \e$BMs$N2r@O4o\e(B
595 <node> Content-Type parser
596 <p>
597 <defun name="mime-parse-Content-Type">
598           <args> string
599 <p>
600 <var>string</var> \e$B$r\e(B content-type \e$B$H$7$F2r@O$7$?7k2L$rJV$9!#\e(B
601 </defun>
602
603 <defun name="mime-read-Content-Type">
604 <p>
605 \e$B8=:_$N\e(B buffer \e$B$N\e(B Content-Type \e$BMs$rFI$_<h$j!"2r@O$7$?7k2L$rJV$9!#\e(B
606 <p>
607 Content-Type \e$BMs$,B8:_$7$J$$>l9g$O\e(B nil \e$B$rJV$9!#\e(B
608 </defun>
609
610
611 <h2> Content-Type \e$B$K4X$9$kM-MQ$J4X?t\e(B
612 <node> Content-Type utility
613 <p>
614 <defun name="mime-type/subtype-string">
615           <args> type <opts> subtype
616 <p>
617 <var>type</var> \e$B$H\e(B <var>subtype</var> \e$B$+$i\e(B type/subtype \e$B7A<0$NJ8;zNs$rJV\e(B
618 \e$B$9!#\e(B
619 </defun>
620
621
622 <h1> Content-Disposition \e$BMs$N>pJs\e(B
623 <node> Content-Disposition
624 <p>
625 <concept>Content-Disposition \e$BMs\e(B</concept> \e$B$O\e(B entity \e$B$NI=<($d\e(B file \e$BL>$J$I\e(B
626 \e$B$NB0@-$K$J$I$K4X$9$k>pJs$r5-=R$9$k$?$a$N$b$N$G$9!#\e(B
627
628 <rfc number="2183" type="Standards Track"
629               author="S. Dorner, K. Moore and R. Troost"
630               title="Communicating Presentation Information in
631               Internet Messages: The Content-Disposition Header"
632               date="August 1997">
633 <p>
634 FLIM \e$B$O\e(B Content-Disposition \e$BMs$r9=J82r@O$9$k4X?t$H\e(B Content-Disposition 
635 \e$BMs$N2r@O7k2L$r3JG<$9$k9=B$BN\e(B 
636 <concept>mime-content-disposition</concept> \e$B$rDs6!$7$^$9!#\e(B
637
638
639 <h2> mime-content-disposition \e$B9=B$BN\e(B
640 <node> mime-content-disposition
641 <p>
642 <define type="Structure" name="mime-content-disposition">
643 <p>
644 Content-Disposition \e$BMs$N2r@O7k2L$r<}$a$k$?$a$N9=B$BN!#\e(B
645 <p>
646 \e$B$3$N9=B$BN$r;2>H$9$k$K$O\e(B <code>mime-content-disposition-\e$BMWAGL>\e(B</code> \e$B$H\e(B
647 \e$B$$$&L>A0$N;2>H4X?t$rMQ$$$k!#\e(B
648 <p>
649 \e$B$3$N9=B$BN$NMWAG$O0J2<$NDL$j$G$"$k!'\e(B
650
651 <vl>
652 <dt>disposition-type<dd>disposition-type (symbol).
653 </dd>
654 <dt>parameters<dd>Content-Disposition \e$BMs$N\e(B parameter (\e$BO"A[\e(B list).
655 </dd>
656 </vl>
657 </define>
658
659 <defun name="mime-content-disposition-parameter">
660 <args> content-disposition parameter
661 <p>
662 <var>content-disposition</var> \e$B$N\e(B <var>parameter</var> \e$B$NCM$rJV$9!#\e(B
663 </defun>
664
665 <defun name="mime-content-disposition-filename">
666 <args> content-disposition
667 <p>
668 <var>content-disposition</var> \e$B$N\e(B filename \e$B$NCM$rJV$9!#\e(B
669 </defun>
670
671
672 <h2> Content-Disposition \e$BMs$N2r@O4o\e(B
673 <node> Content-Disposition parser
674 <p>
675 <defun name="mime-parse-Content-Disposition">
676             <args> string
677 <p>
678 <var>string</var> \e$B$r\e(B content-disposition \e$B$H$7$F2r@O$7$?7k2L$rJV$9!#\e(B
679 </defun>
680
681 <defun name="mime-read-Content-Disposition">
682 <p>
683 \e$B8=:_$N\e(B buffer \e$B$N\e(B Content-Disposition \e$BMs$rFI$_<h$j!"2r@O$7$?7k2L$rJV$9!#\e(B
684 <p>
685 Content-Disposition \e$BMs$,B8:_$7$J$$>l9g$O\e(B nil \e$B$rJV$9!#\e(B
686 </defun>
687
688
689 <h1> \e$BId9f2=K!\e(B
690 <node> Content-Transfer-Encoding
691 <p>
692 <concept>Content-Transfer-Encoding \e$BMs\e(B</concept> \e$B$O\e(B entity \e$B$NId9f2=K!$r5-\e(B
693 \e$B=R$9$k$?$a$N$b$N$G$9!#\e(B
694 <p>
695 FLIM \e$B$G$O\e(B Content-Transfer-Encoding \e$BMs$r9=J82r@O$9$k4X?t$rDs6!$7$^$9!#$3\e(B
696 \e$B$l$i$N4X?t$O\e(B Content-Transfer-Encoding \e$BMs$N>pJs$OJ8;zNs$GI=8=$7$^$9!#\e(B
697 <p>
698 \e$B$^$?!"\e(BContent-Transfer-Encoding \e$B$K4p$E$$$FId9f2=!&I|9f2=$r9T$&4X?t$bDs\e(B
699 \e$B6!$5$l$^$9!#\e(B
700
701
702 <h2> Content-Transfer-Encoding \e$BMs$N2r@O4o\e(B
703 <node> Content-Transfer-Encoding parser
704 <p>
705 <defun name="mime-parse-Content-Transfer-Encoding">
706           <args> string
707 <p>
708 <var>string</var> \e$B$r\e(B content-transfer-encoding \e$B$H$7$F2r@O$7$?7k2L$rJV$9!#\e(B
709 </defun>
710
711 <defun name="mime-read-Content-Transfer-Encoding">
712           <opts>default-encoding
713 <p>
714 \e$B8=:_$N\e(B buffer \e$B$N\e(B Content-Transfer-Encoding \e$BMs$rFI$_<h$j!"2r@O$7$?7k2L$r\e(B
715 \e$BJV$9!#\e(B
716 <p>
717 Content-Transfer-Encoding \e$BMs$,B8:_$7$J$$>l9g$O\e(B
718 <var>default-encoding</var> \e$B$rJV$9!#\e(B
719 </defun>
720
721
722 <h2> \e$BId9f2=!&I|9f2=\e(B
723 <node> encoder/decoder
724 <p>
725 <defun name="mime-encode-region">
726             <args> start end encoding
727 <p>
728 \e$B8=:_$N\e(B buffer \e$B$N\e(B <var>start</var> \e$B$+$i\e(B <var>end</var> \e$B$^$G$N\e(B region \e$B$r\e(B
729 <var>encoding</var> \e$B$r;H$C$FId9f2=$7$^$9!#\e(B
730 </defun>
731
732 <defun name="mime-decode-region">
733             <args> start end encoding
734 <p>
735 \e$B8=:_$N\e(B buffer \e$B$N\e(B <var>start</var> \e$B$+$i\e(B <var>end</var> \e$B$^$G$N\e(B region \e$B$r\e(B
736 <var>encoding</var> \e$B$r;H$C$FI|9f2=$7$^$9!#\e(B
737 </defun>
738
739
740 <defun name="mime-decode-string">
741             <args> string encoding
742 <p>
743 <var>string</var> \e$B$r\e(B <var>encoding</var> \e$B$H$7$FI|9f$7$?7k2L$rJV$9!#\e(B
744 </defun>
745
746
747 <defun name="mime-insert-encoded-file">
748             <args> filename encoding
749 <p>
750 <var>ENCODING</var> format \e$B$GId9f2=$5$l$?\e(B file <var>FILENAME</var> \e$B$r\e(B
751 \e$BA^F~$9$k!#\e(B
752 </defun>
753
754 <defun name="mime-write-decoded-region">
755               <args> start end filename encoding
756 <p>
757 <var>encoding</var> \e$B$GId9f2=$5$l$?8=:_$N\e(B region \e$B$rI|9f2=$7$F\e(B
758 <var>filename</var>\e$B$K=q$-9~$_$^$9!#\e(B
759 <p>
760 <var>start<var> \e$B$H\e(B <var>end</var> \e$B$O\e(B buffer \e$B$N0LCV$G$9!#\e(B
761 </defun>
762
763
764 <h2> \e$BB>$N\e(B utility
765 <node> Encoding information
766 <p>
767 <defun name="mime-encoding-list">
768             <opts> SERVICE
769 <p>
770 Content-Transfer-Encoding \e$B$N\e(B list \e$B$rJV$7$^$9!#\e(B
771 <p>
772 <var>service</var> \e$B$,;XDj$5$l$F$$$k$H!"$=$l$KBP$9$k\e(B
773 Content-Transfer-Encoding \e$B$rJV$7$^$9!#\e(B
774 </defun>
775
776 <defun name="mime-encoding-alist">
777             <opts> SERVICE
778 <p>
779 \e$BJd40$N$?$a$N\e(B Content-Transfer-Encoding \e$B$NI=$rJV$7$^$9!#\e(B
780 <p>
781 <var>service</var> \e$B$,;XDj$5$l$F$$$k>l9g$O$=$l$KBP$9$k\e(B
782 Content-Transfer-Encoding \e$B$N\e(B list \e$B$rJV$7$^$9!#\e(B
783 </defun>
784
785
786 <h2> \e$BId9f2=\e(B/\e$BI|9f2=\e(B module \e$B$N=q$-J}\e(B
787 <node> mel-backend
788 <p>
789 <defmacro name="mel-define-method">
790 <args> name args <rest> body
791 <p>
792 <var>name</var> \e$B$r\e(B (nth 1 (car (last <var>args</var>))) backend \e$B$N\e(B
793 method \e$B4X?t$H$7$FDj5A$7$^$9!#\e(B
794 <p>
795 <var>args</var> \e$B$O\e(B lambda \e$B$N0z?t\e(B list \e$B$H;w$F$$$^$9$,!"\e(B(car (last
796 <var>args</var>)) \e$B$O;XDj$5$l$?\e(B parameter \e$B$G$"$kI,MW$,$"$j$^$9!#\e(B(car
797 (car (last <var>args</var>))) \e$B$OJQ?t$NL>A0$G!"\e(B(nth 1 (car (last
798 <var>args</var>))) \e$B$O\e(B backend \e$B$NL>A0\e(B (encoding) \e$B$G$9!#\e(B
799 <p>
800 \e$BNc\e(B:
801 <p>
802 <lisp>
803 (mel-define-method mime-write-decoded-region (start end filename
804                                                     (nil "base64"))
805   "Decode and write current region encoded by base64 into FILENAME.
806 START and END are buffer positions."
807   (interactive
808    (list (region-beginning) (region-end)
809          (read-file-name "Write decoded region to file: ")))
810   (let ((str (buffer-substring start end)))
811     (with-temp-buffer
812       (insert (decode-base64-string str))
813       (write-region-as-binary (point-min) (point-max) filename)
814       )))
815 </lisp>
816 </defmacro>
817
818 <defmacro name="mel-define-method-function">
819 <args> spec function
820 <p>
821 <var>spec</var> \e$B$N4X?tDj5A$r\e(B <var>function</var> \e$B$K@_Dj$7$^$9!#\e(B
822 <p>
823 <var>spec</var> \e$B$N:G=i$NMWAG$O\e(B service \e$B$G$9!#\e(B
824 <p>
825 <var>args</var> \e$B$N;D$j$O\e(B lambda \e$B$N0z?t\e(B list \e$B;w$F$$$^$9$,!"\e(B(car (last
826 <var>args</var>)) \e$B$O;XDj$5$l$?\e(B parameter \e$B$G$"$kI,MW$,$"$j$^$9!#\e(B(car
827 (car (last <var>args</var>))) \e$B$OJQ?t$NL>A0$G!"\e(B(nth 1 (car (last
828 <var>args</var>))) \e$B$O\e(B backend \e$B$NL>A0\e(B (encoding) \e$B$G$9!#\e(B
829 <p>
830 \e$BNc\e(B:
831 <p>
832 <lisp>
833 (mel-define-method-function (mime-encode-string string (nil "base64"))
834                             'encode-base64-string)
835 </lisp>
836 </defmacro>
837
838
839 <h2> \e$BId9f2=\e(B/\e$BI|9f2=\e(B service \e$B$rDI2C$9$kJ}K!\e(B
840 <node> generic function for mel-backend
841 <p>
842 <defmacro name="mel-define-service">
843 <args> name
844 <opts> args doc-string
845 <p>
846 <var>name</var> \e$B$r\e(B Content-Transfer-Encoding \e$B$N\e(B service \e$B$H$7$FDj5A$7$^\e(B
847 \e$B$9!#\e(B
848 <p>
849 <var>args</var> \e$B$,;XDj$5$l$F$$$k$H!"\e(B<var>name</var> \e$B$O\e(B service \e$B$N\e(B
850 generic function \e$B$H$7$FDj5A$5$l$^$9!#\e(B
851 <p>
852 \e$BNc\e(B:
853 <p>
854 <lisp>
855 (mel-define-service encoded-text-encode-string (string encoding)
856   "Encode STRING as encoded-text using ENCODING.
857 ENCODING must be string.")
858 </lisp>
859 </defmacro>
860
861
862 <h1> Header \e$B$N\e(B network \e$BI=8=\e(B
863 <node> encoded-word
864 <p>
865 encoded-word \e$B$O\e(B header \e$B$GHs\e(B <dref>ASCII</dref> \e$BJ8;z$rI=8=$9$k$?$a$N7A\e(B
866 \e$B<0$G!"\e(B<concept>RFC 2047</concept> \e$B$GDj5A$5$l$F$$$^$9!#\e(B
867 <p>
868 <rfc number="2047" type="Standards Track" author="K. Moore"
869               title="MIME (Multipurpose Internet Mail Extensions) Part
870               Three: Message Header Extensions for Non-ASCII Text"
871               date="November 1996" obsolete="1521,1522,1590">
872 <p>
873 \e$B$^$?!"9T57$N0-$$$3$H$@$H8@$($^$9$,!"\e(Bencoded-word \e$B$rMQ$$$:$KHs\e(B 
874 <dref>ASCII</dref> \e$BJ8;z$r\e(B header \e$B$KF~$l$?5-;v$bB8:_$7$^$9!#\e(B
875 <p>
876 FLIM \e$B$O$3$l$i$rId9f2=!&I|9f2=$9$k5!G=$rDs6!$7$^$9!#\e(B
877
878
879 <h2> Header \e$B$NId9f2=!&I|9f2=\e(B
880 <node> Header encoder/decoder
881 <p>
882 <defun name="eword-decode-header">
883             <opts> code-conversion separator
884 <p>
885 Header \e$BCf$N\e(B encoded-word \e$B$rI|9f$9$k!#\e(B
886 <p>
887 \e$B$b$7\e(B <var>code-conversion</var> \e$B$,\e(B <code>nil</code> \e$B$J$i!"\e(Bencoded-word 
888 \e$B$@$1$,I|9f$5$l$k!#$b$7!"\e(B<var>code-conversion</var> \e$B$,\e(B <dref>MIME
889 charset</dref> \e$B$J$i!"Hs\e(B ASCII bit patterns \e$B$O$=$N\e(B MIME charset \e$B$H$7$F\e(B
890 \e$BI|9f$5$l$k!#$3$l0J30$N>l9g!"Hs\e(B ASCII bit patterns \e$B$O\e(B
891 <code>default-mime-charset</code>. \e$B$H$7$FI|9f$5$l$k!#\e(B<cf node="entity
892 formatting">
893 <p>
894 \e$B$b$7\e(B <var>separator</var> \e$B$,\e(B <code>nil</code> \e$B$G$J$1$l$P!"$=$NCM$,\e(B
895 header separator \e$B$H$7$FMQ$$$i$l$k!#\e(B
896 </defun>
897
898 <defun name="eword-encode-header">
899             <opts> code-conversion
900 <p>
901 Header \e$B$r\e(B network \e$BI=8=$KId9f2=$9$k!#\e(B
902 <p>
903 \e$B3F\e(B field \e$B$O\e(B <code>eword-field-encoding-method-alist</code> \e$B$G;XDj$5$l\e(B
904 \e$B$?J}<0$GId9f2=$5$l$k!#\e(B
905 </defun>
906
907 <defvar name="eword-field-encoding-method-alist">
908 <p>
909 Field \e$B$rId9f2=$9$kJ}K!$r;XDj$9$kO"A[\e(B list\e$B!#3F\e(B element \e$B$O\e(B (FIELD
910 . METHOD) \e$B$NMM$K$J$C$F$$$k!#\e(B
911 <p>
912 METHOD \e$B$,\e(B <code>mime</code> \e$B$G$"$l$P!"\e(BFIELD \e$B$O\e(B MIME format \e$B$KId9f2=$5\e(B
913 \e$B$l$k\e(B (encoded-word)\e$B!#\e(B
914 <p>
915 METHOD \e$B$,\e(B <code>nil</code> \e$B$G$"$l$P!"\e(BFIELD \e$B$OId9f2=$5$l$J$$!#\e(B
916 <p>
917 METHOD \e$B$,\e(B MIME charset \e$B$G$"$l$P!"\e(BFIELD \e$B$O%M%C%H%o!<%/%3!<%I$KJQ49$7$J\e(B
918 \e$B$1$l$P$J$i$J$$$H$-$K\e(B charset \e$B$KId9f2=$5$l$k!#\e(B
919 <p>
920 \e$B$=$&$G$J$1$l$P!"\e(BFIELD \e$B$O%M%C%H%o!<%/%3!<%I$KJQ49$7$J$1$l$P$J$i$J$$$H$-\e(B
921 \e$B$K\e(B \e$BJQ?t\e(B <code>default-mime-charset</code> \e$B$GId9f2=$5$l$k\e(B
922 </defvar>
923
924
925 <h1> \e$B0lHL@_Dj\e(B
926 <node> custom
927 <p>
928 <define type="group" name="mime">
929 <p>
930 MIME \e$B4XO"5!G=$K4X$9$k\e(B group.
931 <p>
932 <code>mail</code> \e$B$H\e(B <code>news</code> \e$B$KB0$9$k!#\e(B
933 </define>
934
935 <defvar name="mime-temp-directory">
936 <p>
937 MIME \e$B5!G=$K4X$9$k<BAu$,0l;~E*$K;HMQ$9$k\e(B file \e$B$r:n@.$9$k\e(B directory.
938 <p>
939 \e$B4D6-JQ?t\e(B <code>MIME_TMP_DIR</code>, <code>TM_TMP_DIR</code>,
940 <code>TMPDIR</code>, <code>TMP</code> \e$B$b$7$/$O\e(B <code>TEMP</code> \e$B$,@_Dj\e(B
941 \e$B$5$l$F$$$?>l9g!"$=$l$r=i4|CM$H$7$FMQ$$$k!#2?$b@_Dj$5$l$F$$$J$$>l9g!"\e(B
942 <code>"/tmp/"</code> \e$B$rMQ$$$k!#\e(B
943 </defvar>
944
945
946 <h1> \e$BIUO?\e(B
947 <node> Appendix
948
949 <h2> \e$BMQ8l\e(B
950 <node> Glossary
951
952 <h3> 7bit
953 <node> 7bit
954 <p>
955 \e$B$3$3$G$O\e(B 0 \e$B$+$i\e(B 127 \e$B$N@0?t$r;X$9!#\e(B
956 <p>
957\e$B$+$i\e(B 127 \e$B$N@0?t$NNs$GI=8=$G$-$k$h$&$J\e(B data \e$B$r\e(B ``7bit \e$B$N\e(B data'' \e$B$H8F\e(B
958 \e$B$V!#\e(B
959 <p>
960 \e$B$^$?!"\e(B0 \e$B$+$i\e(B 31 \e$B$*$h$S\e(B 127 \e$B$GI=8=$5$l$k@)8fJ8;z$H\e(B 32 \e$B$GI=8=$5$l$k6uGr\e(B
961 \e$B$H\e(B 33 \e$B$+$i\e(B 126 \e$B$GI=8=$5$l$k?^7AJ8;z$+$i$J$kJ8;zNs$N$3$H$r\e(B ``7bit \e$B$NJ8\e(B
962 \e$B;zNs\e(B'' \e$B$H8F$V!J$3$l$O\e(B <dref>ISO 2022</dref> \e$B$N!V\e(B7 \e$BC10L7O!W$HF1MM!K!#\e(B
963 <p>
964 \e$BEAE}E*$J\e(B Internet \e$B$N\e(B <dref>MTA</dref> \e$B$O\e(B 7bit \e$B$N\e(B data \e$B$rE>Aw$G$-$k$N$G!"\e(B
965 7bit \e$B$N\e(B data \e$B$O\e(B <dref>Quoted-Printable</dref> \e$B$d\e(B <dref>Base64</dref> 
966 \e$B$H$$$C$?JQ49$r9T$o$J$/$F$b$=$N$^$^E>Aw$G$-$k!#\e(B
967 <p>
968 \e$B$7$+$7!"\e(B7bit \e$B$G$"$l$P$I$s$J\e(B data \e$B$G$bNI$$$H$O$$$($J$$!#$J$<$J$i!"#19T\e(B
969 \e$B$ND9$5$,$"$^$j$KD9$$$H!"\e(BMTA \e$B$O$=$N\e(B message \e$B$rE>Aw$9$k$3$H$,$G$-$J$$$+\e(B
970 \e$B$i$G$"$k!#$A$J$_$K!"\e(B<dref>RFC 821</dref> \e$B$O#19T$O2~9TJ8;z$r=|$$$F\e(B 998
971 byte \e$B0JFb$G$"$k$3$H$r5a$a$F$$$k!#$h$C$F!"$3$l0J>e$N9T$,4^$^$l$k2DG=@-\e(B
972 \e$B$N$"$k\e(B data, \e$BNc$($P!"\e(BPostscript \e$B$N\e(B data \e$B$J$I$O\e(B Quoted-Printable \e$BEy$G\e(B 
973 encode\e$B$9$kI,MQ$,$"$k!#\e(B
974
975
976 <h3> 8bit
977 <node> 8bit
978 <p>
979 \e$B$3$3$G$O\e(B 0 \e$B$+$i\e(B 255 \e$B$N@0?t$r;X$9!#\e(B
980 <p>
981\e$B$+$i\e(B 255 \e$B$N@0?t$NNs$GI=8=$G$-$k$h$&$J\e(B data \e$B$r\e(B ``8bit \e$B$N\e(B data'' \e$B$H8F\e(B
982 \e$B$V!#\e(B
983 <p>
984 \e$B$^$?!"\e(B0 \e$B$+$i\e(B 31, 127 \e$B$*$h$S\e(B 128 \e$B$+$i\e(B 159 \e$B$GI=8=$5$l$k@)8fJ8;z$H\e(B 32 \e$B$G\e(B
985 \e$BI=8=$5$l$k6uGr$H\e(B 33 \e$B$+$i\e(B 126 \e$B$H\e(B 160 \e$B$+$i\e(B 255 \e$B$GI=8=$5$l$k?^7AJ8;z$+$i\e(B
986 \e$B$J$kJ8;zNs$N$3$H$r\e(B ``8bit \e$B$NJ8;zNs\e(B'' \e$B$H8F$V!J$3$l$O\e(B <dref>ISO
987 2022</dref> \e$B$N!V\e(B8 \e$BC10L7O!W$HF1MM!K!#\e(B
988 <p>
989 <dref>iso-8859-1</dref> \e$B$d\e(B <dref>euc-kr</dref> \e$B$H$$$C$?Id9f2=J8;z=89g\e(B
990 \e$B$O\e(B 8bit \e$B$NJ8;zNs$G$"$k!#\e(B
991 <p>
992 \e$BEAE}E*$J\e(B Internet \e$B$N\e(B <dref>MTA</dref> \e$B$O\e(B <dref>7bit</dref> \e$B$N\e(B data \e$B$7\e(B
993 \e$B$+E>Aw$G$-$J$$$N$G!"$=$&$7$?\e(B MTA \e$B$r7PM3$9$k>l9g!"\e(B
994 <dref>Quoted-Printable</dref> \e$B$d\e(B <dref>Base64</dref> \e$B$H$$$C$?JQ49$r9T\e(B
995 \e$B$o$J$/$F$O$J$i$J$$!#\e(B
996 <p>
997 \e$B$7$+$7!":G6a$G$O\e(B 8bit \e$B$NJ8;zNs$r$=$N$^$^DL$9$3$H$,$G$-$k\e(B MTA \e$B$bEP>l$7\e(B
998 \e$B$F$-$?$N$G!"$=$N$^$^Aw$k$3$H$,$G$-$k>l9g$bA}$($F$-$?!#\e(B
999 <p>
1000 \e$B$7$+$7!"\e(B8bit \e$B$G$"$l$P$I$s$J\e(B data \e$B$G$bNI$$$H$O$$$($J$$!#$J$<$J$i!"#19T\e(B
1001 \e$B$ND9$5$,$"$^$j$KD9$$$H!"\e(BMTA \e$B$O$=$N\e(B message \e$B$rE>Aw$9$k$3$H$,$G$-$J$$$+\e(B
1002 \e$B$i$G$"$k!#$A$J$_$K!"\e(B<dref>RFC 821</dref> \e$B$O#19T$O2~9TJ8;z$r=|$$$F\e(B 998
1003 byte \e$B0JFb$G$"$k$3$H$r5a$a$F$$$k!#$h$C$F!"$3$l0J>e$N9T$,4^$^$l$k2DG=@-\e(B
1004 \e$B$N$"$k\e(B data, \e$BNc$($P!"\e(BPostscript \e$B$N\e(B data \e$B$J$I$O\e(B Quoted-Printable \e$BEy$G\e(B 
1005 encode\e$B$9$kI,MQ$,$"$k!#\e(B
1006 <p>
1007 \e$B$^$?!"$3$&$7$?M}M3$+$i!"#19T$,\e(B 999 byte \e$B0J>e$N9T$,B8:_$9$k2DG=@-$N$"$k\e(B
1008 data \e$B$O\e(B <a node="binary"><concept>binary</concept></a> \e$B$H8F$V$3$H$K$9\e(B
1009 \e$B$k!#\e(B
1010 <p>
1011 \e$B$A$J$_$K!"\e(B7bit \e$B$GI=8=$G$-$k\e(B data \e$B$O\e(B 8bit \e$B$G$bI=8=$G$-$k!#$h$C$F!"\e(B
1012 ``8bit'' \e$B$H8@$C$?>l9g!"#19T$,\e(B 998 byte \e$B0J2<$NG$0U$N\e(B data \e$B$r;X$9$3$H$,\e(B
1013 \e$B$"$k!#\e(B
1014
1015
1016 <h3> ASCII
1017 <node> ASCII
1018 <p>
1019 \e$B%"%a%j%+O"K.$G;H$o$l$kJ8;z$rId9f2=$7$?\e(B<dref>\e$BId9f2=J8;z=89g\e(B</dref>\e$B!#\e(B
1020 A-Z, a-z \e$B$N\e(B Latin \e$BJ8;z$H?t;z!"4v$D$+$N5-9f$+$i$J$k!#\e(BISO 646 \e$B$N0l$D$G!"\e(B
1021 \e$B8=:_$O9q:]4p=`HG\e(B (IRV) \e$B$K$J$C$F$$$k!#\e(B
1022
1023 <standard abbrev="ASCII" title-en="Coded Character Set -- 7-Bit
1024               American Standard Code for Information Interchange"
1025               number="ANSI X3.4" year="1986">
1026
1027
1028 <h3> Base64
1029 <node> Base64
1030 <p>
1031 <dref>RFC 2045</dref> \e$B$GDj5A$5$l$F$$$k\e(B <dref>MIME</dref> \e$B$K$*$1$k\e(B <a
1032 node="binary">binary data</a> \e$B$N\e(B network \e$B$G$NJQ49K!$N#1$D!#\e(B
1033 <p>
1034 \e$B!X\e(B64 \e$B?J?t!Y$H$$$&0UL#$G!"\e(B3 byte \e$B$N\e(B data \e$B$r\e(B 0 \e$B$+$i\e(B 63 \e$B$N?t$rI=$9\e(B 
1035 <dref>ASCII</dref> 4 \e$BJ8;z$KJQ49$9$kJ}K!!#!J$b$7!"\e(B4 \e$BJ8;z$K$J$i$J$1$l$P\e(B 
1036 <concept>pad</concept> \e$B$H8F$P$l$k5M$aJ*$r$7$FD9$5$rD4@0$9$k!K\e(B
1037 <p>
1038 \e$B$3$N\e(B 65 \e$B<oN`$NJ8;z$O\e(B ASCII \e$B$H\e(B EBCDIC \e$B$N6&DLItJ,$+$iA*$P$l$F$*$j!"\e(B
1039 Internet \e$B0J30$N\e(B network \e$B$r7PM3$9$k>l9g$G$b0BA4$KE>Aw$G$-$k$h$&$K@_7W$5\e(B
1040 \e$B$l$F$$$k!#\e(B
1041
1042
1043 <h3> binary
1044 <node> binary
1045 <p>
1046 \e$BG$0U$N\e(B byte \e$BNs$r\e(B <concept>binary</concept> \e$B$H8F$V!#\e(B
1047 <p>
1048 <dref>8bit</dref> \e$B$H0[$J$k$N$O\e(B data \e$B$K9T$N9=B$$r2>Dj$7$J$$$3$H$G$"$k!#\e(B
1049 <p>
1050 \e$B$^$?!"9T$N9=B$$,$"$C$F$b!"\e(B999 byte \e$B0J>e$+$i$J$k9T$,$"$k>l9g$b\e(B binary 
1051 \e$B$H8F$V$3$H$K$9$k!#\e(B
1052 <p>
1053 \e$B$A$J$_$K!"\e(B<dref>7bit</dref> \e$B$d\e(B 8bit \e$B$GI=8=$G$-$k\e(B data \e$B$O\e(B binary \e$B$G$bI=\e(B
1054 \e$B8=$G$-$k!#$h$C$F!"\e(B<concept>binary data</concept> \e$B$H8@$C$?>l9g!"G$0U$N\e(B 
1055 data \e$B$r;X$9$3$H$,$"$k!#\e(B
1056
1057
1058 <h3> Coded character set\e$B!JId9f2=J8;z=89g!K\e(B, Character code\e$B!JJ8;zId9f!K\e(B
1059 <node> Coded character set
1060 <p>
1061 \e$BJ8;z$H\e(B byte \e$BNs$H#1BP#1$KBP1~IU$1$k[#Kf$G$J$$5,B'$N=89g!#\e(B
1062
1063
1064 <h3> media-type
1065 <node> media-type
1066 <p>
1067 <dref>MIME</dref> \e$B$K$*$1$k\e(B <dref>entity</dref> \e$B$N<oN`!#\e(B
1068 <concept>primary-type</concept> \e$B$H\e(B <concept>subtype</concept> \e$B$+$i$J$k!#\e(B
1069 <dref>RFC 2046</dref> \e$B$GDj5A$5$l$F$$$k!#\e(B
1070 <p>
1071 primary-type \e$B$OI8=`$G$O\e(B
1072
1073 <ul>
1074 <li><concept>text</concept>
1075 </li>
1076 <li><concept>image</concept>
1077 </li>
1078 <li><concept>audio</concept>
1079 </li>
1080 <li><concept>video</concept>
1081 </li>
1082 <li><concept>application</concept>
1083 </li>
1084 <li><a node="multipart"><concept>multipart</concept></a>
1085 </li>
1086 <li><concept>message</concept>
1087 </ul>
1088
1089 <noindent>
1090 \e$B$,Dj5A$5$l!"$=$l$>$l$K$O\e(B application/octet-stream, audio/basic,
1091 image/jpeg, <dref>multipart/mixed</dref>, <dref>text/plain</dref>,
1092 video/mpeg \e$B$J$I$N$5$^$6$^$J\e(B subtype \e$B$,Dj5A$5$l$F$$$k!#\e(B
1093
1094 <memo title="\e$BCm0U\e(B">
1095 <p>
1096 \e$B$3$3$G$O!"\e(Btext/plain \e$B$J$I$N\e(B type/subtype \e$B$NAH$r$7$P$7$P\e(B 
1097 <concept>primary-type/subtype</concept> \e$B$H=q$/!#\e(B
1098 </memo>
1099
1100 <p>
1101 media-type \e$B$O!"\e(BRFC 2046 \e$B$GDj5A$5$l$F$$$k$b$N$K2C$($F!"EPO?$9$k$3$H$b$G\e(B
1102 \e$B$-$k!#8=:_!"EPO?$5$l$F$$$k$b$N$O\e(B <a
1103 href="ftp://ftp.isi.edu/in-notes/iana/assignments/media-types">MEDIA
1104 TYPES</a> \e$B$G;2>H$G$-$k!#\e(B
1105 <p>
1106 \e$B$^$?!"\e(Btype \e$B$b$7$/$O\e(B subtype \e$B$K!"A0$K\e(B `x-' \e$B$rIU$1$?\e(B 
1107 <concept>x-token</concept> \e$B$rMQ$$$k$3$H$K$h$j!"EPO?$5$l$F$$$J$$$b$N$r\e(B
1108 \e$B;dE*$KMQ$$$k$3$H$b$G$-$k!#$7$+$7!"EvA3$N$3$H$J$,$i!"$3$&$7$?;dE*$J\e(B 
1109 media-type \e$B$ONJ2r$rF@$?<T$N4V$G$7$+2r<a$G$-$J$$$N$GMxMQ$K$OCm0U$9$k$3\e(B
1110 \e$B$H!#\e(B
1111 <p>
1112 <cf node="Content-Type">
1113
1114
1115 <h3> message
1116 <node> message
1117 <p>
1118 \e$B$3$3$G$O\e(B mail \e$B$H\e(B news \e$B5-;v$NAm>N$H$7$FMQ$$$k!#\e(B
1119
1120
1121 <h3> MIME
1122 <node> MIME
1123 <p>
1124 <concept>Multipurpose Internet Mail Extensions</concept> \e$B$NN,$G!"\e(B
1125 Internet \e$B$N\e(B mail \e$B$d\e(B news \e$B$G\e(B <a node="us-ascii">us-ascii plain text</a> 
1126 \e$B0J30$NJ8;z$r;H$&$?$a$N\e(B <dref>RFC 822</dref> \e$B$KBP$9$k3HD%!#\e(B
1127 <p>
1128 RFC 2045 \e$B$OKAF,$G<!$N$h$&$K=R$Y$F$$$k!'\e(B
1129 <p>
1130 STD 11, RFC 822 \e$B$O!"\e(BUS-ASCII message header \e$B$K4X$7$FHs>o$K>\:Y$K5,Dj$7\e(B
1131 \e$B$?\e(B message \e$BI=8=\e(B protocol \e$B$rDj5A$7$F$$$k!#$7$+$7!"$=$l$OC1$K\e(B flat \e$B$J\e(B 
1132 US-ASCII text \e$B$N$_$KN1$^$j!"\e(Bmessage \e$B$NFbMF$d\e(B message body \e$B$K4X$9$k5,Dj\e(B
1133 \e$B$O$J$5$l$F$$$J$$!#\e(BMultipurpose Internet Mail Extensions, \e$B$"$k$$$O\e(B MIME 
1134 \e$B$HAm>N$5$l$k!"$3$N0lO"$NJ8=q$O!"0J2<$N;v$r2DG=$H$9$k$?$a$K\e(B message \e$B$N\e(B
1135 \e$B7A<0$r:FDj5A$7$?!'\e(B
1136
1137 <ol>
1138 <li>\e$BJ8=q\e(B message body \e$B$K$*$1$k\e(B US-ASCII \e$B0J30$NJ8;z=89g\e(B
1139 </li>
1140 <li>\e$BHsJ8=q\e(B message body
1141 </li>
1142 <li>\e$BJ#?t$NItJ,$+$i$J$k\e(B message body
1143 </li>
1144 <li>US-ASCII \e$B0J30$NJ8;z=89g$+$i$J$kJ8=q\e(B header \e$B>pJs\e(B
1145 </ol>
1146
1147 <p>
1148 <dref>RFC 2045</dref>, <dref>RFC 2046</dref>, <a
1149 node="encoded-word">RFC 2047</a>, <dref>RFC 2048</dref>, <dref>RFC
1150 2049</dref> \e$B$GDj5A$5$l$F$$$k!#\e(B
1151
1152
1153 <h3> MIME charset
1154 <node> MIME charset
1155 <p>
1156 <dref>Content-Type</dref> \e$BMs$d\e(B <dref>encoded-word</dref> \e$B$N\e(B charset
1157 parameter \e$B$GMQ$$$i$l$kEPO?$5$l$?\e(B<a node="Coded character set">\e$BId9f2=J8\e(B
1158 \e$B;z=89g\e(B</a>\e$B!#\e(B
1159 <p>
1160 <dref>RFC 2045</dref> \e$B$GDj5A$5$l$F$$$k!#\e(B
1161 <p>
1162 iso-2022-jp \e$B$d\e(B euc-kr \e$B$O$=$N#1$D!#\e(B
1163
1164
1165 <h3> MTA
1166 <node> MTA
1167 <p>
1168 <concept>Message Transfer Agent</concept> \e$B$NN,$G!"\e(Bqmail \e$B$d\e(B sendmail \e$B$J\e(B
1169 \e$B$I$N\e(B mail \e$BG[Aw\e(B program \e$B$H\e(B inn \e$B$J$I$N\e(B news server \e$B$NAm>N!#\e(B
1170 <p>
1171 <cf node="MUA">
1172
1173
1174 <h3> MUA
1175 <node> MUA
1176 <p>
1177 <concept>Message User Agent</concept> \e$B$NN,$G!"\e(Bmail reader \e$B$H\e(B news
1178 reader \e$B$NAm>N!#\e(B
1179 <p>
1180 <cf node="MTA">
1181
1182
1183 <h3> Quoted-Printable
1184 <node> Quoted-Printable
1185 <p>
1186 <dref>RFC 2045</dref> \e$B$GDj5A$5$l$F$$$k\e(B <dref>MIME</dref> \e$B$K$*$1$k\e(B 
1187 <dref>binary data</dref> \e$B$N\e(B network \e$B$G$NJQ49K!$N#1$D!#\e(B
1188 <p>
1189 `=' \e$B$d@)8fJ8;z$d\e(B 128 \e$B0J>e$NJ8;z$J$I$O\e(B `=AF' \e$B$N$h$&$K\e(B `=' \e$B$N8e$KB3$/\e(B 16 
1190 \e$B?J?t$GI=8=$9$k!#$3$N$?$a!"\e(B<dref>ASCII</dref> \e$BJ8;zCf?4$N\e(B data \e$B$G$O\e(B 
1191 <dref>Base64</dref> \e$B$KHf$Y$k$H2DFI@-$,9b$/$J$k2DG=@-$,$"$k!#\e(B
1192 <p>
1193 \e$B$7$+$7$J$,$i!"\e(BEBCDIC \e$B$K$OB8:_$7$J$$J8;z$rMxMQ$9$k>l9g!"\e(BEBCDIC \e$B$rMxMQ$7\e(B
1194 \e$B$F$$$k\e(B network \e$B$G$O0BA4$KE>Aw$9$k$3$H$,$G$-$:!"\e(BBase64 \e$B$KHf$Y$F0BA4@-$O\e(B
1195 \e$BDc$$!#\e(B
1196
1197
1198 <h3> RFC 822
1199 <node> RFC 822
1200 <p>
1201 Internet mail \e$B$N<g$K\e(B <concept>message header</concept> \e$B$K4X$9$k7A<0$K\e(B
1202 \e$B4X$9$kI8=`$rDj$a$F$$$k\e(B RFC.
1203
1204 <memo>
1205 <p>
1206 news message \e$B$b$3$l$K=`$8$F$$$k$N$G!"\e(B<concept>Internet mail</concept> 
1207 \e$B$H=q$/$h$j$b!"\e(B<concept>Internet message</concept> \e$B$H=q$$$?J}$,NI$$$+$b\e(B
1208 \e$B$7$l$J$$!#\e(B
1209 </memo>
1210
1211 <rfc number="822" type="STD 11" author="D. Crocker" title="Standard
1212               for the Format of ARPA Internet Text Messages"
1213               date="August 1982">
1214
1215
1216 <h3> RFC 1036
1217 <node> RFC 1036
1218 <p>
1219 USENET \e$B$G$N\e(B message \e$B$N7A<0$rDj$a$?\e(B RFC.  <dref>RFC 822</dref> \e$B$N\e(B 
1220 subset \e$B$K$J$C$F$$$k!#\e(BInternet \e$B$NI8=`$G$O$J$$$,!"\e(BUSENET \e$B0J30$N\e(B netnews 
1221 \e$B$G$b$3$l$K=`$8$F$$$k$b$N$,B?$$!#\e(B
1222
1223 <rfc name="USENET" number="1036" author="M. Horton and R. Adams"
1224               title="Standard for Interchange of USENET Messages"
1225               date="December 1987" obsolete="850">
1226
1227
1228 <h3> RFC 2045
1229 <node> RFC 2045
1230 <p>
1231 <rfc number="2045" type="Standards Track" author="N. Freed and
1232               N. Borenstein" title="Multipurpose Internet Mail
1233               Extensions (MIME) Part One: Format of Internet Message
1234               Bodies" date="November 1996" obsolete="1521, 1522,
1235               1590">
1236
1237
1238 <h3> RFC 2046
1239 <node> RFC 2046
1240 <p>
1241 <rfc number="2046" type="Standards Track" author="N. Freed and
1242               N. Borenstein" title="Multipurpose Internet Mail
1243                  Extensions (MIME) Part Two: Media Types"
1244                  date="November 1996" obsolete="1521, 1522, 1590">
1245
1246
1247 <h3> RFC 2048
1248 <node> RFC 2048
1249 <p>
1250 <rfc number="2048" type="Standards Track" author="N. Freed, J. Klensin
1251               and J. Postel" title="Multipurpose Internet Mail
1252               Extensions (MIME) Part Four: Registration Procedures"
1253               date="November 1996" obsolete="1521, 1522, 1590">
1254
1255
1256 <h3> RFC 2049
1257 <node> RFC 2049
1258 <p>
1259 <rfc number="2049" type="Standards Track" author="N. Freed and
1260               N. Borenstein" title="Multipurpose Internet Mail
1261               Extensions (MIME) Part Five: Conformance Criteria and
1262               Examples" date="November 1996" obsolete="1521, 1522,
1263               1590">
1264
1265
1266 <h3> plain text
1267 <node> plain text
1268 <p>
1269 \e$B=qBN$dAHHG$K4X$9$k>pJs$r;}$?$J$$\e(B<a node="Coded character set">\e$BJ8;zId9f\e(B
1270 </a>\e$B$N$_$GI=8=$5$l$k\e(B text \e$B>pJs!#\e(B<cf node="text/plain">
1271
1272
1273 <h3> us-ascii
1274 <node> us-ascii
1275 <p>
1276 \e$B%"%a%j%+O"K.$J$I$G;H$o$l$k1Q8l$J$I$rI=8=$9$k$?$a$N\e(B <dref>MIME
1277 charset</dref> \e$B$N#1$D!#\e(B
1278 <p>
1279 <dref>ASCII</dref> \e$B$N$_$+$i$J$j\e(B ISO 2022 \e$B$K$h$kId9f3HD%$O5v$5$l$J$$!#\e(B
1280 <p>
1281 Internet message \e$B$K$*$1$kI8=`$N\e(B<a node="Coded character set">\e$BId9f2=J8\e(B
1282 \e$B;z=89g\e(B</a>\e$B$G$"$j!"L@<(E*$K\e(B MIME charset \e$B$,<($5$l$J$$>l9g$O86B'$H$7$F\e(B 
1283 <concept>us-ascii</concept> \e$B$,;H$o$l$k!#\e(B
1284 <p>
1285 \e$B$^$?!"\e(B<dref>RFC 822</dref> \e$B$K$*$1$k\e(B <concept>ASCII</concept> 
1286 \e$B$O\e(B us-ascii \e$B$G$"$k!#\e(B
1287
1288
1289 <h2> bug \e$BJs9p$N;EJ}\e(B
1290 <node> Bug report
1291 <p>
1292 FLIM \e$B$N%P%0$r8+$D$1$?$i!"0J2<$N\e(B address \e$B$K\e(B mail \e$B$rAw$C$F$/$@$5$$!'\e(B
1293
1294 <ul>
1295 <li> \e$B1Q8l\e(B <mail>emacs-mime-en@m17n.org</mail>
1296 <li> \e$BF|K\8l\e(B <mail>emacs-mime-ja@m17n.org</mail>
1297 </ul>
1298
1299 <p>
1300 \e$BC"$7!"$"$^$j$K$b8E$$HG$K4X$9$kJs9p$O4?7^$5$l$^$;$s!#8E$$HG$N\e(B bug \e$B$O!"\e(B
1301 \e$B?7$7$$HG$G$O<#$C$F$$$k$+$b$7$l$^$;$s!#$^$:!":G?7HG$G3NG'$7$F$_$^$7$g$&!#\e(B
1302 <p>
1303 \e$B$=$l$+$i!"E,@Z$JJs9p$r$7$^$7$g$&!#C1$K!V$&$^$/F0$+$J$$!W$H8@$o$l$F$b$I\e(B
1304 \e$B$&$$$&>u67$J$N$+$O$5$C$Q$jH=$j$^$;$s!#:GDc8B!"\e(BOS, emacs, APEL, FLIM,
1305 SEMI, \e$B;H$C$F$$$k\e(B MUA \e$B$N<oN`$*$h$SHG!"@_Dj$r=q$/I,MW$,$"$j$^$9!#$^$?!"\e(B
1306 error \e$B$,5/$C$F$$$k>l9g$O\e(B backtrace \e$B$rAw$k$3$H$b=EMW$G$9!#\e(B<cf
1307 file="emacs" node="Bugs">
1308 <p>
1309 \e$B$^$?!"\e(Bbug \e$B$OBgDqJ#?t$N?M$,Ax6x$9$k$b$N$G$9!J$=$&$G$J$1$l$P!"\e(Bbug \e$B$G$O$J\e(B
1310 \e$B$$2DG=@-$,$"$j$^$9!K!#$@$+$i!":n<T$KD>@\\e(B mail \e$B$rAw$k$H:n<T$OF1$8\e(B mail
1311 \e$B$r2?DL$b=q$/1)L\$K$J$j$^$9!#$@$+$i!"I,$:\e(B bug \e$BJs9p$O>e5-$N\e(B address \e$B$KAw$C\e(B
1312 \e$B$F$/$@$5$$!#\e(B
1313
1314 <p>
1315 EMACS-MIME ML \e$B$G$O\e(B FLIM \e$B$N%P%0>pJs$N8r49$d:G?7HG$NG[I[!"\e(BFLIM \e$B$N2~NI$K\e(B
1316 \e$B4X$9$k5DO@$r9T$J$C$F$$$^$9!#\e(BEMACS-MIME ML \e$B$K;22C$7$?$$J}$O\e(B
1317
1318 <ul>
1319 <li> \e$B1Q8l\e(B <mail>emacs-mime-en-ctl@m17n.org</mail>
1320 <li> \e$BF|K\8l\e(B <mail>emacs-mime-ja-ctl@m17n.org</mail>
1321 </ul>
1322
1323 <noindent>
1324 \e$B$K6u$N\e(B mail \e$B$rAw$C$F2<$5$$!#\e(B
1325
1326
1327 <h2> CVS \e$B$K$h$k3+H/\e(B
1328 <node> CVS
1329 <p>
1330 FLIM \e$B$N\e(B file \e$B$O\e(B CVS \e$B$r;H$C$F4IM}$5$l$F$$$^$9!#$3$N$?$a!"0J2<$NJ}K!$G:G\e(B
1331 \e$B?7$N\e(B FLIM \e$B$rF~<j$9$k$3$H$,$G$-$^$9!'\e(B
1332
1333 <verb>
1334 (0) cvs login
1335
1336     % cvs -d :pserver:anonymous@chamonix.jaist.ac.jp:/hare/cvs/root \
1337         login
1338
1339     CVS password: [CR] # NULL string
1340
1341 (1) checkout
1342
1343     % cvs -d :pserver:anonymous@chamonix.jaist.ac.jp:/hare/cvs/root \
1344         checkout [-r TAG] flim
1345 </verb>
1346
1347 <p>
1348 CVS \e$B$rMQ$$$?3+H/$K;22C$7$?$$J}$O\e(B
1349
1350 <ul>
1351 <li> <mail>cvs@chamonix.jaist.ac.jp</mail>
1352 </ul>
1353
1354 <noindent>
1355 \e$B$^$G!"%"%+%&%s%HL>$H\e(B ssh \e$B$N8x3+80$rAw$C$F$/$@$5$$!#\e(Bssh \e$B7PM3$G$O!"\e(B
1356 cvsroot \e$B$O\e(B :ext:cvs@cvs.m17n.org:/cvs/root \e$B$H$J$j$^$9!#\e(B
1357 <p>
1358 \e$B$I$&$7$F$b\e(B ssh \e$B$,;H$($J$$>l9g!"\e(Bpserver \e$B7PM3$G$b3+H/$K;22C$G$-$^$9!#\e(B
1359 \e$B$3$N>l9g!"\e(BUNIX \e$B$N\e(B /etc/passwd \e$BMM<0$G0E9f2=$5$l$?%Q%9%o!<%I$rAw$C$F2<$5$$!#\e(B
1360 \e$B$3$N>l9g\e(B cvsroot \e$B$O\e(B :pserver:<\e$B%"%+%&%s%HL>\e(B>@cvs.m17n.org:/cvs/root \e$B$H$J$j$^$9!#\e(B
1361
1362
1363 <h2> \e$BNr;K\e(B
1364 <node> History
1365 <p>
1366 FLIM \e$B$N\e(B code \e$B$N:G8E$NItJ,$O\e(B \e$B1]JB\e(B \e$B;LCR\e(B \e$B;a$,=q$$$?\e(B <file>mime.el</file>
1367 \e$B$K5/8;$7$^$9!#$3$N>.$5$J\e(B program \e$B$O\e(B Nemacs \e$B$GF0:n$9$k\e(B iso-2022-jp \e$B$N\e(B 
1368 B-encoding \e$B@lMQ$N\e(B encoded-word \e$B$NI|9f2=%W%m%0%i%`$G$7$?!#\e(B
1369 <p>
1370 \e$B$=$N8e!"<i2,\e(B \e$BCNI'\e(B \e$B$O\e(B <file>mime.el</file> \e$B$r85$K\e(B
1371 <file>tiny-mime.el</file> \e$B$H$$$&%W%m%0%i%`$r=q$-$^$9!#$3$l$O!"\e(BNemacs 
1372 \e$B$H\e(B Mule \e$B$GF0:n$9$k\e(B encoded-word \e$B$NId9f2=!&I|9f2=%W%m%0%i%`$G$7$?!#\e(B
1373 <file>tiny-mime.el</file> \e$B$O\e(B B-encoding \e$B$@$1$G$J$/\e(B Q-encoding \e$B$b\e(B
1374 support \e$B$7!"$^$?!"\e(BMULE \e$B$G07$&$3$H$,$G$-$k$5$^$6$^$J\e(B <dref>MIME
1375 charset</dref> \e$B$rF1;~$K;H$&$3$H$,$G$-$^$7$?!#$3$N;~!"\e(BNemacs \e$B$H\e(B Mule \e$B$N\e(B
1376 \e$BAPJ}$r\e(B support \e$B$9$k$?$a$KMQ$$$i$l$?%F%/%K%C%/$O8e$K\e(B emu package \e$B$K$^$H\e(B
1377 \e$B$a$i$l$^$9!#\e(B
1378 <p>
1379 \e$B$3$N:"!"<i2,\e(B \e$BCNI'\e(B \e$B$O\e(B <file>tiny-mime.el</file> \e$B$r$5$^$6$^$J\e(B MUA \e$B$G;H$&\e(B
1380 \e$B$?$a$N@_Dj=8$bG[I[$7$F$$$^$7$?$,!"$=$l$i$O8e$K\e(B
1381 <file>tiny-mime.el</file> \e$B$H$H$b$K#1$D$N\e(B package \e$B$K$^$H$a$i$l!"\e(Btm \e$B$H$$\e(B
1382 \e$B$&L>A0$GG[I[$5$l$^$9!#\e(B
1383 <p>
1384 \e$B<i2,\e(B \e$BCNI'\e(B \e$B$O$d$,$F!"\e(BMIME message \e$B$r1\Mw$9$k$?$a$N%W%m%0%i%`$G$"$k\e(B
1385 <file>tm-body.el</file> \e$B$r=q$-$^$9!#$3$l$O!"$9$0$K\e(B
1386 <file>tm-view.el</file> \e$B$H$$$&L>A0$KJQ$o$j$^$7$?$,!"$d$,$F!"$3$l$,\e(B
1387 <file>tiny-mime.el</file> \e$B$KBe$o$C$F!"\e(Btm \e$B$NCf3K$H$J$j$^$9!#\e(B
1388 <p>
1389 <file>tm-view.el</file> \e$B$OEvA3!"\e(BContent-Transfer-Encoding \e$B$r07$&I,MW$,\e(B
1390 \e$B$"$j$^$9!#$3$NL\E*$N$?$a$K!"\e(BMEL \e$B$,@0Hw$5$l$O$8$a$^$7$?!#\e(BBase64 \e$B$K4X$7\e(B
1391 \e$B$F$O\e(B <file>tiny-mime.el</file> \e$B$N\e(B code \e$B$,0\$5$l!"$^$?!"?7$?$K\e(B
1392 Quoted-Printable \e$B$N\e(B code \e$B$,DI2C$5$l$^$7$?!#$3$l$i$,\e(B
1393 <file>mel-b.el</file> \e$B$H\e(B <file>mel-q.el</file> \e$B$K$J$j$^$7$?!#\e(B
1394 <p>
1395 \e$B$^$?!"8e$K!"<i2,\e(B \e$BCNI'\e(B \e$B$K$h$C$F\e(B uuencode \e$BMQ$N\e(B <file>mel-u.el</file> \e$B$,\e(B
1396 \e$BDI2C$5$l!"$=$N8e$K!">.NS\e(B \e$B=$J?\e(B \e$B;a$K$h$C$F\e(B x-gzip64 \e$BMQ$N\e(B
1397 <file>mel-g.el</file> \e$B$,DI2C$5$l$^$7$?!#\e(B
1398 <p>
1399 tm \e$B$G$O8e$K!"<i2,\e(B \e$BCNI'\e(B \e$B$K$h$C$F\e(B <file>tiny-mime.el</file> \e$B$N:F<BAu$,9T\e(B
1400 \e$B$o$l!"$3$N2aDx$G!"\e(BSTD 11 \e$B$N\e(B parser \e$B$,=q$+$l$^$7$?!#$3$l$O!"8=:_$N\e(B 
1401 <file>std11.el</file> \e$B$KEv$?$j$^$9!#$^$?!"$3$N2aDx$G\e(B 
1402 <file>tiny-mime.el</file> \e$B$OI|9f2=$r9T$&\e(B <file>tm-ew-d.el</file> \e$B$HId\e(B
1403 \e$B9f2=$r9T$&\e(B <file>tm-ew-e.el</file> \e$B$KJ,$1$i$l$^$7$?!#$3$NN><T$,8=:_$N\e(B 
1404 <file>eword-decode.el</file> \e$B$H\e(B <file>eword-encode.el</file> \e$B$N@hAD$K\e(B
1405 \e$BEv$?$j$^$9!#\e(B
1406 <p>
1407 \e$B8e$K!"<i2,\e(B \e$BCNI'\e(B \e$B$i$K$h$C$F\e(B tm \e$B$NA4LL=q$-49$(:n6H$,9T$o$l!"$3$N2aDx$G!"\e(B
1408 tm \e$B$O\e(B APEL, MEL, SEMI, EMH, RMAIL-MIME, Gnus-MIME \e$B$J$I$KJ,$1$i$l$^$7$?!#\e(B
1409 \e$B$3$N$&$A$N\e(B MEL \e$B$,\e(B FLIM \e$B$ND>@\$N@hAD$KEv$?$j$^$9!#\e(B
1410 <p>
1411 \e$B8e$K!"\e(BAPEL \e$B$+$i\e(B <file>std11.el</file> \e$B$,0\$5$l!"$^$?!"\e(B
1412 <file>mailcap.el</file>, <file>eword-decode.el</file> \e$B$*$h$S\e(B 
1413 <file>eword-encode.el</file> \e$B$,\e(B SEMI \e$B$+$i0\$5$l!"\e(Bpackage \e$B$NL>A0$,\e(B FLIM
1414 \e$B$H$J$j$^$9!#\e(B
1415 <p>
1416 \e$B$3$ND>A0$+$iEDCf\e(B \e$BE/\e(B \e$B;a$,$h$j\e(B RFC \e$B$KCi<B$J<BAu$r=q$-;O$a!"$3$l$O!"8=:_!"\e(B
1417 FLIM \e$B$N;^$G$"$k\e(B ``FLIM-FLAM'' \e$B$H$J$C$F$$$^$9!#\e(B
1418
1419
1420 <h1> \e$B35G0:w0z\e(B
1421 <node> Concept Index
1422
1423 <cindex>
1424
1425
1426 <h1> \e$B4X?t:w0z\e(B
1427 <node> Function Index
1428
1429 <findex>
1430
1431
1432 <h1> \e$BJQ?t:w0z\e(B
1433 <node> Variable Index
1434
1435 <vindex>
1436
1437 </body>