8
|
1 \input texinfo.tex
|
|
2 @setfilename tm-edit-ja.info
|
10
|
3 @settitle{tm-edit 7.100 $B@bL@=q!JF|K\8lHG!K(B}
|
8
|
4 @titlepage
|
10
|
5 @title tm-edit 7.100 $B@bL@=q!JF|K\8lHG!K(B
|
8
|
6 @author $B<i2,(B $BCNI'(B <morioka@@jaist.ac.jp>
|
10
|
7 @subtitle 1996/12/25
|
8
|
8 @end titlepage
|
|
9 @node Top, Introduction, (dir), (dir)
|
10
|
10 @top tm-edit 7.100 $B@bL@=q!JF|K\8lHG!K(B
|
8
|
11
|
|
12 @ifinfo
|
|
13
|
|
14 This file documents tm-edit, a MIME composer for GNU Emacs.@refill
|
|
15
|
|
16 GNU Emacs $BMQ$N(B MIME composer $B$G$"$k(B `tm-edit' $B$K$D$$$F@bL@$7$^$9!#(B
|
|
17 @end ifinfo
|
|
18
|
|
19 @menu
|
|
20 * Introduction:: What is tm-edit?
|
|
21 * mime/editor-mode::
|
|
22 * single-part operations:: single-part $B$KBP$9$kA`:n(B
|
|
23 * enclosure operation:: enclosure $B$KBP$9$kA`:n(B
|
|
24 * other operations of mime/editor-mode:: mime/editor-mode $B$K$*$1$k$=$NB>$NA`:n(B
|
10
|
25 * tag specification for inserted file:: $BA^F~$5$l$k(B file $B$KBP$9$k(B tag $B$N7hDj(B
|
8
|
26 * transfer level::
|
|
27 * header:: header $B$G$NHs(B ASCII $BJ8;z$N;HMQ(B
|
|
28 * PGP::
|
10
|
29 * Acknowledgments:: $B<U<-(B
|
8
|
30 * Concept Index:: $B35G0:w0z(B
|
|
31 * Function Index:: $B4X?t:w0z(B
|
|
32 * Variable Index:: $BJQ?t:w0z(B
|
|
33 @end menu
|
|
34
|
|
35 @node Introduction, mime/editor-mode, Top, Top
|
|
36 @chapter What is tm-edit?
|
10
|
37 @cindex tm-edit
|
8
|
38
|
10
|
39 @strong{tm-edit} $B$O(B GNU Emacs $B$GF0:n$9$kHFMQE*$J(B MIME composer $B$G$9!#(B
|
|
40 @refill
|
8
|
41
|
|
42 tm-edit $B$O(B GNUS $B$N:n<T$H$7$F$bM-L>$J(B $BG_ED(B $B@/?.(B
|
|
43 <umerin@@mse.kyutech.ac.jp> $B$5$s$,=q$+$l$?(B
|
|
44 @file{mime.el} $B$r4p$K(B
|
|
45
|
|
46 @itemize @bullet
|
|
47 @item
|
|
48 RFC 1521/1522 $B2=(B
|
|
49 @item
|
|
50 Content-Disposition field (@ref{(tm-ja)Content-Disposition}) (RFC 1806)
|
|
51 $B$NMxMQ(B
|
|
52 @item
|
|
53 $BF~$l;R$K$J$C$?(B multi-part message (@ref{(tm-ja)multipart})
|
|
54 @item
|
|
55 PGP (@ref{PGP})
|
|
56 @item
|
|
57 file type $B$K$*$1$k(B parameter $B$N<+F0;XDj$N6/2=(B
|
|
58 @end itemize
|
|
59
|
|
60 @noindent
|
|
61 $B$J$I$N2~NI$r9T$$$^$7$?!#(B
|
|
62
|
|
63 tm-MUA (@ref{(tm-ja)tm-MUA}) $B$G$O(B tm-edit $B$r;H$&$3$H$K$h$j!"MF0W$K(B MIME
|
|
64 message $B$r:n@.$G$-$^$9!#(B
|
|
65
|
|
66
|
|
67 @node mime/editor-mode, single-part operations, Introduction, Top
|
|
68 @chapter mime/editor-mode
|
10
|
69 @cindex enclosure
|
|
70 @cindex multi-part $B=*N;(B tag
|
|
71 @cindex multi-part $B3+;O(B tag
|
|
72 @cindex tag
|
|
73 @cindex mime/editor-mode
|
8
|
74
|
10
|
75 @strong{mime/editor-mode} $B$O(B MIME message $B$r:n@.$9$k$?$a$N(B minor mode $B$G(B
|
|
76 $B$9!#$3$N(B mode $B$G$O(B @strong{tag} $B$r;H$C$F$5$^$6$^$J<oN`$N(B data $B$rI=8=$7!"(B
|
|
77 $BJ#?t$NItJ,$+$i$J$k(B message (@ref{(tm-ja)multipart}) $B$rJT=8$9$k$3$H$r2DG=(B
|
|
78 $B$K$7$F$$$^$9!#(B@refill
|
8
|
79
|
|
80 tag $B$K$O(B
|
|
81
|
|
82 @itemize @bullet
|
|
83 @item
|
|
84 single-part tag
|
|
85 @item
|
|
86 multi-part tag
|
|
87 @end itemize
|
|
88
|
|
89 @noindent
|
|
90 $B$N#2$D$,$"$j$^$9!#(B
|
|
91
|
|
92 single-part tag $B$O(B single part $B$rI=8=$9$k$?$a$N(B tag $B$G!"(B@refill
|
|
93
|
|
94 @example
|
|
95 --[[TYPE/SUBTYPE;PARAMETERS][ENCODING]
|
|
96 OPTIONAL-FIELDS]
|
|
97 @end example
|
|
98
|
|
99 @noindent
|
|
100 $B$H$$$&$h$&$J7A$r$7$F$$$^$9!#(B
|
|
101
|
|
102 TYPE/SUBTYPE $B$*$h$S(B PARAMETERS $B$O(B Content-Type field
|
|
103 (@ref{(tm-ja)Content-Type field}) $B$N(B type/subtype $B$*$h$S(B parameters $B$rI=(B
|
|
104 $B$7$^$9!#(BTYPE/SUBTYPE $B$OI,?\$G$"$j!"(BPARAMETERS $B$O>JN,2D$G$9!#(B@refill
|
|
105
|
|
106 ENCODING $B$O(B Content-Transfer-Encoding field $B$rI=$7$^$9!#$3$l$b>JN,2D$G$9!#(B
|
|
107 @refill
|
|
108
|
|
109 OPTIONAL-FIELDS $B$O(B Content-Type, Content-Transfer-Encoding $B0J30$N(B field
|
|
110 $B$r=q$/$?$a$NItJ,$G!">JN,2D$G$9!#(B@refill
|
|
111
|
|
112 multi-part tag $B$O(B multi part (@ref{(tm-ja)multipart}) $B$rI=8=$9$k$?$a$N(B
|
|
113 tag $B$G!"(B@refill
|
|
114
|
|
115 @example
|
|
116 --<<TYPE>>-@@@{
|
|
117 @end example
|
|
118
|
|
119 @noindent
|
10
|
120 $B$H$$$&7A$N(B @strong{multi-part $B3+;O(B tag} $B$H8F$P$l$k(B multi
|
8
|
121 part $B$N3+;O$r<($9(B tag $B$H(B
|
|
122
|
|
123 @example
|
|
124 --@@@}-<<TYPE>>
|
|
125 @end example
|
|
126
|
|
127 @noindent
|
10
|
128 $B$H$$$&7A$N(B @strong{multi-part $B=*N;(B tag} $B$H8F$P$l$k(B multi
|
8
|
129 part $B$N=*N;$r<($9(B tag $B$,$"$j$^$9!#(B
|
|
130
|
|
131 $B$^$?!"(Bmulti-part $B3+;O(B tag $B$H(B multi-part $B=*N;(B tag $B$G0O$^$l$?ItJ,$r(B
|
10
|
132 @strong{enclosure} $B$H8F$S$^$9!#(B
|
8
|
133
|
|
134
|
|
135 @node single-part operations, enclosure operation, mime/editor-mode, Top
|
|
136 @chapter single-part $B$KBP$9$kA`:n(B
|
|
137
|
|
138 single-part $B$r:n$k$?$a$NA`:n$K$O0J2<$N$h$&$J$b$N$,$"$j$^$9!#(B
|
|
139
|
|
140 @table @kbd
|
|
141 @item @key{C-c C-x C-t}
|
|
142 text part $B$rI=$9(B single-part tag $B$rA^F~$7$^$9!#(B
|
|
143
|
|
144 @item @key{C-c C-x C-i}
|
10
|
145 file $B$r(B MIME part $B$H$7$FE:IU$7$^$9!#A0$K(B @kbd{C-u} $B$rIU$1$?>l9g!">o$K(B
|
|
146 media-type, subtype $BEy$rJ9$$$FMh$^$9!#(B(cf. @ref{tag specification for inserted file})
|
8
|
147
|
|
148 @item @key{C-c C-x C-e}
|
|
149 external part $B$rA^F~$7$^$9!#(B
|
|
150
|
|
151 @item @key{C-c C-x C-v}
|
|
152 @kbd{C-g} $B$,2!$5$l$k$^$GO?2;$r9T$$!"2;@<(B part $B$rA^F~$7$^$9!#!J;H(B
|
|
153 $BMQ$G$-$J$$>l9g$,$"$j$^$9!K(B
|
|
154
|
|
155 @item @key{C-c C-x C-y}
|
|
156 $B8=:_I=<(Cf$N(B (mail or news) message $B$rA^F~$7$^$9!#!J<B:]$NF0:n$O;HMQ$7(B
|
|
157 $B$F$$$k(B MUA $B$K0MB8$7$^$9!K(B
|
|
158
|
|
159 @item @key{C-c C-x C-m}
|
|
160 mail message $B$rA^F~$7$^$9!#(B
|
|
161
|
|
162 @item @key{C-c C-x C-w}, @key{C-c C-x C-s}
|
|
163 signature $B$rA^F~$7$^$9!#(B
|
|
164
|
|
165 @item @key{C-c C-x C-k}
|
|
166 PGP (@ref{PGP}) $B$N8x3+80$rA^F~$7$^$9!#(B
|
|
167
|
|
168 @item @key{C-c C-x t}
|
|
169 $BG$0U$N(B single-part tag $B$rA^F~$7$^$9!#(B
|
|
170
|
|
171 @end table
|
|
172
|
|
173
|
|
174
|
|
175 @node enclosure operation, other operations of mime/editor-mode, single-part operations, Top
|
|
176 @chapter enclosure $B$KBP$9$kA`:n(B
|
|
177
|
|
178 enclosure $B$r:n$k$?$a$NA`:n$H$7$F$O0J2<$N$h$&$J$b$N$,$"$j$^$9!#(B
|
|
179
|
|
180 @table @kbd
|
|
181 @item @key{C-c C-x a}
|
|
182 $B;XDj$7$?(B region $B$r(B multipart/alternative $B$H$7$F0O$_$^$9!#(B
|
|
183
|
|
184 @item @key{C-c C-x p}
|
|
185 $B;XDj$7$?(B region $B$r(B multipart/parallel $B$H$7$F0O$_$^$9!#(B
|
|
186
|
|
187 @item @key{C-c C-x m}
|
|
188 $B;XDj$7$?(B region $B$r(B multipart/mixed $B$H$7$F0O$_$^$9!#(B
|
|
189
|
|
190 @item @key{C-c C-x d}
|
|
191 $B;XDj$7$?(B region $B$r(B multipart/digest $B$H$7$F0O$_$^$9!#(B
|
|
192
|
|
193 @item @key{C-c C-x s}
|
10
|
194 $B;XDj$7$?(B region $B$KEE;R=pL>$r9T$$$^$9!#(B(cf. @ref{PGP})
|
8
|
195
|
|
196 @item @key{C-c C-x e}
|
10
|
197 $B;XDj$7$?(B region $B$r0E9f2=$7$^$9!#(B(cf. @ref{PGP})
|
8
|
198
|
|
199 @item @key{C-c C-x q}
|
|
200 $B;XDj$7$?(B region $BFb$N(B tag $B$rL58z$K$7!"$=$N(B tag $B$rJ8;zNs$H$7$FMxMQ$G$-$k(B
|
|
201 $B$h$&$K$7$^$9!#!J8=:_$NHG$G$O$&$^$/F/$+$J$$$3$H$,$"$j$^$9!#$^$?!"EE;R=p(B
|
|
202 $BL>$H$NJ;MQ$K4X$7$F$bIT40A4$G$9!K(B
|
|
203
|
|
204 @end table
|
|
205
|
|
206
|
|
207
|
10
|
208 @node other operations of mime/editor-mode, tag specification for inserted file, enclosure operation, Top
|
8
|
209 @chapter mime/editor-mode $B$K$*$1$k$=$NB>$NA`:n(B
|
|
210
|
|
211 mime/editor-mode $B$K$*$1$k$=$NB>$NA`:n$r@bL@$7$^$9!#(B
|
|
212
|
|
213 @table @kbd
|
|
214 @item @key{C-c C-c}
|
|
215 $BJT=8Cf$N(B message $B$rAw?.$7$^$9!#(B
|
|
216
|
|
217 @item @key{C-c C-x C-p}
|
10
|
218 $BJT=8Cf$N(B message $B$r(B preview $B$7$^$9!#(B
|
|
219 (cf. @ref{(tm-view-ja)mime/viewer-mode})
|
8
|
220
|
|
221 @item @key{C-c C-x C-z}
|
|
222 $BJT=8Cf$N(B message $B$rAw?.$9$k$3$H$J$/!"(Bmime/editor-mode $B$r=*N;$7$^$9!#(B
|
|
223
|
|
224 @item @key{C-c C-x ?}
|
|
225 help message $B$rI=<($7$^$9!#(B
|
|
226
|
|
227 @item @key{C-c C-x /}
|
|
228 $BBg$-$J(B message $B$rAw?.$9$k>l9g$K(B message/partial $B7A<0$K<+F0J,3d2DG=$H$9(B
|
|
229 $B$k$+$I$&$+$r7h$a$^$9!#(B
|
|
230
|
|
231 @item @key{C-c C-x 7}
|
|
232 transfer level (@ref{transfer level}) $B$r(B 7bit (@ref{(tm-ja)7bit}) $B$K$7$^(B
|
|
233 $B$9!#(B
|
|
234
|
|
235 @item @key{C-c C-x 8}
|
|
236 transfer level (@ref{transfer level}) $B$r(B 8bit (@ref{(tm-ja)8bit}) $B$K$7$^(B
|
|
237 $B$9!#(B
|
|
238
|
|
239 @item @key{C-c C-x v}
|
10
|
240 message $BA4BN$rEE;R=pL>$9$k$+$I$&$+$r7h$a$^$9!#(B(cf. @ref{PGP})
|
8
|
241
|
|
242 @item @key{C-c C-x h}
|
10
|
243 message $BA4BN$r0E9f2=$9$k$+$I$&$+$r7h$a$^$9!#(B(cf. @ref{PGP})
|
8
|
244
|
|
245 @item @key{C-c C-x ?}
|
|
246 help message $B$rI=<($7$^$9!#(B
|
|
247
|
|
248 @end table
|
|
249
|
|
250
|
|
251
|
10
|
252 @node tag specification for inserted file, transfer level, other operations of mime/editor-mode, Top
|
|
253 @chapter $BA^F~$5$l$k(B file $B$KBP$9$k(B tag $B$N7hDj(B
|
|
254
|
|
255 @kbd{C-c C-x C-i} (@code{mime-editor/insert-file}) $B$r<B9T$7$?;~!"A^F~$5(B
|
|
256 $B$l$k(B file $B$KBP$9$k(B media-type $B$d(B encoding $B$J$I$N(B tag $B$N>pJs$OJQ?t(B
|
|
257 @code{mime-file-types} $B$K$h$C$F(B file $BL>$+$i?dB,$5$l$^$9!#(B@refill
|
|
258
|
|
259 $BA0$K(B @kbd{C-u} $B$rIU$1$?;~!"$*$h$S!"E,Ev$JCM$,8+IU$+$i$J$+$C$?>l9g!"(Buser
|
|
260 $B$KBP$7$FCM$NF~NO$rB%$7$^$9!#!JA0$K(B @kbd{C-u} $B$rIU$1$?;~!"?dB,$5$l$?CM$,(B
|
|
261 $B4{DjCM$H$7$FMQ$$$i$l$^$9!K(B@refill
|
|
262
|
|
263 file $BL>$KBP$9$k4{DjCM$rJQ$($?$$>l9g$OJQ?t(B @code{mime-file-types}
|
|
264 $B$r@_Dj$7$F2<$5$$!#(B
|
|
265
|
|
266 @defvar mime-file-types
|
|
267
|
|
268 $BA^F~$5$l$k(B file $B$N(B file $BL>$KBP$9$k(B tag $B$N4{DjCM$rM?$($k!#(B@refill
|
|
269
|
|
270 $B$3$NJQ?t$O(B
|
|
271
|
|
272 @lisp
|
|
273 (FILE_PAT TYPE SUBTYPE PARAMS ENCODING
|
|
274 DISPOSITION_TYPE DISPOSITION_PARAMS)
|
|
275 @end lisp
|
|
276
|
|
277
|
|
278 $B$H$$$&(B list $B$N(B list $B$G!"3FMWAG$O0J2<$NDL$j$G$"$k!'(B
|
|
279
|
|
280 @table @samp
|
|
281 @item FILE_PAT
|
|
282 file $BL>$rI=$9@55,I=8=(B
|
|
283
|
|
284 @item TYPE
|
|
285 media type
|
|
286
|
|
287 @item SUBTYPE
|
|
288 media subtype
|
|
289
|
|
290 @item PARAMS
|
|
291 Content-Type field $B$N(B parameter
|
|
292
|
|
293 @item ENCODING
|
|
294 Content-Transfer-Encoding
|
|
295
|
|
296 @item DISPOSITION_TYPE
|
|
297 disposition-type
|
|
298
|
|
299 @item DISPOSITION_PARAMS
|
|
300 Content-Disposition field $B$N(B parameter
|
|
301
|
|
302 @end table
|
|
303
|
|
304 @noindent
|
|
305 $B@_DjNc!'(B @file{*.rtf} $B$KBP$9$k(B media type $B$r(B application/rtf $B$K(B
|
|
306 $B$9$k>l9g(B
|
|
307
|
|
308 @lisp
|
|
309 (call-after-loaded
|
|
310 'tm-edit
|
|
311 (lambda ()
|
|
312 (set-alist 'mime-file-types
|
|
313 "\\.rtf$"
|
|
314 '("application" "rtf" nil nil
|
|
315 "attachment" (("filename" . file)))
|
|
316 )))
|
|
317 @end lisp
|
|
318 @end defvar
|
|
319
|
|
320
|
|
321
|
|
322 @node transfer level, header, tag specification for inserted file, Top
|
8
|
323 @chapter transfer level
|
10
|
324 @cindex transfer level
|
8
|
325
|
|
326 message $B$KA^F~$9$k(B data $B$O(B 7bit (@ref{(tm-ja)7bit}) $B$J$$$7(B 8bit
|
|
327 (@ref{(tm-ja)8bit}) $B$b$7$/$O(B binary (@ref{(tm-ja)binary}) $B$GI=8=$9$k$3$H(B
|
|
328 $B$,$G$-$^$9!#(B@refill
|
|
329
|
|
330 $B$h$C$F!"(B7bit $B$7$+DL$5$J$$(B MTA (@ref{(tm-ja)MTA}) $B$r7PM3$9$k>l9g!"(B7bit $B$N(B
|
|
331 data $B$O$=$N$^$^$GAw$l$^$9$,!"(B8bit $B$d(B binary $B$N(B data $B$O(B 7bit $B$KJQ49$7$J$1(B
|
|
332 $B$l$P$J$j$^$;$s!#(B@refill
|
|
333
|
|
334 $BF1MM$K!"(B8bit $B$7$+DL$5$J$$(B MTA $B$r7PM3$9$k>l9g!"(B7bit $B$d(B 8bit $B$N(B data $B$O$=(B
|
|
335 $B$N$^$^$GAw$l$^$9$,!"(Bbinary $B$N(B data $B$O(B 7bit $B$+(B 8bit $B$KJQ49$7$J$1$l$P$J$j(B
|
|
336 $B$^$;$s!#(B@refill
|
|
337
|
|
338 @noindent
|
|
339 @strong{[Memo]}
|
|
340 @quotation
|
|
341 EBCDIC $B$7$+DL$5$J$$(B MTA $B$r7PM3$9$k>l9g!"(B7bit $B$N(B data $B$b(B base64 $BEy$GJQ(B
|
|
342 $B49$7$J$$$HAw$l$^$;$s$,!";d$O(B EBCDIC $B$N$3$H$^$G$OCN$j$^$;$s!#(B(^_^;
|
|
343
|
|
344 $BF1MM$K!"@)8fJ8;z$rDL$5$J$$(B MTA $B$N$3$H$d(B code $BJQ49$r9T$J$&(B MTA $B$b>C$($F$J(B
|
|
345 $B$/$J$C$FM_$7$$$G$9!#(B(^_^;@refill
|
|
346
|
|
347 binary $B$bDL$9(B MTA $B$bB8:_$9$k$s$G$7$g$&$,!":#$N$H$3$m$"$^$j0lHLE*$H$O$$$((B
|
|
348 $B$J$$$G$7$g$&!#(B
|
|
349 @end quotation
|
|
350
|
10
|
351 @strong{transfer level} $B$H$$$&$N$O$I$NHO0O$N(B data $B$^$GAw$l$k(B
|
8
|
352 $B$+$H$$$&$3$H$rI=$9$b$N$G$9!#(Btm-edit $B$O(B
|
|
353 @code{mime-editor/transfer-level} $B$H$$$&JQ?t$r;}$C$F$*$j!"$3$l$G(B
|
|
354 transfer level $B$rI=8=$7$^$9!#(B
|
|
355
|
|
356
|
|
357 @defvar mime-editor/transfer-level
|
|
358
|
|
359 transfer level $B$rI=$9!#(B@refill
|
|
360
|
|
361 $B$"$k(B data $B$N(B transfer level $B$,$3$NCM$r1[$($k>l9g!"(B7bit data $B$X$NJQ49$,9T(B
|
|
362 $B$o$l$k!#(B@refill
|
|
363
|
|
364 $B8=:_$N$H$3$m!"(B7 $B$+(B 8 $B$,M-8z$G$"$k!#4{DjCM$O(B 7 $B$G$"$k!#(B@refill
|
|
365
|
|
366 EBCDIC $B$r(B 5, ASCII printable $B$N$_$r(B 6, binary $B$r(B 9 $B$H$9$k$3$H$r7W2h$7$F(B
|
|
367 $B$$$k$,!"<BAu$NM=Dj$O$J$$!#(B
|
|
368 @end defvar
|
|
369
|
|
370
|
|
371
|
|
372 @noindent
|
|
373 @strong{[Memo]}
|
|
374 @quotation
|
|
375 transfer level $B$O(B message header (@ref{header}) $B$K$O4X78$7$J$$!#(BRFC 1521
|
10
|
376 $B$O(B body $B$K$*$$$F!"(B8bit $B$N(B data $B$r;H$($k$h$&$K(B RFC 822 (@ref{(tm-ja)RFC 822}) $B$r3HD%$7$F$$$k$,!"(Bmessage header $B$G$O(B us-ascii
|
8
|
377 (@ref{(tm-ja)us-ascii}) $B$N$_$rMQ$$$k$3$H$r5a$a$F$$$k!#(B
|
|
378 @end quotation
|
|
379
|
|
380
|
|
381
|
|
382 @node header, PGP, transfer level, Top
|
|
383 @chapter header $B$G$NHs(B ASCII $BJ8;z$N;HMQ(B
|
10
|
384 @cindex encoded-word
|
8
|
385
|
|
386 RFC 1522 (@ref{(tm-ja)RFC 1522}) $B$G$O(B header $B$GHs(B ASCII $BJ8;z$rI=8=$9$k$?(B
|
|
387 $B$a$NJ}K!$rDj5A$7$F$$$^$9!#(B@refill
|
|
388
|
10
|
389 $B$3$l$O(B @strong{encoded-word} (@ref{(tm-ja)encoded-word}) $B$H8F$P$l$k7?<0(B
|
|
390 $B$G!"(BMIME charset (@ref{(tm-ja)MIME charset}) $B$r@k8@$7!"$+$D!"(B7bit
|
|
391 (@ref{(tm-ja)7bit}) $B$GI=8=$9$k$3$H$r2DG=$K$7$F$$$^$9!#(B
|
8
|
392
|
|
393
|
|
394 @menu
|
|
395 * evil setting in header:: $B$I$&$7$F$b(B encoded-word $B$r;H$$$?$/$J$$>l9g(B
|
|
396 * API about header:: header $B$K4X$9$k4X?t!&JQ?t(B
|
|
397 @end menu
|
|
398
|
|
399 @node evil setting in header, API about header, header, header
|
|
400 @section $B$I$&$7$F$b(B encoded-word $B$r;H$$$?$/$J$$>l9g(B
|
|
401
|
|
402 $B$H$3$m$G!"(Bheader $B$G(B encoded-word $B$rMQ$$$:$K@8$GHs(B ASCII $BJ8;zNs$rF~$l$k$N(B
|
|
403 $B$O4V0c$C$F$$$^$9!#$J$<$J$i!"(BInternet $B$G$O$5$^$6$^$JId9f2=J8;z=89g(B
|
|
404 (@ref{(tm-ja)Coded character set})$B$,;H$o$l$F$*$j!"(BMIME charset
|
|
405 (@ref{(tm-ja)MIME charset}) $B$rL@<(E*$K@k8@$7$J$1$l$P$=$l$i$r@53N$K6hJL$9(B
|
|
406 $B$k$3$H$O$G$-$J$$$+$i$G$9!#(B@refill
|
|
407
|
|
408 $BNc$($P!"(BMIME charset $B$r@k8@$7$J$1$l$P(B iso-8859-1
|
|
409 (@ref{(tm-ja)iso-8859-1}) $B$H(B iso-8859-2 (@ref{(tm-ja)iso-8859-2}) $B$O8+J,(B
|
|
410 $B$1$,IU$+$J$$$G$7$g$&!#(B@refill
|
|
411
|
|
412 $B$7$+$7$J$,$i!"$I$&$7$F$b(B encoded-word $B$r;H$$$?$/$J$$>l9g$K$O0J2<$NJQ?t(B
|
|
413 $B$r@_Dj$7$F$/$@$5$$!#(B
|
|
414
|
|
415
|
|
416 @defvar mime/field-encoding-method-alist
|
|
417
|
|
418 field $BL>$HId9f2=K!$rI=$9(B symbol $B$NBP$+$i$J$kO"A[(B list.@refill
|
|
419
|
|
420 field $BL>$OJ8;zNs!"$b$7$/$O!"G$0U$NJ8;zNs$rI=$9(B @code{t} $B$G$"$k!#(B@refill
|
|
421
|
|
422 $BId9f2=K!$O!"(B@code{nil} $B$J$i$PL5JQ49!"(B@code{mime} $B$J$i$P(Bencoded-word,
|
|
423 MIME charset $B$rI=$9(B symbol $B$J$i$P$=$NId9f2=J8;z=89g$X(Bencoded-word $B$rMQ$$(B
|
|
424 $B$:$KJQ49$9$k$3$H$rI=$9!#(B@refill
|
|
425
|
|
426 field $BL>$OJ8;zNs$+$i8!:w$5$l!";XDj$7$?J8;zNs$,8+IU$+$i$J$1$l$P(B@code{t}
|
|
427 $B$rMQ$$$k!#(B@refill
|
|
428
|
|
429 $B4{DjCM$O(B
|
|
430
|
|
431 @lisp
|
|
432 (("X-Nsubject" . iso-2022-jp-2)
|
|
433 ("Newsgroups" . nil)
|
|
434 (t . mime)
|
|
435 ))
|
|
436 @end lisp
|
|
437
|
|
438 @noindent
|
|
439 $B$G$"$k!#B($A!"(BX-Nsubject field $B$O@8$N(B iso-2022-jp-2
|
|
440 (@ref{(tm-ja)iso-2022-jp-2}), Newsgroup $B$OL5JQ49!"$=$l0J30$N(B field $B$O(B
|
|
441 encoded-word $B$KJQ49$5$l$k!#(B
|
|
442 @end defvar
|
|
443
|
|
444
|
|
445 $B$^$?!"(Bfield $BKh$G$O$J$/!"Id9f2=J8;z=89gKh$K;XDj$7$?$$>l9g$O!"JQ?t(B
|
|
446 @code{mime-eword/charset-encoding-alist} $B$rMQ$$$F$/$@$5$$!#(B
|
|
447 (@ref{API about header})
|
|
448
|
|
449
|
|
450 @node API about header, , evil setting in header, header
|
|
451 @section header $B$K4X$9$k4X?t!&JQ?t(B
|
|
452
|
|
453 @deffn{Command} mime/encode-message-header &optional code-conversion
|
|
454
|
|
455 Current buffer $B$N(B message header $B$KB8:_$9$kHs(B ASCII $BJ8;z$r(Bnetwork $BI=8=$K(B
|
|
456 $BJQ49$7$^$9!#(B@refill
|
|
457
|
|
458 optional $B0z?t$N(B @var{code-conversion} $B$KHs(B-nil $B$,;XDj$5$l$?>l9g!"(B
|
|
459 encoded-word $B$K$7$J$$(B field $B$r(B@code{mime/field-encoding-method-alist} $B$K(B
|
|
460 $B=>$C$F!"(Bcode $BJQ49$7$^$9!#(B
|
|
461 @end deffn
|
|
462
|
|
463
|
|
464 @defun mime/encode-field string
|
|
465
|
|
466 @var{string} $B$r(B field $B$H$7$F(B encoded-word $B$KJQ49$7$^$9!#(B@refill
|
|
467
|
|
468 $BD9$$9T$O(B RFC 822 $B$K=>$C$F@^JV$5$l$^$9!#(B
|
|
469 @end defun
|
|
470
|
|
471
|
|
472 @defun mime-eword/encode-string string &optional column mode
|
|
473
|
|
474 @var{string} $B$r(B encoded-word $B$KJQ49$7$^$9!#(B@refill
|
|
475
|
|
476 $BD9$$9T$O(B RFC 822 $B$K=>$C$F@^JV$5$l$^$9!#(B@refill
|
|
477
|
|
478 @var{column} $B$O$3$NJ8;zNs$,2?7eL\$+$i;O$^$C$F$$$k$+$r;XDj$7$^$9!#4{DjCM(B
|
|
479 $B$O(B 0 $B$G$9!#(B@refill
|
|
480
|
|
481 @var{mode} $B$O$3$NJ8;zNs$,$I$&$$$&ItJ,$G;H$o$l$F$$$k$+$r<($7$^$9!#;XDj$G(B
|
|
482 $B$-$kCM$H$7$F$O(B @code{text}, @code{comment}, @code{phrase} $B$,$"$j$^$9!#4{(B
|
|
483 $BDjCM$O(B @code{phrase} $B$G$9!#(B
|
|
484 @end defun
|
|
485
|
|
486
|
|
487 @defvar mime-eword/charset-encoding-alist
|
|
488
|
|
489 MIME charset $B$rI=$9(B symbol $B$H(B nil, $B$b$7$/$O!"(B@code{"B"} $B$+(B@code{"Q"} $B$N(B
|
|
490 $BJ8;zNs$NBP$+$i$J$kO"A[(B list.@refill
|
|
491
|
|
492 @code{nil} $B$O$=$N(B MIME charset $B$r(B encoded-word $B$K$7$J$$$3$H$rI=$7!"(B
|
|
493 @code{"B"} $B$O$=$N(B MIME charset $B$r(B B $BJ}<0$N(B encoded-word $B$K$9$k$3$H$rI=$7!"(B
|
|
494 @code{"Q"} $B$O$=$N(B MIME charset $B$r(B Q $BJ}<0$N(B encoded-word $B$K$9$k$3$H$rI=$9!#(B
|
|
495 @end defvar
|
|
496
|
|
497
|
|
498
|
10
|
499 @node PGP, Acknowledgments, header, Top
|
8
|
500 @chapter PGP
|
10
|
501 @cindex PGP-kazu
|
|
502 @cindex PGP/MIME
|
8
|
503
|
10
|
504 tm-edit $B$G$O(B @strong{PGP/MIME} (@ref{(tm-ja)PGP/MIME}) (RFC 2015) $B$*$h$S(B
|
|
505 @strong{PGP-kazu} (@ref{(tm-ja)PGP-kazu}) (draft-kazu-pgp-mime-00.txt)
|
|
506 $B$K$h$k0E9f2=!&EE;R=pL>!&8x3+80$NA^F~5!G=$rMxMQ$9$k$3$H$,$G$-$^$9!#(B
|
8
|
507
|
|
508 $BC"$7!"$3$N5!G=$rMxMQ$9$k$K$O(B Mailcrypt package (@ref{(mailcrypt)}) $B$H(B
|
|
509 pgp command $B$,I,MW$G$9!#(B@refill
|
|
510
|
|
511 $B$^$?!"JQ?t(B @code{mimed-editor/signing-type} $B$HJQ?t(B
|
|
512 @code{mime-editor/encrypting-type} $B$K(B @code{pgp-elkins} $B$+(B
|
|
513 @code{pgp-kazu} $B$rBeF~$7$F$/$@$5$$!#(B@refill
|
|
514
|
|
515 @code{pgp-elkins} $B$r;XDj$7$?>l9g(B PGP/MIME $B$,;H$o$l!"(B
|
|
516 @code{pgp-kazu} $B$r;XDj$7$?>l9g(B PGP-kazu $B$,;H$o$l$^$9!#(B
|
|
517
|
|
518
|
|
519 @defvar mimed-editor/signing-type
|
|
520
|
|
521 PGP $B$G$NEE;R=qL>$N7A<0$r;XDj$7$^$9!#(B@refill
|
|
522
|
|
523 @code{pgp-elkins} $B$+(B @code{pgp-kazu} $B$r;XDj$7$F$/$@$5$$!#(B@refill
|
|
524
|
|
525 $B4{DjCM$O(B @code{nil} $B$G$9!#(B
|
|
526 @end defvar
|
|
527
|
|
528
|
|
529 @defvar mime-editor/encrypting-type
|
|
530
|
|
531 PGP $B$G$N0E9f2=$N7A<0$r;XDj$7$^$9!#(B@refill
|
|
532
|
|
533 @code{pgp-elkins} $B$+(B @code{pgp-kazu} $B$r;XDj$7$F$/$@$5$$!#(B@refill
|
|
534
|
|
535 $B4{DjCM$O(B @code{nil} $B$G$9!#(B
|
|
536 @end defvar
|
|
537
|
|
538
|
|
539
|
10
|
540 @node Acknowledgments, Concept Index, PGP, Top
|
|
541 @chapter $B<U<-(B
|
|
542
|
|
543 $B:G=i$K!"(Btm-edit $B$NA0?H$H$J$C$?(B @file{mime.el} $B$r=q$-!"$=$NG[I[$H2~B$$r$*(B
|
|
544 $B5v$72<$5$C$?!"G_ED@/?.$5$s$K46<U$7$^$9!#(Btm-edit $B$N(B user interface $B$N4pK\(B
|
|
545 $BE*$J@_7W$OG_ED$5$s$N<j$K$h$k$b$N$G!"$H$F$bNI$$@_7W$G$"$C$?$H;W$$$^$9!#(B
|
|
546 @refill
|
|
547
|
|
548 $B<!$K!"(Bbeta test $B$K6(NO$7$F2<$5$C$?F|K\8lHG!"1Q8lHGAPJ}$N(B tm mailing
|
|
549 list $B$N(B member $B$K46<U$7$^$9!#(B
|
|
550
|
|
551
|
|
552 @node Concept Index, Function Index, Acknowledgments, Top
|
8
|
553 @chapter $B35G0:w0z(B
|
|
554
|
|
555 @printindex cp
|
|
556
|
|
557 @node Function Index, Variable Index, Concept Index, Top
|
|
558 @chapter $B4X?t:w0z(B
|
|
559
|
|
560 @printindex fn
|
|
561
|
|
562 @node Variable Index, , Function Index, Top
|
|
563 @chapter $BJQ?t:w0z(B
|
|
564
|
|
565 @printindex vr
|
|
566 @bye
|