* sasl.texi: Texinfo markup fixes. From Jesper Harder
[elisp/flim.git] / mime-ja.sgml
1 <!doctype sinfo system>
2 <head>
3 <title>FLIM 1.14 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>mime-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="mime-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
936 <h1> \e$BIUO?\e(B
937 <node> Appendix
938
939 <h2> \e$BMQ8l\e(B
940 <node> Glossary
941
942 <h3> 7bit
943 <node> 7bit
944 <p>
945 \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
946 <p>
947\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
948 \e$B$V!#\e(B
949 <p>
950 \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
951 \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
952 \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
953 <p>
954 \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
955 7bit \e$B$N\e(B data \e$B$O\e(B <dref>Quoted-Printable</dref> \e$B$d\e(B <dref>Base64</dref> 
956 \e$B$H$$$C$?JQ49$r9T$o$J$/$F$b$=$N$^$^E>Aw$G$-$k!#\e(B
957 <p>
958 \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
959 \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
960 \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
961 byte \e$B0JFb$G$"$k$3$H$r5a$a$F$$$k!#$h$C$F!"$3$l0J>e$N9T$,4^$^$l$k2DG=@-\e(B
962 \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 
963 encode\e$B$9$kI,MQ$,$"$k!#\e(B
964
965
966 <h3> 8bit
967 <node> 8bit
968 <p>
969 \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
970 <p>
971\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
972 \e$B$V!#\e(B
973 <p>
974 \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
975 \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
976 \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
977 2022</dref> \e$B$N!V\e(B8 \e$BC10L7O!W$HF1MM!K!#\e(B
978 <p>
979 <dref>iso-8859-1</dref> \e$B$d\e(B <dref>euc-kr</dref> \e$B$H$$$C$?Id9f2=J8;z=89g\e(B
980 \e$B$O\e(B 8bit \e$B$NJ8;zNs$G$"$k!#\e(B
981 <p>
982 \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
983 \e$B$+E>Aw$G$-$J$$$N$G!"$=$&$7$?\e(B MTA \e$B$r7PM3$9$k>l9g!"\e(B
984 <dref>Quoted-Printable</dref> \e$B$d\e(B <dref>Base64</dref> \e$B$H$$$C$?JQ49$r9T\e(B
985 \e$B$o$J$/$F$O$J$i$J$$!#\e(B
986 <p>
987 \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
988 \e$B$F$-$?$N$G!"$=$N$^$^Aw$k$3$H$,$G$-$k>l9g$bA}$($F$-$?!#\e(B
989 <p>
990 \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
991 \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
992 \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
993 byte \e$B0JFb$G$"$k$3$H$r5a$a$F$$$k!#$h$C$F!"$3$l0J>e$N9T$,4^$^$l$k2DG=@-\e(B
994 \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 
995 encode\e$B$9$kI,MQ$,$"$k!#\e(B
996 <p>
997 \e$B$^$?!"$3$&$7$?M}M3$+$i!"#19T$,\e(B 999 byte \e$B0J>e$N9T$,B8:_$9$k2DG=@-$N$"$k\e(B
998 data \e$B$O\e(B <a node="binary"><concept>binary</concept></a> \e$B$H8F$V$3$H$K$9\e(B
999 \e$B$k!#\e(B
1000 <p>
1001 \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
1002 ``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
1003 \e$B$"$k!#\e(B
1004
1005
1006 <h3> ASCII
1007 <node> ASCII
1008 <p>
1009 \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
1010 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
1011 \e$B8=:_$O9q:]4p=`HG\e(B (IRV) \e$B$K$J$C$F$$$k!#\e(B
1012
1013 <standard abbrev="ASCII" title-en="Coded Character Set -- 7-Bit
1014               American Standard Code for Information Interchange"
1015               number="ANSI X3.4" year="1986">
1016
1017
1018 <h3> Base64
1019 <node> Base64
1020 <p>
1021 <dref>RFC 2045</dref> \e$B$GDj5A$5$l$F$$$k\e(B <dref>MIME</dref> \e$B$K$*$1$k\e(B <a
1022 node="binary">binary data</a> \e$B$N\e(B network \e$B$G$NJQ49K!$N#1$D!#\e(B
1023 <p>
1024 \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 
1025 <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 
1026 <concept>pad</concept> \e$B$H8F$P$l$k5M$aJ*$r$7$FD9$5$rD4@0$9$k!K\e(B
1027 <p>
1028 \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
1029 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
1030 \e$B$l$F$$$k!#\e(B
1031
1032
1033 <h3> binary
1034 <node> binary
1035 <p>
1036 \e$BG$0U$N\e(B byte \e$BNs$r\e(B <concept>binary</concept> \e$B$H8F$V!#\e(B
1037 <p>
1038 <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
1039 <p>
1040 \e$B$^$?!"9T$N9=B$$,$"$C$F$b!"\e(B999 byte \e$B0J>e$+$i$J$k9T$,$"$k>l9g$b\e(B binary 
1041 \e$B$H8F$V$3$H$K$9$k!#\e(B
1042 <p>
1043 \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
1044 \e$B8=$G$-$k!#$h$C$F!"\e(B<concept>binary data</concept> \e$B$H8@$C$?>l9g!"G$0U$N\e(B 
1045 data \e$B$r;X$9$3$H$,$"$k!#\e(B
1046
1047
1048 <h3> Coded character set\e$B!JId9f2=J8;z=89g!K\e(B, Character code\e$B!JJ8;zId9f!K\e(B
1049 <node> Coded character set
1050 <p>
1051 \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
1052
1053
1054 <h3> media-type
1055 <node> media-type
1056 <p>
1057 <dref>MIME</dref> \e$B$K$*$1$k\e(B <dref>entity</dref> \e$B$N<oN`!#\e(B
1058 <concept>primary-type</concept> \e$B$H\e(B <concept>subtype</concept> \e$B$+$i$J$k!#\e(B
1059 <dref>RFC 2046</dref> \e$B$GDj5A$5$l$F$$$k!#\e(B
1060 <p>
1061 primary-type \e$B$OI8=`$G$O\e(B
1062
1063 <ul>
1064 <li><concept>text</concept>
1065 </li>
1066 <li><concept>image</concept>
1067 </li>
1068 <li><concept>audio</concept>
1069 </li>
1070 <li><concept>video</concept>
1071 </li>
1072 <li><concept>application</concept>
1073 </li>
1074 <li><a node="multipart"><concept>multipart</concept></a>
1075 </li>
1076 <li><concept>message</concept>
1077 </ul>
1078
1079 <noindent>
1080 \e$B$,Dj5A$5$l!"$=$l$>$l$K$O\e(B application/octet-stream, audio/basic,
1081 image/jpeg, <dref>multipart/mixed</dref>, <dref>text/plain</dref>,
1082 video/mpeg \e$B$J$I$N$5$^$6$^$J\e(B subtype \e$B$,Dj5A$5$l$F$$$k!#\e(B
1083
1084 <memo title="\e$BCm0U\e(B">
1085 <p>
1086 \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 
1087 <concept>primary-type/subtype</concept> \e$B$H=q$/!#\e(B
1088 </memo>
1089
1090 <p>
1091 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
1092 \e$B$-$k!#8=:_!"EPO?$5$l$F$$$k$b$N$O\e(B <a
1093 href="ftp://ftp.isi.edu/in-notes/iana/assignments/media-types">MEDIA
1094 TYPES</a> \e$B$G;2>H$G$-$k!#\e(B
1095 <p>
1096 \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 
1097 <concept>x-token</concept> \e$B$rMQ$$$k$3$H$K$h$j!"EPO?$5$l$F$$$J$$$b$N$r\e(B
1098 \e$B;dE*$KMQ$$$k$3$H$b$G$-$k!#$7$+$7!"EvA3$N$3$H$J$,$i!"$3$&$7$?;dE*$J\e(B 
1099 media-type \e$B$ONJ2r$rF@$?<T$N4V$G$7$+2r<a$G$-$J$$$N$GMxMQ$K$OCm0U$9$k$3\e(B
1100 \e$B$H!#\e(B
1101 <p>
1102 <cf node="Content-Type">
1103
1104
1105 <h3> message
1106 <node> message
1107 <p>
1108 \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
1109
1110
1111 <h3> MIME
1112 <node> MIME
1113 <p>
1114 <concept>Multipurpose Internet Mail Extensions</concept> \e$B$NN,$G!"\e(B
1115 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> 
1116 \e$B0J30$NJ8;z$r;H$&$?$a$N\e(B <dref>RFC 822</dref> \e$B$KBP$9$k3HD%!#\e(B
1117 <p>
1118 RFC 2045 \e$B$OKAF,$G<!$N$h$&$K=R$Y$F$$$k!'\e(B
1119 <p>
1120 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
1121 \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 
1122 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
1123 \e$B$O$J$5$l$F$$$J$$!#\e(BMultipurpose Internet Mail Extensions, \e$B$"$k$$$O\e(B MIME 
1124 \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
1125 \e$B7A<0$r:FDj5A$7$?!'\e(B
1126
1127 <ol>
1128 <li>\e$BJ8=q\e(B message body \e$B$K$*$1$k\e(B US-ASCII \e$B0J30$NJ8;z=89g\e(B
1129 </li>
1130 <li>\e$BHsJ8=q\e(B message body
1131 </li>
1132 <li>\e$BJ#?t$NItJ,$+$i$J$k\e(B message body
1133 </li>
1134 <li>US-ASCII \e$B0J30$NJ8;z=89g$+$i$J$kJ8=q\e(B header \e$B>pJs\e(B
1135 </ol>
1136
1137 <p>
1138 <dref>RFC 2045</dref>, <dref>RFC 2046</dref>, <a
1139 node="encoded-word">RFC 2047</a>, <dref>RFC 2048</dref>, <dref>RFC
1140 2049</dref> \e$B$GDj5A$5$l$F$$$k!#\e(B
1141
1142
1143 <h3> MIME charset
1144 <node> MIME charset
1145 <p>
1146 <dref>Content-Type</dref> \e$BMs$d\e(B <dref>encoded-word</dref> \e$B$N\e(B charset
1147 parameter \e$B$GMQ$$$i$l$kEPO?$5$l$?\e(B<a node="Coded character set">\e$BId9f2=J8\e(B
1148 \e$B;z=89g\e(B</a>\e$B!#\e(B
1149 <p>
1150 <dref>RFC 2045</dref> \e$B$GDj5A$5$l$F$$$k!#\e(B
1151 <p>
1152 iso-2022-jp \e$B$d\e(B euc-kr \e$B$O$=$N#1$D!#\e(B
1153
1154
1155 <h3> MTA
1156 <node> MTA
1157 <p>
1158 <concept>Message Transfer Agent</concept> \e$B$NN,$G!"\e(Bqmail \e$B$d\e(B sendmail \e$B$J\e(B
1159 \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
1160 <p>
1161 <cf node="MUA">
1162
1163
1164 <h3> MUA
1165 <node> MUA
1166 <p>
1167 <concept>Message User Agent</concept> \e$B$NN,$G!"\e(Bmail reader \e$B$H\e(B news
1168 reader \e$B$NAm>N!#\e(B
1169 <p>
1170 <cf node="MTA">
1171
1172
1173 <h3> Quoted-Printable
1174 <node> Quoted-Printable
1175 <p>
1176 <dref>RFC 2045</dref> \e$B$GDj5A$5$l$F$$$k\e(B <dref>MIME</dref> \e$B$K$*$1$k\e(B 
1177 <dref>binary data</dref> \e$B$N\e(B network \e$B$G$NJQ49K!$N#1$D!#\e(B
1178 <p>
1179 `=' \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 
1180 \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 
1181 <dref>Base64</dref> \e$B$KHf$Y$k$H2DFI@-$,9b$/$J$k2DG=@-$,$"$k!#\e(B
1182 <p>
1183 \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
1184 \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
1185 \e$BDc$$!#\e(B
1186
1187
1188 <h3> RFC 822
1189 <node> RFC 822
1190 <p>
1191 Internet mail \e$B$N<g$K\e(B <concept>message header</concept> \e$B$K4X$9$k7A<0$K\e(B
1192 \e$B4X$9$kI8=`$rDj$a$F$$$k\e(B RFC.
1193
1194 <memo>
1195 <p>
1196 news message \e$B$b$3$l$K=`$8$F$$$k$N$G!"\e(B<concept>Internet mail</concept> 
1197 \e$B$H=q$/$h$j$b!"\e(B<concept>Internet message</concept> \e$B$H=q$$$?J}$,NI$$$+$b\e(B
1198 \e$B$7$l$J$$!#\e(B
1199 </memo>
1200
1201 <rfc number="822" type="STD 11" author="D. Crocker" title="Standard
1202               for the Format of ARPA Internet Text Messages"
1203               date="August 1982">
1204
1205
1206 <h3> RFC 1036
1207 <node> RFC 1036
1208 <p>
1209 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 
1210 subset \e$B$K$J$C$F$$$k!#\e(BInternet \e$B$NI8=`$G$O$J$$$,!"\e(BUSENET \e$B0J30$N\e(B netnews 
1211 \e$B$G$b$3$l$K=`$8$F$$$k$b$N$,B?$$!#\e(B
1212
1213 <rfc name="USENET" number="1036" author="M. Horton and R. Adams"
1214               title="Standard for Interchange of USENET Messages"
1215               date="December 1987" obsolete="850">
1216
1217
1218 <h3> RFC 2045
1219 <node> RFC 2045
1220 <p>
1221 <rfc number="2045" type="Standards Track" author="N. Freed and
1222               N. Borenstein" title="Multipurpose Internet Mail
1223               Extensions (MIME) Part One: Format of Internet Message
1224               Bodies" date="November 1996" obsolete="1521, 1522,
1225               1590">
1226
1227
1228 <h3> RFC 2046
1229 <node> RFC 2046
1230 <p>
1231 <rfc number="2046" type="Standards Track" author="N. Freed and
1232               N. Borenstein" title="Multipurpose Internet Mail
1233                  Extensions (MIME) Part Two: Media Types"
1234                  date="November 1996" obsolete="1521, 1522, 1590">
1235
1236
1237 <h3> RFC 2048
1238 <node> RFC 2048
1239 <p>
1240 <rfc number="2048" type="Standards Track" author="N. Freed, J. Klensin
1241               and J. Postel" title="Multipurpose Internet Mail
1242               Extensions (MIME) Part Four: Registration Procedures"
1243               date="November 1996" obsolete="1521, 1522, 1590">
1244
1245
1246 <h3> RFC 2049
1247 <node> RFC 2049
1248 <p>
1249 <rfc number="2049" type="Standards Track" author="N. Freed and
1250               N. Borenstein" title="Multipurpose Internet Mail
1251               Extensions (MIME) Part Five: Conformance Criteria and
1252               Examples" date="November 1996" obsolete="1521, 1522,
1253               1590">
1254
1255
1256 <h3> plain text
1257 <node> plain text
1258 <p>
1259 \e$B=qBN$dAHHG$K4X$9$k>pJs$r;}$?$J$$\e(B<a node="Coded character set">\e$BJ8;zId9f\e(B
1260 </a>\e$B$N$_$GI=8=$5$l$k\e(B text \e$B>pJs!#\e(B<cf node="text/plain">
1261
1262
1263 <h3> us-ascii
1264 <node> us-ascii
1265 <p>
1266 \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
1267 charset</dref> \e$B$N#1$D!#\e(B
1268 <p>
1269 <dref>ASCII</dref> \e$B$N$_$+$i$J$j\e(B ISO 2022 \e$B$K$h$kId9f3HD%$O5v$5$l$J$$!#\e(B
1270 <p>
1271 Internet message \e$B$K$*$1$kI8=`$N\e(B<a node="Coded character set">\e$BId9f2=J8\e(B
1272 \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 
1273 <concept>us-ascii</concept> \e$B$,;H$o$l$k!#\e(B
1274 <p>
1275 \e$B$^$?!"\e(B<dref>RFC 822</dref> \e$B$K$*$1$k\e(B <concept>ASCII</concept> 
1276 \e$B$O\e(B us-ascii \e$B$G$"$k!#\e(B
1277
1278
1279 <h2> bug \e$BJs9p$N;EJ}\e(B
1280 <node> Bug report
1281 <p>
1282 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
1283
1284 <ul>
1285 <li> \e$B1Q8l\e(B <mail>emacs-mime-en@m17n.org</mail>
1286 <li> \e$BF|K\8l\e(B <mail>emacs-mime-ja@m17n.org</mail>
1287 </ul>
1288
1289 <p>
1290 \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
1291 \e$B?7$7$$HG$G$O<#$C$F$$$k$+$b$7$l$^$;$s!#$^$:!":G?7HG$G3NG'$7$F$_$^$7$g$&!#\e(B
1292 <p>
1293 \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
1294 \e$B$&$$$&>u67$J$N$+$O$5$C$Q$jH=$j$^$;$s!#:GDc8B!"\e(BOS, emacs, APEL, FLIM,
1295 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
1296 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
1297 file="emacs" node="Bugs">
1298 <p>
1299 \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
1300 \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
1301 \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
1302 \e$B$F$/$@$5$$!#\e(B
1303
1304 <p>
1305 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
1306 \e$B4X$9$k5DO@$r9T$J$C$F$$$^$9!#\e(BEMACS-MIME ML \e$B$K;22C$7$?$$J}$O\e(B
1307
1308 <ul>
1309 <li> \e$B1Q8l\e(B <mail>emacs-mime-en-ctl@m17n.org</mail>
1310 <li> \e$BF|K\8l\e(B <mail>emacs-mime-ja-ctl@m17n.org</mail>
1311 </ul>
1312
1313 <noindent>
1314 \e$B$K6u$N\e(B mail \e$B$rAw$C$F2<$5$$!#\e(B
1315
1316
1317 <h2> CVS \e$B$K$h$k3+H/\e(B
1318 <node> CVS
1319 <p>
1320 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
1321 \e$B?7$N\e(B FLIM \e$B$rF~<j$9$k$3$H$,$G$-$^$9!'\e(B
1322
1323 <verb>
1324 (0) cvs login
1325
1326     % cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/root login
1327
1328     CVS password: [CR] # NULL string
1329
1330 (1) checkout
1331
1332     % cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/root \
1333         checkout [-r TAG] flim
1334 </verb>
1335
1336 <p>
1337 CVS \e$B$rMQ$$$?3+H/$K;22C$7$?$$J}$O\e(B
1338
1339 <ul>
1340 <li> <mail>cvs@cvs.m17n.org</mail>
1341 </ul>
1342
1343 <noindent>
1344 \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
1345 cvsroot \e$B$O\e(B :ext:cvs@cvs.m17n.org:/cvs/root \e$B$H$J$j$^$9!#\e(B
1346 <p>
1347 \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
1348 \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
1349 \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
1350
1351
1352 <h2> \e$BNr;K\e(B
1353 <node> History
1354 <p>
1355 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>
1356 \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 
1357 B-encoding \e$B@lMQ$N\e(B encoded-word \e$B$NI|9f2=%W%m%0%i%`$G$7$?!#\e(B
1358 <p>
1359 \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
1360 <file>tiny-mime.el</file> \e$B$H$$$&%W%m%0%i%`$r=q$-$^$9!#$3$l$O!"\e(BNemacs 
1361 \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
1362 <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
1363 support \e$B$7!"$^$?!"\e(BMULE \e$B$G07$&$3$H$,$G$-$k$5$^$6$^$J\e(B <dref>MIME
1364 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
1365 \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
1366 \e$B$a$i$l$^$9!#\e(B
1367 <p>
1368 \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
1369 \e$B$?$a$N@_Dj=8$bG[I[$7$F$$$^$7$?$,!"$=$l$i$O8e$K\e(B
1370 <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
1371 \e$B$&L>A0$GG[I[$5$l$^$9!#\e(B
1372 <p>
1373 \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
1374 <file>tm-body.el</file> \e$B$r=q$-$^$9!#$3$l$O!"$9$0$K\e(B
1375 <file>tm-view.el</file> \e$B$H$$$&L>A0$KJQ$o$j$^$7$?$,!"$d$,$F!"$3$l$,\e(B
1376 <file>tiny-mime.el</file> \e$B$KBe$o$C$F!"\e(Btm \e$B$NCf3K$H$J$j$^$9!#\e(B
1377 <p>
1378 <file>tm-view.el</file> \e$B$OEvA3!"\e(BContent-Transfer-Encoding \e$B$r07$&I,MW$,\e(B
1379 \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
1380 \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
1381 Quoted-Printable \e$B$N\e(B code \e$B$,DI2C$5$l$^$7$?!#$3$l$i$,\e(B
1382 <file>mel-b.el</file> \e$B$H\e(B <file>mel-q.el</file> \e$B$K$J$j$^$7$?!#\e(B
1383 <p>
1384 \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
1385 \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
1386 <file>mel-g.el</file> \e$B$,DI2C$5$l$^$7$?!#\e(B
1387 <p>
1388 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
1389 \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 
1390 <file>std11.el</file> \e$B$KEv$?$j$^$9!#$^$?!"$3$N2aDx$G\e(B 
1391 <file>tiny-mime.el</file> \e$B$OI|9f2=$r9T$&\e(B <file>tm-ew-d.el</file> \e$B$HId\e(B
1392 \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 
1393 <file>eword-decode.el</file> \e$B$H\e(B <file>eword-encode.el</file> \e$B$N@hAD$K\e(B
1394 \e$BEv$?$j$^$9!#\e(B
1395 <p>
1396 \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
1397 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
1398 \e$B$3$N$&$A$N\e(B MEL \e$B$,\e(B FLIM \e$B$ND>@\$N@hAD$KEv$?$j$^$9!#\e(B
1399 <p>
1400 \e$B8e$K!"\e(BAPEL \e$B$+$i\e(B <file>std11.el</file> \e$B$,0\$5$l!"$^$?!"\e(B
1401 <file>mailcap.el</file>, <file>eword-decode.el</file> \e$B$*$h$S\e(B 
1402 <file>eword-encode.el</file> \e$B$,\e(B SEMI \e$B$+$i0\$5$l!"\e(Bpackage \e$B$NL>A0$,\e(B FLIM
1403 \e$B$H$J$j$^$9!#\e(B
1404 <p>
1405 \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
1406 FLIM \e$B$N;^$G$"$k\e(B ``FLIM-FLAM'' \e$B$H$J$C$F$$$^$9!#\e(B
1407
1408
1409 <h1> \e$B35G0:w0z\e(B
1410 <node> Concept Index
1411
1412 <cindex>
1413
1414
1415 <h1> \e$B4X?t:w0z\e(B
1416 <node> Function Index
1417
1418 <findex>
1419
1420
1421 <h1> \e$BJQ?t:w0z\e(B
1422 <node> Variable Index
1423
1424 <vindex>
1425
1426 </body>