Initial Commit
[packages] / xemacs-packages / mew / mew / info / mew.texi
1 \input texinfo  @c -*-texinfo-*-
2 @c %**start of header
3 @setfilename mew.info
4 @settitle Mew(Messaging in the Emacs World)
5 @c footnotestyle separate
6 @c paragraphindent 2
7 @c %**end of header
8
9 @clear jp
10 @clear us
11 @set us
12
13 @ifset jp
14 @c Mew \e$B$N\e(B texinfo
15 @c Copyright (C) 1996, 1997, 1998, 1999 \e$B;3K\OBI'\e(B
16 @c M-x texinfo-format-buffer \e$B$G\e(B info \e$B$K$7$F$M!#\e(B
17 @end ifset
18 @ifset us
19 @c Texinfo for Mew
20 @c Copyright (C) 1996, 1997, 1998, 1999 Kazuhiko Yamamoto
21 @c Try "M-x texinfo-format-buffer" or makeinfo to get the Info.
22 @end ifset
23
24 @set version 1.94.2
25 @set modified 1999/11/16
26 @set X-Mailer Mew version 1.94 on XEmacs 20.4
27
28 @titlepage
29 @sp 10
30 @subtitle Messaging in the Emacs World
31 @ifset jp
32 @title \e$B!X\e(BMew\e$B!Y\e(B
33 @subtitle // \e$B$_$e$&\e(B //
34 @author Copyright @copyright{}1996, 1997, 1998, 1999 \e$B;3K\OBI'\e(B
35 @end ifset
36 @ifset us
37 @title Mew
38 @author Copyright @copyright{}1996, 1997, 1998, 1999 Kazuhiko Yamamoto
39 @end ifset
40 @end titlepage
41
42 @ifset jp
43 @dircategory Message User Agent
44 @direntry
45 * Mew-J: (mew.jis.info).     Messaging in the Emacs World (\e$BF|K\8lHG\e(B).
46 @end direntry
47 @end ifset
48
49 @ifset us
50 @dircategory Message User Agent
51 @direntry
52 * Mew: (mew.info).           Messaging in the Emacs World.
53 @end direntry
54 @end ifset
55
56 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
57 @c      Top
58 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
59
60 @ifnottex
61
62 @node Top, Overview, (dir), (dir)
63 @ifset jp
64 @top Mew \e$B%^%K%e%"%k\e(B
65 @end ifset
66 @ifset us
67 @top Mew Manual
68 @end ifset
69
70 @flushright
71 @ifset jp
72 \e$B;3K\OBI'\e(B
73 \e$B:n@.\e(B 1996/02/19
74 \e$B99?7\e(B@value{modified}
75 @end ifset
76 @ifset us
77 Kazu YAMAMOTO
78 Created 1996/02/18
79 Modified@value{modified}
80 @end ifset
81 @end flushright
82
83 @ifset jp
84 \e$B$3$N\e(B Info \e$B$O\e(B Mew \e$B%P!<%8%g%s\e(B@value{version} \e$B$K$D$$$F2r@b$7$^$9!#$3$N\e(B Info 
85 \e$B$NB>$K!"\e(BMew \e$B$K4X$9$kM-1W$J>pJs$O\e(B Mew \e$B$N8x<0%[!<%`%Z!<%8\e(B
86 (http://www.Mew.org/)\e$B$+$iF@$i$l$k$+$b$7$l$^$;$s!#\e(B
87 @end ifset
88 @ifset us
89 This Info documents Mew version @value{version}. In addition to this
90 Info, you may find useful information about Mew from Mew's official home
91 page(http://www.Mew.org/).
92 @end ifset
93
94 @end ifnottex
95
96 @menu
97 @ifset jp
98 * Overview::                    \e$B$O$8$a$KFI$s$G$M\e(B
99 * Start::                       \e$B$5$!;O$a$h$&!*\e(B
100 * Viewing::                     \e$B%a%C%;!<%8$rI=<($9$k\e(B
101 * Composing::                   \e$B%a%C%;!<%8$r:n@.$9$k\e(B
102 * Marks::                       \e$BL{2w$J%^!<%/$?$A\e(B
103 * Refile::                      \e$B3Z!9@0M}@0F\\e(B
104 * Pick::                        \e$B$*L\Ev$F$N%a%C%;!<%8$rA*Br$9$k$K$O\e(B
105 * Quit::                        \e$B0l5Y$_\e(B
106 * Customize::                   \e$B<+J,9%$_$N\e(B Mew \e$B$K$9$k$K$O\e(B
107 * XEmacs::                      \e$B%"%$%3%s$N$"$k@83h\e(B
108 * Convention::                  \e$B%a%C%;!<%8$N:nK!\e(B
109 * MIME::                        MIME \e$B$C$F$J$!$K!)\e(B
110 * Kanji::                       \e$BSK8F4A;z%3!<%I\e(B
111 * Policy::                      Mew \e$B$N$3$@$o$j\e(B
112 * History::                     Mew \e$B$NMh$?F;\e(B
113 * Future::                      Mew \e$B$N9T$/F;\e(B
114 * Avail::                       \e$BF~<jJ}K!$H%a!<%j%s%0%j%9%H\e(B
115 * Ack::                         \e$B<U<-\e(B
116 * Copyright::                   \e$BCx:n8"$K$D$$$F\e(B
117 * Author::                      \e$BCx<T>R2p\e(B
118 * Terminology::                 \e$B8lWC=8\e(B
119 * Bib::                         \e$B;29MJ88%\e(B
120 * Variable Index::              \e$BJQ?t:w0z\e(B
121 @end ifset
122 @ifset us
123 * Overview::                    Read me first
124 * Start::                       Let's get started
125 * Viewing::                     Viewing messages
126 * Composing::                   Composing messages
127 * Marks::                       Funny marks
128 * Refile::                      Happy refiling
129 * Pick::                        How to select messages which you want
130 * Quit::                        Give me a break
131 * Customize::                   Customizing Mew
132 * XEmacs::                      Life with icons
133 * Convention::                  Email convention
134 * MIME::                        What's MIME?
135 * Kanji::                       Ahhh, Kanji code
136 * Policy::                      Mew's policy
137 * History::                     Where did Mew come from?
138 * Future::                      Where will Mew go?
139 * Avail::                       Availability and mailing-list
140 * Ack::                         Acknowledgement
141 * Copyright::                   Copyright
142 * Author::                      About the author
143 * Terminology::                 Terminology
144 * Bib::                         Bibliography
145 * Variable Index::              Variable Index
146 @end ifset
147 @end menu
148
149 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
150 @c      Overview
151 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
152
153 @node Overview, Start, Top, Top
154 @ifset jp
155 @chapter \e$B$O$8$a$KFI$s$G$M\e(B
156 @end ifset
157 @ifset us
158 @chapter Read me first
159 @end ifset
160
161 @ifset jp
162 Mew \e$B$H$O!"\e(B
163 @end ifset
164 @ifset us
165 Mew is an interface to integrate
166 @end ifset
167
168 @itemize @minus
169 @ifset jp
170 @item
171 \e$BEE;R%a!<%k\e(B
172 @item
173 \e$B%M%C%H%K%e!<%9\e(B
174 @item
175 MIME(Multipurpose Internet Mail Extensions)
176 @item
177 PGP(Pretty Good Privacy) 
178 @end ifset
179 @ifset us
180 @item
181 Email
182 @item
183 NetNews
184 @item
185 MIME(Multipurpose Internet Mail Extensions)
186 @item
187 PGP(Pretty Good Privacy) 
188 @end ifset
189 @end itemize
190
191 @ifset jp
192 \e$B$rE}9g$7!"4JC1$KFI$_=q$-$9$k$?$a$N%$%s%?!<%U%'%$%9$G$9!#\e(BMew \e$B$r;H$($P!"M'\e(B
193 \e$BC#$NCB@8F|$K%1!<%-$N3($H!V\e(BHappy Birthday to You\e$B!W$N2N$rE:$($?%a%C%;!<%8\e(B
194 \e$B$r0E9f2=$7$FAw$l$^$9!#%M%C%H%K%e!<%9$NE}9g$O!"\e(B2.xx \e$B0J9_$GM=Dj$7$F$$$^$9!#\e(B
195 @end ifset
196 @ifset us
197 and to make it easy to view and compose them. With Mew you can send a
198 picture of a birthday cake with the song "Happy Birthday to you" to your
199 friend, which is encrypted by strong cryptograph. NetNews is supposed to
200 be integrated in version 2.xx or later.
201 @end ifset
202
203 @ifset jp
204 Mew \e$B$O\e(B \e$B!V\e(BMessaging in the Emacs World\e$B!W\e(B \e$B$NN,$G$9!#@hF,$N\e(B M \e$B$OBgJ8;z$GI=\e(B
205 \e$B5-$7!"!V$_$e$&!W$HFI$_$^$9!#\e(BM \e$B$G;O$^$k$+$o$$$i$7$$C18l$rA*$s$@7k2L\e(B Mew 
206 \e$B$K$J$j$^$7$?!#7h$7$FL!2h$NBjL>$dK?%"%$%I%k$N2N!"$"$k$$$O!"4X@>$N2q<R$K0x\e(B
207 \e$B$s$G$$$k$o$1$G$O$"$j$^$;$s!#\e(B:p
208 @end ifset
209 @ifset us
210 Mew is an acronym of "Messaging in the Emacs World". You should spell it
211 with the first letter capitalized and pronounce it as it is(i.e. meow of
212 cats). When the author started programming it, he chose a cute word from
213 his English dictionary. So, Mew.
214 @end ifset
215
216 @ifset jp
217 Mew \e$B%P!<%8%g%s\e(B 1.9x \e$B$NFCD9$r0J2<$K<($7$^$9!#\e(B
218 @end ifset
219 @ifset us
220 The features of Mew version 1.9x are as follows:
221 @end ifset
222
223 @itemize @minus
224 @item
225 @ifset jp
226 \e$BJ#;($J9=B$$r;}$D%a%C%;!<%8$r4JC1$KI=<($G$-$^$9!#%a%C%;!<%8$rI=<($9$k:n6H\e(B
227 \e$B$O!"\e(B@samp{SPC} \e$B$r2!$9$@$1$G$9!#\e(B
228 @end ifset
229 @ifset us
230 You can easily display a very complicated structured message. What you
231 should do to view messages is just type @samp{SPC}.
232 @end ifset
233
234 @item
235 @ifset jp
236 \e$B%3%T!<DxEY$N%U%!%$%k$NA`:n$rCN$C$F$$$k?M$J$i$@$l$G$b4JC1$KJ#;($J%a%C%;!<\e(B
237 \e$B%8$r:n@.$G$-$^$9!#\e(B
238 @end ifset
239 @ifset us
240 If you know file operations such as copy, you can compose a very
241 complicated message without any troubles.
242 @end ifset
243
244 @item
245 @ifset jp
246 \e$B%a%C%;!<%8$N0lMwI=<($,=*N;$9$k$^$GBT$?$J$/$F$b!"%a%C%;!<%8$rFI$_;O$a$i$l\e(B
247 \e$B$^$9!#\e(B
248 @end ifset
249 @ifset us
250 You can start to read messages before the termination of listing of
251 messages.
252 @end ifset
253
254 @item
255 @ifset jp
256 Summary \e$B%b!<%I$N%a%C%;!<%8$N0lMw$rJ]B8$7$F$$$k$N$G!"%U%)%k%@$r0\F0$7$?>l\e(B
257 \e$B9g$O!"99?7$5$l$?ItJ,$@$1$r0lMwI=<($7$^$9!#\e(B
258 @end ifset
259 @ifset us
260 Since Mew preserves lists of messages in Summary mode, you can list up
261 the gap between the last and current incrementally when you move into.
262 @end ifset
263
264 @item
265 @ifset jp
266 \e$B%a%C%;!<%8$N@0F\@h$r8-$/?dB,$7$^$9\e(B(\e$B$?$/$5$s%a%C%;!<%8$r<u$1<h$k?M$O!"$3\e(B
267 \e$B$l$,$J$$$H@8$-$F$$$1$^$;$s\e(B)\e$B!#\e(B
268 @end ifset
269 @ifset us
270 Mew neatly guesses a default folder for refiling(Those who receives many
271 messages cannot live without this feature).
272 @end ifset
273
274 @item
275 @ifset jp
276 Draft \e$B%b!<%I$G$O!"%U%#!<%k%IL>!"%"%I%l%9!";aL>!"%I%a%$%sL>!"%U%)%k%@L>$r\e(B
277 \e$BJd40$G$-$^$9!#\e(B
278 @end ifset
279 @ifset us
280 In Draft mode, you can complete field names, Email addresses, 
281 receiver's names, domain names, and folder names.
282 @end ifset
283
284 @item
285 @ifset jp
286 Subject: \e$B$d\e(B Date: \e$B$J$I$r>r7o$K;XDj$7$F!"4JC1$K%a%C%;!<%8$rA*Br$G$-$^$9!#\e(B
287 @end ifset
288 @ifset us
289 You can easily pick up messages which you want by specifying conditions
290 such as Subject: and Date:.
291 @end ifset
292
293 @item
294 @ifset jp
295 \e$BJXMx$J%^!<%/$,Ds6!$5$l$F$$$^$9!#\e(Buuencode \e$B$7$?8e$GJ,3d$5$l$?%a%C%;!<%8$K\e(B
296 \e$B%^!<%/$rIU$1$F!"0lEY$K85$N%U%!%$%k$KLa$;$^$9!#\e(B
297 @end ifset
298 @ifset us
299 Useful marks are provided. You can handle "encoded with uuencode then
300 split" messages with one operation.
301 @end ifset
302
303 @item
304 @ifset jp
305 PGP \e$B$G0E9f2=$5$l$?%a%C%;!<%8$r<+F0E*$KI|9f2=$7$^$9!#$^$?!"EE;R=pL>$r<+F0\e(B
306 \e$BE*$K8!>Z$7$^$9!#\e(B
307 @end ifset
308 @ifset us
309 Mew automatically decodes a message encrypted with PGP. It also
310 automatically verifies a signed message.
311 @end ifset
312
313 @item
314 @ifset jp
315 PGP \e$B$r;H$C$F!"%a%C%;!<%8$r4JC1$K0E9f2=$7$?$j!"=pL>$7$?$j$G$-$^$9!#\e(B
316 @end ifset
317 @ifset us
318 You can easily encrypt or sign a message with PGP.
319 @end ifset
320
321 @item
322 @ifset jp
323 MIME \e$B$N9=B$$r2r@O$7$?$j!"\e(BPGP \e$B$N=pL>$r8!>Z$7$?$j$9$k$N$K$O>/$7;~4V$,$+$+\e(B
324 \e$B$j$^$9!#$=$3$G!"%f!<%6$,$"$k%a%C%;!<%8$rFI$s$G$$$k4V$K!"<!$N%a%C%;!<%8$r\e(B
325 \e$B$"$i$+$8$a=hM}$7$F$*$/$3$H$G9bB.@-$r<B8=$7$F$$$^$9!#2r@O$5$l$?%a%C%;!<%8\e(B
326 \e$B$O!"$7$P$i$/$N4VJ]B8$5$l$^$9!#\e(B
327 @end ifset
328 @ifset us
329 It takes a time to analyze MIME syntax or to verify a PGP
330 signature. While a user read a message, Mew processes the next message
331 so as to display the next message faster. Analyzed messages are cached
332 for a while.
333 @end ifset
334
335 @item
336 @ifset jp
337 \e$BJ#?t$N%U%)%k%@$r\e(B1\e$B$D$N%U%)%k%@$K8+$;$+$1$i$l$^$9!#\e(B
338 @end ifset
339 @ifset us
340 You can give a single view for multiple folders.
341 @end ifset
342
343 @item
344 @ifset jp
345 XEmacs \e$B$G$O!"\e(BEmacs \e$B$G$N%-!<F~NO$K$h$k%$%s%?!<%U%'%$%9$HA4$/F1$85!G=$r;}\e(B
346 \e$B$D%"%$%3%s!&%Y!<%9$N%$%s%?!<%U%'%$%9$,Ds6!$5$l$F$$$^$9!#\e(B
347 @end ifset
348 @ifset us
349 If you use Mew on XEmacs, you can enjoy icon-based interface which is
350 equivalent to key-based interface.
351 @end ifset
352
353 @end itemize
354
355 @ifset jp
356 Mew \e$B$O!"\e(BEmacs 19.28\e$B!"\e(B19.34\e$B!"\e(B20.3 \e$B0J9_!"\e(BMule 2.3 \e$B0J9_!"$*$h$S!"\e(BXEmacs
357 20.4 \e$B0J9_$r%5%]!<%H$7$F$$$^$9!#$3$l$i0J30$N\e(B Emacs\e$B!"$?$H$($P!"\e(BEmacs 18\e$B!"\e(B
358 Nemacs\e$B!"\e(BMule 1 \e$B$*$h$S\e(B XEmacs 19\e$B!"\e(B20.3 \e$B$J$I$O%5%]!<%H$7$F$$$^$;$s$7!":#8e\e(B
359 \e$B$b%5%]!<%H$9$kM=Dj$O$"$j$^$;$s!#$^$?!"\e(Bbeta \e$B%j%j!<%9$G$"$k\e(B Emacs \e$B$r%5%]!<\e(B
360 \e$B%H$9$k$3$H$b$"$j$^$9$,!"@5<0%j%j!<%9$K$J$C$F;EMM$,JQ$o$C$?$H$-$O!"@5<0%j\e(B
361 \e$B%j!<%9$G$"$k\e(B Emacs \e$B$N;EMM$K9g$o$;$^$9!#\e(B
362 @end ifset
363 @ifset us
364 Mew is officially supposed to run on Emacs 19.28, 19.34, and 20.3 or
365 later, Mule 2.3 or later, and XEmacs 20.4 or later. Emacs other than
366 described, such as Emacs 18, Nemacs, Mule 1, and XEmacs 19 and 20.3 are
367 not and will not be supported in the future. Mew may support beta
368 versions of Emacs but Mew conforms the spec of official release when
369 available.
370 @end ifset
371
372 @ifset jp
373 \e$B$3$N%^%K%e%"%k$GC1$K\e(B Emacs \e$B$H8@$C$?>l9g$K$O!"%5%]!<%H$7$F$$$k$9$Y$F$N%W\e(B
374 \e$B%i%C%H%U%)!<%`$r0UL#$7$^$9!#\e(BMule \e$B$H$$$C$?>l9g$O!"B?9q8l$,MxMQ$G$-$k\e(B Mule
375\e$B$H\e(B Emacs 20\e$B!"$=$7$F!"\e(B--with-mule \e$B%*%W%7%g%sIU$-$G%3%s%Q%$%k$7$?\e(B XEmacs
376 20.4 \e$B$r;X$7$^$9!#$3$l$KBP$7!"\e(BBilingual Emacs \e$B$H8@$C$?>l9g$K$O!"1Q8l$H\e(B 
377 Latin 1 \e$B$7$+%5%]!<%H$7$F$$$J$$\e(B Emacs 19 \e$B$H\e(B --with-mule \e$B%*%W%7%g%sL5$7$G\e(B
378 \e$B%3%s%Q%$%k$7$?\e(B XEmacs 20.4 \e$B$r0UL#$7$^$9!#$^$?!"\e(BXEmacs \e$B$H8@$C$?>l9g$K$O!"\e(B
379 \e$B%0%i%U%#%C%/$r3Z$7$a$k\e(B XEmacs 20.4 \e$B$r;X$7$^$9!#H?BP$K!"%F%-%9%H$7$+I=<(\e(B
380 \e$B$G$-$J$$\e(B Emacs \e$B$O!"\e(BText Emacs \e$B$H8F$S$^$9!#\e(B
381 @end ifset
382 @ifset us
383 Throughout this manual, "Emacs" means all supported platforms. "Mule"
384 indicates multi-lingual platforms such as Mule 2, Emacs 20, and XEmacs
385 20.4 complied with the --with-mule option while "Bilingual Emacs" means
386 English-and-Latin1 platforms including Emacs 19 and XEmacs 20.4 complied
387 without the --with-mule option. "XEmacs" indicates graphical platforms
388 such as XEmacs 20.4 whereas text-only platforms are called "Text Emacs".
389 @end ifset
390
391 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
392 @c      Start
393 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
394
395 @node Start, Viewing, Overview, Top
396 @ifset jp
397 @chapter \e$B$5$!;O$a$h$&!*\e(B
398 @end ifset
399 @ifset us
400 @chapter Let's get started
401 @end ifset
402 @vindex mew-auto-get
403 @vindex mail-user-agent
404 @vindex mew-mail-domain-list
405 @vindex mew-icon-directory
406
407 @ifset jp
408 Mew \e$B$K$O<!$N\e(B 5 \e$B$D$N%b!<%I$,$"$j$^$9!#\e(B
409 @end ifset
410 @ifset us
411 Mew has the following five modes:
412 @end ifset
413
414 @itemize @minus
415 @item
416 @ifset jp
417 Summary \e$B%b!<%I\e(B :: \e$B%a%C%;!<%8$N0lMw$rI=<($7A*Br$9$k%b!<%I!#\e(B
418 @end ifset
419 @ifset us
420 Summary mode  :: A mode to list up messages and to select one.
421 @end ifset
422
423 @item
424 @ifset jp
425 Virtual \e$B%b!<%I\e(B :: \e$BJ#?t$N%U%)%k%@$+$i$"$k>r7o$K9gCW$7$?%a%C%;!<%8$r<h$j=P\e(B
426 \e$B$7!"2>A[E*$K\e(B1\e$B$D$N%U%)%k%@$K$7$?%b!<%I!#\e(BSummary \e$B%b!<%I$K;w$F$$$k!#\e(B
427 @end ifset
428 @ifset us
429 Virtual mode  :: A mode to list up messages selected with a specific
430 condition from folders. It's similar to Summary mode.
431 @end ifset
432
433 @item
434 @ifset jp
435 Message \e$B%b!<%I\e(B :: \e$B%F%-%9%H$NFbMF$rI=<($9$k%b!<%I!#\e(B
436 @end ifset
437 @ifset us
438 Message mode  :: A mode to display a content of text.
439 @end ifset
440
441 @item
442 @ifset jp
443 Draft \e$B%b!<%I\e(B   :: \e$B%a%C%;!<%8$NAw?.!"JVEz!"E>Aw$r=`Hw$9$k$?$a$N%b!<%I!#\e(B
444 @end ifset
445 @ifset us
446 Draft mode    :: A mode to prepare a message to be sent, answered, and
447 forwarded.
448 @end ifset
449
450 @item
451 @ifset jp
452 Addrbook \e$B%b!<%I\e(B :: \e$B%"%I%l%9D"$K%(%s%H%j$rEPO?$9$k$?$a$N%b!<%I!#\e(B
453 @end ifset
454 @ifset us
455 Addrbook mode :: A mode to register an entry to Addrbook.
456 @end ifset
457 @end itemize
458
459 @ifset jp
460 Mew \e$B$r5/F0$9$k$K$O!"0J2<$NJ}K!$,$"$j$^$9!#\e(B
461 @end ifset
462 @ifset us
463 To start Mew, you can choose one from the followings:
464 @end ifset
465
466 @enumerate
467 @item
468 @ifset jp
469 @samp{M-x mew} :: Mew \e$B$r5/F0$9$k!#\e(B@samp{mew-auto-get} \e$B$,\e(B @samp{t} \e$B$J$i!"\e(B
470 \e$BE~Ce$7$?%a%C%;!<%8$r\e(B +inbox \e$B%U%)%k%@$KJ]B8$7$J$,$i!"\e(B+inbox \e$B$N%a%C%;!<%8\e(B
471 \e$B$r\e(B Summary \e$B%b!<%I$K0lMwI=<(!#\e(B@samp{mew-auto-get} \e$B$,\e(B @samp{nil} \e$B$J$i!"C1\e(B
472 \e$B$K\e(B +inbox \e$B$N%a%C%;!<%8$r\e(B Summary \e$B%b!<%I$K0lMwI=<(!#\e(B
473 @end ifset
474 @ifset us
475 @samp{M-x mew} :: Execute Mew. If @samp{mew-auto-get} is @samp{t},
476 messages stored in your spool are fetched to the +inbox folder and
477 messages in the +inbox folder are listed up in Summary mode. If
478 @samp{mew-auto-get} is @samp{nil}, simply list up messages in the inbox
479 folder.
480 @end ifset
481
482 @item
483 @ifset jp
484 @samp{C-uM-x mew} :: @samp{mew-auto-get} \e$B$NCM$r5U$@$H;W$C$F!"\e(B@samp{M-x
485 mew} \e$B$r<B9T$9$k!#\e(B
486 @end ifset
487 @ifset us
488 @samp{C-uM-x mew} :: Perform @samp{M-x mew} thinking that 
489 @samp{mew-auto-get} is reversed.
490 @end ifset
491
492 @item
493 @ifset jp
494 @samp{M-x mew-send} :: \e$B%a%C%;!<%8$r=q$/$?$a$N\e(B Draft \e$B%b!<%I$X0\9T$9$k!#\e(B
495 @end ifset
496 @ifset us
497 @samp{M-x mew-send} :: Enter Draft mode for message composing.
498 @end ifset
499
500 @item
501 @ifset jp
502 @samp{C-xm} :: @samp{mail-user-agent} \e$B$,@_Dj$5$l$F$$$k>l9g!"\e(BDraft \e$B%b!<%I\e(B
503 \e$B$X0\9T$9$k!#\e(B
504 @end ifset
505 @ifset us
506 @samp{C-xm} :: Enter Draft mode for message composing if
507 @samp{mail-user-agent} is configured.
508 @end ifset
509 @end enumerate
510
511 @ifset jp
512 Text Emacs \e$B$G\e(B Mew \e$B$r5/F0$7$?:]$K$O!"\e(BMew \e$B$r7?$I$C$?!V\e(B/\\ - \\/\e$B!W$H$$$&?^\e(B
513 \e$B7A$,$/$k$/$k$H2s$k%G%b$,;O$^$j$^$9!#\e(BXEmacs \e$B$G$O!"2D0&$$\e(B2\e$BI$$N;RG-$,%*!<%W\e(B
514 \e$B%K%s%0$r>~$j$^$9!#\e(B
515 @end ifset
516 @ifset us
517 When Mew is executed on Text Emacs, a shape of "/\\ - \\/", which stands
518 for Mew, spins. Two cute cats appear on the cover page on XEmacs.
519 @end ifset
520
521 @ifset jp
522 \e$BE~Ce$7$?%a%C%;!<%8$r\e(B +inbox \e$B%U%)%k%@$K<h$j9~$`:]$K$O%Q%9%o!<%I$r?V$+$l$k\e(B
523 \e$B$3$H$,$"$j$^$9!#%Q%9%o!<%I$rF~NO$9$kA0$K0J2<$N>r7o$N$$$:$l$+$,K~$?$5$l$F\e(B
524 \e$B$$$k$3$H$r3NG'$7$^$7$g$&!#\e(B
525
526 @itemize @minus
527 @item
528 Emacs \e$B$,%m!<%+%k$N%3%s%T%e!<%?$GF0$$$F$$$k\e(B
529 @item
530 Emacs \e$B$,%j%b!<%H$N%3%s%T%e!<%?$GF0$$$F$$$k$,!"$J$s$i$+$N0E9f<jCJ$r;H$C$F\e(B
531 \e$BDL?.$7$F$$$k!#\e(B
532 @end itemize
533
534 \e$B$I$A$i$N>r7o$bK~$?$5$l$J$$>l9g$O!"%Q%9%o!<%I$rF~NO$7$J$$$G2<$5$$!#F~NO$9\e(B
535 \e$B$k$HEpD0$5$l$k62$l$,$"$j$^$9!#\e(B
536 @end ifset
537 @ifset us
538 When fetching messages stored in your spool, you may be required to input
539 your password. Before you type your password, carefully see if either
540 the following conditions is satisfied:
541
542 @itemize @minus
543 @item
544 Emacs is running on a local computer
545 @item
546 Though Emacs is running on a remote computer, an encryption mechanism is
547 used for the communication.
548 @end itemize
549
550 If both conditions are not satisfied, don't input password. Otherwise,
551 your password would be wire-tapped.
552 @end ifset
553
554 @ifset jp
555 \e$B$b$7\e(B Mew \e$B$,5/F0$5$l$J$$>l9g$O!"\e(BMew \e$B$d\e(B IM \e$B$,%$%s%9%H!<%k$5$l$F$$$k$+!"$^\e(B
556 \e$B$?0J2<$,AH?%$N@_Dj%U%!%$%k$+<+J,$N\e(B .emacs \e$B$G@_Dj$5$l$F$$$k$+3N$+$a$F2<$5\e(B
557 \e$B$$!#\e(B
558 @end ifset
559 @ifset us
560 If Mew is not executed, see whether or not both Mew and IM is installed
561 and/or whether or not the following configurations are put into a site
562 configuration file or your ".emacs".
563 @end ifset
564
565 @example
566 (autoload 'mew "mew" nil t)
567 (autoload 'mew-send "mew" nil t)
568 (setq mew-mail-domain-list '("your mail domain"))
569 (setq mew-icon-directory "a directory where Mew's image files are installed.")
570 (autoload 'mew-user-agent-compose "mew" nil t)
571 (if (boundp 'mail-user-agent)
572     (setq mail-user-agent 'mew-user-agent))
573 (if (fboundp 'define-mail-user-agent)
574     (define-mail-user-agent
575       'mew-user-agent
576       'mew-user-agent-compose
577       'mew-draft-send-letter
578       'mew-draft-kill
579       'mew-send-hook))
580 @end example
581
582 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
583 @c      Viewing
584 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
585
586 @node Viewing, singlepart, Start, Top
587 @ifset jp
588 @chapter \e$B%a%C%;!<%8$rI=<($9$k\e(B
589 @end ifset
590 @ifset us
591 @chapter Viewing messages
592 @end ifset
593
594 @ifset jp
595 @samp{M-x mew} \e$B$HF~NO$9$k$H!"\e(BMew \e$B$O%9%W!<%k$N%a%C%;!<%8$r\e(B +inbox \e$B%U%)%k\e(B
596 \e$B%@$K0\$7$F0J2<$N$h$&$K0lMwI=<($7$^$9!#\e(B
597 @end ifset
598 @ifset us
599 If you input @samp{M-x mew}, Mew moves messages from your spool to the
600 +inbox folder and displays as follows:
601 @end ifset
602
603 @example
604 @ifset jp
605     1  07/17 \e$B$$$H$B$e$s\e(B     v6: items to be no in6_pcbnotify()\e$B$,$J$K$b\e(B
606     2  07/18 \e$B2NBe@h@8\e(B       Re: behavior after \e$B$3$l!"\e(Bmark-ring \e$B$,$I$s$I\e(B
607     3  07/19 \e$B$N$`$5$s\e(B       refile info.       \e$BG5B<$G$9!#CY$/$J$j$^$7$?!#\e(B
608 @end ifset
609 @ifset us
610     1  07/17 Itojun         v6: items to be no in6_pcbnotify() doesn't
611     2  07/18 Utashiro       Re: behavior after I'm afraid that mark-ring
612     3  07/19 Nom-sun        refile info.       Sorry for my late respon
613 @end ifset
614 @end example
615
616 @ifset jp
617 \e$B$3$l$r\e(B Summary \e$B%b!<%I$H$$$$$^$9!#$3$3$G$O!"<g$K\e(B Summary \e$B%b!<%I$G$N%a%C%;!<\e(B
618 \e$B%8$NFI$_J}$K$D$$$F@bL@$7$^$9!#\e(B
619 @end ifset
620 @ifset us
621 We call this Summary mode. This section mainly explains how to read
622 messages in Summary mode.
623 @end ifset
624
625 @menu
626 @ifset jp
627 * singlepart::                  \e$BFI$_J}$N4pAC\e(B
628 * multipart::                   MIME \e$B$rI=<($9$k\e(B
629 * pgp-viewing::                 PGP/MIME \e$B$rI=<($9$k\e(B
630 * folder::                      \e$B%U%)%k%@$N99?7$H0\F0\e(B
631 * sum-write::                   \e$BAw?.!"JVEz!"E>Aw\e(B
632 * features::                    \e$BJXMx$J5!G=\e(B
633 * sorting::                     \e$B%a%C%;!<%8$N%=!<%H\e(B
634 * illegal::                     \e$B2=$1$?%a%C%;!<%8\e(B
635 @end ifset
636 @ifset us
637 * singlepart::                  Reading Basis
638 * multipart::                   Displaying MIME
639 * pgp-viewing::                 Visualizing PGP/MIME
640 * folder::                      Updating and visiting folder
641 * sum-write::                   Write, answer, and forward
642 * features::                    Useful features
643 * sorting::                     Sorting messages
644 * illegal::                     Scrambled message
645 @end ifset
646 @end menu
647
648 @c %%%%%%%%%%%%%%%%%
649 @node singlepart, multipart, Viewing, Viewing
650 @ifset jp
651 @section \e$BFI$_J}$N4pAC\e(B
652 @end ifset
653 @ifset us
654 @section Reading Basis
655 @end ifset
656 @vindex mew-file-max-size
657
658 @ifset jp
659 \e$B%a%C%;!<%8$r>e$+$i=g$KFI$s$G$$$/$N$G$"$l$P!"\e(B@samp{SPC} \e$B$rE,592!$9$@$1$G\e(B
660 \e$B$9!#4JC1$G$7$g!)\e(B
661 @end ifset
662 @ifset us
663 To read messages in arrival order, type @samp{SPC} to display
664 them. That's it. It's easy, isn't it?
665 @end ifset
666
667 @ifset jp
668 \e$B$7$+$7$=$l$@$1$G$O$"$s$^$j$J$N$G!"0J2<$K%Z!<%8$rA`:n$9$k4pK\E*$J%3%^%s%I\e(B
669 \e$B$r<($7$^$9!#\e(B
670 @end ifset
671 @ifset us
672 Yet this might not be comprehensive, so we list up basic commands for
673 page process as follows:
674 @end ifset
675
676 @table @samp
677 @ifset jp
678 @item SPC
679 \e$B%a%C%;!<%8$rFI$_?J$a$k!#$D$^$j!"%a%C%;!<%8$rI=<($7!"%9%/%m!<%k$5$;!"B>$N\e(B
680 \e$B%a%C%;!<%8$K0\F0$7$FI=<($9$k!#%+!<%=%k$,0\F0$9$kJ}8~$O!"\e(B@xref{level-one} 
681 \e$B$r;2>H$N$3$H!#\e(B
682 @item DEL
683 \e$B8=:_$N%a%C%;!<%8$r>e$K%9%/%m!<%k$5$;$k!#ITI,MW$J%X%C%@%U%#!<%k%I$O!"%&%$\e(B
684 \e$B%s%I%&$N>e$K1#$l$F$$$k!#$h$C$F!"\e(B@samp{DEL} \e$B$rF~NO$9$k$H!"$=$l$i$,8=$l$k!#\e(B
685 @item .
686 \e$B%a%C%;!<%8$,\e(B @samp{mew-file-max-size} \e$B$r1[$($F$$$k>l9g$O!"\e(BMIME \e$B$N2r@O$,\e(B
687 \e$BCf;_$5$l!"%a%C%;!<%8$N@hF,ItJ,$,@8$G%a%C%;!<%8!&%P%C%U%!$KI=<($5$l$k!#$3\e(B
688 \e$B$N$h$&$J>l9g$K!"\e(B@samp{.} \e$B$r2!$9$H!"6/@)E*$K\e(B MIME \e$B$,2r@O$5$l%a%C%;!<%8$,\e(B
689 \e$BI=<($5$l$k!#\e(B
690 @item ,
691 MIME \e$B2r@O$r$7$F$$$J$$@8$N%a%C%;!<%8$rI=<($9$k!#%a%C%;!<%8$NFb\e(B 
692 @samp{mew-file-max-size} \e$B$G;XDj$5$l$?%P%$%H?t0J2<$NItJ,$rI=<($9$k!#\e(B
693 @samp{C-u} \e$B$H6&$K8F$P$l$k$H!"%a%C%;!<%8A4BN$r@8$GI=<($9$k!#\e(B
694 @item RET
695 \e$B8=:_$N%a%C%;!<%8$r\e(B1\e$B9T>e$K%9%/%m!<%k$9$k!#\e(B
696 @item M-RET
697 @item -
698 \e$B8=:_$N%a%C%;!<%8$r\e(B1\e$B9T2<$K%9%/%m!<%k$9$k!#\e(B
699 @end ifset
700 @ifset us
701 @item SPC
702 Read through messages. That is, display a message, scroll it, and
703 move-then-display another message. Refer to @xref{level-one} to know
704 which direction the cursor moves.
705 @item DEL
706 Back-scroll this message. Unnecessary header fields are hidden over the
707 window. Type @samp{DEL} to see them when a message is displayed.
708 @item .
709 If the size of a message exceeds @samp{mew-file-max-size}, MIME analysis
710 is skipped then the beginning of the raw message is displayed. In this
711 case, type @samp{.} to force MIME analysis.
712 @item ,
713 Display this message in the raw format(i.e. without MIME analysis). The
714 beginning part of the message, whose size specified by
715 @samp{mew-file-max-size}, is displayed. If called with @samp{C-u}, the
716 entire message is displayed in the raw format.
717 @item RET
718 Make this message scroll up with one line.
719 @item M-RET
720 @item -
721 Make this message scroll down with one line.
722 @end ifset
723 @end table
724
725 @table @samp
726 @ifset jp
727 @item C-n
728 \e$B2<$N9T$X0\F0!#\e(B
729 @item C-p
730 \e$B>e$N9T$X0\F0!#\e(B
731 @item n
732 \e$B2<J}8~$K0\F0$7I=<(!#BP>]$H$J$k$N$O!"%Q!<%H!"\e(B@samp{*} \e$B%^!<%/$NIU$$$?%a%C\e(B
733 \e$B%;!<%8!"%^!<%/$NIU$$$F$$$J$$%a%C%;!<%8!#\e(B@samp{C-u} \e$B$H6&$K8F$P$l$k$H!"%Q!<\e(B
734 \e$B%HItJ,$rHt$P$9!#\e(B
735 @item p
736 \e$B>eJ}8~$K0\F0$7I=<(!#BP>]$H$J$k$N$O!"%Q!<%H!"\e(B@samp{*} \e$B%^!<%/$NIU$$$?%a%C\e(B
737 \e$B%;!<%8!"%^!<%/$NIU$$$F$$$J$$%a%C%;!<%8!#\e(B@samp{C-u} \e$B$H6&$K8F$P$l$k$H!"%Q!<\e(B
738 \e$B%HItJ,$rHt$P$9!#\e(B
739 @item j
740 \e$BF~NO$5$l$?HV9f$K$7$?$,$C$F%a%C%;!<%8$X0\F0!#\e(B
741 @end ifset
742 @ifset us
743 @item C-n
744 Go to the next line.
745 @item C-p
746 Go to the previous line.
747 @item n
748 Move to below then display. Targets includes parts, messages marked with
749 @samp{*}, and non-marked messages. When called with @samp{C-u}, parts
750 are skipped.
751 @item p
752 Move to above then display. Targets includes parts, messages marked with
753 @samp{*}, and non-marked messages. When called with @samp{C-u}, parts
754 are skipped.
755 @item j
756 Jump to a message according to the number which you input.
757 @end ifset
758 @end table
759
760 @c %%%%%%%%%%%%%%%%%
761 @node multipart, pgp-viewing, singlepart, Viewing
762 @ifset jp
763 @section MIME \e$B$rI=<($9$k\e(B
764 @end ifset
765 @ifset us
766 @section Displaying MIME
767 @end ifset
768 @vindex mew-end-of-message-string
769 @vindex mew-end-of-part-string
770
771 @ifset jp
772 \e$B%^%k%A%Q!<%H$rFI$`$N$OJL$KBgJQ$J$3$H$G$O$"$j$^$;$s!#:#$^$GDL$j!"\e(B
773 @samp{SPC} \e$B$r2!$7$F$$$1$P$h$$$@$1$G$9!#\e(B
774 @end ifset
775 @ifset us
776 It's not difficult to read a multipart message. As usual, just type
777 @samp{SPC}.
778 @end ifset
779
780 @ifset jp
781 \e$B%^%k%A%Q!<%H$N%a%C%;!<%8$O!"0J2<$N$h$&$KF|IU$N:8$K\e(B "M" \e$B$H$$$&0u$,IU$$$F\e(B
782 \e$B$$$^$9!#\e(B
783 @end ifset
784 @ifset us
785 A multipart message is marked with "M" on the left side of date as
786 follows:
787 @end ifset
788
789 @example
790 @ifset jp
791     4  07/19 \e$B$7$2$d$5$s\e(B     Re: imget very fir \e$B$H$$$&$3$H$G!"$3$s$J$b$s\e(B
792     5 M07/20 \e$B$$$H$B$e$s\e(B     MagicPoint         \e$B:#EY$NH/I=$G;HMQ$9$k;qNA\e(B
793     6  07/21 \e$B$b$H$N$j$5$s\e(B   Re: imget very fir POP\e$B$G%5!<%P$K%a%C%;!<%8$N\e(B
794 @end ifset
795 @ifset us
796     4  07/19 Shigeya-san    Re: imget very fir OK, how about this?
797     5 M07/20 Itojun         MagicPoint         I made the material of
798     6  07/21 Motonori-san   Re: imget very fir Preserving messages on P
799 @end ifset
800 @end example
801
802 @ifset jp
803 "5" \e$B$N$H$3$m$G!"\e(B@samp{SPC} \e$B$r2!$9$H!"%X%C%@$r\e(B Message \e$B%b!<%I$KI=<($9$k$H\e(B
804 \e$B6&$K!"0J2<$N$h$&$K\e(B Summary \e$B%b!<%I$G%^%k%A%Q!<%H$N9=B$$r4JAG$KI=<($7$^$9!#\e(B
805 @end ifset
806 @ifset us
807 When you type @samp{SPC} on "5", its header is displayed in Message mode
808 then its multipart structure is displayed in Summary mode as follows:
809 @end ifset
810
811 @example
812 @ifset jp
813     4  07/19 \e$B$7$2$d$5$s\e(B     Re: imget very fir \e$B$H$$$&$3$H$G!"$3$s$J$b$s\e(B
814     5 M07/20 \e$B$$$H$B$e$s\e(B     MagicPoint         \e$B:#EY$NH/I=$G;HMQ$9$k;qNA\e(B
815 B    2  Image/Gif                    MagicPoint \e$B$N%m%4\e(B            mgp.gif
816 Q    3  Application/Postscript       \e$B;qNA\e(B                         ohp.ps
817     6  07/21 \e$B$b$H$N$j$5$s\e(B   Re: imget very fir POP\e$B$G%5!<%P$K%a%C%;!<%8$N\e(B
818 @end ifset
819 @ifset us
820     4  07/19 Shigeya-san    Re: imget very fir OK, how about this?
821     5 M07/20 Itojun         MagicPoint         I made the material of
822 B    2  Image/Gif                    MagicPoint logo              mgp.gif
823 Q    3  Application/Postscript       Presentation Material        ohp.ps   
824     6  07/21 Motonori-san   Re: imget very fir Preserving messages on P
825 @end ifset
826 @end example
827
828 @ifset jp
829 \e$B$b$7!"%Q!<%H\e(B 1 \e$B$,\e(B Text/Plain \e$B$J$i!"\e(BSummary \e$B%b!<%I$K$O%Q!<%H\e(B 1 \e$B$O2D;k2=$5\e(B
830 \e$B$l$:!"$=$N$+$o$j%Q!<%H\e(B 1 \e$B$,%X%C%@$H6&$K\e(B Message \e$B%b!<%I$KI=<($5$l$^$9!#\e(B
831 @end ifset
832 @ifset us
833 If the first part is Text/Plain, the first part is not visualized in
834 Summary mode but the first part is displayed with its header in Message
835 mode.
836 @end ifset
837
838 @ifset jp
839 \e$B%^%k%A%Q!<%H$N3F9T$O\e(B
840
841 @itemize @minus
842 @item
843 \e$B%^!<%/\e(B(Content-Transfer-Encoding:)
844 @item
845 \e$B%Q!<%HHV9f\e(B
846 @item
847 \e$B%G!<%?$N7?\e(B(Content-Type:)
848 @item
849 \e$B@bL@\e(B(Content-Description:)
850 @item
851 \e$B%U%!%$%kL>\e(B(Content-Disposition:)
852 @end itemize
853
854 \e$B$+$i9=@.$5$l$F$$$^$9!#\e(BContent-Description: \e$B$O%Q!<%H$KBP$9$k\e(B Subject: \e$B$H\e(B
855 \e$B9M$($F$$$$$G$7$g$&!#$3$NI=<($O\e(B Draft \e$B%b!<%I$NE:IUNN0h$H$[$H$s$IF1$8$G$9!#\e(B
856 \e$B$=$l$>$l$N%+%i%`$N>\$7$$0UL#$O!"\e(B@xref{mime-comp} \e$B$r;2>H$7$F2<$5$$!#\e(B
857 @end ifset
858
859 @ifset us
860 Each line of multipart consists of 
861
862 @itemize @minus
863 @item
864 marks (Content-Transfer-Encoding:)
865 @item
866 part number
867 @item
868 data type (Content-Type:)
869 @item
870 description (Content-Description:)
871 @item
872 file name (Content-Disposition:).
873 @end itemize
874
875 Content-Description can be considered Subject: for each part. This
876 format is very similar to that of attachment region in Draft mode. For
877 more information of each column, please refer to @xref{mime-comp}.
878 @end ifset
879
880 @ifset jp
881 @samp{SPC} \e$B$d\e(B @samp{n} \e$B$G%Q!<%H\e(B 1 \e$B$X?J$a$P!"$=$N%Q!<%H$,%G!<%?7?$K1~$8$F\e(B
882 \e$BI=<($5$l$^$9!#$?$H$($P!"\e(BText/Plain \e$B$J$i\e(B Message \e$B%b!<%I$G!"\e(BPostScript \e$B$J\e(B
883 \e$B$i\e(B ghostview \e$B$GI=<($5$l$^$9!#\e(B
884 @end ifset
885 @ifset us
886 If you type @samp{SPC} or @samp{n}, the cursor moves onto part 1 and the
887 content is displayed according to its data type. For instance,
888 Text/Plain is showed in Message mode and PostScript is visualized with
889 ghostview
890 @end ifset
891
892 @ifset jp
893 @samp{n} \e$B$d\e(B @samp{p} \e$B$O!"%Q!<%HItJ,$^$G4^$s$@9T$r0\F0$9$k$3$H$KCm0U$7$F\e(B
894 \e$B2<$5$$!#%Q!<%HItJ,$rHt$P$7$F2<$N%a%C%;!<%8$rI=<($9$k$K$O\e(B @samp{C-u n} \e$B$H\e(B
895 \e$BF~NO$7$F2<$5$$!#$^$?!"%Q!<%HItJ,$rHt$P$7$F\e(B 1 \e$B$D>e$N%a%C%;!<%8$rI=<($9$k\e(B
896 \e$B$K$O\e(B @samp{C-u p} \e$B$HF~NO$7$F2<$5$$!#\e(B
897 @end ifset
898 @ifset us
899 Please note that @samp{n} and @samp{p} moves lines including multipart.
900 To display the message below skipping multipart, type @samp{C-u n}.
901 Likewise, to display the message above (not this message), input
902 @samp{C-u p}.
903 @end ifset
904
905 @ifset jp
906 Mew \e$B$O!"\e(BMIME \e$B$r:F5"E*$K=hM}$7$^$9!#0J2<$OE>Aw$5$l$?%^%k%A%Q!<%H$N%a%C%;!<\e(B
907 \e$B%8$NNc$G$9!#\e(B
908 @end ifset
909 @ifset us
910 Mew processes MIME recursively. The following example is a forwarded
911 multipart message.
912 @end ifset
913
914 @example
915 @ifset jp
916   501 M02/22 Itojun         Fw: MagicPoint           \e$BGkLn@h@8$+$i$3$s$J\e(B
917      2  Message/Rfc822               MagicPoint                          
918 B    2.2  Image/Gif                    MagicPoint \e$B$N%m%4\e(B          mgp.gif
919 Q    2.3  Application/Postscript       \e$B;qNA\e(B                       ohp.ps
920 @end ifset
921 @ifset us
922   501 M02/22 Itojun         Fw: MagicPoint           Itojun send me this 
923      2  Message/Rfc822               MagicPoint                       
924 B    2.2  Image/Gif                    MagicPoint logo            mgp.gif
925 Q    2.3  Application/Postscript       Presentation Material      ohp.ps
926 @end ifset
927 @end example
928
929 @ifset jp
930 (\e$B%a%b\e(B) \e$B%F%-%9%H0J30$N%G!<%?$r!"%7%s%0%k%Q!<%H$H$7$F%a%C%;!<%8$K3JG<$9$k\e(B
931 \e$B$N$O!"=q<0$H$7$F$O4V0c$$$G$O$"$j$^$;$s$,!"$*4+$a$G$-$^$;$s!#%^%k%A%Q!<%H\e(B
932 \e$B$r:n@.$7!"$=$N%Q!<%H\e(B 1 \e$B$K@bL@$N%F%-%9%H$r!"%Q!<%H\e(B 2 \e$B$K%F%-%9%H0J30$N%G!<\e(B
933 \e$B%?$rF~$l$k:nK!$r$*4+$a$7$^$9!#\e(B
934 @end ifset
935 @ifset us
936 (Memo) I strongly discourage you to embed an object other than text as a
937 top level single part to a message directly. Rather, I do recommend to
938 make multipart whose part 1 is description text for part 2 and part 2 is
939 an object other than text. 
940 @end ifset
941
942 @ifset jp
943 \e$B%F%-%9%H0J30$N%G!<%?$,K\J8$KD>@\3JG<$5$l$F$$$k%a%C%;!<%8$KBP$7!"\e(BMew \e$B$O$3\e(B
944 \e$B$l$r$"$?$+$b%^%k%A%Q!<%H$N$h$&$KI=<($7$^$9!#\e(B
945 @end ifset
946 @ifset us
947 Mew displays a message which directory contains a single part other than
948 text as a multipart.
949 @end ifset
950
951 @ifset jp
952 \e$B$3$N$h$&$K\e(B MIME \e$B$N9=B$$OJ#;($K$J$j$&$k$N$G!"2r@O$9$k$N$K$O;~4V$,$+$+$k>l\e(B
953 \e$B9g$,$"$j$^$9!#$7$+$7!"\e(BMew \e$B$O<!$KFI$^$l$k%a%C%;!<%8$rM=A[$7!"%f!<%6$,8=:_\e(B
954 \e$B$N%a%C%;!<%8$rFI$s$G$$$k4V$K!"<!$N%a%C%;!<%8$r$"$i$+$8$a2r@O$7$F$*$/$3$H\e(B
955 \e$B$G9bB.@-$r<B8=$7$F$$$^$9!#2r@O$5$l$?%a%C%;!<%8$O!"$7$P$i$/$N4VJ]B8$5$l$^\e(B
956 \e$B$9!#\e(B
957 @end ifset
958 @ifset us
959 Since the syntax of MIME messages can be complex, it sometime takes much
960 time to analyze the syntax. However, Mew guesses the message to be read
961 next and analyzes it beforehand while the user are reading the current
962 message. Analyzed messages are cached for a while.
963 @end ifset
964
965 @ifset jp
966 \e$B%a%C%;!<%8$N=*$j$NItJ,$,$O$C$-$j$HJ,$+$k$h$&$K!"\e(BMew \e$B$O%a%C%;!<%8$N:G8e$K\e(B 
967 "[End of message]" \e$B$H$$$&J8;zNs$rI=<($7$^$9!#$^$?!"%Q!<%H$N=*$j$G$O!"\e(B
968 "[Message is continued]" \e$B$H$$$&J8;zNs$rI=<($7$^$9!#\e(B(Emacs \e$B$N5!G=ITB-$K$h\e(B
969 \e$B$j?'$OIU$-$^$;$s!#\e(B) \e$B$3$N5!G=$O\e(B Emacs 19.28 \e$B$d$=$l$r4p$K$7$F$$$k\e(B Mule 2.3 
970 \e$B$J$I$G$OMxMQ$G$-$^$;$s!#$3$l$i$NJ8;zNs$O$=$l$>$l!"\e(B
971 @samp{mew-end-of-message-string} \e$B$H\e(B @samp{mew-end-of-part-string}\e$B$G;XDj\e(B
972 \e$B$G$-$^$9!#\e(B
973 @end ifset
974 @ifset us
975 To notice the end of a message explicitly, Mew displays the string "[End
976 of message]" in the end of the message. In the end of each part, Mew
977 displays the string "[Message is continued]". (Due to the limitation of
978 Emacs, color is not available.) This feature is not available on Emacs
979 19.28, Mule 2.3 based on Emacs 19.28, and etc. These strings are
980 customized by @samp{mew-end-of-message-string} and
981 @samp{mew-end-of-part-string}, respectively.
982 @end ifset
983
984 @c %%%%%%%%%%%%%%%%%
985 @node pgp-viewing, folder, multipart, Viewing
986 @ifset jp
987 @section PGP/MIME \e$B$rI=<($9$k\e(B
988 @end ifset
989 @ifset us
990 @section Visualizing PGP/MIME
991 @end ifset
992 @vindex mew-use-pgp-cached-passphrase
993 @vindex mew-x-pgp-key-list
994 @vindex mew-prog-pgp
995 @vindex mew-prog-pgp2
996 @vindex mew-prog-pgp5
997 @vindex mew-prog-gpg
998
999 @ifset jp
1000 \e$B:#$^$G$HF1MM\e(B @samp{SPC} \e$B$J$I$rMxMQ$9$k$3$H$G!"\e(BMew \e$B$G$O\e(B PGP \e$B$G0E9f2=$dEE\e(B
1001 \e$B;R=pL>$r;\$5$l$?%a%C%;!<%8$r4JC1$KI=<($G$-$^$9!#$^$:!"4JC1$JNc$+$i>R2p$7\e(B
1002 \e$B$^$7$g$&!#\e(B
1003 @end ifset
1004 @ifset us
1005 Basic commands such as @samp{SPC} visualize messages signed or encrypted
1006 with PGP as well. Let's start with a simple example:
1007 @end ifset
1008
1009 @example
1010 @ifset jp
1011     8 S07/22 \e$B<r0f$5$s\e(B       Re: home was full  MsgStore.pm \e$B$N%P%0$G$9\e(B
1012     9 E07/23 \e$B%K!<%H$9$_$+$o\e(B Wine               \e$B$*$O$h$&$+$i$*$d$9$_$^\e(B
1013 @end ifset
1014 @ifset us
1015     8 S07/22 Sakai-san      Re: home was full  A bug of MsgStore.pm
1016     9 E07/23 Neat Sumikawa  Wine               From good morning to
1017 @end ifset
1018 @end example
1019
1020 @ifset jp
1021\e$BHV$H\e(B 9 \e$BHV$N%a%C%;!<%8$K$O!"$=$l$>$l\e(B "S" \e$B%^!<%/$H\e(B "E" \e$B%^!<%/$,IU$$$F$$\e(B
1022 \e$B$^$9!#$3$l$O$=$l$>$l!"K\J8A4BN$,=pL>$5$l$F$$$k!"$*$h$S!"0E9f2=$5$l$F$$$k\e(B
1023 \e$B$3$H$r0UL#$7$^$9!#\e(B
1024 @end ifset
1025 @ifset us
1026 Massage 8 and 9 is marked with "S" and "E", respectively. This means
1027 that the *body* is signed and encrypted, respectively.
1028 @end ifset
1029
1030 @ifset jp
1031 PGP/MIME \e$B$G$O!"0lIt$N%Q!<%H$KEE;R=pL>$r;\$7$?$j!"0E9f2=$7$?$j$G$-$^$9!#\e(B
1032 \e$B$3$N>l9g$3$N$h$&$J%^!<%/$OIU$-$^$;$s!#%^!<%/$,IU$/$N$O!"K\J8A4BN$,BP>]$K\e(B
1033 \e$B$J$C$F$$$k>l9g$G$9!#\e(B
1034 @end ifset
1035 @ifset us
1036 PGP/MIME also allows to sign and/or encrypt some parts of a message. In
1037 this case, these marks don't appear. It is a message whose *body* is
1038 singed or encrypted that the "S" mark or the "E" mark appears on.
1039 @end ifset
1040
1041 @ifset jp
1042 \e$B$^$?!"C1$K=pL>$d0E9f2=$H8@$$$^$7$?$,!"$3$l$O:G=*E*$J=hM}$,=pL>$d0E9f2=$G\e(B
1043 \e$B$"$C$?$3$H$r0UL#$7$F$$$^$9!#$d$dJ#;($JOC$K$J$j$^$9$,!"$b$7$+$9$k$HA0<T$O\e(B
1044 \e$BK\J8A4BN$r0E9f2=$7$?8e=pL>$7$?$N$+$b$7$l$^$;$s$7!"8e<T$O0lIt$N%Q!<%H$K=p\e(B
1045 \e$BL>$7$5$i$KA4BN$r0E9f2=$7$F$$$k2DG=@-$b$"$j$^$9!#\e(B
1046 @end ifset
1047 @ifset us
1048 "Sign" and "encrypt" used above means the last procedure applied the
1049 body is "sign" and "encrypted", respectively. Examples above may have
1050 been produced with more complex process. As far as the firmer message,
1051 for instance, the body may have been signed after encrypting the body.
1052 It is likely that some part of the latter message was first signed then
1053 the body was encrypted.
1054 @end ifset
1055
1056 @ifset jp
1057 \e$BK\J8A4BN!"$"$k$$$O!"0lIt$N%Q!<%H$,0E9f2=$5$l$F$$$k>l9g!"\e(BMew \e$B$O%Q%9%U%l!<\e(B
1058 \e$B%:$r?V$$$F$-$^$9!#F~NO$5$l$?%Q%9%U%l!<%:$O!"$"$J$?$NHkL)80$rI|9f2=$9$k$N\e(B
1059 \e$B$K;H$o$l$^$9!#$=$7$F!"I|9f2=$5$l$?HkL)80$K$h$C$F!"0E9f2=$5$l$F$$$k%a%C%;!<\e(B
1060 \e$B%8$r2r$/$o$1$G$9!#\e(B
1061 @end ifset
1062 @ifset us
1063 If some parts or the body is encrypted, Mew asks you to input your
1064 pass-phrase to get plain text. The pass-phrase is used to decrypt your
1065 secret key. The secret key is then used to decrypt cipher text. 
1066 @end ifset
1067
1068 @ifset jp
1069 \e$B$"$k\e(B PGP/MIME \e$B%a%C%;!<%8$rI=<($9$k$K$O!"0E9f2=$5$l$??t$@$1%Q%9%U%l!<%:$r\e(B
1070 \e$BF~NO$9$kI,MW$,$"$j$^$9!#$3$l$O\e(B Mew \e$B$,0BA4$r4|$7$F!"DL>o%Q%9%U%l!<%:$rJ]\e(B
1071 \e$BB8$7$J$$$+$i$G$9!#$b$7$3$l$,$o$:$i$o$7$$$J$i!"0J2<$N@_Dj$G\e(B Mew \e$B$K%Q%9%U\e(B
1072 \e$B%l!<%:$r$7$P$i$/$N4VJ]B8$5$;$k$3$H$b2DG=$G$9!#%Q%9%U%l!<%:$rJ]B8$9$k:]$N\e(B
1073 \e$BCm0U;v9`$K$D$$$F$O!"\e(B@xref{folder}\e$B$r;2>H$7$F2<$5$$!#\e(B
1074 @end ifset
1075 @ifset us
1076 To visualize PGP/MIME, you need to input your pass-phrase every time you
1077 encounter cipher text.  This is because Mew does not cache pass-phrases
1078 anywhere for security reasons. If you feel this is inconvenient, set the
1079 following configuration so that your pass-phrases are cached for a
1080 while. Please refer to @xref{folder} to know what you should take care
1081 to use this feature.
1082 @end ifset
1083
1084 @example
1085 (setq mew-use-pgp-cached-passphrase t)
1086 @end example
1087
1088 @ifset jp
1089 \e$B%Q%9%U%l!<%:$rJ]B8$7$J$$DL>o$N@_Dj$G$b!"0lC6I|9f2=$5$l$?%a%C%;!<%8$O$7$P\e(B
1090 \e$B$i$/J]B8$5$l$k$N$G!"\e(B2\e$B2sL\$NI=<($K$O%Q%9%U%l!<%:$r?V$+$l$J$$$+$b$7$l$^$;\e(B
1091 \e$B$s!#\e(B
1092 @end ifset
1093 @ifset us
1094 Since decrypted messages are cached for a while, you perhaps need not to
1095 input your pass-phrase at the next time when the message will be
1096 displayed, even if you do not use the pass-phrase cache.
1097 @end ifset
1098
1099 @ifset jp
1100 \e$B0lJ}!"DL?.Aj<j$N=pL>$r8!>Z$9$k$?$a$K$OAj<j$N8x3+80$,MxMQ$G$-$l$P$h$$$N$G!"\e(B
1101 \e$B%Q%9%U%l!<%:$r?V$+$l$k$3$H$O$"$j$^$;$s!#\e(B
1102 @end ifset
1103 @ifset us
1104 To verify signatures, senders' public keys are used. So, you are not
1105 asked to type your pass-phrase.
1106 @end ifset
1107
1108 @ifset jp
1109 Mew \e$B$O<+F0E*$KEE;R=pL>$r8!>Z$7$?$j!"F~NO$5$l$?%Q%9%U%l!<%:$r;H$C$F0E9f%a%C\e(B
1110 \e$B%;!<%8$rI|9f2=$7$?$j$7$F!"85$N%a%C%;!<%8$rI=<($7$^$9!#$=$3$G!"%f!<%6$,=p\e(B
1111 \e$BL>$NB8:_$K5$$E$+$J$$$+$b$7$l$^$;$s$7!"$I$NItJ,$,0E9f2=$5$l$F$$$?$N$+J,$+\e(B
1112 \e$B$i$J$$$+$b$7$l$^$;$s!#\e(B
1113 @end ifset
1114 @ifset us
1115 Since Mew automatically verifies signatures and/or decrypts cipher text
1116 with inputed pass-phrase, it is likely that users don't notice that the
1117 original message has signatures and/or which parts were encrypted.
1118 @end ifset
1119
1120 @ifset jp
1121 \e$B$=$3$G!"8!>Z$N7k2L$d$I$NItJ,$,0E9f2=$5$l$F$$$+$r%f!<%6$KDLCN$9$k$?$a$K!"\e(B
1122 Mew \e$B$O0J2<$N$h$&$K%X%C%@$K\e(B X-Mew: \e$B%U%#!<%k%I$rA^F~$7$^$9!#\e(B
1123 @end ifset
1124 @ifset us
1125 To tell users the results of verification of signatures or which parts
1126 were decrypted, Mew inserts the X-Mew: field in the header as follows:
1127 @end ifset
1128
1129 @example
1130 X-Mew: <body> PGP decrypted.
1131         Good PGP sign "kazu@@mew.org" COMPLETE
1132 @end example
1133
1134 @ifset jp
1135 "<>" \e$BFb$NHV9f$O!"$I$N%Q!<%H$N7k2L$G$"$k$+$r<($7$F$$$^$9!#\e(B"body" \e$B$O!"%a%C\e(B
1136 \e$B%;!<%8$NK\J8A4BN$,J]8n$5$l$F$$$k$3$H$r0UL#$7$^$9!#$3$NNc$G$O!"%a%C%;!<%8\e(B
1137 \e$BA4BN$,\e(B kazu \e$B$K$h$C$F=pL>$5$l!"<u?.<T$N$?$a$K0E9f2=$5$l$F$$$^$9!#\e(BMew \e$B$O$^\e(B
1138 \e$B$:$3$l$rI|9f2=$7!"$=$7$F=pL>$r8!>Z$7$F$$$^$9!#=pL>$O@5$7$$$N$G!"\e(B
1139 kazu@@mew.org \e$B$H$$$&\e(B ID \e$B$NIU$$$?HkL)80$G=pL>$5$l$?$H$-$+$i!"FbMF$OJQ99$5\e(B
1140 \e$B$l$F$$$J$$$HJ,$+$j$^$9!#$3$N=pL>$N8!>Z$K;H$o$l$?8x3+80$N!VM-8z@-!W$O\e(B 
1141 "complete" \e$B$G$9!#$h$C$F!"<u?.<T$O$3$N8x3+80$,\e(B ID \e$B$,<($9%f!<%6$KB0$7$F$$\e(B
1142 \e$B$k$H?.Mj$7$F$$$k$3$H$K$J$j$^$9!#$D$^$j!"$3$N%a%C%;!<%8$O?.Mj$r$*$$$F$$$k\e(B
1143 \e$B8x3+80$K$h$C$F8!>Z$5$l7k2L$,@5$7$$$N$G!"2~cb$5$l$F$$$J$$$H$$$&$3$H$K$J$j\e(B
1144 \e$B$^$9!#\e(B
1145 @end ifset
1146 @ifset us
1147 The number in "<>" indicates which part was protected with PGP. "body"
1148 means the body was protected. This example tells us that the body was
1149 singed by kazu then encrypted for the reader. Mew first decrypted it
1150 then verified its signature of the decrypted message. The signature is
1151 good. So, nobody has modified the content since it was signed by the
1152 secret key whose ID is kazu@@mew.org. The validity of the public key
1153 used to verify the signature is "complete". Thus, the receiver believes
1154 that the public key actually belongs to the user whom the ID tells. That
1155 is, this message was verified by the trusted public key AND its results
1156 was good, so no alternation was found.
1157 @end ifset
1158
1159 @ifset jp
1160 \e$B0J2<$NNc$G$O!"$^$:%^%k%A%Q!<%H$G$"$kK\J8A4BN$NEE;R=pL>$,8!>Z$5$l!"$=$N8e\e(B
1161 \e$B%Q!<%H\e(B 2 \e$B$N%a%C%;!<%8A4BN$,I|9f2=$5$l$F$$$^$9!#$D$^$j!":n@.;~$K$O!"$^$:\e(B
1162 \e$B%Q!<%H\e(B 2 \e$B$,0E9f2=$5$l!"$=$7$FK\J8A4BN$,=pL>$5$l$?$3$H$,J,$+$j$^$9!#\e(B
1163 @end ifset
1164 @ifset us
1165 In the following example, the signature of the body, which is multipart,
1166 was first verified then part 2, which is a message, was decrypted. That
1167 is, the composing process was that part 2 was first encrypted then the
1168 entire body was signed.
1169 @end ifset
1170
1171 @example
1172 X-Mew: <body multi> Good PGP sign "kazu@@mew.org" COMPLETE
1173 X-Mew: <2 message> PGP decrypted.
1174 @end example
1175
1176 @ifset jp
1177 \e$B$9$k$I$$?M$J$i!"0-$$?M$,$"$i$+$8$a\e(B X-Mew: \e$B%U%#!<%k%I$rA^F~$7$F$*$-!"$"$J$?\e(B
1178 \e$B$r$@$^$9$+$b$7$l$J$$$H;W$&$+$b$7$l$^$;$s!#$G$bBg>fIW$G$9!#\e(BMew \e$B$O!"%X%C%@$K\e(B
1179 \e$B$"$k\e(B X-Mew: \e$B$r$"$i$+$8$a:o$j!"K\J*$N\e(B X-Mew: \e$B%U%#!<%k%I$rA^F~$7$^$9$+$i!#\e(B
1180 @end ifset
1181 @ifset us
1182 Smart users may wonder what if a bad guy or gal sends you a message with
1183 an illegal X-Mew: field. Take it easy. First Mew carefully removes the
1184 X-Mew: field then inserted a valid X-Mew: field to the header.
1185 @end ifset
1186
1187 @ifset jp
1188 X-Mew: \e$B%U%#!<%k%I$OB>$K$b$5$^$6$^$J7k2L$rEA$($F$/$l$^$9!#$?$H$($P!"=pL>\e(B
1189 \e$B$r8!>Z$9$k$?$a$N8x3+80$,$J$$$H$+!"I|9f2=$K<:GT$7$?$J$I$G$9!#0J2<$NNc$O!"\e(B
1190 \e$B80\e(B ID \e$B$,\e(B 0x1B8BF431 \e$B$G$"$k8x3+80$,$J$$$3$H$r<($7$F$$$^$9!#\e(B
1191 @end ifset
1192 @ifset us
1193 X-Mew: tells you many other types of result. For example, no public key
1194 is available, the decryption failed, etc. The following example indicates
1195 that the public key whose key ID is 0x1B8BF431 is missing.
1196 @end ifset
1197
1198 @example
1199 X-Mew: <body multi> No his/her public key. ID = 0x1B8BF431
1200 @end example
1201
1202 @ifset jp
1203 \e$B$3$N>l9g!"\e(B@samp{C-cC-f} \e$B$HF~NO$9$k$H!"\e(BMew \e$B$O\e(B 
1204 @samp{mew-pgp-keyserver-url-template} \e$B$G;XDj$5$l$?\e(B URL \e$B$r;H$C$F$3$N8x3+\e(B
1205 \e$B80$NF~<j$r;n$_$^$9!#$b$7!"\e(BX-Mew: \e$B%U%#!<%k%I$,$J$$>l9g$O!"\e(B@samp{C-cC-f} 
1206 \e$B$O\e(B From: \e$B$r\e(B ID \e$B$H9M$($^$9!#$^$?!"\e(B@samp{C-uC-cC-f} \e$B$O!"\e(BX-Mew: \e$B%U%#!<%k%I\e(B
1207 \e$B$K2C$($F\e(B @samp{mew-x-pgp-key-list} \e$B$K;XDj$5$l$?%U%#!<%k%I$b80\e(B ID \e$B$r@Z$j\e(B
1208 \e$B=P$9BP>]$H$7!"8x3+80$NF~<j$r;n$_$^$9!#\e(B
1209 @end ifset
1210 @ifset us
1211 In this case, if you type @samp{C-cC-f}, Mew tries fetching this public
1212 key using URL specified in @samp{mew-pgp-keyserver-url-template}. If the
1213 X-Mew: field does not exist, @samp{C-cC-f} takes the From: field as ID.
1214 Also, @samp{C-uC-cC-f} extracts key IDs from fields specified in
1215 @samp{mew-x-pgp-key-list} in addition to the X-Mew: field then tries
1216 fetching them.
1217 @end ifset
1218
1219 @ifset jp
1220 Mew \e$B$G$O\e(B PGPv2\e$B!"\e(BPGPv5\e$B!"\e(BGNUPG \e$B$KBP1~$7$F$$$^$9!#$3$l$i$O\e(B Summary \e$B%b!<%I$K\e(B
1221 \e$B$*$$$F!"\e(B@samp{C-cC-v} \e$B$G@ZBX$(2DG=$G$9!#$3$l$iJ#?t$N\e(B PGP \e$B$r;H$$$?$$?M$O\e(B
1222 @samp{mew-prog-pgp2}\e$B!"\e(B@samp{mew-prog-pgp5}\e$B!"\e(B@samp{mew-prog-gpg} \e$B$KBP$7!"\e(B
1223 \e$B$=$l$>$l\e(B PGPv2\e$B!"\e(BPGPv5\e$B!"\e(BGNUPG \e$B$N%3%^%s%IL>$r@_Dj$7$F2<$5$$!#$^$?!"\e(BMew \e$B$N\e(B
1224 \e$B5/F0D>8e$KMxMQ$9$k\e(B PGP \e$B$N%3%^%s%IL>$r\e(B @samp{mew-prog-pgp} \e$B$K@_Dj$7$F2<$5\e(B
1225 \e$B$$!#$J$*%Q%9%U%l!<%:$O!"$=$l$>$l$N\e(B PGP \e$B$KBP$7FHN)$KJ]B8$5$l$^$9!#\e(B
1226 @end ifset
1227 @ifset us
1228 Mew supports PGPv2, PGPv5, and GNUPG. You can select one of those by
1229 @samp{C-cC-v} in Summary mode. If you want to use those PGPs, you should
1230 set the command name of PGPv2, PGPv5, and GNUPG to @samp{mew-prog-pgp2},
1231 @samp{mew-prog-pgp5}, and @samp{mew-prog-gpg}, respectively. Also, set
1232 the default PGP name to @samp{mew-prog-pgp}. Note that pass-phrases are
1233 cached independently for each PGP.
1234 @end ifset
1235
1236 @c %%%%%%%%%%%%%%%%%
1237 @node folder, sum-write, pgp-viewing, Viewing
1238 @ifset jp
1239 @section \e$B%U%)%k%@$N99?7$H0\F0\e(B
1240 @end ifset
1241 @ifset us
1242 @section Updating and visiting folder
1243 @end ifset
1244 @vindex mew-use-cached-passwd
1245
1246 @ifset jp
1247 \e$BE~Ce$7$?%a%C%;!<%8$r\e(B +inbox \e$B%U%)%k%@$K0\F0$7!"0lMw$rI=<($9$k$K$O\e(B 
1248 @samp{i} \e$B$r;H$$$^$9!#0lMw$O!"\e(B+inbox \e$B%U%)%k%@$N\e(B Summary \e$B%b!<%I$N:G8e$KA^\e(B
1249 \e$BF~$5$l$^$9!#\e(B
1250 @end ifset
1251 @ifset us
1252 To fetch arrived messages, store them to the +inbox folder and list up
1253 them, use @samp{i}. The list is appended to the bottom of Summary mode
1254 for the +inbox folder.
1255 @end ifset
1256
1257 @ifset jp
1258 \e$B$3$N$H$-%Q%9%o!<%I$r?V$+$l$k$3$H$,$"$j$^$9!#%Q%9%o!<%I$rF~NO$9$k:]$NCm0U\e(B
1259 \e$B;v9`$K$D$$$F$O!"\e(B@xref{Start} \e$B$r;2>H$7$F2<$5$$!#%Q%9%o!<%I$r2?2s$bF~NO$9\e(B
1260 \e$B$k$N$,LLE]$J?M$O!"%Q%9%o!<%I$rJ]B8$9$k5!G=$rMxMQ$7$F2<$5$$!#$3$l$K$O0J2<\e(B
1261 \e$B@_Dj$,I,MW$G$9!#\e(B
1262 @end ifset
1263 @ifset us
1264 At that time, you may be required to input your password.  Please refer
1265 to @xref{Start} to know what you should take care when inputing
1266 password. If you get sick of inputing your password time to time, please
1267 make use of the password-cache mechanism with following configuration.
1268 @end ifset
1269
1270 @example
1271 (setq mew-use-cached-passwd t)
1272 @end example
1273
1274 @ifset jp
1275 \e$B%Q%9%o!<%I$NJ]B85!G=$r;H$&$H!"%Q%9%o!<%I$,J]B8$5$l$F$$$k4V$O!"%Q%9%o!<%I\e(B
1276 \e$B$NF~NO$r>JN,$G$-$^$9!#%Q%9%o!<%I$O\e(B Emacs \e$B$NCf$KJ]B8$5$l$F$$$^$9$N$G!"@J\e(B
1277 \e$B$r6u$1$F\e(B Emacs \e$B$,B>$N?M$K;HMQ$5$l$k$3$H$,$J$$$h$&Cm0U$7$F2<$5$$!#\e(B
1278 @end ifset
1279 @ifset us
1280 If you use this password-cache mechanism, you can omit password while
1281 the password is cached. Since passwords are cached in Emacs, you should
1282 take care so that other people cannot touch your computer.
1283 @end ifset
1284
1285 @ifset jp
1286 \e$B%U%)%k%@$N0lMw$r:FI=<($9$k$K$O!"\e(B@samp{s} \e$B$r;H$$$^$9!#$3$N%3%^%s%I$rBPOC\e(B
1287 \e$BE*$K;H$&$HHO0O$r?V$$$F$-$^$9!#\e(BMew \e$B$G=EMW$JHO0O$N0UL#$r0J2<$K<($7$^$9!#\e(B
1288 @end ifset
1289 @ifset us
1290 To list up messages in Summary mode or flush it, use @samp{s}. This
1291 command asks you to input range. Important ranges for Mew are as
1292 follows:
1293 @end ifset
1294
1295 @table @samp
1296 @ifset jp
1297 @item update
1298 \e$B!V\e(BSummary \e$B%b!<%I$N:G8e$N%a%C%;!<%8$N<!!W$+$i!V%U%)%k%@Fb$N:G8e$N%a%C%;!<\e(B
1299 \e$B%8!W$^$G!#$D$^$j!"\e(BSummary \e$B%b!<%I$H<B:]$N%U%)%k%@Fb$N%a%C%;!<%8$N:9J,!#\e(B
1300 @item all
1301 \e$B%U%)%k%@Fb$N%a%C%;!<%8$9$Y$F!#\e(BSummary \e$B%b!<%I$NI=<($,$*$+$7$/$J$C$?$H$-$K!"\e(B
1302 \e$BFbMF$r0l?7$9$k$?$a$KMQ$$$k!#\e(B
1303 @end ifset
1304 @ifset us
1305 @item update
1306 From "the last message in the Summary mode + 1" to "the last message in
1307 the corresponding folder". That is, the gap between the Summary mode and
1308 the existing folder
1309 @item all
1310 All messages in the folder. When Summary mode becomes inconsistent, use
1311 this range to flush the list.
1312 @end ifset
1313 @end table
1314
1315 @ifset jp
1316 +draft \e$B0J30$N%U%)%k%@$G$O!"%G%U%)%k%H$NHO0O$,\e(B @samp{update} \e$B$H$J$C$F$$$^\e(B
1317 \e$B$9!#$G$9$+$i!"\e(B@samp{s} \e$B$N8e$K\e(B @samp{RET} \e$B$r2!$9$@$1$G!"8=:_$N%U%)%k%@$K\e(B
1318 \e$BBP$7:G?7$N0lMw$rF@$i$l$k$3$H$K$J$j$^$9!#\e(B+draft \e$B$N%G%U%)%k%H$NHO0O$O\e(B 
1319 @samp{all} \e$B$G$9!#\e(B
1320 @end ifset
1321 @ifset us
1322 The default range is usually @samp{update}. So, just type @samp{RET}
1323 after @samp{s} to get the up-to-date list of the current folder.
1324 @end ifset
1325
1326 @ifset jp
1327 Mew \e$B$G$O$"$^$j=EMW$G$O$"$j$^$;$s$,!"0J2<$NHO0O$b;XDj$G$-$^$9!#\e(B
1328 @end ifset
1329 @ifset us
1330 You can specify the following ranges though they are not important for
1331 Mew.
1332 @end ifset
1333
1334 @table @samp
1335 @ifset jp
1336 @item <num1>-<num2>
1337 <num1> \e$B$+$i\e(B <num2> \e$B$^$G!#\e(B
1338 @item <num>:N
1339 <num> \e$B$+$i\e(B N \e$B8D!#\e(B
1340 @item <num>:-N
1341 <num> \e$B$^$G$N\e(B N \e$B8D!#\e(B
1342 @item first:N
1343 \e$B:G=i$+$i\e(B N \e$B8D!#\e(B
1344 @item prev:N
1345 \e$B8=:_$N%a%C%;!<%8$^$G$N\e(B N \e$B8D!#\e(B
1346 @item next:N
1347 \e$B8=:_$N%a%C%;!<%8$+$i\e(B N \e$B8D!#\e(B
1348 @item last:N
1349 \e$B:G8e$N%a%C%;!<%8$^$G$N\e(B N \e$B8D!#\e(B
1350 @end ifset
1351 @ifset us
1352 @item <num1>-<num2>
1353 From <num1> to <num2>
1354 @item <num>:N
1355 N messages from <num>
1356 @item <num>:-N
1357 N messages to <num>
1358 @item first:N
1359 N messages from the first
1360 @item prev:N
1361 N messages to the current
1362 @item next:N
1363 N messages from the current
1364 @item last:N
1365 N messages to the last
1366 @end ifset
1367 @end table
1368
1369 @ifset jp
1370 \e$B%U%)%k%@$N0\F0$K$O\e(B @samp{g} \e$B$rF~NO$7$F2<$5$$!#%U%)%k%@L>$O\e(B @samp{TAB} \e$B$G\e(B
1371 \e$BJd40$G$-$^$9!#$b$7!"0\F0$7$?:]$K\e(B Summary \e$B%b!<%I$N0lMw$,8E$$$HH=CG$7$?>l\e(B
1372 \e$B9g$O!"<+F0E*$K:9J,$rDI2CI=<($7$^$9!#\e(B
1373 @end ifset
1374 @ifset us
1375 To go to another folder, type @samp{g}. You can make use of folder name
1376 completion with @samp{TAB}. When you move a folder and if Mew considered
1377 that its list of messages are old, Mew automatically displays the
1378 differences.
1379 @end ifset
1380
1381 @ifset jp
1382 \e$B=P$F$-$?%3%^%s%I$r0J2<$K$^$H$a$^$9!#\e(B
1383 @end ifset
1384 @ifset us
1385 Here is a summary for commands up above.
1386 @end ifset
1387
1388 @table @samp
1389 @ifset jp
1390 @item i
1391 \e$BE~Ce$7$?%a%C%;!<%8$r\e(B +inbox \e$B%U%)%k%@$K0\F0$70lMw$rI=<($9$k!#\e(B
1392 @item s
1393 \e$B%U%)%k%@$N0lMw$r:FI=<($9$k!#\e(B
1394 @item g
1395 \e$B%U%)%k%@$r0\F0$9$k!#\e(B
1396 @end ifset
1397 @ifset us
1398 @item i
1399 Fetch arrived messages, store them to the +inbox folder and list up them
1400 @item s
1401 List up messages in Summary mode or flush it.
1402 @item g
1403 Go to another folder.
1404 @end ifset
1405 @end table
1406
1407 @c %%%%%%%%%%%%%%%%%
1408 @node sum-write, features, folder, Viewing
1409 @ifset jp
1410 @section \e$BAw?.!"JVEz!"E>Aw\e(B
1411 @end ifset
1412 @ifset us
1413 @section Write, answer, and forward
1414 @end ifset
1415
1416 @ifset jp
1417 \e$B%a%C%;!<%8$NAw?.!"JVEz!"E>Aw$K$O!"0J2<$N%3%^%s%I$r;H$$$^$9!#\e(B
1418 @end ifset
1419 @ifset us
1420 The following commands are prepared for writing, replying, and
1421 forwarding a message.
1422 @end ifset
1423
1424 @table @samp
1425 @ifset jp
1426 @item w
1427 \e$B%a%C%;!<%8$r=q$/!#?7$7$$Ap9F$,\e(B Draft \e$B%b!<%I$KMQ0U$5$l$k!#\e(B
1428 @item a
1429 \e$B8=:_$N%a%C%;!<%8$KJVEz$9$k!#\e(BDraft \e$B%b!<%I$KAp9F$,MQ0U$5$l!"\e(BTo: \e$B$d\e(B Cc: \e$B$,\e(B
1430 \e$B<+F0E*$K7hDj$5$l$k!#\e(B
1431 @item A
1432 \e$B8=:_$N%a%C%;!<%8$KJVEz$9$k!#\e(BDraft \e$B%b!<%I$KAp9F$,MQ0U$5$l!"\e(BTo: \e$B$d\e(B Cc: \e$B$,\e(B
1433 \e$B<+F0E*$K7hDj$5$l$?8e!"K\J8$,0zMQ$5$l$k!#\e(B
1434 @item f
1435 \e$B8=:_$N%a%C%;!<%8$rBh\e(B3\e$B<T$KE>Aw$9$k!#\e(BDraft \e$B%b!<%I$KAp9F$,MQ0U$5$l!"8=:_$N\e(B
1436 \e$B%a%C%;!<%8$,<+F0E*$KE:IU$5$l$k!#\e(B
1437 @item F
1438 @samp{@@} \e$B%^!<%/$NIU$$$?%a%C%;!<%8$rBh\e(B3\e$B<T$KE>Aw$9$k!#\e(BDraft \e$B%b!<%I$KAp9F\e(B
1439 \e$B$,MQ0U$5$l!"\e(B@samp{@@} \e$B%^!<%/$NIU$$$?%a%C%;!<%8$,<+F0E*$KE:IU$5$l$k!#>\$7\e(B
1440 \e$B$/$O\e(B @xref{multi mark} \e$B$r;2>H$N$3$H!#\e(B
1441 @end ifset
1442 @ifset us
1443 @item w
1444 Write a message. A new draft is prepared in Draft mode.
1445 @item a
1446 Answer to this message. A new draft is prepared in Draft mode. Mew
1447 automatically decides To: and Cc:.
1448 @item A
1449 Answer to this message. A new draft is prepared in Draft mode. Mew
1450 automatically decides To: and Cc: and cites the body.
1451 @item f
1452 Forward this message to a third person. A new draft is prepared in Draft
1453 mode and this message is automatically attached.
1454 @item F
1455 Forward messages marked with @samp{@@} to a third person. A new draft is
1456 prepared in Draft mode and this message is automatically attached. For
1457 more information, refer to @xref{multi mark}.
1458 @end ifset
1459 @end table
1460
1461 @ifset jp
1462 \e$B%(%i!<%a%C%;!<%8$,JV$C$F$-$?$i!"0J2<$N%3%^%s%I$G=$@5$7:FD)@o$7$^$7$g$&!#\e(B
1463 @end ifset
1464 @ifset us
1465 If an error message returns, let's give one more try with the following
1466 commands.
1467 @end ifset
1468
1469 @table @samp
1470 @ifset jp
1471 @item E
1472 \e$B%a%C%;!<%8$N:FJT=8!#$^$?$O!"\e(BMIME \e$B7A<0$G%+%W%;%k2=$5$l$FLa$C$F$-$?%a%C%;!<\e(B
1473 \e$B%8$N:FJT=8!#\e(B+draft \e$B%U%)%k%@$G$O!"$=$N%a%C%;!<%8$rD>@\JT=8!#$=$NB>$N%U%)\e(B
1474 \e$B%k%@$G$O\e(B +draft \e$B%U%)%k%@$K%3%T!<$7$F$+$iJT=8!#\e(B
1475 @item M-e
1476 "----- Original message follows -----" \e$B$N8e$K%*%j%8%J%k$N%a%C%;!<%8$,\e(B
1477 \e$B0zMQ$5$l$F$$$k%(%i!<%a%C%;!<%8$N:FJT=8!#\e(B
1478 @end ifset
1479 @ifset us
1480 @item E
1481 Edit this message again to retry sending. Or edit this rfc822 part
1482 typically included MIME-encapsulated error message. In the +draft
1483 folder, it just edits the message. Otherwise, copy the message to the
1484 +draft folder, then edit.
1485 @item M-e
1486 Edit an old fashioned error message in which the original message is
1487 encapsulated after "----- Original message follows -----".
1488 @end ifset
1489 @end table
1490
1491 @c %%%%%%%%%%%%%%%%%
1492 @node features, sorting, sum-write, Viewing
1493 @ifset jp
1494 @section \e$BJXMx$J5!G=\e(B
1495 @end ifset
1496 @ifset us
1497 @section Useful features
1498 @end ifset
1499 @vindex mew-use-folders-file-p
1500
1501 @ifset jp
1502 Mew \e$B$G$O!"\e(BSummary \e$B%b!<%I$K0J2<$N$h$&$JJXMx$J%3%^%s%I$,MQ0U$5$l$F$$$^$9!#\e(B
1503 @end ifset
1504 @ifset us
1505 Mew provides you with convenient commands in Summary mode as follows:
1506 @end ifset
1507
1508 @table @samp
1509 @ifset jp
1510 @item v
1511 \e$B!V\e(BSummary \e$B%b!<%I$N$_!W$H!V\e(BSummary & Message \e$B%b!<%I!W$N@Z$jBX$(!#\e(B
1512 \e$B!V\e(BSummary \e$B%b!<%I$N$_!W$rA*$s$G$$$k>l9g$O!"\e(B@samp{d} \e$B$O<!$N%a%C%;!<%8$rI=\e(B
1513 \e$B<($7$J$$$N$G!"O"B3$7$F$9$P$d$/\e(B @samp{D} \e$B%^!<%/$rIU$1$i$l$k!#\e(B
1514 @item M-l
1515 \e$B8=:_$N9T$r\e(B Summary \e$B%b!<%I$NCf1{$K0\F0$5$;$k!#\e(B
1516 @item C-cC-s
1517 Message \e$B%b!<%I$G=gJ}8~CJ3,E*8!:w!#\e(B
1518 @item C-cC-r
1519 Message \e$B%b!<%I$G5UJ}8~CJ3,E*8!:w!#\e(B
1520 @item y
1521 \e$B%a%C%;!<%8!"$"$k$$$O!"%Q!<%H$rF~NO$7$?%U%!%$%kL>$GJ]B8$9$k!#\e(BMule \e$B>e$G\e(B 
1522 @samp{C-u} \e$B$H6&$K8F$S=P$9$H!"J]B8$9$k%F%-%9%H$N\e(B coding-system \e$B$r;XDj$G$-\e(B
1523 \e$B$k!#\e(B
1524 @item #
1525 \e$B8=:_$N%a%C%;!<%8$+%Q!<%H$r0u:~$9$k!#\e(B
1526 @item |
1527 \e$B8=:_$N%a%C%;!<%8$+%Q!<%H$r%Q%$%W$G=PNO$9$k!#\e(B
1528 @item O
1529 \e$B%a%C%;!<%8$rHV9f5M$a$7$F!":F$S0lMwI=<($9$k!#\e(B
1530 @item B
1531 \e$B3JG<$5$l$F$$$k%a%C%;!<%8$r<h$j=P$9!#\e(B
1532 @item D
1533 +trash \e$B%U%)%k%@$N%a%C%;!<%8$rA4It>C5n$9$k\e(B(@xref{delete mark})\e$B!#\e(B
1534 @item Z
1535 \e$B%"%I%l%9D"\e(B(@xref{addrbook})\e$B$rFI$_9~$s$G>pJs$r99?7$9$k!#\e(B@samp{C-uZ} \e$B$G$O!"\e(B
1536 \e$B%"%I%l%9D"$K2C$(%U%)%k%@$N%j%9%H$b99?7$9$k!#\e(B
1537 @samp{mew-use-folders-file-p} \e$B$,\e(B @samp{t} \e$B$J$i%U%)%k%@$N%j%9%H$r\e(B 
1538 "~/Mail/.folders" \e$B$KJ]B8$9$k!#%G%U%)%k%H$O\e(B @samp{t}\e$B!#\e(B
1539 @item C-cC-a
1540 \e$B8=:_$N%a%C%;!<%8$N>pJs$r%"%I%l%9D"$KEPO?$9$k\e(B(@xref{addrbook})\e$B!#\e(B
1541 @item C-cC-v
1542 PGP \e$B$N%P!<%8%g%s$r@ZBX$($k\e(B(@xref{pgp-viewing})\e$B!#\e(B
1543 @item C-cC-p
1544 \e$B@N$J$,$i$N<+F0=hM}$G$-$J$$\e(B PGP \e$B%a%C%;!<%8$r\e(B PGP \e$B$KI|9f2=!"8!>Z$5$;$k!#\e(B
1545 @end ifset
1546 @ifset us
1547 @item v
1548 Toggle "Summary mode only" and "Summary & Message mode". If you choose
1549 "Summary mode only", you can quickly put the @samp{D} mark since the
1550 next message is not displayed.
1551 @item M-l
1552 Make the current line to the center of Summary mode.
1553 @item C-cC-s
1554 Incremental search forward in Message mode.
1555 @item C-cC-r
1556 Incremental search backward in Message mode.
1557 @item y
1558 Save this message or this part into the file whose name is specified by
1559 you. If executed with @samp{C-u} on Mule, you can specify coding-system
1560 for text.
1561 @item #
1562 Print this message or this part.
1563 @item |
1564 Send this message or this part via pipe.
1565 @item O
1566 Pack messages and list them up again.
1567 @item B
1568 De-capsulate embedded messages in MIME format.
1569 @item D
1570 Delete all messages in the +trash folder(@xref{delete mark}).
1571 @item Z
1572 Read Addrbook(@xref{addrbook}) and update its information. If you type
1573 @samp{C-u Z}, information of folders is also updated in addition to that
1574 of Addrbook. If @samp{mew-use-folders-file-p} is @samp{t}, the list of
1575 folders is stored in "~/Mail/.folders". The default value is @samp{t}.
1576 @item C-cC-a
1577 Register the information on the current message to
1578 Addrbook(@xref{addrbook}).
1579 @item C-cC-v
1580 Select PGP version(@xref{pgp-viewing}).
1581 @item C-cC-p
1582 Let PGP decrypt and/or verify good-old-PGP messages.
1583 @end ifset
1584 @end table
1585
1586 @c %%%%%%%%%%%%%%%%%
1587 @node sorting, illegal, features, Viewing
1588 @ifset jp
1589 @section \e$B%a%C%;!<%8$N%=!<%H\e(B
1590 @end ifset
1591 @ifset us
1592 @section Sorting messages
1593 @end ifset
1594 @vindex mew-sort-key-alist
1595 @vindex mew-sort-default-key
1596 @vindex mew-sort-default-key-alist
1597
1598 @ifset jp
1599 \e$B%U%)%k%@Fb$N%a%C%;!<%8$r%=!<%H$9$k$K$O\e(B @samp{S} \e$B$r;H$$$^$9!#$3$N$H$-<!$N\e(B
1600 \e$B$h$&$K$I$N%U%#!<%k%I$G%=!<%H$9$k$+?V$$$F$/$k$N$G!"%=!<%H$7$?$$%U%#!<%k%I\e(B
1601 \e$BL>$rF~NO$7$F2<$5$$!#\e(B
1602 @end ifset
1603 @ifset us
1604 To sort messages in the current folder, use @samp{S}. Then you will be
1605 asked to input the field name as follows:
1606 @end ifset
1607
1608 @example
1609 Sort by? (default date): 
1610 @end example
1611
1612 @ifset jp
1613 \e$B;XDj$7$?%U%#!<%k%I$K=q$+$l$F$$$kJ8;zNs$OC1=c$KJ8;zNsHf3S$G%=!<%H$9$k$Y$-\e(B
1614 \e$B$G$O$"$j$^$;$s!#$?$H$($P!"\e(BSubject: \e$B$O%F%-%9%H$H9M$($F$h$$$N$G$9$,!"\e(BDate: 
1615 \e$B$OF|IU!"\e(BX-Mail-Count: \e$B$O?t;z$H9M$($F%=!<%H$9$Y$-$G$9!#$3$N$h$&$KJ8;zNs$r\e(B
1616 \e$B$I$&<h$j07$&$+$r%b!<%I$H8@$$$^$9!#%=!<%H$K$h$/;XDj$5$l$k%U%#!<%k%IL>$KBP\e(B
1617 \e$B$9$k%G%U%)%k%H$N%b!<%I$O\e(B @samp{mew-sort-key-alist} \e$B$G@_Dj$5$l$F$$$^$9!#\e(B
1618 @end ifset
1619 @ifset us
1620 Strings stored in the specified field should not be compared as text
1621 in some cases. For example, while Subject: can be considered as text,
1622 Date: and X-Mail-Count: should be treated as date and number,
1623 respectively. In this way, we call how to treat stored strings "mode".
1624 Default modes for typical field names are configured in
1625 @samp{mew-sort-key-alist}.
1626 @end ifset
1627
1628 @ifset jp
1629 \e$B%=!<%H$N%b!<%I$rL@<(E*$K;XDj!"JQ99$7$?$$>l9g$K$O\e(B @samp{:} \e$B$G6h@Z$C$F;XDj\e(B
1630 \e$B$7$^$9!#$?$H$($P\e(B X-Mail-Count \e$B%U%#!<%k%I$NFbMF$r\e(B(\e$B%F%-%9%H$H$7$F$G$O$J$/\e(B)
1631 \e$B?tCM$H$_$J$7$F%=!<%H$7$?$$>l9g$K$O!"<!$N$h$&$KF~NO$7$^$9!#\e(B
1632 @end ifset
1633 @ifset us
1634 When you want to specify the mode of sorting, the mode is followed by
1635 @samp{:}.  For example, to sort with X-Mail-Count field as arithmetic
1636 value (not text), input like this:
1637 @end ifset
1638
1639 @example
1640 x-mail-count:num
1641 @end example
1642
1643 @ifset jp
1644 \e$B$J$*!"J8;z$NBgJ8;z!">.J8;z$O6hJL$7$^$;$s!#$^$?!"%U%#!<%k%IL>$d%b!<%I$O\e(B 
1645 @samp{TAB} \e$B$GJd40$G$-$^$9!#\e(B
1646 @end ifset
1647 @ifset us
1648 The case distinctions of field names and modes are ignored. And you can
1649 complete field names and modes with @samp{TAB}.
1650 @end ifset
1651
1652 @ifset jp
1653 "Sort by?" \e$B$H?V$+$l$k:]$N%G%U%)%k%H$N%U%#!<%k%IL>$O!"\e(B
1654 @samp{mew-sort-default-key} \e$B$G@_Dj$G$-$^$9!#0J2<$O!"%G%U%)%k%H$N\e(B "date" 
1655 \e$B$r\e(B "x-ml-count" \e$B$KJQ99$9$kNc$G$9!#\e(B
1656 @end ifset
1657 @ifset us
1658 The default field name, when you asked "Sort by?", can be specified to
1659 @samp{mew-sort-default-key}. The following is an example to change the
1660 default value from "date" to "x-ml-count".
1661 @end ifset
1662
1663 @example
1664 (setq mew-sort-default-key "x-ml-count")
1665 @end example
1666
1667 @ifset jp
1668 @samp{mew-sort-default-key-alist} \e$B$G!"%U%)%k%@$4$H$K%G%U%)%k%H$N%U%#!<%k\e(B
1669 \e$B%IL>$r@_Dj$9$k$3$H$b$G$-$^$9!#$3$3$G;XDj$7$J$+$C$?%U%)%k%@$G$O!"%G%U%)%k\e(B
1670 \e$B%H$N%U%#!<%k%IL>$H$7$F\e(B @samp{mew-sort-default-key} \e$B$NCM$,;H$o$l$^$9!#0J\e(B
1671 \e$B2<$O!"\e(B+inbox \e$B%U%)%k%@$G$N%G%U%)%k%H$r\e(B "subject" \e$B$K!"\e(B+mew-dist \e$B%U%)%k%@$G\e(B
1672 \e$B$N%G%U%)%k%H$r\e(B "x-mail-count" \e$B$KJQ99$9$kNc$G$9!#\e(B
1673 @end ifset
1674 @ifset us
1675 You can also set a default field name for each folder by
1676 @samp{mew-sort-default-key-alist}. For folders not explicitly specified
1677 here, @samp{mew-sort-default-key} is used for their default field name.
1678 The following is an example that specifies "subject" for the +inbox
1679 folder and "x-mail-count" for the +mew-dist folder.
1680 @end ifset
1681
1682 @example
1683 (setq mew-sort-default-key-alist
1684       '(("+inbox" . "subject")
1685         ("+mew-dist" . "x-mail-count")))
1686 @end example
1687
1688 @ifset jp
1689 \e$B%=!<%H$K4X$9$k%3%^%s%I$r$^$H$a$k$H0J2<$N$h$&$K$J$j$^$9!#\e(B
1690 @end ifset
1691 @ifset us
1692 This is the summary of the sorting commands:
1693 @end ifset
1694
1695 @table @samp
1696 @ifset jp
1697 @item S
1698 \e$BF~NO$7$?%U%#!<%k%I$rMQ$$$F%U%)%k%@Fb$N%a%C%;!<%8$r%=!<%H$7$^$9!#\e(B
1699 @samp{C-u S} \e$B$N$h$&$K\e(B prefix \e$B$rIU$1$k$H!"%j!<%8%g%sFb$N%a%C%;!<%8$N$_$r\e(B
1700 \e$B%=!<%H$7$^$9!#\e(B
1701 @item mS
1702 @samp{*} \e$B%^!<%/$NIU$$$?%a%C%;!<%8$r%=!<%H$7$^$9!#\e(B 
1703 @end ifset
1704 @ifset us
1705 @item S
1706 Sort messages in the current folder. To sort messages in region, invoke
1707 it with prefix as @samp{C-u S}.
1708 @item mS
1709 Sort @samp{*} marked messages.
1710 @end ifset
1711 @end table
1712
1713 @c %%%%%%%%%%%%%%%%%
1714 @node illegal, Composing, sorting, Viewing
1715 @ifset jp
1716 @section \e$B2=$1$?%a%C%;!<%8\e(B
1717 @end ifset
1718 @ifset us
1719 @section Scrambled message
1720 @end ifset
1721 @vindex mew-decode-quoted
1722
1723 @ifset jp
1724 \e$B0J2<$N$h$&$J%a%C%;!<%8$O!"\e(Bcharset \e$B$,$J$/!"\e(BUS-ASCII \e$B$HG'<1$5$l$F$7$^$&$N\e(B
1725 \e$B$G!"2=$1$^$9!#\e(B
1726 @end ifset
1727 @ifset us
1728 The following message is considered as US-ASCII because of lack of
1729 charset.  So the body is scrambled.
1730 @end ifset
1731
1732 @example
1733 @ifset jp
1734 To: kazu
1735 Subject: \e$B2=$1$k%a%C%;!<%8\e(B
1736 From: Alice
1737 MIME-Version: 1.0
1738 Content-Type: Text/Plain
1739
1740 \e$BF|K\8l$NK\J8\e(B
1741 @end ifset
1742 @ifset us
1743 To: kazu
1744 Subject: Scrambled message
1745 From: Alice
1746 MIME-Version: 1.0
1747 Content-Type: Text/Plain
1748
1749 Japanese comes here.
1750 @end ifset
1751 @end example
1752
1753 @ifset jp
1754 \e$B$3$N$h$&$J>l9g$O!"\e(B@samp{C-cC-l} \e$B$r2!$9$H!"J8;z%3!<%I$r@5$7$/JQ49$7I=<($7\e(B
1755 \e$B$^$9!#\e(B
1756 @end ifset
1757 @ifset us
1758 Type @samp{C-cC-l} to convert it into appropriate character set in Mule.
1759 @end ifset
1760
1761 @ifset jp
1762 \e$B$^$?0J2<$N$h$&$K%a%C%;!<%8$N%X%C%@$,2=$1$k$3$H$,$"$j$^$9!#\e(B
1763 @end ifset
1764 @ifset us
1765 Also, some fields in a header are scrambled sometime.
1766 @end ifset
1767
1768 @example
1769 From: "=?iso-2022-jp?B?GyRCOzNLXE9CSScbKEI=?=" <kazu@@iijlab.net>
1770 @end example
1771
1772 @ifset jp
1773 \e$B>e$NNc$G$O\e(B "=?" \e$B$H\e(B "?=" \e$B$G0O$^$l$?ItJ,$O$b$H$b$HF|K\8l$G$7$?!#%a%C%;!<%8\e(B
1774 \e$B$N5,3J$G$O%X%C%@$K$O\e(B ASCII \e$B$N$_$,3JG<$G$-$k$HDj$a$i$l$F$$$^$9!#$h$C$F!"\e(B
1775 ASCII \e$B0J30$NJ8;z%3!<%I$r%X%C%@$K3JG<$9$k$K$O!"$"$k5,B'$K=>$C$F\e(B ASCII \e$B$K\e(B
1776 \e$BId9f2=$9$kI,MW$,$"$j$^$9!#$7$+$7!"$3$NId9f2=$5$l$?J8;zNs$r\e(B \e$B!V\e(B"\e$B!W\e(B \e$B$G0O$`\e(B
1777 \e$B$N$O4V0c$$$G$9!#!V\e(B"\e$B!W$G0O$^$l$?J8;zNs$O!"$=$N$^$^$N7A$G<h$j07$o$l$^$9!#\e(B
1778 \e$B$h$C$F!">e$NNc$N\e(B "=?" \e$B$H\e(B "?=" \e$B$G0O$^$l$?ItJ,$,F|K\8l$KI|9f2=$5$l$k$3$H$O\e(B
1779 \e$B$"$j$^$;$s!#\e(B
1780 @end ifset
1781 @ifset us
1782 The string surrounded by "=?" and "?=" in the example above was
1783 originally Japanese. The spec of mail defines that only ASCII characters
1784 can be contained in a header. So, if a string, whose character set is
1785 other than ASCII, to be stored in a header, the string must be encoded
1786 into ASCII strings according to the defined rule. But it is certainly
1787 illegal to embed the ASCII strings with @samp{"}. Strings surrounded by
1788 @samp{"} is treated as is. Therefore, the string between "=?" and "?="
1789 in the example is not decoded into Japanese.
1790 @end ifset
1791
1792 @ifset jp
1793 \e$B5,3J$KL5F\Ce$J0lIt$N%a!<%i$G$O$3$N$h$&$J4V0c$$$rJ?5$$GHH$7$^$9!#@5$7$$BP\e(B
1794 \e$B=hJ}K!$O!"$3$N$h$&$J%a!<%i$N:n<T$KMj$s$G!"5,3J$r@5$7$/<BAu$9$k$h$&$KJQ99\e(B
1795 \e$B$7$F$b$i$&$3$H$G$9!#$7$+$7$=$l$^$GBT$F$J$$?M$O!"0J2<$N@_Dj$r$7$F2<$5$$!#\e(B
1796 \e$B$3$l$G!V\e(B"\e$B!WCf$N\e(B "=?" \e$B$H\e(B "?=" \e$B$G0O$^$l$?ItJ,$,!"\e(BSummary \e$B%b!<%I$G$b\e(B 
1797 Message \e$B%b!<%I$G$bI|9f2=$5$l$^$9!#\e(B
1798 @end ifset
1799 @ifset us
1800 Several mailers are careless about the spec and made mistakes of this
1801 kind. The right way to do is ask the programmers of such mailers to make
1802 the programs conformant to the spec. If you cannot wait, do as follows.
1803 This makes Mew to decode strings surrounded by "=?" and "?=" both in
1804 Summary mode and in Message mode.
1805 @end ifset
1806
1807 @example
1808 (setq mew-decode-quoted t)
1809 @end example
1810
1811 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1812 @c      Composing
1813 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1814
1815 @node Composing, header, illegal, Top
1816 @ifset jp
1817 @chapter \e$B%a%C%;!<%8$r:n@.$9$k\e(B
1818 @end ifset
1819 @ifset us
1820 @chapter Composing messages
1821 @end ifset
1822 @vindex mail-user-agent
1823
1824 @ifset jp
1825 \e$B$3$3$G$O%a%C%;!<%8$N:n@.J}K!$K$D$$$F@bL@$7$^$9!#\e(BMew \e$B$G$O!"\e(BMIME \e$B7A<0$N%a%C\e(B
1826 \e$B%;!<%8$@$1$r:n@.$G$-$^$9\e(B(MIME-Version: \e$B$N$J$$%a%C%;!<%8$O:n@.$G$-$^$;$s\e(B)\e$B!#\e(B
1827 @end ifset
1828 @ifset us
1829 This section shows you how to compose a message. With Mew, you can
1830 create only MIME messages(messages without MIME-Version: cannot be
1831 composed).
1832 @end ifset
1833
1834 @ifset jp
1835 \e$B?7$7$$%a%C%;!<%8$r=q$/$?$a$K!"\e(BDraft \e$B%b!<%I$K0\9T$9$k$K$O!"<!$N<jCJ$,$"$j\e(B
1836 \e$B$^$9!#\e(B
1837 @end ifset
1838 @ifset us
1839 The followings are methods to enter Draft mode to write a new message.
1840 @end ifset
1841
1842 @enumerate
1843 @ifset jp
1844 @item
1845 @samp{M-x mew-send} \e$B$HF~NO$9$k!#\e(B
1846 @item
1847 @samp{mail-user-agent} \e$B$,@_Dj$5$l$F$$$k>l9g!"\e(B@samp{C-xm} \e$B$HF~NO$9$k!#\e(B
1848 @item
1849 Summary \e$B%b!<%I$G\e(B @samp{w} \e$B$r2!$9!#\e(B
1850 @end ifset
1851 @ifset us
1852 @item
1853 Type @samp{M-x mew-send}.
1854 @item
1855 Type @samp{C-xm} if @samp{mail-user-agent} is configured.
1856 @item
1857 Press @samp{w} in Summary mode.
1858 @end ifset
1859 @end enumerate
1860
1861 @ifset jp
1862 \e$B$9$k$H!"0J2<$N$h$&$J%P%C%U%!$,MQ0U$5$l$^$9!#\e(B
1863 @end ifset
1864 @ifset us
1865 Then a buffer like the following is prepared. 
1866 @end ifset
1867
1868 @example
1869 To: 
1870 Subject: 
1871 X-Mailer:@value{X-Mailer}
1872 ----
1873 @end example
1874
1875 @ifset jp
1876 \e$B$3$l$r\e(B Draft \e$B%b!<%I$H$$$$$^$9!#\e(BDraft \e$B%b!<%I$K$*$$$F!"\e(B"----" \e$B$h$j>e$r%X%C\e(B
1877 \e$B%@!"2<$rK\J8$H8F$S$^$9!#\e(B
1878 @end ifset
1879 @ifset us
1880 We call this "Draft mode". In Draft mode, we call the region above
1881 "----" header. Also the region below "----" body.
1882 @end ifset
1883
1884 @ifset jp
1885 \e$B$^$?%a%C%;!<%8$X$NJVEz\e(B(@samp{a} \e$B$d\e(B @samp{A})\e$B$dE>Aw\e(B(@samp{f} \e$B$d\e(B @samp{F})
1886 \e$B$G$b\e(B Summary \e$B%b!<%I$+$i\e(B Draft \e$B%b!<%I$X0\9T$7$^$9!#\e(B
1887 @end ifset
1888 @ifset us
1889 Also, replying a message (@samp{a} or @samp{A}) and/or forwarding
1890 messages (@samp{f} or @samp{F}) lead you to Draft mode from Summary
1891 mode.
1892 @end ifset
1893
1894 @ifset jp
1895 \e$BAp9F$O!"\e(B+draft \e$B%U%)%k%@$N2<$K:n@.$5$l$^$9!#F1;~$KJ#?t$NAp9F$r;}$D$3$H$,\e(B
1896 \e$B2DG=$G$9!#\e(B
1897 @end ifset
1898 @ifset us
1899 A draft is temporary stored under the +draft folder. You can write
1900 multiple messages at the same time.
1901 @end ifset
1902
1903 @ifset jp
1904 \e$B0J2<!"\e(BDraft \e$B%b!<%I$N;H$$J}$r@bL@$7$^$9!#\e(B
1905 @end ifset
1906 @ifset us
1907 Now let's see how to use Draft mode.
1908 @end ifset
1909
1910 @menu
1911 @ifset jp
1912 * header::                      \e$B%X%C%@$NJd40\e(B
1913 * cheader::                     \e$B%X%C%@$N=[4DE*$JJd40\e(B
1914 * addrbook::                    \e$B%"%I%l%9D"\e(B
1915 * send::                        \e$B%a%C%;!<%8$NAw?.\e(B
1916 * cite::                        \e$B0zMQ\e(B
1917 * mime-comp::                   \e$B%^%k%A%Q!<%H$N:n@.\e(B
1918 * charset-guess::               \e$BJ8;z%3!<%I$N?dB,\e(B
1919 * reply::                       \e$B%a%C%;!<%8$X$NJVEz$H08@h$N7hDj\e(B
1920 * forward::                     \e$B%a%C%;!<%8$NE>Aw\e(B
1921 * pgp-shortcut::                PGP \e$B$rMxMQ$9$k\e(B
1922 * mark-b-comp::                 \e$B%^!<%/$r;H$C$?\e(B PGP/MIME \e$B$N:n@.\e(B
1923 * pgp-key::                     PGP \e$B$N80$NG[I[\e(B
1924 @end ifset
1925 @ifset us
1926 * header::                      Completions in a header
1927 * cheader::                     Circular completion in a header
1928 * addrbook::                    Address Book
1929 * send::                        Sending a message
1930 * cite::                        Citation
1931 * mime-comp::                   Composing multipart
1932 * charset-guess::               Charset guess
1933 * reply::                       Replying to a message and deciding recipients
1934 * forward::                     Forwarding messages
1935 * pgp-shortcut::                Using PGP
1936 * mark-b-comp::                 Mark based composer
1937 * pgp-key::                     PGP key distribution
1938 @end ifset
1939 @end menu
1940
1941 @c %%%%%%%%%%%%%%%%%
1942 @node header, cheader, Composing, Composing
1943 @ifset jp
1944 @section \e$B%X%C%@$NJd40\e(B
1945 @end ifset
1946 @ifset us
1947 @section Completions in a header
1948 @end ifset
1949 @vindex mew-fields
1950 @vindex mew-field-completion-switch
1951
1952 @ifset jp
1953 \e$B%X%C%@$G$O\e(B @samp{TAB} \e$B$KBP$7!"0J2<$h$&$K3F%U%#!<%k%IMQ$N405!G=$,3d$jEv$F\e(B
1954 \e$B$i$l$F$$$^$9!#\e(B
1955 @end ifset
1956 @ifset us
1957 In header, completions each field are assigned to @samp{TAB} as follows:
1958 @end ifset
1959
1960 @itemize @minus
1961 @ifset jp
1962 @item \e$B%U%#!<%k%IL>$NJd40\e(B
1963 @item \e$B%"%I%l%9$NC;=LL>$NJd40$HE83+\e(B (To:\e$B!"\e(BCc: \e$B$J$I\e(B)
1964 @item \e$B%U%)%k%@L>$NJd40\e(B (Fcc:)
1965 @end ifset
1966 @ifset us
1967 @item Field completion
1968 @item Address completion and expansion (To:, Cc:, etc)
1969 @item Folder completion (Fcc:)
1970 @end ifset
1971 @end itemize
1972
1973 @ifset jp
1974 <\e$B%U%#!<%k%IL>$NJd40\e(B>
1975 @end ifset
1976 @ifset us
1977 <Field completion>
1978 @end ifset
1979
1980 @ifset jp
1981 \e$B9TF,$NC18lCf$G!"$7$+$b!">e$N9T$N:G8e$,\e(B "," \e$B$G=*$k7QB39T$G$J$1$l$P!"\e(B
1982 @samp{TAB} \e$B$G\e(B @samp{mew-fields} \e$B$KDj5A$5$l$F$$$k%U%#!<%k%IL>$rJd40$G$-$^\e(B
1983 \e$B$9!#\e(B
1984 @end ifset
1985 @ifset us
1986 If the cursor is on the beginning of a line and the previous line does
1987 not end with ",", you can complete field defined in the
1988 @samp{mew-fields} variable with @samp{TAB}.
1989 @end ifset
1990
1991 @example
1992 To: kazu@@mew.org
1993 R@samp{TAB}
1994 @end example
1995
1996 @ifset jp
1997 \e$B>e5-$N>l=j$G\e(B @samp{TAB} \e$B$r2!$9$H0J2<$N$h$&$K$J$j$^$9!#\e(B
1998 @end ifset
1999 @ifset us
2000 At the point above, if you type @samp{TAB}, you get:
2001 @end ifset
2002
2003 @example
2004 To: kazu@@mew.org
2005 Reply-To: 
2006 @end example
2007
2008 @ifset jp
2009 <\e$B%"%I%l%9$NC;=LL>$NJd40$HE83+\e(B>
2010 @end ifset
2011 @ifset us
2012 <Address completion and expansion>
2013 @end ifset
2014
2015 @ifset jp
2016 Mew \e$B$G$O!"%"%I%l%9D"$H$$$&5!G=$r;H$C$F!"D9$/J,$+$j$K$/$$%"%I%l%9$KC;$/3P\e(B
2017 \e$B$($d$9$$C;=LL>$rIU$1$i$l$^$9!#$?$H$($P!"0J2<$N$h$&$K@_Dj$7$?$H$7$^$9!#\e(B
2018 @end ifset
2019 @ifset us
2020 You can define an easy-to-remember short name for a long or
2021 hard-to-remember address with Mew's Addrbook feature. For example,
2022 consider the following configuration:
2023 @end ifset
2024
2025 @example
2026 pooh:           winnie-the-pooh@@100acre.woodwest.uk
2027 @end example
2028
2029 @ifset jp
2030 \e$B$3$l$O!"%"%I%l%9\e(B "winnie-the-pooh@@100acre.woodwest.uk" \e$B$K\e(B "pooh" \e$B$H$$$&\e(B
2031 \e$BC;=LL>IU$1$F$$$k$3$H$K$J$j$^$9!#$3$NC;=LL>$O!"DL>o\e(B "~/.im/Addrbook" \e$B$H$$\e(B
2032 \e$B$&%U%!%$%k$K@_Dj$7$^$9!#%"%I%l%9D"$N5!G=$N>\:Y$K$D$$$F$O!"\e(B
2033 @xref{addrbook} \e$B$r;2>H$7$F2<$5$$!#\e(B
2034 @end ifset
2035 @ifset us
2036 This means to replace the string "pooh" with
2037 "winnie-the-pooh@@100acre.woodwest.uk". Note that short names should
2038 usually be configured in "~/.im/Addrbook". For more information about
2039 Addrbook, please refer to @xref{addrbook}.
2040 @end ifset
2041
2042 @ifset jp
2043 Draft \e$B%b!<%I$N%X%C%@Fb$G!"$+$D!"%"%I%l%9$r=q$/$Y$-%U%#!<%k%I>e$G!"$7$+$b!"\e(B
2044\e$BJ8;z0J>e$NJ8;zNs$,A0$K$"$k>l=j$G\e(B @samp{TAB} \e$B$rBG$D$H!"%"%I%l%9$NC;=LL>\e(B
2045 \e$B$,Jd40$5$l$^$9!#\e(B
2046 @end ifset
2047 @ifset us
2048 In a header in Draft mode and on the field supposed to write addresses
2049 and one or more characters precede, you can complete an short name for
2050 address with @samp{TAB}.
2051 @end ifset
2052
2053 @ifset jp
2054 \e$BNc$r5s$2$F$_$^$9!#\e(B
2055 @end ifset
2056 @ifset us
2057 Let's look at the following example.
2058 @end ifset
2059
2060 @example
2061 To: piglet@@beech.tree.uk, 
2062         po@samp{TAB}
2063 @end example
2064
2065 @ifset jp
2066 \e$B$3$N$h$&$K\e(B @samp{TAB} \e$B$r2!$9$H!"\e(B(\e$BB>$K8uJd$,L5$1$l$P\e(B) "pooh" \e$B$^$GJd40$5$l\e(B
2067 \e$B$^$9!#\e(B
2068 @end ifset
2069 @ifset us
2070 If you input @samp{TAB} up above, "pooh" is completed (unless other
2071 candidates exist).
2072 @end ifset
2073
2074 @example
2075 To: piglet@@beech.tree.uk, 
2076         pooh@samp{TAB}
2077 @end example
2078
2079 @ifset jp
2080 \e$B$b$&0lEY\e(B @samp{TAB} \e$B$r2!$9$H\e(B "winnie-the-pooh@@100acre.woodwest.uk" \e$B$KE8\e(B
2081 \e$B3+$5$l$^$9!#\e(B
2082 @end ifset
2083 @ifset us
2084 One more type of @samp{TAB} expands it to
2085 "winnie-the-pooh@@100acre.woodwest.uk".
2086 @end ifset
2087
2088 @example
2089 To: piglet@@beech.tree.uk, 
2090         winnie-the-pooh@@100acre.woodwest.uk
2091 @end example
2092
2093 @ifset jp
2094 \e$B%"%I%l%9$,Jd40$G$-$J$$>l=j$G\e(B @samp{TAB} \e$B$rBG$D$H!"C1$K\e(B @samp{TAB} \e$B$,F~$j\e(B
2095 \e$B$^$9!#$?$H$($P!"0J2<$NNc$r9M$($F2<$5$$!#\e(B
2096 @end ifset
2097 @ifset us
2098 If you type @samp{TAB} at improper point for address completion, 
2099 @samp{TAB} is inserted. Consider the following example:
2100 @end ifset
2101
2102 @example
2103 To: pooh,@samp{TAB}
2104 @end example
2105
2106 @ifset jp
2107 \e$B$3$N>l9g!"C1$K\e(B @samp{TAB} \e$B$,A^F~$5$l$^$9!#\e(B
2108 @end ifset
2109 @ifset us
2110 In this case,  @samp{TAB} is just inserted.
2111 @end ifset
2112
2113 @ifset jp
2114 "@@"\e$B$G=*$kJ8;zNs$O6/@)E*$KE83+$7$^$9!#$?$H$($P!"0J2<$N$h$&$K;w$?$h$&$J\e(B 
2115 \e$BC;=LL>$,$"$C$?>l9g$r9M$($F2<$5$$!#\e(B
2116 @end ifset
2117 @ifset us
2118 A string ended with "@@" is explicitly expanded. Consider the following
2119 case where similar short names are defined.
2120 @end ifset
2121
2122 @example
2123 pooh:           winnie-the-pooh@@100acre.woodwest.uk
2124 pooh-pooh:      pooh-pooh@@somewhere.jp
2125 @end example
2126
2127 @ifset jp
2128 "pooh" \e$B$r\e(B "winnie-the-pooh@@100acre.woodwest.uk" \e$B$K6/@)E*$KE83+$9$k$K$O!"\e(B
2129 \e$B0J2<$N$h$&$K$7$^$9!#\e(B
2130 @end ifset
2131 @ifset us
2132 To expand "pooh" to "winnie-the-pooh@@100acre.woodwest.uk", take this
2133 way.
2134 @end ifset
2135
2136 @example
2137 To: pooh@@@samp{TAB}
2138 @end example
2139
2140 @ifset jp
2141 <\e$B%U%)%k%@L>$NJd40\e(B>
2142 @end ifset
2143 @ifset us
2144 <Folder completion>
2145 @end ifset
2146
2147 @ifset jp
2148 Fcc: \e$B$J$I$N$h$&$K%U%)%k%@$rJd40$9$Y$-$H$3$m$G$O!"\e(B@samp{TAB} \e$B$G%U%)%k%@$r\e(B
2149 \e$BJd40$G$-$^$9!#0J2<Nc$r5s$2$F$_$^$9!#\e(B
2150 @end ifset
2151 @ifset us
2152 At a point, such as Fcc:, supposed to complete a folder, you can
2153 complete a folder with @samp{TAB}. Let's look at an example.
2154 @end ifset
2155
2156 @example
2157 Fcc: @samp{TAB}
2158 @end example
2159
2160 @ifset jp
2161 "+" \e$B$,Jd40$5$l$^$9!#\e(B
2162 @end ifset
2163 @ifset us
2164 Here, "+" is completed.
2165 @end ifset
2166
2167 @example
2168 Fcc: +@samp{TAB}
2169 @end example
2170
2171 @ifset jp
2172 @samp{TAB}\e$B$r$b$&\e(B1\e$BEY2!$9$H8uJd$,I=<($5$l$k$N$G!"8uJd$r8+$J$,$iE,@Z$JJ8;z\e(B
2173 \e$B$rF~NO$7$^$9!#\e(B
2174 @end ifset
2175 @ifset us
2176 One more type of @samp{TAB} shows candidates. Please input appropriate
2177 characters then type @samp{TAB}.
2178 @end ifset
2179
2180 @example
2181 Fcc: +B@samp{TAB}
2182 @end example
2183
2184 @ifset jp
2185 \e$B8uJd$,0l0U$KDj$^$l$PJd40$5$l$^$9!#\e(B
2186 @end ifset
2187 @ifset us
2188 If a candidate can be solely decided, you get a completion.
2189 @end ifset
2190
2191 @example
2192 Fcc: +Backup
2193 @end example
2194
2195 @ifset jp
2196 <\e$B@_Dj$N%R%s%H\e(B>
2197 @end ifset
2198 @ifset us
2199 <Hints of customization>
2200 @end ifset
2201
2202 @ifset jp
2203 \e$B%"%I%l%9$NC;=LL>$H%U%)%k%@L>$r$I$N%U%#!<%k%I$GJd40$G$-$k$h$&$K$9$k$+$O!"\e(B
2204 @samp{mew-field-completion-switch} \e$B$GDj5A$G$-$^$9!#%G%U%)%k%H$G$O0J2<$N\e(B
2205 \e$B$h$&$K@k8@$5$l$F$$$^$9!#\e(B
2206 @end ifset
2207 @ifset us
2208 You can define which field allows address and folder completion in
2209 @samp{mew-field-completion-switch}. The following declaration is used
2210 by default.
2211 @end ifset
2212
2213 @example
2214 (defvar mew-field-completion-switch
2215   '(("To:"        . mew-complete-address)
2216     ("Cc:"        . mew-complete-address)
2217     ("Dcc:"       . mew-complete-address)
2218     ("Bcc:"       . mew-complete-address)
2219     ("Reply-To:"  . mew-complete-address)
2220     ("Fcc:"       . mew-complete-folder)
2221     ("Resent-To:" . mew-complete-address)
2222     ("Resent-Cc:" . mew-complete-address)
2223     ("Config:"    . mew-complete-config)))
2224 @end example
2225
2226 @ifset jp
2227 Config: \e$B$NJd40$K4X$7$F$O\e(B @xref{config} \e$B$r;2>H$7$F2<$5$$!#\e(B
2228 @end ifset
2229 @ifset us
2230 Please refer to @xref{config} to know completion for Config:.
2231 @end ifset
2232
2233 @c %%%%%%%%%%%%%%%%%
2234 @node cheader, addrbook, header, Composing
2235 @ifset jp
2236 @section \e$B%X%C%@$N=[4DE*$JJd40\e(B
2237 @end ifset
2238 @ifset us
2239 @section Circular completions in a header
2240 @end ifset
2241 @vindex mew-mail-domain-list
2242 @vindex mew-from-list
2243 @vindex mew-from
2244 @vindex mew-field-circular-completion-switch
2245
2246 @ifset jp
2247 \e$B%X%C%@$G$O!"\e(B@samp{C-cTAB} \e$B$K=[4DE*$JJd405!G=$,3d$jEv$F$i$l$F$$$^$9!#=[4D\e(B
2248 \e$BE*$JJd405!G=$H$O!"$"$k%j%9%H$N$"$kCM$,$=$N%j%9%H$N<!$NCM$KCV$-49$($i$l$k\e(B
2249 \e$B$3$H$G$9!#%j%9%H$N:G8e$O!":G=i$K$D$J$,$C$F$$$k$H9M$($^$9!#%X%C%@Cf$N=[4D\e(B
2250 \e$BE*$JJd405!G=$O!"0J2<$N$h$&$K%U%#!<%k%I$4$H$K0[$J$j$^$9!#\e(B
2251 @end ifset
2252 @ifset us
2253 In a header, circular completions are assigned to @samp{C-cTAB}.
2254 Circular completion means that a value of alist is replaced by the next
2255 value of the list. The end of the list is considered continuous to the
2256 top of the list. Circular completions in a header are different for each
2257 field as follows:
2258 @end ifset
2259
2260 @itemize @minus
2261 @ifset jp
2262 @item \e$B%I%a%$%sL>$N=[4DE*$JJd40\e(B (To:\e$B!"\e(BCc: \e$B$J$I\e(B)
2263 @item From: \e$B$N=[4DE*$JJd40\e(B (From:)
2264 @end ifset
2265 @ifset us
2266 @item Circular completion of domain name (To:, Cc:, etc)
2267 @item Circular completion of From: (From:)
2268 @end ifset
2269 @end itemize
2270
2271 @ifset jp
2272 <\e$B%I%a%$%sL>$N=[4DE*$JJd40\e(B>
2273 @end ifset
2274 @ifset us
2275 <Circular completion of domain name>
2276 @end ifset
2277
2278 @ifset jp
2279 \e$B%"%I%l%9$r=q$/$Y$-%U%#!<%k%I$G$O!"\e(B@samp{C-cTAB} \e$B$G%I%a%$%s$rJd40$7$^$9!#\e(B
2280 \e$BJd40$N8uJd$O\e(B @samp{mew-mail-domain-list} \e$B$+$iA*$P$l$^$9!#\e(B
2281 @end ifset
2282 @ifset us
2283 On a field where addresses are written, use @samp{C-cTAB} for domain
2284 completion. Candidates are selected from @samp{mew-mail-domain-list}.
2285 @end ifset
2286
2287 @example
2288 To: kazu@@@samp{C-cTAB}
2289 @end example
2290
2291 @ifset jp
2292 \e$B>e5-$N>l=j$N$h$&$K8uJd$,0l0U$KDj$^$i$J$$>l9g$O!"\e(B
2293 @samp{mew-mail-domain-list} \e$B$N:G=i$N%I%a%$%sL>$,A^F~$5$l$^$9!#\e(B
2294 @end ifset
2295 @ifset us
2296 If you try to complete just after "@@" as up above, the first domain of
2297 @samp{mew-mail-domain-list} is inserted.
2298 @end ifset
2299
2300 @example
2301 To: kazu@@mew.org@samp{C-cTAB}
2302 @end example
2303
2304 @ifset jp
2305 \e$BJd40$5$l$?8e!"$5$i$K\e(B @samp{C-cTAB} \e$B$r2!$9$H\e(B @samp{mew-mail-domain-list} 
2306 \e$B$N<!$N8uJd$KJQ49$7$^$9!#\e(B
2307 @end ifset
2308 @ifset us
2309 After completion, one more type of @samp{C-cTAB} inserts the next domain
2310 of @samp{mew-mail-domain-list}. This completion is looped.
2311 @end ifset
2312
2313 @example
2314 To: kazu@@wide.ad.jp
2315 @end example
2316
2317 @ifset jp
2318 \e$B$^$?!"0J2<$NJd40$,0l0U$KDj$^$l$P!"$=$N8uJd$rA^F~$7$^$9!#\e(B
2319 @end ifset
2320 @ifset us
2321 If a candidate can be solely decided, it is inserted.
2322 @end ifset
2323
2324 @example
2325 To: kazu@@w@samp{C-cTAB}
2326 @end example
2327
2328 @ifset jp
2329 \e$B>e5-$NNc$O<!$N$h$&$K$J$j$^$9!#\e(B
2330 @end ifset
2331 @ifset us
2332 The example up above gets:
2333 @end ifset
2334
2335 @example
2336 To: kazu@@wide.ad.jp
2337 @end example
2338
2339 @ifset jp
2340 <From: \e$B$N=[4DE*$JJd40\e(B>
2341 @end ifset
2342 @ifset us
2343 <Circular completion of From:>
2344 @end ifset
2345
2346 @ifset jp
2347 From: \e$B%U%#!<%k%I>e$G$O!"\e(B@samp{C-cTAB} \e$B$O\e(B@samp{mew-from-list} \e$B$NCM$r=[4D\e(B
2348 \e$BE*$KJd40$7$^$9!#$3$N%j%9%H$N:G=i$NCM\e(B(\e$BJLL>\e(B @samp{mew-from})\e$B$O!"<!$N$h$&$K\e(B
2349 \e$B4{$KA^F~$5$l$F$$$k$+$b$7$l$^$;$s!#\e(B
2350 @end ifset
2351 @ifset us
2352 On the From: field, @samp{C-cTAB} circularly completes its value from
2353 @samp{mew-from-list}. The first value of the list (aka @samp{mew-from}) 
2354 may have already inserted as follow:
2355 @end ifset
2356
2357 @example
2358 @ifset jp
2359 From: Kazu Yamamoto (\e$B;3K\OBI'\e(B) <Kazu@@Mew.org>
2360 @end ifset
2361 @ifset us
2362 From: Kazu Yamamoto <Kazu@@Mew.org>
2363 @end ifset
2364 @end example
2365
2366 @ifset jp
2367 \e$BCM$N>l=j$J$i$I$3$G$b9=$$$^$;$s$,!"\e(B@samp{C-cTAB} \e$B$HF~NO$9$k$H!"\e(B
2368 \e$B$3$NCM$r\e(B @samp{mew-from-list} \e$B$N<!$NCM$HCV$-49$($^$9!#$?$H$($P!"\e(B
2369 @end ifset
2370 @ifset us
2371 Typing @samp{C-cTAB} anywhere on the value replaces the value with the
2372 next value of @samp{mew-from-list}. For example,
2373 @end ifset
2374
2375 @example
2376 @ifset jp
2377 From: Kazu Yamamoto (\e$B;3K\OBI'\e(B) <Kazu@@Mew.org>@samp{C-cTAB}
2378 @end ifset
2379 @ifset us
2380 From: Kazu Yamamoto <Kazu@@Mew.org>@samp{C-cTAB}
2381 @end ifset
2382 @end example
2383
2384 @ifset jp
2385 \e$B$O0J2<$N$h$&$K$J$j$^$9!#\e(B
2386 @end ifset
2387 @ifset us
2388 becomes as follows:
2389 @end ifset
2390
2391 @example
2392 From: Kazuhiko Yamamoto <kazu@@wide.ad.jp>
2393 @end example
2394
2395 @ifset jp
2396 \e$B=[4DE*$JJd40$N%U%#!<%k%I$H4X?t$NBP1~$O!"\e(B
2397 @samp{mew-field-circular-completion-switch} \e$B$GDj5A$G$-$^$9!#%G%U%)%k%H$G\e(B
2398 \e$B$O0J2<$N$h$&$K@k8@$5$l$F$$$^$9!#\e(B
2399 @end ifset
2400 @ifset us
2401 You can define association of field key and circular completion function
2402 in @samp{mew-field-circular-completion-switch}. The following
2403 declaration is used by default.
2404 @end ifset
2405
2406 @example
2407 (defvar mew-field-circular-completion-switch
2408   '(("To:"          . mew-circular-complete-domain)
2409     ("Cc:"          . mew-circular-complete-domain)
2410     ("Dcc:"         . mew-circular-complete-domain)
2411     ("Bcc:"         . mew-circular-complete-domain)
2412     ("Reply-To:"    . mew-circular-complete-domain)
2413     ("Resent-To:"   . mew-circular-complete-domain)
2414     ("Resent-Cc:"   . mew-circular-complete-domain)
2415     ("From:"        . mew-circular-complete-from)
2416     ("Resent-From:" . mew-circular-complete-from)
2417     ("Config:"      . mew-circular-complete-config)))
2418 @end example
2419
2420 @ifset jp
2421 Config: \e$B$N=[4DE*$JJd40$K4X$7$F$O\e(B @xref{config} \e$B$r;2>H$7$F2<$5$$!#\e(B
2422 @end ifset
2423 @ifset us
2424 Please refer to @xref{config} to know circular completion for Config:.
2425 @end ifset
2426
2427 @c %%%%%%%%%%%%%%%%%
2428 @node addrbook, send, cheader, Composing
2429 @ifset jp
2430 @section \e$B%"%I%l%9D"\e(B
2431 @end ifset
2432 @ifset us
2433 @section Address Book
2434 @end ifset
2435 @vindex mew-lisp-max-length
2436 @vindex mew-addrbook-override-by-newone
2437
2438 @ifset jp
2439 Mew 1.94 \e$B$+$i%"%I%l%9$N\e(B alias \e$B$H%Z%C%H%M!<%`$,%"%I%l%9D"$KE}9g$5$l$^$7$?!#\e(B
2440 alias ("~/.im/Aliases")\e$B$H%Z%C%H%M!<%`\e(B("~/.im/Petname")\e$B$O:#8e@Q6KE*$K$OJ]\e(B
2441 \e$B<i$5$l$^$;$s$N$G!"$G$-$l$P%"%I%l%9D"\e(B("~/.im/Addrbook")\e$B$K>h$j49$($F2<$5$$!#\e(B
2442 \e$B%"%I%l%9D"$K$O\e(B 2 \e$B$D$N=q<0$,MQ0U$5$l$F$$$^$9!#0lJ}$O!VE83+5,B'!W$r;XDj$9\e(B
2443 \e$B$k=q<0!"B>J}$O!V8D?M>pJs!W$r5-=R$9$k$?$a$N=q<0$G$9!#\e(B
2444 @end ifset
2445 @ifset us
2446 Mew 1.94 provides an address book which integrates aliases and Petname.
2447 After this, neither aliases("~/.im/Aliases") nor
2448 Petname("~/.im/Petname") will be maintained. So, please migrate to the
2449 address book("~/.im/Addrbook"). The address book provides 2 formats.
2450 One is to specify expansion rules, the other is to define personal
2451 information.
2452 @end ifset
2453
2454 @ifset jp
2455 \e$B$^$:!"!VE83+5,B'!W$r5-=R$9$k$?$a$N=q<0$r<($7$^$9!#\e(B
2456 @end ifset
2457 @ifset us
2458 First, let's look at the format to specify expansion rules.
2459 @end ifset
2460
2461 @example
2462 <shortname>: <address1>[, <address2>, <address3>,...]
2463 @end example
2464
2465 @ifset jp
2466 \e$B$3$N$h$&$KC;=LL>$HE83+$9$Y$-%"%I%l%9$r\e(B @samp{:} \e$B$G6h@Z$C$F=q$-$^$9!#J#?t\e(B
2467 \e$B$N%"%I%l%9$KE83+$9$k>l9g$O!"$=$l$i$N%"%I%l%9$r\e(B @samp{,} \e$B$G6h@Z$j$^$9!#\e(B
2468 (\e$B$3$l$O!"\e(BTo: \e$B$J$I$G%"%I%l%9$,\e(B @samp{,} \e$B$G6h@Z$i$l$F$$$k$N$HF1$8$G$9!#\e(B)
2469 @samp{,} \e$B$N8e$m$K6uGr$rF~$l$F$b9=$$$^$;$s!#0J2<$KNc$r<($7$^$9!#\e(B
2470 @end ifset
2471 @ifset us
2472 In this way, you should specify a short name and a full address
2473 separating by @samp{:}. If you want to expand the short name to multiple
2474 addresses, specify them separating by @samp{,}. (This is exactly same as
2475 addresses separated by @samp{,} in the To: field, for instance.) SPC is
2476 allowed after @samp{,}. The following is an example:
2477 @end ifset
2478
2479 @example
2480 pooh:           winnie-the-pooh@@100acre.woodwest.uk
2481 piglet:         piglet@@beech.tree.uk
2482 friends:        pooh, piglet
2483 @end example
2484
2485 @ifset jp
2486 Mew \e$B$G$OB?CJ$NE83+$,2DG=$G$9!#$?$H$($P$3$NNc$G!"<!$N$h$&$K\e(B "friends" \e$B$r\e(B
2487 \e$BE83+$7$F$_$^$7$g$&!#\e(B
2488 @end ifset
2489 @ifset us
2490 Multi-level expansion is possible. For example, let's expand "friends"
2491 as follows:
2492 @end ifset
2493
2494 @example
2495 To: friends@samp{TAB}
2496 @end example
2497
2498 @ifset jp
2499 "friends" \e$BFbIt$G\e(B "pooh" \e$B$H\e(B "piglet" \e$B$KE83+$5$l!"$5$i$K$=$l$>$l$,E83+$5$l\e(B
2500 \e$B$k$N$G!"<!$N$h$&$K$J$j$^$9!#\e(B
2501 @end ifset
2502 @ifset us
2503 "friends" is expanded to "pooh" and "piglet" internally, then each word
2504 is also expand resulting as follows:
2505 @end ifset
2506
2507 @example
2508 To: winnie-the-pooh@@100acre.woodwest.uk, piglet@@beech.tree.uk
2509 @end example
2510
2511 @ifset jp
2512 \e$B<!$K!"!V8D?M>pJs!W$r5-=R$9$k$?$a$N=q<0$r<($7$^$9!#\e(B
2513 @end ifset
2514 @ifset us
2515 Next, the format to define personal information is shown below:
2516 @end ifset
2517
2518 @example
2519 <shortname> <address1>[, <address2>, <address3>,...] <nickname> <fullname>
2520 @end example
2521
2522 @ifset jp
2523 \e$B$3$N$h$&$K\e(B 4 \e$B$D$NMWAG$r6uGr$G6h@Z$j$^$9!#\e(B<shortname> \e$B$,C;=LL>$G$9!#\e(B
2524 <nickname> \e$B$H\e(B <fullname> \e$B$O$=$l$>$l%K%C%/%M!<%`$H@5<0$J;aL>$G$"$j!"F|K\\e(B
2525 \e$B8l$G$b9=$$$^$;$s!#\e(B2 \e$BHVL\$NMWAG$O%"%I%l%9$G$9!#J#?t$N%"%I%l%9$r$=$N?M$,;}$C\e(B
2526 \e$B$F$$$k>l9g$O!"\e(B@samp{,} \e$B$G6h@Z$C$F=q$-$^$9!#\e(B@samp{,} \e$B$N8e$K6uGr$rF~$l$F$b\e(B
2527 \e$B9=$$$^$;$s!#$D$^$j!"$3$N6uGr$OMWAG$N6h@Z$j$G$O$"$j$^$;$s!#$^$?!"\e(B@samp{"} 
2528 \e$B$G0O$^$l$?6uGr$bMWAG$N6h@Z$j$K$O$J$j$^$;$s!#0J2<$KNc$r<($7$^$9!#\e(B
2529 @end ifset
2530 @ifset us
2531 In this way, four elements are separated by SPC. <shortname> is a short
2532 name. <nickname> and <fullname> are his/her nickname and his/her full
2533 name, respectively. The second element is his/her addresses. If he/she
2534 has multiple addresses, enumerate them separating by @samp{,}. SPC is
2535 allowed after @samp{,}. So, this SPC is not the separator of the
2536 elements. SPC surrounded by @samp{"} is not the separator, neither.
2537 Let's see an example:
2538 @end ifset
2539
2540 @example
2541 kazu    kazu@@mew.org, kazu@@iijlab.net Kazu-kun  "Kazuhiko Yamamoto"
2542 @end example
2543
2544 @ifset jp
2545 \e$B!VE83+5,B'!W$N=q<0$N>l9g$H0c$C$F!"!V8D?M>pJs!W$N=q<0$G$O!"%"%I%l%9$,=g$K\e(B
2546 \e$BCV$-49$($i$l$F$$$-$^$9!#0J2<$NNc$r9M$($F2<$5$$!#\e(B
2547 @end ifset
2548 @ifset us
2549 Unlike the format of expansion rules, the format of personal information
2550 means that each address will be replaced one by one. Consider the
2551 following example:
2552 @end ifset
2553
2554 @example
2555 To: kazu@samp{TAB}
2556 @end example
2557
2558 @ifset jp
2559 "kazu" \e$B$N8e$G\e(B @samp{TAB} \e$B$rBG$D$H!"\e(B"kazu@@mew.org" \e$B$KCV$-49$o$j$^$9!#\e(B
2560 @end ifset
2561 @ifset us
2562 Typing @samp{TAB} after "kazu" leads to "kazu@@mew.org".
2563 @end ifset
2564
2565 @example
2566 To: kazu@@mew.org@samp{TAB}
2567 @end example
2568
2569 @ifset jp
2570 \e$B<!$K\e(B "kazu@@mew.org" \e$B$N8e$G\e(B @samp{TAB} \e$B$rBG$D$H!"\e(B"kazu@@iijlab.net" \e$B$KCV\e(B
2571 \e$B$-49$o$j$^$9!#\e(B
2572 @end ifset
2573 @ifset us
2574 Typing @samp{TAB} after "kazu@@mew.org" makes "kazu@@iijlab.net"
2575 appeared.
2576 @end ifset
2577
2578 @example
2579 To: kazu@@iijlab.net@samp{TAB}
2580 @end example
2581
2582 @ifset jp
2583 \e$B$5$i$K\e(B "kazu@@iijlab.net" \e$B$N8e$G\e(B @samp{TAB} \e$B$rBG$D$H!"\e(B"kazu@@mew.org" \e$B$K\e(B
2584 \e$BLa$j$^$9!#$3$N$h$&$K\e(B @samp{TAB} \e$B$r2!$9$H!"%"%I%l%9$,=[4DE*$KCV49$5$l$^$9!#\e(B
2585 \e$B%"%I%l%9$r7hDj$7$?8e$O!"@5<0L>>N$,IU2C$G$-$^$9!#\e(B
2586 @end ifset
2587 @ifset us
2588 Then "kazu@@mew.org" will appear again if you type @samp{TAB} after
2589 "kazu@@iijlab.net". In this way, each address is replaced one by one.
2590 After deciding an address, you can add its full name.
2591 @end ifset
2592
2593 @example
2594 To: kazu@@mew.org@samp{M-TAB}
2595 @end example
2596
2597 @ifset jp
2598 \e$B$3$N$h$&$K\e(B @samp{M-TAB} \e$B$r2!$9$H!"0J2<$N$h$&$K@5<0L>>N$,IU2C$5$l$^$9!#\e(B
2599 @end ifset
2600 @ifset us
2601 Like this, typing @samp{M-TAB} replace the address with the following
2602 format.
2603 @end ifset
2604
2605 @example
2606 To: Kazuhiko Yamamoto <kazu@@mew.org>
2607 @end example
2608
2609 @ifset jp
2610 \e$B!V8D?M>pJs!W$N=q<0$G$O!"3FMWAG$r>JN,$G$-$^$9!#Cf4V$NMWAG$r>JN,$9$k>l9g$O!"\e(B
2611 @samp{*} \e$B$H=q$$$F2<$5$$!#0J2<$K!"%"%I%l%9$KBP$7$F%K%C%/%M!<%`$N$_$rDj5A\e(B
2612 \e$B$9$kNc$r<($7$^$9!#\e(B
2613 @end ifset
2614 @ifset us
2615 In the format of personal information, you can omit each element.  When
2616 you want to omit intermediate element, specify @samp{*}.  The following
2617 is an example to define nicknames for addresses.
2618 @end ifset
2619
2620 @example
2621 *       kazu@@mew.org, kazu@@iijlab.net Kazu-kun
2622 @end example
2623
2624 @ifset jp
2625 \e$B%K%C%/%M!<%`$O\e(B Summary \e$B%b!<%I$G$N%"%I%l%9$NCV$-49$($H!"\e(BDraft \e$B%b!<%I$G$N\e(B
2626 \e$B0zMQ5-9f$NCV$-49$(\e(B(@xref{cite})\e$B$KMxMQ$5$l$^$9!#\e(B
2627 @end ifset
2628 @ifset us
2629 The nickname is used to replace addresses in Summary mode and to replace
2630 the citation prefix(@xref{cite}) in Draft mode.
2631 @end ifset
2632
2633 @ifset jp
2634 \e$B%"%I%l%9D"$N%3%a%s%HJ8;z$O\e(B @samp{;} \e$B$H\e(B @samp{#} \e$B$G$9!#\e(B@samp{;} \e$B$O9TF,$K\e(B
2635 \e$B$"$k>l9g$N$_%3%a%s%H$H$J$j!"$=$N9T$,L5;k$5$l$^$9!#\e(B@samp{#} \e$B$OG$0U$N>l=j\e(B
2636 \e$B$G%3%a%s%H$H$J$j!"$=$3$+$i9TKv$^$G$,L5;k$5$l$^$9!#\e(B
2637 @end ifset
2638 @ifset us
2639 The comment letters are @samp{;} and @samp{#}. @samp{;} is valid only
2640 when it appears in the beginning of lines. The entire line is ignored.
2641 @samp{#} is valid everywhere. The strings between @samp{#} and the end
2642 of the line is ignored.
2643 @end ifset
2644
2645 @ifset jp
2646 \e$B<B$O%"%I%l%9D"0J30$K$b!"<+F0E*$KDI2C$5$l$kC;=LL>$,$"$j$^$9!#%a%C%;!<%8$r\e(B
2647 \e$BAw?.$7$?>l9g!"\e(BTo: \e$B$H\e(B Cc: \e$B$K$"$k%"%I%l%9$O!"%f!<%6L>$,C;=LL>$H$7$FEPO?$5\e(B
2648 \e$B$l$^$9!#0J2<$NNc$r9M$($F2<$5$$!#\e(B
2649 @end ifset
2650 @ifset us
2651 As a matter of fact, there are short names to be defined automatically.
2652 When you send a message, addresses on the To: and Cc: field are
2653 automatically registered with their user names as short names.  Consider
2654 the following:
2655 @end ifset
2656
2657 @example
2658 To: kazu@@mew.org
2659 @end example
2660
2661 @ifset jp
2662 \e$B$3$N%a%C%;!<%8$rAw?.$9$k$H!"%"%I%l%9\e(B "kazu@@mew.org" \e$B$KBP$7!"C;=LL>\e(B 
2663 "kazu" \e$B$,<+F0EPO?$5$l$^$9!#$?$@$7!"$9$G$K\e(B "kazu" \e$B$H$$$&C;=LL>$,<+F0EPO?\e(B
2664 \e$B$5$l$F$$$k$J$i!"\e(B@samp{mew-addrbook-override-by-newone} \e$B$NCM$K1~$8$F>e=q\e(B
2665 \e$B$-$9$k$+$r7hDj$7$^$9!#\e(B@samp{nil} \e$B$J$i8E$$@_Dj$r;D$7!"$=$l0J30$J$i>e=q$-\e(B
2666 \e$B$7$^$9!#E83+$N:]$O!"%"%I%l%9D"$NJ}$,M%@h$5$l$^$9!#%"%I%l%9D"$KL5$$C;=LL>\e(B
2667 \e$B$N$_$,M-8z$K$J$j$^$9!#<+F0EPO?$5$l$k$N$ODL>o\e(B 1000 \e$B8D\e(B
2668 (@samp{mew-lisp-max-length})\e$B$N%"%I%l%9$^$G$G$9!#$=$l$r1[$($FEPO?$9$k$H8E\e(B
2669 \e$B$$$b$N$+$i>C$($F$$$-$^$9!#$3$l$i$N>pJs$O\e(B Mew \e$B$r=*N;$9$k:]$K!"\e(B
2670 "~/Mail/.mew-alias" \e$B$KJ]B8$5$l$^$9!#\e(B
2671 @end ifset
2672 @ifset us
2673 When this message is sent, a short name "kazu" is automatically
2674 registered for the address "kazu@@mew.org". If there is already a short
2675 name of "kazu", the next action is decided according to
2676 @samp{mew-addrbook-override-by-newone}. If @samp{nil}, the old entry
2677 remains. Otherwise, the new entry overrides the old one. When expanded,
2678 the address book is prior to the automatic short name. So, only
2679 automatic short names which do not exist in the address book are valid.
2680 The limit number of automatic short names is
2681 1000(@samp{mew-lisp-max-length}).  If the number is over 1000, the
2682 oldest entry is removed. This information is automatically saved to
2683 "~/Mail/.mew-alias".
2684 @end ifset
2685
2686 @ifset jp
2687 Summary \e$B%b!<%I$K$O!"8=:_FI$s$G$$$k%a%C%;!<%8$N>pJs$r\e(B Addrbook \e$B$KEPO?$9$k\e(B
2688 \e$B5!G=$,$"$j$^$9!#E83+5,B'$rEPO?$9$k$K$O\e(B @samp{C-cC-a}\e$B!"8D?M>pJs$rEPO?$9$k\e(B
2689 \e$B$K$O\e(B@samp{C-uC-cC-a} \e$B$HF~NO$7$F2<$5$$!#0J2<$K8D?M>pJs$rEPO?$7$F$$$kNc$r\e(B
2690 \e$B<($7$^$9!#\e(B
2691 @end ifset
2692 @ifset us
2693 Summary mode provide the feature to register the information of the
2694 current message into Addrbook. To register a expansion rule, type
2695 @samp{C-cC-a}. To register personal information, type @samp{C-uC-cC-a}.
2696 @end ifset
2697
2698 @example
2699 #If you want to register this entry, type C-c C-c.
2700 #If you want to NOT register this entry, type C-c C-q.
2701 Shortname: kazu
2702 Addresses: kazu@@mew.org
2703 Nickname: 
2704 Name: Kazuhiko Yamamoto
2705 Comments: 
2706 @end example
2707
2708 @ifset jp
2709 \e$BI,MW$G$"$l$P2CI.D{@5$7$^$9!#<B:]$KEPO?$9$k$K$O\e(B @samp{C-cC-c}\e$B!"EPO?$r<h$j\e(B
2710 \e$B;_$a$k>l9g$O\e(B @samp{C-cC-q}\e$B$HF~NO$7$F2<$5$$!#\e(B
2711 @end ifset
2712 @ifset us
2713 Add or modify the information if necessary. To register this
2714 information, type @samp{C-cC-c}. To quit the registration, type
2715 @samp{C-cC-q}
2716 @end ifset
2717
2718
2719 @c %%%%%%%%%%%%%%%%%
2720 @node send, cite, addrbook, Composing
2721 @ifset jp
2722 @section \e$B%a%C%;!<%8$NAw?.\e(B
2723 @end ifset
2724 @ifset us
2725 @section Sending a message
2726 @end ifset
2727 @vindex mew-signature-file
2728 @vindex mew-signature-as-lastpart
2729 @vindex mew-signature-insert-last
2730
2731 @ifset jp
2732 \e$BAp9F$r=q$->e$2Aw?.$9$k=`Hw$,$G$-$?$i!"\e(B@samp{C-cC-m C-cC-c} \e$B$HF~NO$7$F2<\e(B
2733 \e$B$5$$!#\e(B
2734 @end ifset
2735 @ifset us
2736 When you are ready to send a draft, type @samp{C-cC-m C-cC-c}.
2737 @end ifset
2738
2739 @ifset jp
2740 \e$B$?$H$($P!"0J2<$N$h$&$J%a%C%;!<%8$rAw$k>l9g$r9M$($^$9!#\e(B
2741 @end ifset
2742 @ifset us
2743 For instance, let's consider the following message to be sent.
2744 @end ifset
2745
2746 @example
2747 @ifset jp
2748 To: pooh
2749 Subject: PGP/MIME \e$B$r;H$*$&$h\e(B
2750 X-Mailer:@value{X-Mailer}
2751 ----
2752 Mew \e$B$,%;%-%e%j%F%#!&%^%k%A%Q!<%H$r%5%]!<%H$7$^$7$?!#\e(B
2753
2754 --\e$B$+$:\e(B
2755 @end ifset
2756 @ifset us
2757 To: pooh
2758 Subject: Let's use PGP/MIME
2759 X-Mailer:@value{X-Mailer}
2760 ----
2761 Mew starts walking with security multipart. Enjoy PGP/MIME!
2762
2763 --Kazu
2764 @end ifset
2765 @end example
2766
2767 @ifset jp
2768 @samp{C-cC-m} \e$B$^$GF~NO$9$k$H!"0J2<$N$h$&$K$J$j$^$9!#\e(B
2769 @end ifset
2770 @ifset us
2771 After typing @samp{C-cC-m}, you see:
2772 @end ifset
2773
2774 @example
2775 @ifset jp
2776 To: winnie-the-pooh@@100acre.woodwest.uk
2777 Subject: PGP/MIME =?iso-2022-jp?B?GyRCJHI7SCQqJCYkaBsoQg==?=
2778 X-Mailer:@value{X-Mailer}
2779 Mime-Version: 1.0
2780 Content-Type: Text/Plain; charset=iso-2022-jp
2781 Content-Transfer-Encoding: 7bit
2782
2783 Mew \e$B$,%;%-%e%j%F%#!&%^%k%A%Q!<%H$r%5%]!<%H$7$^$7$?!#\e(B
2784
2785 --\e$B$+$:\e(B
2786 @end ifset
2787 @ifset us
2788 To: winnie-the-pooh@@100acre.woodwest.uk
2789 Subject: Let's use PGP/MIME
2790 X-Mailer:@value{X-Mailer}
2791 Mime-Version: 1.0
2792 Content-Type: Text/Plain; charset=us-ascii
2793 Content-Transfer-Encoding: 7bit
2794
2795 Mew starts walking with security multipart. Enjoy PGP/MIME!
2796
2797 --Kazu
2798 @end ifset
2799 @end example
2800
2801 @ifset jp
2802 \e$B$3$3$GCm0U$7$FD:$-$?$$$N$O!"\e(BContent-Type: \e$B$K\e(B Text/Plain \e$B$rA*$S!"\e(Bcharset 
2803 \e$B$r?dB,$7$F$$$k$3$H$G$9!#\e(B
2804 @end ifset
2805 @ifset us
2806 You should note that Mew automatically selects Text/Plain for
2807 Content-Type: and guesses the charset parameter.
2808 @end ifset
2809
2810 @ifset jp
2811 \e$B<!$K\e(B @samp{C-cC-c} \e$B$HF~NO$9$k$HDL>o$N%F%-%9%H%a%C%;!<%8$rAw$l$^$9!#%a%C\e(B
2812 \e$B%;!<%8$O%P%C%/%0%i%s%I$GAw?.$5$l$^$9!#$3$N$h$&$K\e(B @samp{C-cC-m} \e$B$O\e(B MIME 
2813 \e$B$N:n@.!"\e(B@samp{C-cC-c} \e$B$OAw?.$G$9!#\e(BMew \e$B$G$O!V$G$-$k$@$18+$?$^$^$N%a%C%;!<\e(B
2814 \e$B%8$rAw?.$9$k!W$H$$$&%]%j%7!<$,$"$k$N$G!"%f!<%6$KL@<(E*$K\e(B MIME \e$B$r:n$C$F$b\e(B
2815 \e$B$i$&$3$H$K$7$F$$$^$9\e(B(\e$B:#$^$G$KM>J,$J\e(B .signature \e$B$d\e(B Fcc: \e$B$,>!<j$KIU$1$i$l\e(B
2816 \e$B$F$$$d$J;W$$$r$7$??M$O$$$^$;$s$+!)\e(B :p)\e$B!#\e(B
2817 @end ifset
2818 @ifset us
2819 Type @samp{C-cC-c} to send this text message. It is sent background. As
2820 you learned, @samp{C-cC-m} is to create a MIME message and @samp{C-cC-c}
2821 is to send it. Mew has a policy that a message should be transferred
2822 exactly as you look in the last time. So, you are supposed to create
2823 MIME explicitly(How many people have embarrassed experiences due to
2824 automatic insertion of an extra .signature and Fcc:? :p).
2825 @end ifset
2826
2827 @ifset jp
2828 \e$B%(%i!<$,5/$-$?>l9g$O!"\e(B"*Mew watch*" \e$B%P%C%U%!$rI=<($7$^$9!#%(%i!<$,@8$8$F\e(B
2829 \e$B>C$($J$+$C$?\e(B "*Mew watch*" \e$B%P%C%U%!$O!"\e(B@samp{C-cC-q} \e$B$G>C$;$^$9!#B?$/$N\e(B
2830 \e$B>l9g!"Ap9F$O\e(B +draft \e$B%U%)%k%@$K;D$C$F$$$^$9!#$=$3$G!"\e(BSummary \e$B%b!<%I$G\e(B 
2831 @samp{g} \e$B$H2!$7$F\e(B +draft \e$B%U%)%k%@$K0\F0$7!"\e(B+draft \e$B%U%)%k%@$N\e(B Summary \e$B%b!<\e(B
2832 \e$B%I$G\e(B @samp{E} \e$B$r2!$7$F:FJT=8$7$F2<$5$$!#\e(B
2833 @end ifset
2834 @ifset us
2835 When an error occurs, Mew displays "*Mew watch*" buffer. You can erase
2836 "*Mew watch*" buffer with @samp{C-cC-q}. In most case, the draft remains
2837 in the +draft folder. So, go to the +draft folder from any Summary mode
2838 with @samp{g} and type @samp{E} in Summary mode for the +draft folder to
2839 edit it again.
2840 @end ifset
2841
2842 @ifset jp
2843 \e$B%a%C%;!<%8$NAw?.$,=*$C$F$$$J$$$N$K!"\e(B@samp{C-xC-c} \e$B$G\e(B Emacs \e$B$r=*N;$5$;$h\e(B
2844 \e$B$&$H$9$k$H!"\e(B
2845 @end ifset
2846 @ifset us
2847 If you try to exit Emacs with @samp{C-xC-c} before the sending process
2848 is not completed, you are asked as follows:
2849 @end ifset
2850
2851 @example
2852 Active processes exist; kill them and exit anyway? (yes or no)
2853 @end example
2854
2855 @ifset jp
2856 \e$B$H?V$+$l$^$9!#\e(B"*Mew watch*" \e$B%P%C%U%!$,$J$/$J$C$F$+$i=*N;$5$;$F2<$5$$!#\e(B
2857 @end ifset
2858 @ifset us
2859 Please wait until the "*Mew watch*" buffer will disappear and give a try
2860 again.
2861 @end ifset
2862
2863 @ifset jp
2864 @samp{C-cC-m} \e$B$O>JN,$G$-$^$9!#$3$N>l9g!"\e(BMIME\e$B$r<+F0E*$K:n$C$?8e$K\e(B
2865 @end ifset
2866 @ifset us
2867 You can omit @samp{C-cC-m}. If you do so, Mew automatically creates MIME
2868 and asks you as follows:
2869 @end ifset
2870
2871 @example
2872 The header was modified. Send this message? (y or n)
2873 @end example
2874
2875 @ifset jp
2876 \e$B$H?V$$$F$-$^$9$N$G!"\e(B@samp{y} \e$B$rF~NO$7$F2<$5$$!#\e(BMew\e$B$G$O!"8+$?$^$^$N%a%C%;!<\e(B
2877 \e$B%8$rAw?.$9$k$3$H$r%b%C%H!<$K$7$F$$$k$N$G!"\e(BMew \e$B$,>!<j$K%a%C%;!<%8$r=q$-49\e(B
2878 \e$B$($?>l9g$O!"$3$N$h$&$K<ALd$r<u$1$^$9!#\e(B
2879 @end ifset
2880 @ifset us
2881 Please type @samp{y} here. Remember Mew has a policy to send a message
2882 as you watch. So, when Mew modifies the message it asks you such a
2883 question.
2884 @end ifset
2885
2886 @ifset jp
2887 \e$B$9$Y$F$N%a%C%;!<%8:n@.J}K!$G\e(B @samp{C-cC-m} \e$B$r>JN,$7$F9=$$$^$;$s!#$?$@$7!"\e(B
2888 \e$B8+$?$^$^$N%a%C%;!<%8$rAw?.$7$?$$?M$O!"\e(B@samp{C-cC-m C-cC-c} \e$B$HF~NO$9$kJJ\e(B
2889 \e$B$rIU$1$k$3$H$r$*4+$a$7$^$9!#\e(B
2890 @end ifset
2891 @ifset us
2892 You can omit @samp{C-cC-m} in all composing method described below. But
2893 I do recommend to have a custom to type @samp{C-cC-m C-cC-c}.
2894 @end ifset
2895
2896 @ifset jp
2897 \e$B%+!<%=%k$N$"$k>l=j$K\e(B "~/.signature" \e$B$rA^F~$9$k%3%^%s%I$O\e(B @samp{C-cTAB} 
2898 \e$B$G$9!#%7%0%K%A%c%U%!%$%k$O!"\e(B@samp{mew-signature-file} \e$B$G@_Dj$G$-$^$9!#\e(B
2899 @samp{mew-signature-as-lastpart} \e$B$d\e(B @samp{mew-signature-insert-last} \e$B$r\e(B
2900 \e$B@_Dj$9$k$3$H$G!"\e(B@samp{C-cTAB} \e$B$NF0:n$r%+%9%?%^%$%:$G$-$^$9!#\e(B
2901 @end ifset
2902 @ifset us
2903 To insert "~/.signature" on the cursor point, type @samp{C-cTAB}. You
2904 can define your own signature file to @samp{mew-signature-file}. Setting
2905 @samp{mew-signature-as-lastpart} and @samp{mew-signature-insert-last},
2906 you can customize the action of @samp{C-cTAB}.
2907 @end ifset
2908
2909 @ifset jp
2910 \e$B=P$F$-$?%3%^%s%I$r0J2<$K$^$H$a$^$9!#\e(B
2911 @end ifset
2912 @ifset us
2913 Here is a summary for commands up above.
2914 @end ifset
2915
2916 @table @samp
2917 @ifset jp
2918 @item C-cC-m
2919 MIME \e$B$r:n@.$9$k!#\e(BCharset \e$B$N?dB,!"%U%!%$%k9=B$$r%^%k%A%Q!<%H$XJQ49$J$I!#\e(B
2920 @item C-cC-c
2921 \e$B%a%C%;!<%8$rAw?.$9$k!#\e(B
2922 @item C-uC-cC-c
2923 \e$B%a%C%;!<%8$rAw?.$9$k$,!"Ap9F$O>C$5$J$$!#J#?t$N?M$KFbMF$r>/$7$:$DJQ$($J$,\e(B
2924 \e$B$i%a%C%;!<%8$rAw$j$?$$>l9g$KJXMx!#\e(B
2925 @item C-cTAB
2926 \e$B%+!<%=%k$N0LCV$K\e(B "~/.signature" \e$B$rA^F~$9$k!#\e(B
2927 @end ifset
2928 @ifset us
2929 @item C-cC-m
2930 Make a MIME message. Charset guess, mapping directory structure to
2931 multipart, and so on.
2932 @item C-cC-c
2933 Send this message.
2934 @item C-uC-cC-c
2935 Send this message without killing the draft.
2936 This is convenient to send messages to multiple people modifying
2937 its content a little.
2938 @item C-cTAB
2939 Insert "~/.signature" on the cursor point.
2940 @end ifset
2941 @end table
2942
2943 @c %%%%%%%%%%%%%%%%%
2944 @node cite, mime-comp, send, Composing
2945 @ifset jp
2946 @section \e$B0zMQ\e(B
2947 @end ifset
2948 @ifset us
2949 @section Citation
2950 @end ifset
2951 @vindex mew-addrbook-for-cite-label
2952 @vindex mew-addrbook-for-cite-prefix
2953 @vindex mail-citation-hook
2954
2955 @ifset jp
2956 Summary \e$B%b!<%I$N\e(B @samp{a} \e$B$d\e(B @samp{A} \e$B$r;H$C$F%a%C%;!<%8$KJVEz$9$k$?$a$N\e(B
2957 \e$BAp9F$rMQ0U$9$k$H!"\e(BEmacs \e$B$,\e(B3\e$BJ,3d$5$l$^$9!#>e$,8=:_$N\e(B Summary \e$B%b!<%I!"Cf$,\e(B 
2958 Message \e$B%b!<%I!"2<$,\e(B Draft \e$B%b!<%I$G$9!#\e(B
2959 @end ifset
2960 @ifset us
2961 If you use @samp{a} or @samp{A} in Summary mode, a draft for reply is
2962 prepared and Emacs is split into three windows. The top is Summary mode,
2963 the middle is Message mode, and the bottom is Draft mode.
2964 @end ifset
2965
2966 @ifset jp
2967 Message \e$B%b!<%I$N%F%-%9%H$r0zMQ$9$k%3%^%s%I$r0J2<$K<($7$^$9!#\e(B
2968 @end ifset
2969 @ifset us
2970 Here are commands to cite text from Message mode to Draft mode.
2971 @end ifset
2972
2973 @table @samp
2974 @ifset jp
2975 @item C-cC-y
2976 Message \e$B%b!<%I$+$i%a%C%;!<%8$N0lIt$r%3%T!<$7!"0zMQ%i%Y%k$H0zMQ5-9fIU$G%Z!<\e(B
2977 \e$B%9%H$9$k!#\e(B
2978 @enumerate
2979 @item
2980 \e$B$*$*$^$+$K8@$($P!"\e(BMessage \e$B%b!<%I$NK\J8$,%3%T!<$5$l$k!#$?$H$($P!"\e(B
2981 Text/Plain \e$B$,I=<($5$l$F$$$k$H!"\e(BMessage \e$B%b!<%IA4BN$,%3%T!<$5$l$k!#\e(B
2982 Message/Rfc822 \e$B$,I=<($5$l$F$$$k>l9g$O!"%X%C%@$r=|$$$?K\J8$,%3%T!<$5$l$k!#\e(B
2983 @item
2984 @samp{C-u} \e$B$H6&$K8F$P$l$k$H!"%X%C%@$,$"$l$P%X%C%@$r%3%T!<$9$k!#\e(B
2985 @item
2986 Emacs \e$B$N%^!<%/$,$"$k$H!"$=$N%^!<%/$H%+!<%=%k$N4V$,BP>]$H$J$k!#\e(B
2987 @end enumerate
2988 @item C-cC-t
2989 Message \e$B%b!<%I$+$i%a%C%;!<%8$N0lIt$r%3%T!<$7!"0zMQ%i%Y%k$H0zMQ5-9f$J$7$G\e(B
2990 \e$B%Z!<%9%H$9$k!#\e(B
2991 @end ifset
2992 @ifset us
2993 @item C-cC-y
2994 Copy and paste a part of message from Message mode WITH citation prefix
2995 and label.
2996 @enumerate
2997 @item
2998 Roughly speaking, it copies the body in Message mode. For example, if
2999 Text/Plain is displayed, the entire Message mode is copied. If
3000 Message/Rfc822 is displayed, the body without the header is copied.
3001 @item
3002 If called with @samp{C-u}, the header is also copied if exists.
3003 @item
3004 If an Emacs mark exists, the target is the region between the mark and
3005 the cursor.
3006 @end enumerate
3007 @item C-cC-t
3008 Copy and paste a part of message from Message mode WITHOUT citation
3009 prefix and label.
3010 @end ifset
3011 @end table
3012
3013 @ifset jp
3014 \e$B%G%U%)%k%H$N0zMQ%i%Y%k$H0zMQ5-9f$O0J2<$N$h$&$K$J$j$^$9!#\e(B
3015 @end ifset
3016 @ifset us
3017 The default label and prefix is as follows:
3018 @end ifset
3019
3020 @example
3021 @ifset jp
3022 From: SUMIKAWA Munechika <sumikawa@@ebina.hitachi.co.jp>
3023 Subject: Wine
3024 Date: Wed, 23 Jul 1997 11:40:50 +0900
3025
3026\e$B$*$O$h$&$+$i$*$d$9$_$^$G%K!<%H$G$*$J$8$_$N3Q@n$G$9!#\e(B
3027
3028\e$B$5$F!"$H$m$1$k%o%$%s:n@o$G$9$,!"Dj@PDL$j\e(B '90 \e$B$N%\%k%I!<$N\e(B
3029\e$B%+%Y%k%M!&%=!<%S%K%g%s$rA@$$$?$$$H;W$$$^$9!#%T%N%N%"!<%k\e(B
3030\e$B$,$A$g$C$T$j%V%l%s%I$7$F$"$k$H$$$$$+$b!#\e(B
3031 @end ifset
3032 @ifset us
3033 From: SUMIKAWA Munechika <sumikawa@@ebina.hitachi.co.jp>
3034 Subject: Wine
3035 Date: Wed, 23 Jul 1997 11:40:50 +0900
3036
3037 > Hi, it's Sumikawa, the neat from good morning to good night.
3038 >
3039 > Talking the party of wonderful wine, I would propose Cabernet 
3040 > Sauvignon, Bordeaux, '90. It would be great if Pinot Noir
3041 > is blended a bit.
3042 @end ifset
3043 @end example
3044
3045 @ifset jp
3046 Draft \e$B%b!<%I$G$O\e(B Message \e$B%b!<%I\e(B("*mew message*"\e$B%P%C%U%!\e(B)\e$B$KI=<($5$l$F$$$k\e(B
3047 \e$B$b$N$J$i$J$s$G$b0zMQ$G$-$^$9!#$D$^$j!"J#?t$N%a%C%;!<%8$r4JC1$K0zMQ$G$-$k\e(B
3048 \e$B$N$G$9!#0zMQ$7$?$$%a%C%;!<%8$rI=<($5$;$F!"K\J8$r0zMQ$9$k<j=g$r!"0zMQ$7$?\e(B
3049 \e$B$$%a%C%;!<%8$N2s?t$@$17+$jJV$7$F2<$5$$!#$=$N$?$a$N\e(B3\e$BJ,3d$G$9!#\e(B
3050 @end ifset
3051 @ifset us
3052 In Draft mode, you can cite any text displayed in Message mode("*mew
3053 message*" buffer). So, you can cite text from multiple messages
3054 easily. Select a message in Summary mode and display it in Message mode,
3055 then cite it in Draft mode. Please repeat this procedure as you like.
3056 Triple windows are prepared for this purpose.
3057 @end ifset
3058
3059 @ifset jp
3060 Mew \e$B$O\e(B supercite \e$B$H%j%s%/$G$-$^$9$,!"\e(Bsupercite \e$B$rMxMQ$7$h$&$H;W$&A0$K!"\e(B
3061 \e$B0J2<$N$h$&$K@_Dj$7$F$_$F2<$5$$!#\e(B
3062 @end ifset
3063 @ifset us
3064 You can use "supercite" with Mew but before you start using it,
3065 configure as follows.
3066 @end ifset
3067
3068 @example
3069 (setq mew-cite-prefix-function 'mew-cite-prefix-username)
3070 @end example
3071
3072 @ifset jp
3073 \e$B$3$N@_Dj$r$7$F$*$/$H!"0J2<$N$h$&$K0zMQ5-9f$K%f!<%6L>$,IU$/$h$&$K$J$j$^$9!#\e(B
3074 @end ifset
3075 @ifset us
3076 With this configuration, the citation prefix is preceded by a user name.
3077 @end ifset
3078
3079 @example
3080 @ifset jp
3081 From: SUMIKAWA Munechika <sumikawa@@ebina.hitachi.co.jp>
3082 Subject: Wine
3083 Date: Wed, 23 Jul 1997 11:40:50 +0900
3084
3085 sumikawa> \e$B$*$O$h$&$+$i$*$d$9$_$^$G%K!<%H$G$*$J$8$_$N3Q@n$G$9!#\e(B
3086 sumikawa> 
3087 sumikawa> \e$B$5$F!"$H$m$1$k%o%$%s:n@o$G$9$,!"Dj@PDL$j\e(B '89 \e$B$N%\%k%I!<$N\e(B
3088 sumikawa> \e$B%+%Y%k%M!&%=!<%S%K%g%s$rA@$$$?$$$H;W$$$^$9!#%T%N%N%"!<%k\e(B
3089 sumikawa> \e$B$,$A$g$C$T$j%V%l%s%I$7$F$"$k$H$$$$$+$b!#\e(B
3090 @end ifset
3091 @ifset us
3092 From: SUMIKAWA Munechika <sumikawa@@ebina.hitachi.co.jp>
3093 Subject: Wine
3094 Date: Wed, 23 Jul 1997 11:40:50 +0900
3095
3096 sumikawa> Hi, it's Sumikawa, the neat from good morning to good night.
3097 sumikawa>
3098 sumikawa> Talking the party of wonderful wine, I would propose Cabernet 
3099 sumikawa> Sauvignon, Bordeaux, '89. It would be great if Pinot Noir
3100 sumikawa> is blended a bit.
3101 @end ifset
3102 @end example
3103
3104 @ifset jp
3105 \e$B$5$i$K!"0J2<$N@_Dj$r2C$($F$_$^$7$g$&!#\e(B
3106 @end ifset
3107 @ifset us
3108 In addition to the configuration above, add the following.
3109 @end ifset
3110
3111 @example
3112 (setq mew-addrbook-for-cite-label 'nickname)
3113 (setq mew-addrbook-for-cite-prefix 'nickname)
3114 @end example
3115
3116 @ifset jp
3117 \e$B:G=i$N@_Dj$G%i%Y%k$NCf$N%"%I%l%9$,%K%C%/%M!<%`\e(B(@xref{addrbook})\e$B$KJQ$o$j\e(B
3118 \e$B$^$9!#$^$?!"<!$N@_Dj$G0zMQ5-9f$N%f!<%6L>$NItJ,$,%K%C%/%M!<%`$KCV$-49$o$j\e(B
3119 \e$B$^$9!#\e(B
3120 @end ifset
3121 @ifset us
3122 With the first line, an address in the citation label is replaced with
3123 its nickname(@xref{addrbook}). The second line indicates that a user
3124 name in the prefix is replaced with its nickname.
3125 @end ifset
3126
3127 @example
3128 @ifset jp
3129 From: \e$B$9$_$C$A\e(B
3130 Subject: Wine
3131 Date: Wed, 23 Jul 1997 11:40:50 +0900
3132
3133 \e$B$9$_$C$A\e(B> \e$B$*$O$h$&$+$i$*$d$9$_$^$G%K!<%H$G$*$J$8$_$N3Q@n$G$9!#\e(B
3134 \e$B$9$_$C$A\e(B> 
3135 \e$B$9$_$C$A\e(B> \e$B$5$F!"$H$m$1$k%o%$%s:n@o$G$9$,!"Dj@PDL$j\e(B '89 \e$B$N%\%k%I!<$N\e(B
3136 \e$B$9$_$C$A\e(B> \e$B%+%Y%k%M!&%=!<%S%K%g%s$rA@$$$?$$$H;W$$$^$9!#%T%N%N%"!<%k\e(B
3137 \e$B$9$_$C$A\e(B> \e$B$,$A$g$C$T$j%V%l%s%I$7$F$"$k$H$$$$$+$b!#\e(B
3138 @end ifset
3139 @ifset us
3140 From: sumitch
3141 Subject: Wine
3142 Date: Wed, 23 Jul 1997 11:40:50 +0900
3143
3144 sumitch> Hi, it's Sumikawa, the neat from good morning to good night.
3145 sumitch>
3146 sumitch> Talking the party of wonderful wine, I would propose Cabernet 
3147 sumitch> Sauvignon, Bordeaux, '89. It would be great if Pinot Noir
3148 sumitch> is blended a bit.
3149 @end ifset
3150 @end example
3151
3152 @ifset jp
3153 \e$B$b$7!"0zMQ$NMM<0$,>e5-$G$O$J$/0J2<$N$h$&$K$J$k$J$i!"\e(B
3154 @samp{mail-citation-hook} \e$B$,Dj5A$5$l$F$$$k$N$+$b$7$l$^$;$s!#\e(B
3155 @end ifset
3156 @ifset us
3157 If you get the following citation style instead of up above,
3158 @samp{mail-citation-hook} might be defined.
3159 @end ifset
3160
3161 @example
3162 In article .....
3163 @end example
3164
3165 @ifset jp
3166 Mew \e$BFH<+$N0zMQMM<0$r;H$$$?$$$J$i!"0J2<$N9T$r\e(B ".emacs" \e$B$K2C$($F2<$5$$!#\e(B
3167 @end ifset
3168 @ifset us
3169 To use Mew original citation style, put the following into your ".emacs".
3170 @end ifset
3171
3172 @example
3173 (setq mail-citation-hook nil)
3174 @end example
3175
3176 @c %%%%%%%%%%%%%%%%%
3177 @node mime-comp, charset-guess, cite, Composing
3178 @ifset jp
3179 @section \e$B%^%k%A%Q!<%H$N:n@.\e(B
3180 @end ifset
3181 @ifset us
3182 @section Composing multipart
3183 @end ifset
3184
3185 @ifset jp
3186 \e$B$5$F!"$3$3$G%^%k%A%Q!<%H$N:n$jJ}$rHdO*$7$^$7$g$&!#\e(B
3187 @end ifset
3188 @ifset us
3189 OK. Let's see how to create multipart.
3190 @end ifset
3191
3192 @ifset jp
3193 \e$B$?$H$($P!"\e(B+draft/1 \e$B$G%a%C%;!<%8$r=q$$$F$$$k$H$-$K!"\e(B@samp{C-cC-a} \e$B$HF~NO\e(B
3194 \e$B$9$k$H!"Ap9F$N0lHV2<$K\e(B
3195 @end ifset
3196 @ifset us
3197 When you are writing a message in +draft/1 and type @samp{C-cC-a}, the
3198 following lines are inserted at the bottom of the draft.
3199 @end ifset
3200
3201 @example
3202 ----------------------------- attachments -----------------------------
3203       Multipart/Mixed                                         1/     
3204      1  Text/Plain(guess)                                       CoverPage*
3205      2                                                          .   
3206 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
3207 @end example
3208
3209 @ifset jp
3210 \e$B$H$$$&9T$,A^F~$5$l$^$9!#\e(B"1/" \e$B$O%^%k%A%Q!<%H$r9=C[$9$k$?$a$N0l;~E*$J%G%#\e(B
3211 \e$B%l%/%H%j$G!"<BBN$O\e(B "~/Mail/draft/mime/1" \e$B$G$9!#%Q!<%H\e(B 1 \e$B$N\e(B CoverPage \e$B$O\e(B
3212 \e$BK\J8$r0UL#$7$^$9!#$3$3$G\e(B Draft \e$B%b!<%I$O<!$N$h$&$K$J$C$F$$$k$G$7$g$&!#\e(B
3213 @end ifset
3214 @ifset us
3215 "1/" is a temporary directory to create multipart and locates
3216 "~/Mail/draft/mime/1". The part 1, "Coverpage", refers to the body. Now
3217 the entire draft looks like:
3218 @end ifset
3219
3220 @example
3221 @ifset jp
3222 To: mew-dist
3223 Subject: \e$B$3$3$,%X%C%@\e(B
3224 X-Mailer:@value{X-Mailer}
3225 ----
3226 \e$BK\J8$@$h!#\e(B
3227
3228 ----------------------------- attachments -----------------------------
3229       Multipart/Mixed                                         1/     
3230      1  Text/Plain(guess)                                       CoverPage*
3231      2                                                          .   
3232 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
3233 @end ifset
3234 @ifset us
3235 To: mew-dist
3236 Subject: This is header
3237 X-Mailer:@value{X-Mailer}
3238 ----
3239 This is body.
3240
3241 ----------------------------- attachments -----------------------------
3242       Multipart/Mixed                                         1/     
3243      1  Text/Plain(guess)                                       CoverPage*
3244      2                                                          .   
3245 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
3246 @end ifset
3247 @end example
3248
3249 @ifset jp
3250 3\e$B$D$NNN0h$r0J2<$N$h$&$K8F$V$3$H$K$7$^$9!#\e(B
3251 @end ifset
3252 @ifset us
3253 Here we call three regions as follows:
3254 @end ifset
3255
3256 @itemize @bullet
3257 @ifset jp
3258 @item
3259 "----" \e$B$h$j>e$r\e(B \e$B!V%X%C%@!W\e(B
3260 @item
3261 "----" \e$B$+$i\e(B "attachments" \e$B$^$G$r!VK\J8!W\e(B
3262 @item
3263 "attachments" \e$B$h$j2<$r!VE:IUNN0h!W\e(B
3264 @end ifset
3265 @ifset us
3266 @item
3267 the region above "----" @samp{header}
3268 @item
3269 the region from "----" to "attachments" @samp{body}
3270 @item
3271 the region below "attachments" @samp{attachments}
3272 @end ifset
3273 @end itemize
3274
3275 @ifset jp
3276 Draft \e$B%b!<%I$G$O!"%j!<%8%g%s$K$h$C$F%-!<3dEv$,0c$$$^$9!#\e(B
3277 @end ifset
3278 @ifset us
3279 In Draft mode, key bindings are different on each region.
3280 @end ifset
3281
3282 @ifset jp
3283 \e$B$?$H$($P!"\e(B@samp{TAB} \e$B$O0J2<$N$h$&$K$J$j$^$9!#\e(B
3284 @end ifset
3285 @ifset us
3286 To @samp{TAB}, for instance, functions are assigned as follows:
3287 @end ifset
3288
3289 @table @asis
3290 @ifset jp
3291 @item \e$B%X%C%@\e(B
3292 \e$B$5$^$6$^$JJd40!#\e(B
3293 @item \e$BK\J8\e(B
3294 TAB \e$B$NA^F~!#\e(B
3295 @item \e$BE:IUNN0h\e(B
3296 \e$B$J$K$b$7$J$$!#\e(B
3297 @end ifset
3298 @ifset us
3299 @item header
3300 Completions.
3301 @item body
3302 Insert TAB.
3303 @item attachments
3304 Do nothing.
3305 @end ifset
3306 @end table
3307
3308 @ifset jp
3309 @samp{c} \e$B$@$H0J2<$N$h$&$K$J$j$^$9!#\e(B
3310 @end ifset
3311 @ifset us
3312 To @samp{c}, functions are assigned as follows:
3313 @end ifset
3314
3315 @table @asis
3316 @ifset jp
3317 @item \e$B%X%C%@\e(B
3318\e$B$rA^F~!#\e(B
3319 @item \e$BK\J8\e(B
3320\e$B$rA^F~!#\e(B
3321 @item \e$BE:IUNN0h\e(B
3322 \e$B%U%!%$%k$N%3%T!<!#\e(B
3323 @end ifset
3324 @ifset us
3325 @item header
3326 Insert c.
3327 @item body
3328 Insert c.
3329 @item attachments
3330 Copy a file.
3331 @end ifset
3332 @end table
3333
3334 @ifset jp
3335 \e$B0J2<!"E:IUNN0h$G$N%-!<3dEv$G$9!#\e(B
3336 @end ifset
3337 @ifset us
3338 The following is a summary of commands in attachments.
3339 @end ifset
3340
3341 @table @samp
3342 @ifset jp
3343 @item C-p
3344 \e$B8=:_$N%G%#%l%/%H%j$NA0$N%U%!%$%k$X0\F0!#\e(B
3345 @item C-n
3346 \e$B8=:_$N%G%#%l%/%H%j$N8e$N%U%!%$%k$X0\F0!#\e(B
3347 @item C-f
3348\e$BHVL\$N%5%V%G%#%l%/%H%j$K0\F0!#\e(B
3349 @item C-b
3350 \e$B?F%G%#%l%/%H%j$K0\F0!#\e(B
3351 @item c
3352 \e$B%U%!%$%k$N%3%T!<!#\e(B"." \e$B>e$GM-8z!#%M%C%H%o!<%/7PM3$G$b2D!#%j%b!<%H$N%U%!%$\e(B
3353 \e$B%k$r%3%T!<$9$k>l9g$O!"\e(B"/[user@@]hostname:/filepath"\e$B$N7A<0$G%U%!%$%k$r;X\e(B
3354 \e$BDj!#\e(B
3355 @item l
3356 \e$B%U%!%$%k$X%7%s%\%C%j%/%j%s%/$rD%$k!#\e(B"." \e$B>e$GM-8z!#E:IU%U%!%$%k$r\e(B 
3357 @samp{f} \e$B$r;H$C$FFI$_9~$s$GJT=8$9$k>l9g$O!"<BBN$rJT=8$7$F$7$^$o$J$$$h$&\e(B
3358 \e$B$K!"\e(B@samp{l} \e$B$G$O$J$/\e(B @samp{c} \e$B$G%3%T!<$9$Y$-!#\e(B
3359 @item d
3360 \e$B%U%!%$%k$H%G%#%l%/%H%j$N>C5n!#\e(B
3361 @item m
3362 \e$B%5%V%G%#%l%/%H%j\e(B(\e$B$D$^$j%^%k%A%Q!<%H\e(B)\e$B$N:n@.!#\e(B"." \e$B>e$GM-8z!#\e(B
3363 @item f
3364 \e$B%U%!%$%k$r%P%C%U%!$KFI$_9~$`!#\e(B
3365 @item F
3366 \e$B?75,%U%!%$%k$r%P%C%U%!$KFI$_9~$`!#\e(B"." \e$B>e$GM-8z!#\e(B
3367 @item y
3368 Message \e$B%b!<%I$KI=<($5$l$F$$$k%a%C%;!<%8$K%j%s%/$rD%$k!#\e(B"." \e$B>e$GM-8z!#\e(B
3369 @item e
3370 external-body \e$B$NF~NO!#\e(B"." \e$B>e$GM-8z!#\e(B
3371 @item a
3372 \e$B2;$r%5%s%W%j%s%0$7%*!<%G%#%*%U%!%$%k$H$7$FA^F~!#\e(B"." \e$B>e$GM-8z!#\e(B
3373 @item p
3374 \e$BF~NO$5$l$?%f!<%6$N\e(B PGP \e$B8x3+80$r<h$j=P$9!#\e(B"." \e$B>e$GM-8z!#\e(B
3375 @item D
3376 \e$B$A$g$C$H$7$?@bL@\e(B(Content-Description:)\e$B$NF~NO!#\e(B
3377 @item T
3378 \e$B%G!<%?7?\e(B(Content-Type:)\e$B$NJQ99!#\e(B
3379 @item C
3380 Text/* \e$B7?$N%G!<%?$N\e(B charset \e$B$r;XDj$9$k!#\e(B
3381 @item P
3382 \e$B<u?.B&$G$3$N%Q!<%H$rJ]B8$9$k:]$N%U%!%$%kL>\e(B(Content-Disposition:)\e$B$NJQ99!#\e(B
3383 \e$B%U%!%$%kL>$NF~NO$N:]$K!"C1$K\e(B @samp{RET}\e$B$r2!$9$HCM$,>C$($k!#$=$7$F!"Aw?.\e(B
3384 \e$BB&$N%U%!%$%kL>$,\e(B @samp{*} \e$B$H6&$KI=<($5$l$k!#\e(B
3385 @end ifset
3386 @ifset us
3387 @item C-p
3388 Go to the previous file in the current directory.
3389 @item C-n
3390 Go to the next file in the current directory.
3391 @item C-f
3392 Go to the first subdirectory.
3393 @item C-b
3394 Go to the parent directory.
3395 @item c
3396 Copy a file (via networks) on ".". To copy a remote file, use the
3397 "/[user@@]hostname:/filepath" syntax.
3398 @item l
3399 Link a file with a symbolic link on ".". If you want to edit the
3400 attached file, you should @samp{c} instead of @samp{l} so that you don't
3401 edit the original file.
3402 @item d
3403 Delete this file or this directory.
3404 @item m
3405 Create a subdirectory(i.e. multipart) on ".".
3406 @item f
3407 Open this file into a buffer.
3408 @item F
3409 Open a new file into a buffer on ".".
3410 @item y
3411 Link the message which is displayed in Message mode on ".".
3412 @item e
3413 Input external-body on ".".
3414 @item a
3415 Sampling voice and insert as audio file on ".".
3416 @item p
3417 Extract the PGP key for the inputed user on ".".
3418 @item D
3419 Input a description(Content-Description:).
3420 @item T
3421 Change the data type(Content-Type:).
3422 @item C
3423 Specify charset for a Text/* object.
3424 @item P
3425 Specify a file name(Content-Disposition:) to save this part in the
3426 receiver side. If you type just @samp{RET} without any string, its value
3427 is cleared. Then the file name in the sender side is displayed with
3428 @samp{*}.
3429 @end ifset
3430 @end table
3431
3432 @ifset jp
3433 \e$BE:IUNN0h$G$O!"%U%!%$%k$N%5%U%#%C%/%9$K$h$C$F%G!<%?$r<h$j07$$$^$9!#8=:_%5\e(B
3434 \e$B%]!<%H$7$F$$$k%5%U%#%C%/%9$O0J2<$NDL$j$G$9!#\e(B
3435 @end ifset
3436 @ifset us
3437 In attachments, data types are guessed by suffix. The current supported
3438 suffixes are as follows:
3439 @end ifset
3440
3441 @example
3442 .txt       Text/Plain
3443 .html      Text/Html
3444 .rfc822    Message/Rfc822
3445 [0-9]+     Message/Rfc822
3446 .ext       Message/External-body
3447 .ps        Application/PostScript
3448 .tar       Application/Octet-stream ;; dummy
3449 .gif       Image/Gif
3450 .jpg       Image/Jpeg
3451 .jpeg      Image/Jpeg
3452 .png       Image/Png
3453 .xwd       Image/X-xwd
3454 .xbm       Image/X-xbm
3455 .bmp       Image/X-bmp
3456 .au        Audio/Basic
3457 .mpg       Video/Mpeg
3458 .mpeg      Video/Mpeg
3459 .pgp       Application/Octet-Stream
3460 .pka       Application/Pgp-keys
3461 .*         Text/Plain
3462 @end example
3463
3464 @ifset jp
3465 @samp{c} \e$B$G%U%!%$%k$r%3%T!<$9$k$H!"$?$H$($P<!$N$h$&$K$J$j$^$9!#%3%T!<$9\e(B
3466 \e$B$k$H$-$N%U%!%$%kL>$O!"E,@Z$J%G!<%?7?$r?dB,$G$-$k$h$&%5%U%#%C%/%9$K5$$rIU\e(B
3467 \e$B$1$l$P$J$s$G$b$h$$$G$9!#\e(B
3468 @end ifset
3469 @ifset us
3470 For instance, if you copy files with @samp{c}, the part becomes as
3471 follows:(Please choose an appropriate suffix for the file name so that
3472 Mew can guesses its data type.)
3473 @end ifset
3474
3475 @ifset jp
3476 @example
3477 ----------------------------- attachments -----------------------------
3478       Multipart/Mixed                                         1/     
3479      1  Text/Plain(guess)                                       CoverPage*
3480 B    2  Image/Gif                    MagicPoint \e$B$N%m%4\e(B          mgp.gif
3481 Q    3  Application/Postscript       \e$B;qNA\e(B                       ohp.ps
3482      4                                                          .
3483 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
3484 @end example
3485 @end ifset
3486 @ifset us
3487 @example
3488 ----------------------------- attachments -----------------------------
3489       Multipart/Mixed                                         1/   
3490      1  Text/Plain(guess)                                       CoverPage*
3491 B    2  Image/Gif                    MagicPoint logo            mgp.gif
3492 Q    3  Application/Postscript       Presentation Material      ohp.ps
3493      4                                                          .
3494 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
3495 @end example
3496 @end ifset
3497
3498 @ifset jp
3499 \e$B3F9T$O!"\e(B
3500
3501 @itemize @minus
3502 @item
3503 \e$B%^!<%/\e(B(Content-Transfer-Encoding:)
3504 @item
3505 \e$B%Q!<%HHV9f\e(B
3506 @item
3507 \e$B%G!<%?$N7?\e(B(Content-Type:)
3508 @item
3509 \e$B@bL@\e(B(Content-Description:)
3510 @item
3511 \e$B%U%!%$%kL>\e(B(Content-Disposition:)
3512 @end itemize
3513
3514 \e$B$+$i9=@.$5$l$F$$$^$9!#\e(B
3515 @end ifset
3516 @ifset us
3517 Each line of multipart consists of 
3518
3519 @itemize @minus
3520 @item
3521 marks (Content-Transfer-Encoding:)
3522 @item
3523 part number
3524 @item
3525 data type (Content-Type:)
3526 @item
3527 description (Content-Description:)
3528 @item
3529 file name (Content-Disposition:).
3530 @end itemize
3531 @end ifset
3532
3533 @ifset jp
3534 \e$B%^!<%/\e(B(Content-Transfer-Encoding:)\e$B$rJQ99$9$kJ}K!$O!"\e(B@xref{mark-b-comp} 
3535 \e$B$r;2>H$7$F2<$5$$!#%G!<%?$N7?\e(B(Content-Type:)\e$B$O\e(B @samp{T} \e$B$K$h$C$FJQ$($i$l\e(B
3536 \e$B$^$9!#@bL@\e(B(Content-Description:)\e$B$O\e(B @samp{D} \e$B$GF~NO$G$-$^$9!#$3$N@bL@$N%+\e(B
3537 \e$B%i%`$O!"\e(B@xref{mark-b-comp} \e$B$G@bL@$9$k0E9f2=$N:]$K>e=q$-$5$l$^$9!#\e(B
3538 @end ifset
3539 @ifset us
3540 Please refer to @xref{mark-b-comp} to know how to change mark
3541 (Content-Transfer-Encoding:).  You can change data types(Content-Type:)
3542 by @samp{T} at any time. You can also insert
3543 descriptions(Content-Description:) by @samp{D}. This description column
3544 is overwritten when encrypted as described in @xref{mark-b-comp}.
3545 @end ifset
3546
3547 @ifset jp
3548 \e$BBh\e(B5\e$B%+%i%`$KI=<($5$l$k$N$O!"<B:]$K$O%3%T!<$7$?%U%!%$%kL>$+\e(B 
3549 Content-Disposition:\e$B!"$D$^$j!"<u?.<T$,$=$N%Q!<%H$rJ]B8$9$k:]$N%U%!%$%kL>\e(B
3550 \e$B$G$9!#\e(BContent-Disposition: \e$B$NCM$,$"$l$P!"$=$l$,I=<($5$l$^$9!#$J$1$l$P!"\e(B
3551 \e$B%3%T!<$7$?%U%!%$%kL>$K\e(B @samp{*} \e$B$rIU2C$7$FI=<($7$^$9!#%U%!%$%k$r%3%T!<$7\e(B
3552 \e$B$?:]$N\e(B Content-Disposition: \e$B$NCM$O!"%3%T!<$7$?%U%!%$%kL>$,;XDj$5$l$F$$$^\e(B
3553 \e$B$9!#$?$@$7!"\e(BMessage/* \e$B$H\e(B Multipart/* \e$B$K$O\e(B Content-Disposition: \e$B$O@_Dj$5\e(B
3554 \e$B$l$^$;$s!#\e(BContent-Disposition: \e$B$r;XDj$9$k$K$O!"\e(B@samp{P} \e$B$rMxMQ$7$F2<$5$$!#\e(B
3555 @end ifset
3556 @ifset us
3557 Strictly speaking, the fifth column is the copied file name or the value
3558 of Content-Disposition:, namely the file name to which the receiver
3559 saves the part. If Content-Disposition: exists, Mew displays
3560 it. Otherwise, Mew displays the copied file name with @samp{*} appended.
3561 When you copy a file, the file name is specified as
3562 Content-Disposition:. But this is not true for both Message/* and
3563 Multipart/*. To specify Content-Disposition:, use @samp{P}.
3564 @end ifset
3565
3566 @ifset jp
3567 \e$B%U%!%$%k$O%7%s%0%k%Q!<%H$K!"%G%#%l%/%H%j$O%^%k%A%Q!<%H$KBP1~$7$^$9!#$G\e(B
3568 \e$B$9$+$i!"%U%!%$%k9=B$$r:n$C$F$$$/463P$GJ#;($J%^%k%A%Q!<%H$r:n@.$G$-$^$9!#\e(B
3569 \e$B4JC1$G$7$g!)\e(B
3570 @end ifset
3571 @ifset us
3572 Files mean singlepart while directories are regarding with multipart.
3573 So, you can create very complex multipart MIME as if you created file
3574 system. Very easy, isn't it?
3575 @end ifset
3576
3577 @ifset jp
3578 \e$B%G%#%l%/%H%j$N%G%U%)%k%H$N\e(B Content-Type: \e$B$O\e(B Multipart/Mixed \e$B$G$9!#$3$l$b\e(B 
3579 @samp{T} \e$B$K$h$C$FJQ99$G$-$^$9!#\e(B
3580 @end ifset
3581 @ifset us
3582 The default data type for directories is Multipart/Mixed. Of course, you
3583 can change it by @samp{T}.
3584 @end ifset
3585
3586 @ifset jp
3587 \e$B$5$F!"$*9%$_$N%^%k%A%Q!<%H$,:n@.$G$-$?$i!"\e(B@samp{C-cC-m} \e$B$H%?%$%W$7$^$7$g\e(B
3588 \e$B$&!#$"!<!<!<$iIT;W5D!#%U%!%$%k9=B$$,%^%k%A%Q!<%H$XJQ49$5$l$k$G$O$"$j$^$;\e(B
3589 \e$B$s$+!#$`$m$s!"B?CJ$N%^%k%A%Q!<%H$b%5%]!<%H$7$F$$$^$9!#$"$H$O!"\e(B
3590 @samp{C-cC-c} \e$B$GAw$k$@$1$G$9!#\e(B
3591 @end ifset
3592 @ifset us
3593 After creating multipart, type @samp{C-cC-m}. Amazing! The created file
3594 system is transformed to multipart MIME. Of course, multipart of
3595 multipart is supported. Just type @samp{C-cC-c} to send it.
3596 @end ifset
3597
3598 @ifset jp
3599 MIME \e$B$NJ8K!$,J,$+$C$F$$$J$$?M$O!"\e(B@samp{C-cC-m} \e$B$N8e$KAp9F$rJQ99$7$J$$$h\e(B
3600 \e$B$&$K$7$^$7$g$&!#$b$7!"$I$&$7$F$bAp9F$r=$@5$9$k$H$-$O!"!V:G=i$N6-3&$NA0$H\e(B
3601 \e$B:G8e$N6-3&$N8e$OL5;k$5$l$k!W$3$H$KCm0U$7$F2<$5$$!#\e(B
3602 @end ifset
3603 @ifset us
3604 If you don't know MIME syntax, please don't modify after @samp{C-cC-m}.
3605 If you really want to modify it, please note that the region before the
3606 first boundary and the region after the last boundary are ignored.
3607 @end ifset
3608
3609 @ifset jp
3610 \e$B%^%k%A%Q!<%H$NJQ498e!"$d$C$Q$j85$KLa$7$?$$$H;W$C$?$i!"\e(B@samp{C-cC-u} \e$B$r;H$C\e(B
3611 \e$B$F2<$5$$!#\e(B(@samp{C-xu} \e$B$d\e(B @samp{C-_} \e$B$G$O$J$$$3$H$KCm0U!#\e(B)
3612 @end ifset
3613 @ifset us
3614 After transforming multipart, if you want it back, use @samp{C-cC-u}.
3615 (Please note that it's not @samp{C-xu} nor @samp{C-_}.
3616 @end ifset
3617
3618 @ifset jp
3619 \e$B%Q!<%H$N<BBN$,30It$K$"$k\e(B external-body \e$B$r:n@.$9$k%3%^%s%I\e(B@samp{e} \e$B$K$D$$\e(B
3620 \e$B$F@bL@$7$^$7$g$&!#\e(Baccess-type \e$B$K\e(B ftp \e$B$+\e(B anon-ftp \e$B$rF~NO$9$k$H$-$O!"\e(B
3621 ange-ftp \e$B$N$*$+$2$G%j%b!<%H$N%U%!%$%kL>$,Jd40$G$-$^$9!#\e(Baccess-type \e$B$,\e(B
3622 local-file \e$B$N>l9g$O!"$b$A$m$s%U%!%$%kL>$rJd40$G$-$^$9!#\e(B
3623 @end ifset
3624 @ifset us
3625 Let's consider Message/External-body by @samp{e}. If access-type is
3626 "ftp" or "anon-ftp", you can enjoy completion for a remote file name
3627 thanks to ange-ftp. If access-type is "local-file", of course, file
3628 completion is available.
3629 @end ifset
3630
3631 @ifset jp
3632 \e$B$b$7!"%^%k%A%Q!<%H$N:n@.ESCf$G$d$C$Q$j%7%s%0%k%Q!<%H$KLa$7$?$/$J$C$?$i!"\e(B
3633 \e$B0lHV>e$N%^%k%A%Q!<%HItJ,$G\e(B @samp{d} \e$B$r2!$7$F2<$5$$!#\e(B
3634 @end ifset
3635 @ifset us
3636 If you want to quit creating multipart and to get back to singlepart,
3637 type @samp{d} in the top level multipart.
3638 @end ifset
3639
3640 @c %%%%%%%%%%%%%%%%%
3641 @node charset-guess, reply, mime-comp, Composing
3642 @ifset jp
3643 @section \e$BJ8;z%3!<%I$N?dB,\e(B
3644 @end ifset
3645 @ifset us
3646 @section Charset guess
3647 @end ifset
3648
3649 @ifset jp
3650 Mew \e$B$O%7%s%0%k%Q!<%H$H%^%k%A%Q!<%H$NN>J}$KBP$7!"\e(Bcharset \e$B$r?dB,$9$k5!G=$r\e(B
3651 \e$B;}$C$F$$$^$9!#\e(B
3652 @end ifset
3653 @ifset us
3654 Mew has charset guess mechanisms for both singlepart and multipart.
3655 @end ifset
3656
3657 @ifset jp
3658 <\e$B%7%s%0%k%Q!<%H\e(B>
3659 @end ifset
3660 @ifset us
3661 <Singlepart> 
3662 @end ifset
3663
3664 @ifset jp
3665 Draft \e$B%b!<%I$G\e(B @samp{C-cC-m} \e$B$HF~NO$9$k$H!"\e(BMew \e$B$OK\J8$N\e(B charset \e$B$r?dB,$7\e(B
3666 \e$B$^$9!#\e(BBilingual Emacs \e$B$G$O!"\e(B7\e$B%S%C%H$NJ8;z%3!<%I$KBP$7\e(B US-ASCII \e$B$rA*$S!"\e(B8
3667 \e$B%S%C%H$NJ8;z%3!<%I$KBP$7\e(B ISO-8859-1 \e$B$rA*Br$7$^$9!#\e(BMule \e$B$G$O!"\e(BMule \e$B$GDj$a\e(B
3668 \e$B$i$l$?J8;z%3!<%I$NFbItI=8=$+$i\e(B charset \e$B$r?dB,$7$^$9!#\e(B
3669 @end ifset
3670 @ifset us
3671 When you type @samp{C-cC-m} on Draft mode, Mew guesses a charset from
3672 its body. On Bilingual Emacs, US-ASCII is chosen for 7bit charset while
3673 ISO-8859-1 is selected for 8bit charset. On Mule, a charset is chosen
3674 based on its internal representation.
3675 @end ifset
3676
3677 @ifset jp
3678 <\e$B%^%k%A%Q!<%H\e(B>
3679 @end ifset
3680 @ifset us
3681 <Multipart> 
3682 @end ifset
3683
3684 @ifset jp
3685 \e$B%F%-%9%H%U%!%$%k$rE:IUNN0h$KE:IU$7$?:]$K$O!"0J2<$N$h$&$K\e(B "(guess)" \e$B$HI=\e(B
3686 \e$B<($5$l$^$9!#\e(B
3687 @end ifset
3688 @ifset us
3689 When you attach textfile on attachments region, the string "(guess)" is
3690 displayed as follows:
3691 @end ifset
3692
3693 @example
3694 ----------------------------- attachments -----------------------------
3695       Multipart/Mixed                                         1/
3696      1  Text/Plain(guess)                                       CoverPage*
3697      2  Text/Plain(guess)                                       textfile
3698      3                                                          .
3699 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
3700 @end example
3701
3702 @ifset jp
3703 \e$B%7%s%0%k%Q!<%H$H%^%k%A%Q!<%H$G\e(B charset \e$B$r?dB,$9$k$3$H$N0c$$$O!"%G!<%?$,\e(B
3704 \e$B$I$3$KB8:_$9$k$+$G$9!#%7%s%0%k%Q!<%H$O%P%C%U%!$K3JG<$5$l$F$$$^$9$,!"%^%k\e(B
3705 \e$B%A%Q!<%H$N$=$l$>$l$N%U%!%$%k$O%G%#%9%/>e$KB8:_$7$^$9!#\e(Bcharset \e$B$r?dB,$9$k\e(B
3706 \e$B$?$a$K$O!"\e(BMew \e$B$O$3$l$i$N%U%!%$%k$r%P%C%U%!$KFI$_9~$_!"$=$7$F%7%s%0%k%Q!<\e(B
3707 \e$B%H$HF1$8MWNN$GJ8;z%3!<%I$r?dB,$7$^$9!#\e(B
3708 @end ifset
3709 @ifset us
3710 The difference of charset guess for singlepart and multipart is where
3711 the data locates. Singlepart is stored in buffer while each file of
3712 multipart is stored in disk. To guess a charset, Mew thus reads a file
3713 into buffer and uses the charset guess algorithm of singlepart.
3714 @end ifset
3715
3716 @ifset jp
3717 Bilingual Emacs \e$B$G$O!"\e(BMew \e$B$O%U%!%$%k$r$=$N$^$^$N7A<0$GFI$_9~$_$^$9!#$G$9\e(B
3718 \e$B$+$i!"\e(B7\e$B%S%C%H$N%U%!%$%k$K$O\e(B US-ASCII \e$B$,!"\e(B8\e$B%S%C%H$N%U%!%$%k$K$O\e(B 
3719 ISO-8859-1 \e$B$,A*$P$l$^$9!#\e(B
3720 @end ifset
3721 @ifset us
3722 On Bilingual Emacs, Mew reads a file as it is. So, if the file is 7bit,
3723 US-ASCII is chosen. Otherwise ISO-8859-1 is selected.
3724 @end ifset
3725
3726 @ifset jp
3727 Mule \e$B$G$O!"\e(BMew \e$B$O%U%!%$%k$r$=$N%5%$%H$N4D6-\e(B(\e$B$D$^$j!"\e(Bauto conversion)\e$B$K=>$C\e(B
3728 \e$B$F%U%!%$%k$rFI$_9~$_$^$9!#$3$N4D6-$O%5%$%H$4$H$K$h$C$F0[$J$j$^$9!#F|K\8l\e(B
3729 \e$B$N4D6-$G$O!"\e(BMule \e$B$O\e(B 2022-JP\e$B!"\e(BEUC-Japan\e$B!"$=$7$F!"\e(BShift_JIS \e$B$r8+;v$K?dB,$7!"\e(B
3730 \e$BF|K\8lMQ$NFbItI=5-$KJQ49$7$F%P%C%U%!$K3JG<$7$^$9!#\e(BMew \e$B$O!"$3$NFbItI=5-$+\e(B
3731 \e$B$i\e(B charset \e$B$r?dB,$7$^$9!#$h$C$F!"\e(BISO-2022-JP\e$B!"\e(BEUC-Japan\e$B!"$=$7$F!"\e(B
3732 Shift_JIS \e$B$N%U%!%$%k$r0BA4$KE:IU$G$-$^$9!#\e(BMule \e$B$G$3$N4D6-$r7hDj$9$k4X?t\e(B
3733 \e$B$O!"\e(Bset[up]-<language>-environment \e$B$H$$$&L>A0$G$9$+$i!">\$7$$$3$H$,CN$j\e(B
3734 \e$B$?$$$J$i$3$l$i$N4X?t$N@bL@$rFI$s$G2<$5$$!#\e(B
3735 @end ifset
3736 @ifset us
3737 On Mule, Mew reads a file according to the local convention(i.e. auto
3738 conversion). The convention is really site dependent. In Japan,
3739 ISO-2022-JP, EUC-Japan, and Shift_JIS is neatly guessed and stored in
3740 buffer as internal representation for Japanese. Mew decides a charset
3741 from the internal representation. That is, you can safely attach
3742 ISO-2022-JP, EUC-Japan, and Shift_JIS text files. Functions to decide
3743 local convention are called set[up]-<language>-environment. For more
3744 information about local convention, read their descriptions.
3745 @end ifset
3746
3747 @ifset jp
3748 \e$B$b$7!"%U%!%$%k$N\e(B charset \e$B$rL@<(E*$K;XDj$7$?$$$J$i!"\e(B@samp{C} \e$B$r;H$C$F2<$5\e(B
3749 \e$B$$!#E57?E*$J;HMQNc$O!"F|K\$G\e(B ISO-8859-1 \e$B$N%U%!%$%k$rE:IU$9$k$3$H$G$9!#$3\e(B
3750 \e$B$NNc$N>l9g!"E:IUNN0h$O0J2<$N$h$&$K$J$j$^$9!#\e(B
3751 @end ifset
3752 @ifset us
3753 If you want to explicitly specify charset for a file, use @samp{C} on
3754 attachments. A typical example is to attach ISO-8859-1 file in Japanese
3755 environment. The attachments region becomes as follows:
3756 @end ifset
3757
3758 @example
3759 ----------------------------- attachments -----------------------------
3760       Multipart/Mixed                                         1/     
3761      1  Text/Plain(guess)                                       CoverPage*
3762      2  Text/Plain(iso-8859-1)                                  textfile
3763      3                                                          .    
3764 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
3765 @end example
3766
3767 @ifset jp
3768 Bilingual Emacs \e$B$G$O\e(B @samp{C} \e$B$OMxMQ$G$-$^$;$s!#\e(B
3769 @end ifset
3770 @ifset us
3771 Note that @samp{C} is not available on Bilingual Emacs.
3772 @end ifset
3773
3774 @c %%%%%%%%%%%%%%%%%
3775 @node reply, forward, charset-guess, Composing
3776 @ifset jp
3777 @section \e$B%a%C%;!<%8$X$NJVEz$H08@h$N7hDj\e(B
3778 @end ifset
3779 @ifset us
3780 @section Replying to a message and deciding recipients
3781 @end ifset
3782 @vindex mew-mail-address-list
3783 @vindex mew-noreplyto-to-list
3784 @vindex mew-noreplyto-cc-list
3785 @vindex mew-replyto-to-list
3786 @vindex mew-replyto-cc-list
3787 @vindex mew-fromme-to-list
3788 @vindex mew-fromme-cc-list
3789
3790 @ifset jp
3791 \e$B?75,$K%a%C%;!<%8$r=q$/>l9g$O!"\e(BTo: \e$B$d\e(B Cc: \e$B$r<+J,$G=q$/$3$H$K$J$j$^$9!#0l\e(B
3792 \e$BJ}\e(B Summary \e$B%b!<%I$G\e(B @samp{a} \e$B$d\e(B @samp{A} \e$B$r;H$C$F!"$"$k%a%C%;!<%8$KJVEz\e(B
3793 \e$B$7$h$&$H$9$k$H!"\e(BTo: \e$B$d\e(B Cc: \e$B$O<+F0E*$KMQ0U$5$l$^$9!#\e(B
3794 @end ifset
3795 @ifset us
3796 While you specify addresses of the To: and Cc: field for a new message
3797 by yourself, addresses are automatically prepared for a reply message.
3798 @end ifset
3799
3800 @ifset jp
3801 \e$BJVEz$N:]!"\e(BMew \e$B$O0J2<$N$h$&$J<j=g$K=>$C$F\e(B To: \e$B$d\e(B Cc: \e$B$rMQ0U$7$^$9!#\e(B
3802 @end ifset
3803 @ifset us
3804 For a reply message, Mew prepares addresses for the To: and Cc: fields
3805 according to the following rules:
3806 @end ifset
3807
3808 @ifset jp
3809 @table @asis
3810 @item \e$BJVEz$9$k%a%C%;!<%8$N\e(B From: \e$B$,<+J,0J30$N>l9g\e(B:
3811 @table @asis
3812 @item \e$BJVEz$9$k%a%C%;!<%8$K\e(B Reply-To: \e$B$,$J$$>l9g\e(B:
3813 @table @asis
3814 @item \e$BJVEz$9$k%a%C%;!<%8$N\e(B From: \e$B$r\e(B To: \e$B$X\e(B (1)
3815 @item \e$BJVEz$9$k%a%C%;!<%8$N\e(B To: \e$B$H\e(B Cc: \e$B$r\e(B Cc: \e$B$X\e(B (2)
3816 @end table
3817 @item \e$BJVEz$9$k%a%C%;!<%8$K\e(B Reply-To: \e$B$,$"$k>l9g\e(B:
3818 @table @asis
3819 @item \e$BJVEz$9$k%a%C%;!<%8$N\e(B From: \e$B$H\e(B Reply-To: \e$B$r\e(B To: \e$B$X\e(B (3)
3820 @item \e$BJVEz$9$k%a%C%;!<%8$N\e(B To: \e$B$H\e(B Cc: \e$B$r\e(B Cc: \e$B$X\e(B (4)
3821 @end table
3822 @end table
3823 @item \e$BJVEz$9$k%a%C%;!<%8$N\e(B From: \e$B$,<+J,$G$"$k>l9g\e(B:
3824 @table @asis
3825 @item \e$BJVEz$9$k%a%C%;!<%8$N\e(B To: \e$B$r\e(B To: \e$B$X\e(B (5)
3826 @item \e$BJVEz$9$k%a%C%;!<%8$N\e(B Cc: \e$B$r\e(B Cc: \e$B$X\e(B (6)
3827 @end table
3828 @end table
3829 @end ifset
3830 @ifset us
3831 @table @asis
3832 @item If From: of the message to be replied is not from me:
3833 @table @asis
3834 @item Reply-To: doesn't exist in the message to be replied
3835 @table @asis
3836 @item Copy From: of the message to be replied to To: (1)
3837 @item Copy To: and Cc: of the message to be replied to Cc: (2)
3838 @end table
3839 @item Reply-To: exists in the message to be replied
3840 @table @asis
3841 @item Copy From: and Reply-To: of the message to be replied to To: (3)
3842 @item Copy To: and Cc: of the message to be replied to Cc: (4)
3843 @end table
3844 @end table
3845 @item If From: of a message to be replied is from me:
3846 @table @asis
3847 @item Copy To: of the message to be replied to To: (5)
3848 @item Copy Cc: of the message to be replied to Cc: (6)
3849 @end table
3850 @end table
3851 @end ifset
3852
3853 @ifset jp
3854 \e$B$?$@$7!"$"$k%"%I%l%9$,J#?t$"$k>l9g$O!"<+F0E*$K\e(B 1 \e$B$D$K$J$j$^$9!#$^$?!"F?\e(B
3855 \e$BL>$N08@h$rI=$9\e(B ":;" \e$B$G=*$k%"%I%l%9$b!"<+F0E*$K>C5n$5$l$^$9!#\e(B
3856 @end ifset
3857 @ifset us
3858 If there are multiple entries for a certain address, they are
3859 uniquefied. Addresses ended with ":;", which stands for anonymous
3860 recipients, are automatically removed.
3861 @end ifset
3862
3863 @ifset jp
3864 \e$B<+J,$N%"%I%l%9$O<+F0E*$K>C5n$5$l$^$9!#<+J,$N%"%I%l%9$rDj5A$9$k$K$O\e(B
3865 @samp{mew-mail-address-list} \e$B$r;H$$$^$9!#0J2<$KNc$r<($7$^$9!#\e(B
3866 @end ifset
3867 @ifset us
3868 Your addresses are automatically removed. To define your multiple
3869 addresses, please use @samp{mew-mail-address-list}. An example is as
3870 follows:
3871 @end ifset
3872
3873 @example
3874 (setq mew-mail-address-list
3875        '("pooh@@[a-z]*.aist-nara.ac.jp"
3876          "pooh@@mew.org"
3877          "winnie@@iijlab.net"))
3878 @end example
3879
3880 @ifset jp
3881 (1) \e$B!A\e(B (6) \e$B$G$I$N%U%#!<%k%I$r%3%T!<$9$k$+$O!"0J2<$NJQ?t$G;XDj$G$-$^$9!#\e(B
3882 @end ifset
3883 @ifset us
3884 You can customize which fields are copied in the case (1)-(6) with the
3885 following variables:
3886 @end ifset
3887
3888 @itemize @asis
3889 @item (1) @samp{mew-noreplyto-to-list}
3890 @item (2) @samp{mew-noreplyto-cc-list}
3891 @item (3) @samp{mew-replyto-to-list}
3892 @item (4) @samp{mew-replyto-cc-list}
3893 @item (5) @samp{mew-fromme-to-list}
3894 @item (6) @samp{mew-fromme-cc-list}
3895 @end itemize
3896
3897 @ifset jp
3898 Reply-To: \e$B$,$"$k>l9g$K!"\e(BReply-To: \e$B$@$1$KJVEz$7$?$$$H;W$&$J$i!"0J2<$N$h$&\e(B
3899 \e$B$K@_Dj$9$l$P$h$$$G$7$g$&!#\e(B
3900 @end ifset
3901 @ifset us
3902 If you want to reply only to the address specified by Reply-To:,
3903 configure as follows:
3904 @end ifset
3905
3906 @example
3907 (setq mew-replyto-to-list '("Reply-To:"))
3908 (setq mew-replyto-cc-list nil)
3909 @end example
3910
3911 @ifset jp
3912 @samp{a} \e$B$d\e(B @samp{A} \e$B$r\e(B @samp{C-u} \e$BIU$G8F$S=P$9$H!"JVEz$9$k%a%C%;!<%8$N\e(B 
3913 From: \e$B$,\e(B To: \e$B$KF~$j!"\e(BCc: \e$B$O6u$K$J$j$^$9!#Aw?.<T$N$_$KJVEz$9$k>l9g$KMxMQ\e(B
3914 \e$B$7$^$9!#\e(B
3915 @end ifset
3916 @ifset us
3917 If @samp{a} or @samp{A} is executed with @samp{C-u}, From: of the
3918 message to be replied is copied to To:, and Cc: becomes empty. You can
3919 use this to reply the sender only.
3920 @end ifset
3921
3922 @c %%%%%%%%%%%%%%%%%
3923 @node forward, pgp-shortcut, reply, Composing
3924 @ifset jp
3925 @section \e$B%a%C%;!<%8$NE>Aw\e(B
3926 @end ifset
3927 @ifset us
3928 @section Forwarding messages
3929 @end ifset
3930 @vindex mew-field-delete-for-forwarding
3931
3932 @ifset jp
3933 \e$B%a%C%;!<%8$rE>Aw$9$k$K$O!"\e(BSummary \e$B%b!<%I$G\e(B @samp{f} \e$B$d\e(B @samp{F} \e$B$rMxMQ$7\e(B
3934 \e$B$^$9!#$9$k$H!"\e(BDraft \e$B%b!<%I$K0\9T$7!"$"$i$+$8$a%a%C%;!<%8$,E:IUNN0h$KE:IU\e(B
3935 \e$B$5$l$?Ap9F$,=`Hw$5$l$^$9!#\e(B
3936 @end ifset
3937 @ifset us
3938 To forward messages, type @samp{f} or @samp{F} in Summary mode. Then,
3939 Draft mode appears and the messages are already attached to the
3940 attachments region.
3941 @end ifset
3942
3943 @ifset jp
3944 \e$B$^$?\e(B Draft \e$B%b!<%I$GE:IUNN0h$rMQ0U$7!"%a%C%;!<%8$r%3%T!<\e(B(@samp{c})\e$B$7$?$j\e(B
3945 \e$B%a%C%;!<%8$K%j%s%/\e(B(@samp{l})\e$B$rD%$C$?$j$7$F$b!"%a%C%;!<%8$rE>Aw$G$-$^$9!#\e(B
3946 \e$B%U%!%$%kL>$,?t;z\e(B([0-9]+)\e$B$N>l9g$O!"<+F0E*$K%a%C%;!<%8$@$HH=CG$5$l$^$9!#$^\e(B
3947 \e$B$?!"E:IUNN0h$G\e(B @samp{y} \e$B$r;H$&$H!"\e(BMessage \e$B%b!<%I$KI=<($7$F$$$k%a%C%;!<%8\e(B
3948 \e$B$K%j%s%/$rD%$k$N$GJXMx$G$9!#\e(B
3949 @end ifset
3950 @ifset us
3951 Also, you can prepare the attachments region by yourself, then
3952 copy(@samp{c}) the messages or make links(@samp{l}) to the messages.  If
3953 the file name of the messages is numeric([0-9]+), they are automatically
3954 considered as messages. @samp{y} is very convenient because it make a
3955 link to the message displayed in Message mode.
3956 @end ifset
3957
3958 @ifset jp
3959 \e$BDL>o$OE:IU$7$?%a%C%;!<%8$NA4BN$,E>Aw$5$l$^$9!#$b$7!"%X%C%@$N0lIt$r:o$j$?\e(B
3960 \e$B$$>l9g$O!"\e(B@samp{mew-field-delete-for-forwarding} \e$B$rDj5A$7$F2<$5$$!#0J2<\e(B
3961 \e$B$K\e(B "Received:" \e$B$H\e(B "Return-Path:" \e$B$rE>Aw;~$K:o$k$?$a$N@_DjNc$r<($7$^$9!#\e(B
3962 @end ifset
3963 @ifset us
3964 By default, the entire message is forwarded. If you want to remove some
3965 parts of its header, define @samp{mew-field-delete-for-forwarding}. The
3966 following is an example to remove "Received:" and "Return-Path:" when
3967 forwarded.
3968 @end ifset
3969
3970 @example
3971 (setq mew-field-delete-for-forwarding '("Received:" "Return-Path:"))
3972 @end example
3973
3974 @c %%%%%%%%%%%%%%%%%
3975 @node pgp-shortcut, mark-b-comp, forward, Composing
3976 @ifset jp
3977 @section PGP \e$B$rMxMQ$9$k\e(B
3978 @end ifset
3979 @ifset us
3980 @section Using PGP
3981 @end ifset
3982
3983 @ifset jp
3984 \e$B$3$3$G$O!"%F%-%9%H$G$"$kK\J8$r\e(B PGP \e$B$G=pL>$7$?$j0E9f2=$7$?$j$9$kJ}K!$K$D\e(B
3985 \e$B$$$F@bL@$7$^$9!#=P$F$/$k%3%^%s%I$O0J2<$NDL$j$G$9!#\e(B
3986 @end ifset
3987 @ifset us
3988 This section describes to sign or encrypt "text only" message with PGP.
3989 The following commands are explained.
3990 @end ifset
3991
3992 @table @samp
3993 @ifset jp
3994 @item C-cC-s
3995 \e$BAp9FA4BN$r\e(B PGP \e$B$G=pL>$9$k!#%Q%9%U%l!<%:$rF~NO$9$k$3$H!#\e(B
3996 @item C-cC-e
3997 \e$BAp9FA4BN$r\e(B PGP \e$B$G0E9f2=$9$k!#\e(B
3998 @item C-cC-b
3999 \e$BAp9FA4BN$r\e(B PGP \e$B$G=pL>8e0E9f2=$9$k!#%Q%9%U%l!<%:$rF~NO$9$k$3$H!#\e(B
4000 @item C-cC-r
4001 \e$BAp9FA4BN$r\e(B PGP \e$B$G0E9f2=8e=pL>$9$k!#%Q%9%U%l!<%:$rF~NO$9$k$3$H!#\e(B
4002 @end ifset
4003 @ifset us
4004 @item C-cC-s
4005 Sign the entire draft with PGP. Input your passphrase.
4006 @item C-cC-e
4007 Encrypt the entire draft with PGP.
4008 @item C-cC-b
4009 Sign then encrypt the entire draft with PGP. Input your passphrase.
4010 @item C-cC-r
4011 Encrypt then sign the entire draft with PGP. Input your passphrase.
4012 @end ifset
4013 @end table
4014
4015 @ifset jp
4016 \e$B%a%C%;!<%8$r0E9f2=$9$k$K$O<u?.<T$N8x3+80$r;HMQ$7$^$9!#5U$K=pL>$9$k$K$O<+\e(B
4017 \e$BJ,$NHkL)80$r;H$$$^$9!#$h$C$F!"=pL>$9$k$?$a$K$O%Q%9%U%l!<%:$rF~NO$9$kI,MW\e(B
4018 \e$B$,$"$j$^$9!#$?$@$7!"%Q%9%U%l!<%:$NJ]B85!G=$r;H$C$F$*$j!"%Q%9%U%l!<%:$,J]\e(B
4019 \e$BB8$5$l$F$$$k>l9g$O!"%Q%9%U%l!<%:$rF~NO$9$kI,MW$O$"$j$^$;$s\e(B
4020 (@xref{pgp-viewing})\e$B!#\e(B
4021 @end ifset
4022 @ifset us
4023 To encrypt a message, receivers' public keys are used. In the contrary,
4024 your secret key is used to sign a message. So, you need to input your
4025 pass-phrase when sign up. Note that if you use the pass-phrase cache
4026 and if pass-phrases are cached, you do not have to type your
4027 pass-phrase(@xref{pgp-viewing}).
4028 @end ifset
4029
4030 @ifset jp
4031 \e$B$3$l$i$O!"<!@a$G@bL@$9$k%^!<%/$r;H$C$?\e(B PGP/MIME \e$B$N:n@.J}K!$N>JN,J}K!$KEv\e(B
4032 \e$B$?$j$^$9!#\e(B
4033 @end ifset
4034 @ifset us
4035 They are shortcut methods of mark based composing described in the next
4036 subsection.
4037 @end ifset
4038
4039 @ifset jp
4040 Mew \e$B$G\e(B PGP \e$B$r;H$&$?$a$K$O!"\e(BPGP \e$B$N\e(B userid \e$B$H$7$F%"%I%l%9$rA*$VI,MW$,$"$j\e(B
4041 \e$B$^$9\e(B(\e$BNc\e(B "Kazuhiko Yamamoto <kazu@@mew.org>")\e$B!#\e(B
4042 @end ifset
4043 @ifset us
4044 If you use PGP with Mew, you have to select Email address for your PGP
4045 userid(e.g. "Kazuhiko Yamamoto <kazu@@mew.org>").
4046 @end ifset
4047
4048 @ifset jp
4049 \e$B0J9_$N@bL@$G$O!"<!$NNc$r<h$j>e$2$^$9!#\e(B
4050 @end ifset
4051 @ifset us
4052 Let's use the following example for further explanations. 
4053 @end ifset
4054
4055 @example
4056 @ifset jp
4057 To: pooh
4058 Subject: PGP/MIME \e$B$r;H$*$&$h\e(B
4059 X-Mailer:@value{X-Mailer}
4060 ----
4061 Mew \e$B$,%;%-%e%j%F%#!&%^%k%A%Q!<%H$r%5%]!<%H$7$^$7$?!#\e(B
4062
4063 --\e$B$+$:\e(B
4064 @end ifset
4065 @ifset us
4066 To: pooh
4067 Subject: Let's PGP/MIME
4068 X-Mailer:@value{X-Mailer}
4069 ----
4070 Mew starts walking with security multipart. Enjoy PGP/MIME!
4071
4072 --Kazu
4073 @end ifset
4074 @end example
4075
4076 @ifset jp
4077 \e$B=pL>$9$k$K$O!"\e(B@samp{C-cC-s} \e$B$HF~NO$7$^$9!#$9$k$H!"<!$N%a%C%;!<%8$,F@$i$l\e(B
4078 \e$B$^$9!#\e(B
4079 @end ifset
4080 @ifset us
4081 To sign with PGP, type @samp{C-cC-s} resulting in the following.
4082 @end ifset
4083
4084 @example
4085 @ifset jp
4086 To: winnie-the-pooh@@100acre.woodwest.uk
4087 Subject: PGP/MIME =?iso-2022-jp?B?GyRCJHI7SCQqJCYkaBsoQg==?=
4088 X-Mailer:@value{X-Mailer}
4089 Mime-Version: 1.0
4090 Content-Type: Multipart/Signed;
4091         protocol="application/pgp-signature";
4092         micalg="pgp-md5";
4093         boundary="--Security_Multipart(Sat_Nov_16_03:55:00_1996)--"
4094 Content-Transfer-Encoding: 7bit
4095
4096 ----Security_Multipart(Sat_Nov_16_03:55:00_1996)--
4097 Content-Type: Text/Plain; charset=iso-2022-jp
4098 Content-Transfer-Encoding: 7bit
4099
4100 Mew \e$B$,%;%-%e%j%F%#!&%^%k%A%Q!<%H$r%5%]!<%H$7$^$7$?!#\e(B
4101
4102 --\e$B$+$:\e(B
4103
4104 ----Security_Multipart(Sat_Nov_16_03:55:00_1996)--
4105 Content-Type: Application/Pgp-Signature
4106 Content-Transfer-Encoding: 7bit
4107
4108 -----BEGIN PGP MESSAGE-----
4109 Version: 2.6.3i
4110
4111 iQCVAwUAMoy8ig9kihyeT3RNAQHt7AQAySDg4n8pOp/YuLaAp68Un/YDtWS0FnOC
4112 7EqHJd6fyViPBnZq8d+uGikA7kOBTz+8Kcv+hN6I7BrQVJGEzd0Y9yHHhXvZj++1
4113 0D09vgWL5G/Zfk/JMnLBt/BZ1ppOhJPT/L5qi2abk+mBVMKxQe071lfFEfvjF1C2
4114 8trTXm/bBz4=
4115 =TvAG
4116 -----END PGP MESSAGE-----
4117
4118 ----Security_Multipart(Sat_Nov_16_03:55:00_1996)----
4119 @end ifset
4120 @ifset us
4121 To: winnie-the-pooh@@100acre.woodwest.uk
4122 Subject: Let's PGP/MIME
4123 X-Mailer:@value{X-Mailer}
4124 Mime-Version: 1.0
4125 Content-Type: Multipart/Signed;
4126         protocol="application/pgp-signature";
4127         micalg="pgp-md5";
4128         boundary="--Security_Multipart(Sat_Nov_16_03:55:00_1996)--"
4129 Content-Transfer-Encoding: 7bit
4130
4131 ----Security_Multipart(Sat_Nov_16_03:55:00_1996)--
4132 Content-Type: Text/Plain; charset=us-ascii
4133 Content-Transfer-Encoding: 7bit
4134
4135 Mew starts walking with security multipart. Enjoy PGP/MIME!
4136
4137 --Kazu
4138
4139 ----Security_Multipart(Sat_Nov_16_03:55:00_1996)--
4140 Content-Type: Application/Pgp-Signature
4141 Content-Transfer-Encoding: 7bit
4142
4143 -----BEGIN PGP MESSAGE-----
4144 Version: 2.6.3i
4145
4146 iQCVAwUAMoy8ig9kihyeT3RNAQHt7AQAySDg4n8pOp/YuLaAp68Un/YDtWS0FnOC
4147 7EqHJd6fyViPBnZq8d+uGikA7kOBTz+8Kcv+hN6I7BrQVJGEzd0Y9yHHhXvZj++1
4148 0D09vgWL5G/Zfk/JMnLBt/BZ1ppOhJPT/L5qi2abk+mBVMKxQe071lfFEfvjF1C2
4149 8trTXm/bBz4=
4150 =TvAG
4151 -----END PGP MESSAGE-----
4152
4153 ----Security_Multipart(Sat_Nov_16_03:55:00_1996)----
4154 @end ifset
4155 @end example
4156
4157 @ifset jp
4158 @samp{C-cC-c} \e$B$GAw?.$7$F2<$5$$!#\e(B
4159 @end ifset
4160 @ifset us
4161 Type @samp{C-cC-c} to send it.
4162 @end ifset
4163
4164 @ifset jp
4165 \e$B0E9f2=$9$k$K$O!"\e(B@samp{C-cC-e} \e$B$HF~NO$7$F2<$5$$!#<!$N$h$&$K$J$j$^$9!#\e(B
4166 @end ifset
4167 @ifset us
4168 To encrypt with PGP, type @samp{C-cC-e}. You get the following message.
4169 @end ifset
4170
4171 @example
4172 @ifset jp
4173 To: winnie-the-pooh@@100acre.woodwest.uk
4174 Subject: PGP/MIME =?iso-2022-jp?B?GyRCJHI7SCQqJCYkaBsoQg==?=
4175 X-Mailer:@value{X-Mailer}
4176 Mime-Version: 1.0
4177 Content-Type: Multipart/Encrypted;
4178         protocol="application/pgp-encrypted";
4179         boundary="--Security_Multipart(Sat_Nov_16_03:57:47_1996)--"
4180 Content-Transfer-Encoding: 7bit
4181
4182 ----Security_Multipart(Sat_Nov_16_03:57:47_1996)--
4183 Content-Type: Application/Pgp-Encrypted
4184 Content-Transfer-Encoding: 7bit
4185
4186 Version: 1
4187
4188 ----Security_Multipart(Sat_Nov_16_03:57:47_1996)--
4189 Content-Type: Application/Octet-Stream
4190 Content-Transfer-Encoding: 7bit
4191
4192 -----BEGIN PGP MESSAGE-----
4193 Version: 2.6.3i
4194
4195 hIwDD2SKHJ5PdE0BA/9gUkcQYVfT+3LrUmcgLkNepuOnDfjADHrWiNo10t4ijyf8
4196 ODBpUBXoBdTg08eNLAWmRFhiJPmI+mxpF6cYFZXhr7gVpa0Qzp3Gr9nYvngRPKNK
4197 qUiQjA/ORR3c1TBawufB19jJ9RdU2f0BidhzOSbzsJh1LTgUZu/7Qyd02LxyEqYA
4198 AACbrV867PeoFyFc9MVfqTUR6Zw6kGBAlnVYjqQgBhuuyG79vbAbDJMhFiRpoRPf
4199 0MqEewxRonwKOik/PoKnLrwFg77Cb5pxRqMiWPyECJnqtX7r7Wg1c8kqPD0VRjI9
4200 GhHPiG/RmNbpbj/5g6zZri1YBCe8qxIS0QKa3YO7HRDcdBFARr22RaFGFtgdBQ6X
4201 cZB+qNeEaKXt3AneTWc=
4202 =djCr
4203 -----END PGP MESSAGE-----
4204
4205 ----Security_Multipart(Sat_Nov_16_03:57:47_1996)----
4206 @end ifset
4207 @ifset us
4208 To: winnie-the-pooh@@100acre.woodwest.uk
4209 Subject: Let's PGP/MIME
4210 X-Mailer:@value{X-Mailer}
4211 Mime-Version: 1.0
4212 Content-Type: Multipart/Encrypted;
4213         protocol="application/pgp-encrypted";
4214         boundary="--Security_Multipart(Sat_Nov_16_03:57:47_1996)--"
4215 Content-Transfer-Encoding: 7bit
4216
4217 ----Security_Multipart(Sat_Nov_16_03:57:47_1996)--
4218 Content-Type: Application/Pgp-Encrypted
4219 Content-Transfer-Encoding: 7bit
4220
4221 Version: 1
4222
4223 ----Security_Multipart(Sat_Nov_16_03:57:47_1996)--
4224 Content-Type: Application/Octet-Stream
4225 Content-Transfer-Encoding: 7bit
4226
4227 -----BEGIN PGP MESSAGE-----
4228 Version: 2.6.3i
4229
4230 hIwDD2SKHJ5PdE0BA/9gUkcQYVfT+3LrUmcgLkNepuOnDfjADHrWiNo10t4ijyf8
4231 ODBpUBXoBdTg08eNLAWmRFhiJPmI+mxpF6cYFZXhr7gVpa0Qzp3Gr9nYvngRPKNK
4232 qUiQjA/ORR3c1TBawufB19jJ9RdU2f0BidhzOSbzsJh1LTgUZu/7Qyd02LxyEqYA
4233 AACbrV867PeoFyFc9MVfqTUR6Zw6kGBAlnVYjqQgBhuuyG79vbAbDJMhFiRpoRPf
4234 0MqEewxRonwKOik/PoKnLrwFg77Cb5pxRqMiWPyECJnqtX7r7Wg1c8kqPD0VRjI9
4235 GhHPiG/RmNbpbj/5g6zZri1YBCe8qxIS0QKa3YO7HRDcdBFARr22RaFGFtgdBQ6X
4236 cZB+qNeEaKXt3AneTWc=
4237 =djCr
4238 -----END PGP MESSAGE-----
4239
4240 ----Security_Multipart(Sat_Nov_16_03:57:47_1996)----
4241 @end ifset
4242 @end example
4243
4244 @ifset jp
4245 @samp{C-cC-c} \e$B$GAw?.$7$F2<$5$$!#$3$N%a%C%;!<%8$O!"<u?.<T$N8x3+80$K2C$($F!"\e(B
4246 \e$B<+J,$N8x3+80$G$b0E9f2=$5$l$F$$$^$9!#$G$9$+$i!"J]B8$7$?%a%C%;!<%8$rI|9f2=\e(B
4247 \e$B$G$-$^$9\e(B(\e$BNc\e(B @samp{g} \e$B$G\e(B +Backup \e$B$K0\F0$7$?$H$-\e(B)\e$B!#\e(B
4248 @end ifset
4249 @ifset us
4250 Type @samp{C-cC-c} to send it. This message is encrypted with your
4251 public key in addition to the receivers. So you can decrypt backup
4252 messages(e.g. Visiting to +Backup with @samp{g}).
4253 @end ifset
4254
4255 @ifset jp
4256 \e$B=pL>8e0E9f2=$9$k$K$O!"\e(B@samp{C-cC-b} \e$B$HF~NO$7$^$9!#0E9f2=8e=pL>$9$k$K$O!"\e(B
4257 @samp{C-cC-r} \e$B$H%?%$%W$7$^$9!#$$$:$l$N>l9g$b!"\e(B@samp{C-cC-c} \e$B$GAw?.$7$F2<\e(B
4258 \e$B$5$$!#\e(B
4259 @end ifset
4260 @ifset us
4261 To sign a draft and then encrypt it, type @samp{C-cC-b}. To encrypt a
4262 draft and then sign it, type @samp{C-cC-r}. In either case, type
4263 @samp{C-cC-c} to send the draft.
4264 @end ifset
4265
4266 @ifset jp
4267 PGP \e$B$G=pL>$r;\$7$?$j!"0E9f2=$7$?$j$7$F%a%C%;!<%8$rAw$m$&$H;W$C$F$$$F$b!"\e(B
4268 \e$B$&$C$+$jK:$l$k$3$H$,$"$j$^$9!#$=$N$?$a!"%a%C%;!<%8$r:n@.$9$k%3%^%s%I\e(B 
4269 @samp{C-cC-m} \e$B$KBP$7!"I,MW$K1~$8$F\e(B PGP \e$B$r5/F0$5$;$k5!G=$,$"$j$^$9!#\e(B
4270 @end ifset
4271 @ifset us
4272 It is very likely that you forget to sign and/or encrypt a draft even if
4273 you want to do so. To resolve this, Mew provides automatic PGP mechanism
4274 for the massage creation function, @samp{C-cC-m}
4275 @end ifset
4276
4277 @ifset jp
4278 \e$B:n@.$9$k$9$Y$F$N%a%C%;!<%8$N%W%i%$%P%7$rJ]8n$7$?$$$J$i!"\e(B
4279 @samp{mew-protect-privacy-always} \e$B$r\e(B @samp{t} \e$B$K$7$F!"\e(B
4280 @samp{mew-protect-privacy-always-type} \e$B$KMxMQ$7$?$$%5!<%S%9$r@_Dj$7$^$9!#\e(B
4281 @end ifset
4282 @ifset us
4283 If you want to protect privacy of all drafts, set
4284 @samp{mew-protect-privacy-always} to @samp{t} and set
4285 @samp{mew-protect-privacy-always-type} to one of PGP services.
4286 @end ifset
4287
4288 @ifset jp
4289 \e$B0E9f2=$5$l$?%a%C%;!<%8$KBP$9$kJVEz%a%C%;!<%8$N%W%i%$%P%7$rJ]8n$7$?$$$J$i!"\e(B
4290 @samp{mew-protect-privacy-encrypted} \e$B$r\e(B @samp{t} \e$B$K$7$F!"\e(B
4291 @samp{mew-protect-privacy-encrypted-type} \e$B$KMxMQ$7$?$$%5!<%S%9$r@_Dj$7$^\e(B
4292 \e$B$9!#$3$N@_Dj$O!"0E9f2=$5$l$?%a%C%;!<%8$X$NJVEz$9$k>l9g!">e5-$N$9$Y$F$N%a!<\e(B
4293 \e$B%k$KBP$9$k@_Dj$h$j$bM%@h$5$l$^$9!#\e(B
4294 @end ifset
4295 @ifset us
4296 If you want to protect privacy of drafts replying encrypted messages,
4297 set @samp{mew-protect-privacy-encrypted} to @samp{t} and set
4298 @samp{mew-protect-privacy-encrypted-type} to one of PGP services.  This
4299 configuration is preferred to the configuration for all drafts described
4300 above in the case of replying encrypted messages.
4301 @end ifset
4302
4303 @ifset jp
4304 \e$B0J2<$KMxMQ$G$-$k%5!<%S%9$r<($7$^$9!#$+$C$3Fb$O$=$l$>$l$N%5!<%S%9$rI=$9%7\e(B
4305 \e$B%s%\%k$G$9!#\e(B@samp{C-cC-m} \e$B$7$?:]$KMxMQ$5$l$k%5!<%S%9$O!"%b!<%I%i%$%s$KI=\e(B
4306 \e$B<($5$l$^$9!#\e(B
4307 @end ifset
4308 @ifset us
4309 The following services are available. The strings in brace are symbol of
4310 each service. The service applied when @samp{C-cC-m} is displayed in the
4311 mode line.
4312 @end ifset
4313
4314 @ifset jp
4315 @table @asis
4316 @item pgp-signature (PS)
4317 \e$B=pL>\e(B
4318 @item pgp-encryption (PE)
4319 \e$B0E9f2=\e(B
4320 @item pgp-signature-encryption (PSPE)
4321 \e$B=pL>8e0E9f2=\e(B
4322 @item pgp-encryption-signature (PEPS)
4323 \e$B0E9f2=8e=pL>\e(B
4324 @end table
4325 @end ifset
4326 @ifset us
4327 @table @asis
4328 @item pgp-signature (PS)
4329 Sign
4330 @item pgp-encryption (PE)
4331 Encrypt
4332 @item pgp-signature-encryption (PSPE)
4333 Sign then encrypt
4334 @item pgp-encryption-signature (PEPS)
4335 Encrypt then sign
4336 @end table
4337 @end ifset
4338
4339 @ifset jp
4340 \e$B0J2<$NNc$O!"$9$Y$F$N%a!<%k$KBP$7\e(B @samp{C-cC-m} \e$B$G=pL>$9$k@_Dj$G$9!#\e(B
4341 @end ifset
4342 @ifset us
4343 The following example is to sign all drafts when @samp{C-cC-m}.
4344 @end ifset
4345
4346 @example
4347 (setq mew-protect-privacy-always t)
4348 (setq mew-protect-privacy-always-type 'pgp-signature)
4349 @end example
4350
4351 @ifset jp
4352 \e$B0J2<$NNc$O!"0E9f2=$5$l$?%a%C%;!<%8$X$NJVEz%a%C%;!<%8$KBP$7!"\e(B
4353 @samp{C-cC-m} \e$B$G0E9f2=$9$k@_Dj$G$9!#\e(B
4354 @end ifset
4355 @ifset us
4356 The following example is to encrypt drafts replying encrypted messages
4357 when @samp{C-cC-m}.
4358 @end ifset
4359
4360 @example
4361 (setq mew-protect-privacy-encrypted t)
4362 (setq mew-protect-privacy-encrypted-type 'pgp-encryption)
4363 @end example
4364
4365 @ifset jp
4366 Draft \e$B%b!<%I$G$O!"\e(B@samp{C-cC-pC-a} \e$B$G\e(B @samp{mew-protect-privacy-always}\e$B!"\e(B
4367 @samp{C-cC-pC-e} \e$B$G\e(B @samp{mew-protect-privacy-encrypted} \e$B$NCM$rH?E>$G$-\e(B
4368 \e$B$^$9!#\e(B
4369 @end ifset
4370 @ifset us
4371 In Draft mode, @samp{C-cC-pC-a} toggles
4372 @samp{mew-protect-privacy-always} and @samp{C-cC-pC-e} toggles
4373 @samp{mew-protect-privacy-encrypted}.
4374 @end ifset
4375
4376 @ifset jp
4377 Draft \e$B%b!<%I$K$*$$$F8=:_=q$$$F$$$kAp9FBP$7$F$N$_$"$i$+$8$a%5!<%S%9$r;XDj\e(B
4378 \e$B$7$F$*$-!"Aw?.;~$K%5!<%S%9$r;\$9$3$H$rK:$l$J$$$h$&$K$G$-$^$9!#8=:_$NAp9F\e(B
4379 \e$B$KBP$7\e(B @samp{C-cC-m} \e$B$G;\$5$l$k%5!<%S%9$r;XDj$9$k$K$O!"\e(B @samp{C-cC-pC-d} 
4380 \e$B$KB3$$$F>e5-$N%5!<%S%9$N\e(B 1 \e$B$D$rF~NO$7$F2<$5$$!#\e(B
4381 @end ifset
4382 @ifset us
4383 You can specify privacy services for the current draft in Draft mode
4384 beforehand so that you don't forget to apply the privacy services when
4385 sending. To set privacy services to the current draft evaluated when
4386 @samp{C-cC-m}, type @samp{C-cC-pC-d} then input one of privacy services
4387 above.
4388 @end ifset
4389
4390 @c %%%%%%%%%%%%%%%%%
4391 @node mark-b-comp, pgp-key, pgp-shortcut, Composing
4392 @ifset jp
4393 @section \e$B%^!<%/$r;H$C$?\e(B PGP/MIME \e$B$N:n@.\e(B
4394 @end ifset
4395 @ifset us
4396 @section Mark based composer
4397 @end ifset
4398
4399 @ifset jp
4400 PGP/MIME \e$B$r%5%]!<%H$9$k$?$a$K!"%^!<%/$r;H$C$?:n@.J}K!$,Ds6!$5$l$F$$$^$9!#\e(B
4401 \e$B0JA0$NNc$r;W$$=P$7$F$_$^$7$g$&!#\e(B
4402 @end ifset
4403 @ifset us
4404 To support PGP/MIME, mark based composing is provided. Remember the
4405 previous example.
4406 @end ifset
4407
4408 @ifset jp
4409 @example
4410 ----------------------------- attachments -----------------------------
4411       Multipart/Mixed                                         1/     
4412      1  Text/Plain(guess)                                       CoverPage*
4413 B    2  Image/Gif                    MagicPoint \e$B$N%m%4\e(B          mgp.gif
4414 Q    3  Application/Postscript       \e$B;qNA\e(B                       ohp.ps
4415      4                                                          . 
4416 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
4417 @end example
4418 @end ifset
4419 @ifset us
4420 @example
4421 ----------------------------- attachments -----------------------------
4422       Multipart/Mixed                                         1/
4423      1  Text/Plain(guess)                                       CoverPage*
4424 B    2  Image/Gif                    MagicPoint logo            mgp.gif
4425 Q    3  Application/Postscript       Presentation Material      ohp.ps
4426      4                                                          .
4427 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
4428 @end example
4429 @end ifset
4430
4431 @ifset jp
4432 \e$B9TF,$K\e(B @samp{B} \e$B$d\e(B @samp{Q} \e$B$H$$$C$?%^!<%/$,$"$j$^$9!#$3$N%^!<%/$OId9f2=\e(B
4433 \e$B$r0UL#$7$F$$$^$9!#\e(BMew \e$B$G$O!"?7$7$$35G0!VId9f2=!W$rF3F~$7$F$$$^$9!#Id9f2=\e(B
4434 \e$B$K$O!"\e(BBase64, Quoted-Printable, Gzip64(Gzip + Base64), PGP \e$B$G=pL>\e(B, PGP\e$B$G\e(B
4435 \e$B0E9f2=$J$I$,$"$j$^$9!#\e(B
4436 @end ifset
4437 @ifset us
4438 You can find the @samp{B} mark and the @samp{Q} mark at the beginning of
4439 line. Mew provides you with a new concept of "encoding". Encoding
4440 includes Base64, Quoted-Printable, Gzip64(Gzip + Base64), sign with PGP,
4441 encrypt with PGP.
4442 @end ifset
4443
4444 @ifset jp
4445 \e$B8=:_<!$N\e(B 6 \e$B$D$N%^!<%/$,%5%]!<%H$5$l$F$$$^$9!#\e(B
4446 @end ifset
4447 @ifset us
4448 Currently 6 marks are prepared.
4449 @end ifset
4450
4451 @table @samp
4452 @ifset jp
4453 @item " "
4454 \e$BId9f2=$7$J$$!#$?$@$7!"\e(B8\e$B%S%C%H$N%F%-%9%H$OId9f2=$5$l$k$+$b$7$l$J$$!#\e(B
4455 @item B
4456 Base64
4457 @item Q
4458 Quoted-Printable
4459 @item G
4460 Gzip64(gzip \e$B05=L$7\e(B Base64 \e$B$GId9f2=$9$k!#\e(BMew \e$B$,<B83E*$K:NMQ$7$F$$$k!#Aj<j\e(B
4461 \e$B$,\e(B Mew \e$B$r;H$C$F$$$J$$>l9g$O!";HMQ$9$Y$-$G$O$J$$!#\e(B)
4462 @item PS 
4463 PGP \e$B$GEE;R=pL>!#\e(B
4464 @item PE
4465 PGP \e$B$G0E9f2=!#\e(B
4466 @end ifset
4467 @ifset us
4468 @item " "
4469 No encoding. But 8bit text would be encoded.
4470 @item B 
4471 Base64 
4472 @item Q
4473 Quoted-Printable
4474 @item G
4475 Gzip64(compressed with gzip then encoded with Base64. This is
4476 experimental. Don't use this if receivers don't use Mew.)
4477 @item PS 
4478 Sign with PGP
4479 @item PE
4480 Encrypt with PGP
4481 @end ifset
4482 @end table
4483
4484 @ifset jp
4485 \e$BE:IUNN0h$G$N%^!<%/$K4X78$9$k?7$7$$%-!<3dEv$O0J2<$NDL$j$G$9!#\e(B
4486 @end ifset
4487 @ifset us
4488 Additional key binding for marks in attachments is as follows:
4489 @end ifset
4490
4491 @table @samp
4492 @ifset jp
4493 @item B
4494 Base64 \e$B$GId9f2=$9$k$?$a\e(B @samp{B} \e$B%^!<%/$rIU$1$k!#\e(B
4495 @item Q
4496 Quoted-Printable \e$B$GId9f2=$9$k$?$a\e(B @samp{Q} \e$B%^!<%/$rIU$1$k!#\e(B
4497 @item G
4498 Gzip64 \e$B$GId9f2=$9$k$?$a\e(B @samp{G} \e$B%^!<%/$rIU$1$k!#$?$@$7!"\e(BText/Plain \e$B$H\e(B 
4499 Application/Postscript \e$B$G$7$+<B9T$G$-$J$$!#$3$l0J30$N7?$K$O05=L$OL50UL#\e(B
4500 \e$B$G$"$k!#$J$<$J$i!"\e(Bjpeg \e$B$J$I$O$"$i$+$8$a05=L$5$l$F$$$k$+$i!#\e(B
4501 @item S
4502 PGP \e$B$G=pL>$9$k$?$a\e(B @samp{PS} \e$B%^!<%/$rIU$1$k!#\e(B
4503 @item E 
4504 PGP \e$B$G0E9f2=$9$k$?$a\e(B @samp{PE} \e$B%^!<%/$rIU$1$k!#<u?.<T$N%"%I%l%9$rF~NO$9\e(B
4505 \e$B$k!#\e(B
4506 @item U
4507 \e$BId9f2=$r85$KLa$9!#85!9$N%^!<%/$KLa$k!#\e(B
4508 @end ifset
4509 @ifset us
4510 @item B
4511 Put the @samp{B} mark to encode with Base64.
4512 @item Q
4513 Put the @samp{Q} mark to encode with Quoted-Printable.
4514 @item G
4515 Put the @samp{G} mark to encode with Gzip64. This is applicable only to
4516 Text/Plain and Application/Postscript since compression is not effective
4517 other objects. For example, JPEG is already compressed.
4518 @item S
4519 Put the @samp{PS} mark to sign with PGP.
4520 @item E 
4521 Put the @samp{PE} mark to encrypt with PGP. Input decryptors' addresses.
4522 @item U 
4523 Unmark. The original mark appears.
4524 @end ifset
4525 @end table
4526
4527 @ifset jp
4528 \e$B<!$NNc$r9M$($F$_$^$7$g$&!#%Q!<%H\e(B 2 \e$B$O\e(B PGP \e$B$G=pL>$5$l!"\e(B"kazu" \e$BMQ$K\e(B PGP \e$B$G\e(B
4529 \e$B0E9f2=$5$l$^$9!#0B?4$7$F2<$5$$!#@bL@$NItJ,$O>e=q$-$5$l$F$$$^$9$,!"J]B8$5\e(B
4530 \e$B$l$F$$$^$9!#%Q!<%H\e(B 3 \e$B$O\e(B Gzip64 \e$B$GId9f2=$5$l$^$9!#\e(B
4531 @end ifset
4532 @ifset us
4533 Consider the following example. The second part will be signed with PGP
4534 then encrypted with PGP for "kazu". Take it easy! It's description is
4535 overwritten but saved. The third part will be encoded with Gzip64.
4536 @end ifset
4537
4538 @ifset jp
4539 @example
4540 ----------------------------- attachments -----------------------------
4541       Multipart/Mixed                                         1/
4542      1  Text/Plain(guess)                                       CoverPage*
4543 PSPE 2  Image/Gif                    kazu@@mew.org               mgp.gif
4544 G    3  Application/Postscript       \e$B;qNA\e(B                       ohp.ps
4545      4                                                          .
4546 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
4547 @end example
4548 @end ifset
4549 @ifset us
4550 @example
4551 ----------------------------- attachments -----------------------------
4552       Multipart/Mixed                                         1/
4553      1  Text/Plain(guess)                                       CoverPage*
4554 PSPE 2  Image/Gif                    kazu@@mew.org               mgp.gif
4555 G    3  Application/Postscript       Presentation Material      ohp.ps
4556      4                                                          .
4557 --------0-1-2-3-4-5-6-7-8-9--------------------------------------------
4558 @end example
4559 @end ifset
4560
4561 @ifset jp
4562 \e$BE,59%^!<%/$rIU$1$?8e$O!"\e(B@samp{C-cC-m} \e$B$G\e(B MIME(PGP/MIME\e$B$J$I\e(B) \e$B$r:n@.$7!"\e(B
4563 @samp{C-cC-c} \e$B$GAw?.$7$F2<$5$$!#\e(B
4564 @end ifset
4565 @ifset us
4566 After putting marks, type @samp{C-cC-m} to create PGP/MIME and then
4567 press @samp{C-cC-c} to send it.
4568 @end ifset
4569
4570 @c %%%%%%%%%%%%%%%%%
4571 @node pgp-key, Marks, mark-b-comp, Composing
4572 @ifset jp
4573 @section PGP \e$B$N80$NG[I[\e(B
4574 @end ifset
4575 @ifset us
4576 @section PGP key distribution
4577 @end ifset
4578
4579 @ifset jp
4580 PGP \e$B$N8x3+80$rG[I[$9$k$K$O!"\e(BDraft \e$B%b!<%I$NE:IUNN0h$G\e(B @samp{p} \e$B$r2!$7$F2<\e(B
4581 \e$B$5$$!#$@$l$N8x3+80$rG[I[$9$k$+?R$M$i$l$^$9!#<+J,$N8x3+80$G$"$l$P!"C1$K\e(B 
4582 @samp{RET} \e$B$HF~NO$7$F2<$5$$!#B>?M$N8x3+80$G$"$l$P!"Jd40$rMxMQ$7$J$,$i$=\e(B
4583 \e$B$N?M$N%"%I%l%9$rF~NO$7$F2<$5$$!#\e(BPGP \e$B$N8x3+80$O!"\e(BApplication/Pgp-keys \e$B$H\e(B
4584 \e$B$$$&%G!<%?7?$GG[Aw$5$l$^$9!#\e(B
4585 @end ifset
4586 @ifset us
4587 To distribute a PGP public key, please use @samp{p} on attachments in
4588 Draft mode. It asks whose public key you want to distribute. Just type
4589 @samp{RET} if it is yours. If you want to distribute another person's,
4590 input his Email address with completion. The PGP public key will
4591 distributed as Content-Type: Application/Pgp-keys.
4592 @end ifset
4593
4594 @ifset jp
4595 Summary \e$B%b!<%I!"$"$k$$$O!"\e(BVirtual \e$B%b!<%I$G%a%C%;!<%8$rFI$s$G$$$k:]$K!"$"\e(B
4596 \e$B$k%Q!<%H$N%G!<%?7?$,\e(B Application/Pgp-keys \e$B$G$"$l$P!"\e(BMew \e$B$O\e(B PGP \e$B$N8x3+80\e(B
4597 \e$B%j%s%0$K$=$l$rEPO?$7$h$&$H$7$^$9!#\e(BMew \e$B$O!"!V?.MQEY!W$H!VM-8z@-!W$rA4$/9M\e(B
4598 \e$BN8$7$J$$$3$H$KCm0U$7$F2<$5$$!#$3$l$i$NCM$r@_Dj$9$k$N$O!"$"$J$?<+?H$G$9!#\e(B
4599 \e$B@_Dj$K$O!"\e(B"pgp -ke" \e$B$H\e(B "pgp -ks" \e$B$r;H$C$F2<$5$$!#$b$7!"!V?.MQEY!W$H!VM-\e(B
4600 \e$B8z@-!W$N0UL#$,J,$+$i$J$1$l$P!"\e(BPGP \e$B$r;H$C$F<+J,$N%W%i%$%P%7$rJ]8n$7$h$&$H\e(B
4601 \e$B$9$kA0$K!"\e(BPGP \e$B$,Ds6!$9$k!V?.MQ$NNX!W$H$O2?$+$r3X$V$Y$-$G$9!#\e(B
4602 @end ifset
4603 @ifset us
4604 If Mew finds that the part is Application/Pgp-keys, it tries to add the
4605 PGP public key onto your PGP public keyring. Remember that Mew is
4606 careless about both TRUST and VALIDITY. It is YOU who set these
4607 values. Please use "pgp -ke" and "pgp -ks" to change them. If you don't
4608 know what TRUST and VALIDITY is, you should learn the web of trust
4609 system provided by PGP BEFORE using PGP to protect your privacy.
4610 @end ifset
4611
4612 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4613 @c      Marks
4614 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4615
4616 @node Marks, delete mark, pgp-key, Top
4617 @ifset jp
4618 @chapter \e$BL{2w$J%^!<%/$?$A\e(B
4619 @end ifset
4620 @ifset us
4621 @chapter Funny marks
4622 @end ifset
4623
4624 @ifset jp
4625 \e$B$3$3$G$O!"\e(BSummary \e$B%b!<%I$GMxMQ$G$-$k%^!<%/$K$D$$$F@bL@$7$^$9!#%^!<%/$O0J\e(B
4626 \e$B2<$N$h$&$K!"?t;z$N1&$KIU$-$^$9!#\e(B
4627 @end ifset
4628 @ifset us
4629 Here are described marks in Summary mode. Mark is displayed right side
4630 of message number as follows:
4631 @end ifset
4632
4633 @example
4634 @ifset jp
4635     1D 07/17 \e$B$$$H$B$e$s\e(B     v6: items to be no in6_pcbnotify()\e$B$,$J$K$b\e(B
4636     2o 07/18 \e$B2NBe@h@8\e(B       Re: behavior after \e$B$3$l!"\e(Bmark-ring \e$B$,$I$s$I\e(B
4637     3* 07/19 \e$B$N$`$5$s\e(B       refile info.       \e$BG5B<$G$9!#CY$/$J$j$^$7$?!#\e(B
4638 @end ifset
4639 @ifset us
4640     1D 07/17 Itojun         v6: items to be no in6_pcbnotify() doesn't
4641     2o 07/18 Utashiro       Re: behavior after I'm afraid that mark-ring
4642     38 07/19 Nom-sun        refile info.       Sorry for my late respon
4643 @end ifset
4644 @end example
4645
4646 @ifset jp
4647 \e$B8=:_MxMQ$G$-$k%^!<%/$O0J2<$N\e(B4\e$B$D$G$9!#\e(B
4648 @end ifset
4649 @ifset us
4650 There are four marks at present.
4651 @end ifset
4652
4653 @table @samp
4654 @ifset jp
4655 @item D
4656 \e$B>C5n$N%^!<%/!#\e(B
4657 @item o
4658 \e$B@0F\!"$D$^$j!"%U%)%k%@$r0\F0$5$;$k%^!<%/!#\e(B
4659 @item @@
4660 \e$BJ#?t$N%a%C%;!<%8$r0lEY$K07$&$?$a$N%^!<%/!#\e(B
4661 @item *
4662 \e$B8e$+$iFI$_JV$9$?$a$N%^!<%/!#\e(B
4663 @end ifset
4664 @ifset us
4665 @item D
4666 The mark to delete.
4667 @item o
4668 The mark to refile, that is, to move a message to another folder.
4669 @item @@
4670 The mark to process messages at the same time.
4671 @item *
4672 The mark to review.
4673 @end ifset
4674 @end table
4675
4676 @ifset jp
4677 \e$B0J2<$=$l$>$l$K$D$$$F@bL@$7$^$9!#\e(B
4678 @end ifset
4679 @ifset us
4680 They are explained step by step.
4681 @end ifset
4682
4683 @menu
4684 @ifset jp
4685 * delete mark::                 \e$B>C5n\e(B @samp{D}
4686 * refile mark::                 \e$B@0F\\e(B @samp{o}
4687 * multi mark::                  \e$BJ#?t\e(B @samp{@@}
4688 * review mark::                 \e$BI|=,\e(B @samp{*}
4689 * unmark::                      \e$B%^!<%/$N>C5n\e(B
4690 * mark level::                  \e$B%^!<%/$N6/$5\e(B
4691 @end ifset
4692 @ifset us
4693 * delete mark::                 Delete @samp{D}
4694 * refile mark::                 Refile @samp{o}
4695 * multi mark::                  Multiple @samp{@@}
4696 * review mark::                 Review @samp{*}
4697 * unmark::                      Deleting marks
4698 * mark level::                  Mark strength
4699 @end ifset
4700 @end menu
4701
4702 @c %%%%%%%%%%%%%%%%%
4703 @node delete mark, refile mark, Marks, Marks
4704 @ifset jp
4705 @section \e$B>C5n\e(B @samp{D}
4706 @end ifset
4707 @ifset us
4708 @section Delete @samp{D}
4709 @end ifset
4710 @vindex mew-msg-rm-policy
4711 @vindex mew-msg-rm-folder-list
4712
4713 @ifset jp
4714 \e$B%a%C%;!<%8$r>C5n$9$k$K$O!"$^$:\e(B Summary \e$B%b!<%I$G\e(B @samp{d} \e$B$r2!$7$F!"\e(B
4715 @samp{D} \e$B%^!<%/$rIU$1$^$9!#%^!<%/$rIU$1$?$@$1$G$O2?$b5/$3$i$J$$$N$G!"4V\e(B
4716 \e$B0c$C$F\e(B @samp{d} \e$B$r2!$7$F$bBg>fIW$G$9!#%G%U%)%k%H$G$O!"\e(B@samp{x} \e$B$r2!$9$H\e(B 
4717 @samp{D} \e$B%^!<%/$NIU$$$?%a%C%;!<%8$,\e(B +trash \e$B%U%)%k%@$K0\F0$7$^$9!#\e(B
4718 @end ifset
4719 @ifset us
4720 If you want to delete a message, type @samp{d} in Summary mode to put
4721 the @samp{D} mark on it. Take it easy. Since putting the @samp{D} mark
4722 causes nothing, mistakes are not fatal. By default, typing @samp{x}
4723 moves messages marked with @samp{D} to the +trash folder.
4724 @end ifset
4725
4726 @ifset jp
4727 +trash \e$B%U%)%k%@Fb$N%a%C%;!<%8$r<B:]$K>C5n$9$k$K$O!"%G%U%)%k%H$G$O0J2<$N\e(B 
4728\e$B$D$NJ}K!$,$"$j$^$9!#\e(B
4729 @end ifset
4730 @ifset us
4731 To delete messages in the +trash folder really, there are two methods by
4732 default.
4733 @end ifset
4734
4735 @enumerate
4736 @item
4737 @ifset jp
4738 Summary \e$B%b!<%I$G\e(B @samp{D} \e$B$r<B9T$9$k!#\e(B
4739 @end ifset
4740 @ifset us
4741 Type @samp{D} in Summary mode.
4742 @end ifset
4743 @item
4744 @ifset jp
4745 +trash \e$B%U%)%k%@Fb$G\e(B @samp{D} \e$B%^!<%/$rIU$1$F!"\e(B@samp{x} \e$B$r2!$9!#\e(B
4746 @end ifset
4747 @ifset us
4748 Put the @samp{D} mark in the +trash folder then type @samp{x}.
4749 @end ifset
4750 @end enumerate
4751
4752 @ifset jp
4753 \e$B$3$l$^$G$7$D$3$$$h$&$K!V%G%U%)%k%H$G$O!W$HG0$r2!$7$F$-$^$7$?!#$3$3$G$$$&\e(B
4754 \e$B%G%U%)%k%H$H$O!"\e(B@samp{mew-msg-rm-policy} \e$B$,\e(B@samp{'trashonly} \e$B$G$"$k$H$$\e(B
4755 \e$B$&$3$H$G$9!#\e(B@samp{mew-msg-rm-policy} \e$B$O0J2<$N$h$&$JCM$r$H$l$^$9!#$=$l$>\e(B
4756 \e$B$l$N@bL@$O\e(B @samp{x} \e$B$r2!$7$?:]$NF0:n$K$D$$$F$G$9!#\e(B
4757 @end ifset
4758 @ifset us
4759 So far, the word "by default" was repeated. This means that
4760 @samp{mew-msg-rm-policy} is set to @samp{'trashonly}. You can set one of
4761 the following values to @samp{mew-msg-rm-policy}. Each explanation is
4762 about action when @samp{x} is pressed.
4763 @end ifset
4764
4765 @table @samp
4766 @item 'totrash
4767 @ifset jp
4768 +trash \e$B%U%)%k%@0J30$N%U%)%k%@$G$O!"\e(B@samp{D}\e$B%^!<%/$NIU$$$?%a%C%;!<%8$,\e(B 
4769 +trash \e$B%U%)%k%@$K0\F0$7$^$9!#\e(B+trash \e$B%U%)%k%@$G$OC1$K%^!<%/$,>C$($^$9!#\e(B
4770 @end ifset
4771 @ifset us
4772 Refile to the +trash folder if not in the +trash folder.
4773 Just umark the 'D' mark if in the +trash folder.
4774 @end ifset
4775 @item 'always
4776 @ifset jp
4777 @samp{D} \e$B%^!<%/$NIU$$$?%a%C%;!<%8$O<B:]$K>C5n$5$l$^$9!#\e(B
4778 @end ifset
4779 @ifset us
4780 Really remove messages marked with 'D' always anyway.
4781 @end ifset
4782 @item 'trashonly
4783 @ifset jp
4784 +trash \e$B%U%)%k%@$N\e(B @samp{D} \e$B%^!<%/$NIU$$$?%a%C%;!<%8$O!"<B:]$K>C5n$5$l$^\e(B
4785 \e$B$9!#$=$l0J30$N%U%)%k%@$K$"$k\e(B @samp{D} \e$B%^!<%/$NIU$$$?%a%C%;!<%8$O!"\e(B+trash 
4786 \e$B%U%)%k%@$K0\F0$7$^$9!#\e(B
4787 @end ifset
4788 @ifset us
4789 Really remove messages marked with 'D' if in the +trash folder.
4790 In other fonders, refile to the +trash folder.
4791 @end ifset
4792 @item 'uselist
4793 @ifset jp
4794 @samp{mew-msg-rm-folder-list} \e$B$G;XDj$5$l$?%U%)%k%@$N\e(B @samp{D} \e$B%^!<%/$NIU\e(B
4795 \e$B$$$?%a%C%;!<%8$O!"<B:]$K>C5n$5$l$^$9!#$=$l0J30$N%U%)%k%@$K$"$k\e(B @samp{D} 
4796 \e$B%^!<%/$NIU$$$?%a%C%;!<%8$O!"\e(B+trash \e$B%U%)%k%@$K0\F0$7$^$9!#\e(B
4797 @end ifset
4798 @ifset us
4799 Really remove messages marked with 'D' if in a folder found in
4800 @samp{mew-msg-rm-folder-list}. In other folders, refile to the +trash
4801 folder.
4802 @end ifset
4803 @ifset jp
4804 @item \e$B$=$l0J30\e(B
4805 @samp{'totrash} \e$B$HF1MM$K07$o$l$^$9!#\e(B
4806 @end ifset
4807 @ifset us
4808 @item other values
4809 Considered as 'trashonly.
4810 @end ifset
4811 @end table
4812
4813 @ifset jp
4814 \e$B<+J,$N9%$-$J$h$&$K\e(B @samp{x} \e$B$NF0:n$r%+%9%?%^%$%:$7$F2<$5$$!#\e(B
4815 @end ifset
4816 @ifset us
4817 Customize the action of @samp{x} as you like.
4818 @end ifset
4819
4820 @ifset jp
4821 \e$B$9$Y$F$N\e(B @samp{*} \e$B%^!<%/$r\e(B @samp{D} \e$B$KJQ49$G$-$l$P!"0lEY$K$?$/$5$s$N\e(B 
4822 @samp{D} \e$B%^!<%/$rIU$1$l$FJXMx$G$9!#$3$l$K$O!"\e(B@samp{md} \e$B$rMxMQ$7$F2<$5$$!#\e(B
4823 @end ifset
4824 @ifset us
4825 It is convenient if you can change the @samp{*} mark to the @samp{D}
4826 mark since you can put many the @samp{D} marks at once. To achieve this,
4827 use @samp{md}.
4828 @end ifset
4829
4830 @ifset jp
4831 \e$B0J2<$K!"\e(B@samp{D} \e$B%^!<%/$K4X$9$k%3%^%s%I$r$^$H$a$^$9!#\e(B
4832 @end ifset
4833 @ifset us
4834 The following is a summary regarding with the @samp{D} mark.
4835 @end ifset
4836
4837 @table @samp
4838 @ifset jp
4839 @item d 
4840 @samp{D} \e$B%^!<%/$rIU$1$k!#\e(B
4841 @item x
4842 @samp{D} \e$B%^!<%/$NIU$$$?%a%C%;!<%8$r\e(B @samp{mew-msg-rm-policy} \e$B$K=>$C$F=h\e(B
4843 \e$BM}$9$k!#\e(B
4844 @item md
4845 @samp{*} \e$B%^!<%/$9$Y$F$r\e(B @samp{D}\e$B%^!<%/$KJQ49$9$k!#\e(B
4846 @end ifset
4847 @ifset us
4848 @item d 
4849 Put the @samp{D} mark.
4850 @item x
4851 Process messages marked with @samp{D} according to
4852 @samp{mew-msg-rm-policy}.
4853 @item md
4854 Change all @samp{*} mark to the @samp{D} mark.
4855 @end ifset
4856 @end table
4857
4858 @c %%%%%%%%%%%%%%%%%
4859 @node refile mark, multi mark, delete mark, Marks
4860 @ifset jp
4861 @section \e$B@0F\\e(B @samp{o}
4862 @end ifset
4863 @ifset us
4864 @section Refile @samp{o}
4865 @end ifset
4866
4867 @ifset jp
4868 \e$B%a%C%;!<%8$r@0F\$9$k$K$O\e(B @samp{o} \e$B$r2!$7$F!"@0F\@h$N%U%)%k%@$rF~NO$7!"\e(B
4869 @samp{o} \e$B%^!<%/$rIU$1$^$9!#@0F\@h$N%U%)%k%@$O!"8-$/?dB,$7$F$/$l$k$N$G!"\e(B
4870 \e$B$[$I$s$I$N>l9g$O%U%)%k%@L>$rF~NO$9$kBe$o$j$K\e(B @samp{RET} \e$B$r2!$9$@$1$G$9!#\e(B
4871 "," \e$B$G6h@Z$C$FJ#?t$N%U%)%k%@$rF~NO$9$k$3$H$b$G$-$^$9!#$b$A$m$s!"\e(B
4872 @samp{TAB} \e$B$GJd40$G$-$^$9!#>\$7$/$O\e(B @xref{Refile} \e$B$r;2>H$7$F2<$5$$!#\e(B
4873 @end ifset
4874 @ifset us
4875 To refile a message, type @samp{o} and input a folder name, then
4876 @samp{o} is put. A folder is guessed neatly, so most time what you
4877 should to is just type @samp{RET}. For more information, refer to
4878 @xref{Refile}.
4879 @end ifset
4880
4881 @ifset jp
4882 @samp{o} \e$B%^!<%/$NIU$$$?%a%C%;!<%8$N>e$G\e(B @samp{o} \e$B$r2!$9$H!"@0F\@h$rDI2C\e(B
4883 \e$B$7$?$jJQ99$7$?$j$G$-$^$9!#$^$?!"<B:]$N@0F\$O\e(B @samp{x} \e$B$HF~NO$5$l$?$H$-$K\e(B
4884 \e$B<B9T$5$l$^$9!#\e(B
4885 @end ifset
4886 @ifset us
4887 If you type @samp{o} on a message marked with @samp{o}, the refile
4888 folder is shown. When typing @samp{x}, messages marked with @samp{o} are
4889 actually refiled.
4890 @end ifset
4891
4892 @ifset jp
4893 \e$B0J2<$K!"\e(B@samp{o} \e$B%^!<%/$K4X$9$k%3%^%s%I$r$^$H$a$^$9!#\e(B
4894 @end ifset
4895 @ifset us
4896 A summary about the @samp{o} mark is here.
4897 @end ifset
4898
4899 @table @samp
4900 @ifset jp
4901 @item o
4902 @samp{o} \e$B%^!<%/$rIU$1$k!#\e(B
4903 @item x
4904 @samp{o} \e$B%^!<%/$NIU$$$?%a%C%;!<%8$r@0F\$9$k!#\e(B
4905 @item mo
4906 @samp{*} \e$B%^!<%/$NIU$$$?%a%C%;!<%8$KBP$7F~NO$5$l$?%U%)%k%@$X@0F\$9$k$?$a\e(B
4907 \e$B$N\e(B @samp{o} \e$B%^!<%/$rIU$1$k!#\e(B
4908 @end ifset
4909 @ifset us
4910 @item o
4911 Put the @samp{o} mark.
4912 @item x
4913 Refile messages marked with @samp{o}
4914 @item mo
4915 Change all @samp{*} marks to the @samp{o} mark to be refiled.
4916 @end ifset
4917 @end table
4918
4919 @c %%%%%%%%%%%%%%%%%
4920 @node multi mark, review mark, refile mark, Marks
4921 @ifset jp
4922 @section \e$BJ#?t\e(B @samp{@@}
4923 @end ifset
4924 @ifset us
4925 @section Multiple @samp{@@}
4926 @end ifset
4927
4928 @ifset jp
4929 \e$BJ#?t$N%a%C%;!<%8$r0lEY$K<h$j07$&$?$a$K$O!"\e(B@samp{@@} \e$B%^!<%/$rIU$1$^$9!#\e(B
4930 @samp{@@} \e$B%^!<%/$,IU$$$?C1?t!?J#?t$N%a%C%;!<%8$r<h$j07$&%3%^%s%I$O0J2<$N\e(B
4931 \e$BDL$j$G$9!#\e(B
4932 @end ifset
4933 @ifset us
4934 To process multiple messages, put the @samp{@@} mark. Here is a summary
4935 concerned with the @samp{@@} mark.
4936 @end ifset
4937
4938 @table @samp
4939 @ifset jp
4940 @item @@
4941 @samp{@@} \e$B%^!<%/$rIU$1$k!#\e(B
4942 @item F
4943 @samp{@@} \e$B%^!<%/$NIU$$$?%a%C%;!<%8$r\e(B MIME \e$B7A<0$GE>Aw$9$k$?$a$NAp9F$r=`Hw!#\e(B
4944 @item M-s
4945 @samp{@@} \e$B%^!<%/$NIU$$$?%a%C%;!<%8$r\e(B "unshar" \e$B$NF~NO$H$7$FEO$9!#$D$^$j!"\e(B
4946 shar (\e$B$N8e$K\e(B split)\e$B$5$l$?%G!<%?$r<h$j=P$9!#\e(B
4947 @item M-t
4948 @samp{@@} \e$B%^!<%/$NIU$$$?%a%C%;!<%8$r\e(B "uumerge" \e$B$NF~NO$H$7$FEO$9!#$D$^$j!"\e(B
4949 uuencode(\e$B$N8e$K\e(B split)\e$B$5$l$?%G!<%?$r<h$j=P$9!#\e(B
4950 @item M-b
4951 @samp{@@} \e$B%^!<%/$NIU$$$?%a%C%;!<%8$K3JG<$5$l$F$$$k%a%C%;!<%8$r<h$j=P$9!#\e(B
4952 @item J
4953 \e$BBg$-$J%a%C%;!<%8$O\e(B Message/Partial \e$B$H$7$FJ#?t$KJ,3d$5$l$F$$$k>l9g$,$"$k!#\e(B
4954 \e$B$3$N%3%^%s%I$O!"\e(B@samp{@@} \e$B%^!<%/$NIU$$$?\e(B Message/Partial \e$B$N%a%C%;!<%8$+\e(B
4955 \e$B$i85$N%a%C%;!<%8$r@8@.$9$k!#\e(B
4956 @end ifset
4957 @ifset us
4958 @item @@
4959 Put the @samp{@@} mark.
4960 @item F
4961 Prepare a draft to forward multiple messages marked with @samp{@@} in MIME
4962 format.
4963 @item M-s
4964 Apply unshar on messages marked with @samp{@@}.
4965 @item M-t
4966 Apply "uudecode" on messages marked with @samp{@@}.
4967 @item M-b
4968 De-capsulate messages embedded in the messages marked with @samp{@@}.
4969 @item J
4970 A large message is occasionally fragmented into multiple messages whose
4971 Content-Type: is Message/Partial. This command produces the original
4972 message from Message/Partial messages marked with @samp{@@}.
4973 @end ifset
4974 @end table
4975
4976 @ifset jp
4977 @samp{M-s} \e$B$d\e(B @samp{M-t} \e$B$G$O!"\e(B@samp{@@} \e$B%^!<%/$NIU$$$?%a%C%;!<%8$NHV9f\e(B
4978 \e$B$,$-$A$s$HJ,3d=g$K$J$C$F$$$kI,MW$,$"$j$^$9\e(B(\e$BHV9f$O$H$S$H$S$G$b9=$$$^$;$s\e(B)\e$B!#\e(B
4979 \e$B$A$c$s$H=gHV$K$J$C$F$J$$$J$i!"\e(B@samp{S} \e$B$G%=!<%H$9$k$H$h$$$+$b$7$l$^$;$s!#\e(B
4980 @end ifset
4981 @ifset us
4982 For @samp{M-s} and @samp{M-t}, messages marked with @samp{@@} are
4983 supposed to be in order(numbers can be discrete). If out of order,
4984 sorting with @samp{S} would help.
4985 @end ifset
4986
4987 @c %%%%%%%%%%%%%%%%%
4988 @node review mark, unmark, multi mark, Marks
4989 @ifset jp
4990 @section \e$BI|=,\e(B @samp{*}
4991 @end ifset
4992 @ifset us
4993 @section Review @samp{*}
4994 @end ifset
4995
4996 @ifset jp
4997 \e$B8e$+$iFI$_JV$7$?$$%a%C%;!<%8$K$O!"\e(B@samp{*} \e$B$G\e(B @samp{*} \e$B%^!<%/$rIU$1$F2<\e(B
4998 \e$B$5$$!#$^$?!"A*Br%3%^%s%I\e(B @samp{?} \e$B$r;H$&$H!"F~NO$7$?>r7o$K%^%C%A$9$k%a%C\e(B
4999 \e$B%;!<%8$K\e(B@samp{*} \e$B%^!<%/$,IU$-$^$9\e(B(\e$B>\$7$/$O!"\e(B@xref{Pick} \e$B$r;2>H$7$F2<$5$$\e(B)\e$B!#\e(B
5000 @samp{N} \e$B$d\e(B @samp{P} \e$B$G\e(B @samp{*} \e$B%^!<%/$NIU$$$?%a%C%;!<%8$K0\F0$7I=<($G\e(B
5001 \e$B$-$^$9!#\e(B
5002 @end ifset
5003 @ifset us
5004 Please put the @samp{*} mark onto messages that you want to review
5005 later. @samp{?} also put the @samp{*} mark onto matched messages(for
5006 more information, refer to @xref{Pick}). Use @samp{N} and @samp{P} to
5007 walk around messages marked with @samp{*}.
5008 @end ifset
5009
5010 @ifset jp
5011 \e$B0J2<$K!"\e(B@samp{*} \e$B$K4XO"$9$k%3%^%s%I$r<($7$^$9!#\e(B
5012 @end ifset
5013 @ifset us
5014 Here is a summary for @samp{*} commands.
5015 @end ifset
5016
5017 @table @samp
5018 @ifset jp
5019 @item *
5020 @samp{*} \e$B%^!<%/$rIU$1$k!#\e(B
5021 @item N
5022 \e$B2<J}8~$N\e(B @samp{*} \e$B%^!<%/$NIU$$$?%a%C%;!<%8$X0\F0$7I=<(!#\e(B
5023 @item P
5024 \e$B>eJ}8~$N\e(B @samp{*} \e$B%^!<%/$NIU$$$?%a%C%;!<%8$X0\F0$7I=<(!#\e(B
5025 @item ma
5026 \e$B%^!<%/$NIU$$$F$$$J$$%a%C%;!<%8$9$Y$F$K\e(B @samp{*} \e$B%^!<%/$rIU$1$k!#\e(B
5027 @item mr
5028 \e$BF~NO$7$?@55,I=8=$K%^%C%A$7$?%a%C%;!<%8$K\e(B @samp{*} \e$B%^!<%/$rIU$1$k!#\e(B
5029 @item md
5030 @samp{*} \e$B%^!<%/$r\e(B @samp{D} \e$B%^!<%/$KJQ49!#A*Br%3%^%s%I\e(B @samp{?} \e$B$GA*$s$@\e(B
5031 \e$B%a%C%;!<%8$r>C5n$9$k$H$-$KJXMx!#\e(B
5032 @item mo
5033 @samp{*} \e$B%^!<%/$r\e(B @samp{o} \e$B%^!<%/$KJQ49!#A*Br%3%^%s%I\e(B @samp{?} \e$B$GA*$s$@\e(B
5034 \e$B%a%C%;!<%8$r$"$k%U%)%k%@$K@0F\$9$k>l9g$KJXMx!#\e(B
5035 @end ifset
5036 @ifset us
5037 @item *
5038 Put the @samp{*} mark.
5039 @item N
5040 Jump to the message marked with @samp{*} below and display it.
5041 @item P
5042 Jump to the message marked with @samp{*} above and display it.
5043 @item ma
5044 Put the @samp{*} mark to all unmarked messages.
5045 @item mr
5046 Put the @samp{*} mark to all matching messages with inputed regular
5047 expression.
5048 @item md
5049 Change @samp{*} marks to @samp{D} mark.
5050 It is useful to delete messages selected by @samp{?}.
5051 @item mo
5052 Change the @samp{*} marks to the @samp{o} mark.
5053 It is useful to refile messages selected by @samp{?}.
5054 @end ifset
5055 @end table
5056
5057 @c %%%%%%%%%%%%%%%%%
5058 @node unmark, mark level, review mark, Marks
5059 @ifset jp
5060 @section \e$B%^!<%/$N>C5n\e(B
5061 @end ifset
5062 @ifset us
5063 @section Deleting marks
5064 @end ifset
5065
5066 @ifset jp
5067 @samp{o} \e$B%^!<%/$d\e(B @samp{D} \e$B%^!<%/$,IU$$$?%a%C%;!<%8$O!"%^!<%/<B9T%3%^%s\e(B
5068 \e$B%I\e(B @samp{x} \e$B$r2!$5$J$$8B$j=hM}$5$l$^$;$s!#$h$C$F!"\e(B@samp{x} \e$B$r2!$9A0$K!"\e(B
5069 \e$B%^!<%/$r<h$j;_$a$k%3%^%s%I\e(B @samp{u} \e$B$G%^!<%/$r>C$;$P!"8m$C$F%a%C%;!<%8$r\e(B
5070 \e$B>C$9$3$H$O$"$j$^$;$s!#\e(B
5071 @end ifset
5072 @ifset us
5073 Refiling and deleting is not processed unless you type @samp{x}. So, if
5074 you press @samp{u} to unmark before you type @samp{x}, messages do not
5075 disappear accidentally.
5076 @end ifset
5077
5078 @ifset jp
5079 \e$B0J2<$K%^!<%/$r>C5n$9$k%3%^%s%I$r$^$H$a$^$9!#\e(B
5080 @end ifset
5081 @ifset us
5082 Here is a summary for unmark commands.
5083 @end ifset
5084
5085 @table @samp
5086 @ifset jp
5087 @item u
5088 \e$B8=:_$N%a%C%;!<%8$N%^!<%/$r>C$9!#\e(B
5089 @item U
5090 \e$BF~NO$7$?%^!<%/$,IU$$$F$$$k$9$Y$F$N%a%C%;!<%8$N%^!<%/$r>C$9!#\e(B
5091 @end ifset
5092 @ifset us
5093 @item u
5094 Cancel the mark on this message.
5095 @item U
5096 Cancel all marks according to what you input.
5097 @end ifset
5098 @end table
5099
5100 @c %%%%%%%%%%%%%%%%%
5101 @node mark level, Refile, unmark, Marks
5102 @ifset jp
5103 @section \e$B%^!<%/$N6/$5\e(B
5104 @end ifset
5105 @ifset us
5106 @section Mark strength
5107 @end ifset
5108
5109 @ifset jp
5110 \e$B%^!<%/$K$O!V6/$$%^!<%/!W$H!V<e$$%^!<%/!W$,$"$j$^$9!#F1$8%l%Y%k$N%^!<%/$O\e(B
5111 \e$B>e=q$-$G$-$^$9!#6/$$%^!<%/$O<e$$%^!<%/$r>e=q$-$G$-$^$9!#\e(B
5112 @end ifset
5113 @ifset us
5114 Marks are classified into two categories, "strong mark" and "weak mark".
5115 The same level mark can be overwritten. A strong mark can overwrite a
5116 weak mark.
5117 @end ifset
5118
5119 @ifset jp
5120 \e$B%^!<%/$rIU$1$?:]$NF0:n$O!"0J2<$NDL$j$G$9!#\e(B
5121 @end ifset
5122 @ifset us
5123 When you put a mark, the following action is taken.
5124 @end ifset
5125
5126 @table @asis
5127 @ifset jp
5128 @item \e$B6/$$%^!<%/\e(B :: @samp{o} \e$B$H\e(B @samp{D}
5129 \e$B?7$?$K%^!<%/$7$?$H$-$O!"<!$N%a%C%;!<%8$rI=<(!#>e=q$-$7$?>l9g$O!"$=$N9T$K\e(B
5130 \e$BN1$^$k!#\e(B
5131 @item \e$B<e$$%^!<%/\e(B :: @samp{*} \e$B$H\e(B @samp{@@}
5132 \e$B>o$K$=$N9T$KN1$^$k!#\e(B
5133 @end ifset
5134 @ifset us
5135 @item Strong marks :: @samp{o} and @samp{D}
5136 If marks an unmarked message, display the next message. If overwrites,
5137 stay the current line.
5138 @item Weak marks :: @samp{*} and @samp{@@}
5139 Stay the current line always.
5140 @end ifset
5141 @end table
5142
5143 @ifset jp
5144 \e$B6/$$%^!<%/$rIU$1$?8e$K%+!<%=%k$,F0$/J}8~$K$D$$$F$O!"\e(B@xref{level-one} \e$B$r\e(B
5145 \e$B;2>H$7$F2<$5$$!#\e(B
5146 @end ifset
5147 @ifset us
5148 Refer to @xref{level-one} to know which direction the cursor moves after
5149 putting a strong mark.
5150 @end ifset
5151
5152 @ifset jp
5153 \e$B%^!<%/$O0J2<$N$h$&$K8r49$G$-$^$9!#\e(B
5154 @end ifset
5155 @ifset us
5156 You can exchange marks as follows:
5157 @end ifset
5158
5159 @table @samp
5160 @ifset jp
5161 @item m@@ 
5162 @samp{*} -> @samp{@@} :: \e$BA*Br%3%^%s%I\e(B @samp{?} \e$B$GA*$S!"\e(B"uumerge" \e$B$r5/F0\e(B
5163 \e$B$9$k%3%^%s%I\e(B @samp{M-t} \e$B$rMxMQ$9$k>l9g$KJXMx!#\e(B
5164 @item m*
5165 @samp{@@} -> @samp{*}
5166 @item ms
5167 @samp{@@} <-> @samp{*}
5168 @item md
5169 @samp{*} -> @samp{D} :: \e$BA*Br%3%^%s%I\e(B @samp{?} \e$B$GA*$s$@%a%C%;!<%8$r>C5n$9$k$H\e(B
5170 \e$B$-$KJXMx!#\e(B
5171 @item mo
5172 @samp{*} -> @samp{o} :: \e$BA*Br%3%^%s%I\e(B @samp{?} \e$B$GA*$s$@%a%C%;!<%8$r$"$k%U%)%k\e(B
5173 \e$B%@$K@0F\$9$k>l9g$KJXMx!#\e(B
5174 @end ifset
5175 @ifset us
5176 @item m@@ 
5177 @samp{*} -> @samp{@@} :: It is useful when you pick messages by @samp{?} 
5178 then pass them to "uumerge" with @samp{M-t}.
5179 @item m*
5180 @samp{@@} -> @samp{*}
5181 @item ms
5182 @samp{@@} <-> @samp{*}
5183 @item md
5184 @samp{*} -> @samp{D} :: It is useful when you put @samp{D} marks to
5185 messages picked by @samp{?}.
5186 @item mo
5187 @samp{*} -> @samp{o} :: It is useful when you put @samp{o} marks to
5188 messages picked by @samp{?}.
5189 @end ifset
5190 @end table
5191
5192 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
5193 @c      Refile
5194 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
5195
5196 @node Refile, by-folder, mark level, Top
5197 @ifset jp
5198 @chapter \e$B3Z!9@0M}@0F\\e(B
5199 @end ifset
5200 @ifset us
5201 @chapter Happy refiling
5202 @end ifset
5203
5204 @ifset jp
5205 1\e$BF|$K?tI4$N%a%C%;!<%8$r<u$1<h$k$h$&$K$J$k$H@0M}@0F\$,BgJQ$K$J$j$^$9\e(B(\e$B$(!"\e(B
5206 \e$B$=$s$J$K<u$1<h$i$J$$$G$9$C$F!)\e(B \e$B9,$;$G$9$M\e(B :) \e$B!#\e(BMew \e$B$G$O!"\e(B@samp{o} \e$B$G%a%C\e(B
5207 \e$B%;!<%8$r@0F\$9$k:]$K!"@0F\@h$r?dB,$7%G%U%)%k%HCM$H$7$FI=<($7$F$/$l$^$9!#\e(B
5208 \e$B$?$H$($P!"<!$N$h$&$K$J$j$^$9!#\e(B
5209 @end ifset
5210 @ifset us
5211 When you come to receive hundreds of messages in a day(don't you believe
5212 it?), refiling messages becomes a very tough job. Mew neatly guesses
5213 default folders where the message is supposed to be refiled when you
5214 type @samp{o}. You can see an example below.
5215 @end ifset
5216
5217 @example
5218 Folder name (+work/mew-dist): +
5219 @end example
5220
5221 @ifset jp
5222 \e$B$b$7!"\e(B() \e$B$NCf$N%G%U%)%k%HCM$,<+J,$N4uK>DL$j$G$"$l$P!"\e(B@samp{RET} \e$B$r2!$9$@\e(B
5223 \e$B$1$G$h$$$N$G$9!#@0F\@h$,7hDj$7$F$$$k%a%C%;!<%8$K$O!"\e(B@samp{o} \e$B%^!<%/$,IU\e(B
5224 \e$B$-$^$9!#\e(B
5225 @end ifset
5226 @ifset us
5227 If the default value in () is proper, just type @samp{RET}. The messages
5228 will be marked with @samp{o} if its refiling folders are decided.
5229 @end ifset
5230
5231 @ifset jp
5232 \e$B$3$N@0F\@h$N?dB,$,8-$1$l$P8-$$Dx%f!<%6$O3Z$K$J$j$^$9!#\e(BMew \e$B$G$O0J2<$N$h$&\e(B
5233 \e$B$J%k!<%k$,MQ0U$5$l$F$$$^$9!#\e(B
5234 @end ifset
5235 @ifset us
5236 As you know, the more excellent refiling guess algorithms become, the
5237 less user's job troublesome. Mew provides you with the following rules.
5238 @end ifset
5239
5240 @menu
5241 @ifset jp
5242 * by-folder::                   \e$B%a!<%j%s%0%j%9%HMQ$N%U%)%k%@$+$i?dB,\e(B
5243 * by-alist::                    \e$B;XDj$7$?%k!<%k$+$i?dB,\e(B
5244 * by-thread::                   \e$BBPOC4X78$+$i?dB,\e(B
5245 * by-from-folder::              \e$B8D?MMQ$N%U%)%k%@$+$i?dB,\e(B
5246 * by-from::                     From: \e$B$+$i?dB,\e(B
5247 * by-newsgroups::               Newsgroups: \e$B$+$i?dB,\e(B
5248 * by-default::                  \e$B%G%U%)%k%H$N5,B'\e(B
5249 * guess-rule::                  \e$B%k!<%k$N@)8f\e(B
5250 * auto-refile::                 \e$B<+F0$G@0M}@0F\\e(B
5251 @end ifset
5252 @ifset us
5253 * by-folder::                   Guess by mailing-list folders
5254 * by-alist::                    Guess by user defined rules
5255 * by-thread::                   Guess by thread
5256 * by-from-folder::              Guess by private folders
5257 * by-from::                     Guess by From:
5258 * by-newsgroups::               Guess by Newsgroups:
5259 * by-default::                  Guess by default rule
5260 * guess-rule::                  Controlling rules
5261 * auto-refile::                 Auto refile
5262 @end ifset
5263 @end menu
5264
5265 @c %%%%%%%%%%%%%%%%%
5266 @node by-folder, by-alist, Refile, Refile
5267 @ifset jp
5268 @section \e$B%a!<%j%s%0%j%9%HMQ$N%U%)%k%@$+$i?dB,\e(B
5269 @end ifset
5270 @ifset us
5271 @section Guess by mailing-list folders
5272 @end ifset
5273
5274 @ifset jp
5275 \e$B$"$k%a!<%j%s%0%j%9%H08$N%a%C%;!<%8$r!"$=$N%a!<%j%s%0%j%9%HL>$N%U%)%k%@$K\e(B
5276 \e$B@0M}$9$k$3$H$OB?$$$H;W$$$^$9!#\e(BMew \e$B$G$O%a!<%j%s%0%j%9%H08$KFO$$$?%a%C%;!<\e(B
5277 \e$B%8$KBP$7$F!"$=$lMQ$N%U%)%k%@$r?dB,$9$k5!G=$,$"$j$^$9!#\e(B
5278 @end ifset
5279 @ifset us
5280 Many users tend to refile messages destined to a mailing-list to a
5281 folder whose name is the same as the mailing-list. Mew provides a
5282 mechanism to guess a mailing-list folder for messages destined to
5283 mailing-lists.
5284 @end ifset
5285
5286 @ifset jp
5287 \e$B$?$H$($P!"\e(B+misc/pooh-lovers \e$B$H$$$&%U%)%k%@$,$"$C$?$H$7$^$7$g$&!#<!$N$h$&\e(B
5288 \e$B$J%a%C%;!<%8$O!"$3$N%U%)%k%@$K@0F\$9$l$P$h$$2DG=@-$,9b$$$H$$$($^$9!#\e(B
5289 @end ifset
5290 @ifset us
5291 Suppose that you have a folder named +misc/pooh-lovers. The following
5292 message is probably to be refiled to this folder.
5293 @end ifset
5294
5295 @example
5296 To: pooh-lovers@@mew.org 
5297 @end example
5298
5299 @ifset jp
5300 \e$B$3$N$h$&$K!"\e(BTo: \e$B$d\e(B Cc: \e$B$N%"%I%l%9$,!"%U%)%k%@L>$N0lHV1&B&$K%^%C%A$9$k$b\e(B
5301 \e$B$N$,$J$$$+C5$9$o$1$G$9!#%U%)%k%@$r3,AX2=$7$F$$$J$$?M$,B?$$$h$&$G$9$,!"\e(B
5302 Mew \e$B$r;H$&8B$j!"3,AX2=$7$J$$<j$O$"$j$^$;$s!#\e(B
5303 @end ifset
5304 @ifset us
5305 Likewise, Mew searches a matching folder forward with addresses on To:
5306 and Cc:. There are many people who don't use recursive folders. With
5307 Mew, however, you would not be smart if you don't use it.
5308 @end ifset
5309
5310 @ifset jp
5311 \e$B$5$F!"1T$$?M$O<!$N$h$&$K8D?M$N%"%I%l%9$,\e(B To: \e$B$d\e(B Cc: \e$B$K$"$k>l9g!":$$k$N$G\e(B
5312 \e$B$O$J$$$+$H;W$&$G$7$g$&!#\e(B
5313 @end ifset
5314 @ifset us
5315 Smart users may wonder that they get a trouble in the following
5316 situation where private addresses are on To: or Cc:.
5317 @end ifset
5318
5319 @example
5320 To: piglet@@mew.org
5321 Cc: pooh-lovers@@mew.org
5322 @end example
5323
5324 @ifset jp
5325 \e$B$?$H$($P!"\e(Bpooh \e$B$O\e(B pooh-lovers \e$B$N0l0w$G$9$+$i!"$3$N%a%C%;!<%8$,FO$-$^$9!#\e(B
5326 \e$B$7$+$7!"\e(Bpiglet \e$B$HCg$,$$$$$N$G!"\e(B+from/piglet \e$B$K%^%C%A$7$F$7$^$$$^$9!#\e(B
5327 @end ifset
5328 @ifset us
5329 Since pooh is a member of pooh-lovers, he receives this message. But he
5330 has a folder for his friend, pooh. So, +from/piglet may be chosen.
5331 @end ifset
5332
5333 @ifset jp
5334 \e$B$=$3$G!"\e(BMew \e$B$G$OL5;k$9$k%U%)%k%@$r@_Dj$G$-$k$h$&$K$J$C$F$$$^$9!#%G%U%)%k\e(B
5335 \e$B%H$G$O!"\e(B+from \e$B0J2<$rL5;k$7$^$9!#$G$9$+$i!"8D?M$+$i$N%a%C%;!<%8$O\e(B +from 
5336 \e$B0J2<$K$K<}$a$F2<$5$$\e(B
5337 @end ifset
5338 @ifset us
5339 To avoid this, Mew allows you to specify which folders are to be
5340 ignored. The default is +from. So, please take a convention to refile
5341 personal messages under +from.
5342 @end ifset
5343
5344 @ifset jp
5345 \e$B8uJd$,7hDj$G$-$?$i\e(B
5346 @end ifset
5347 @ifset us
5348 When Mew guesses a candidate by the folders, it asks you:
5349 @end ifset
5350
5351 @example
5352 Folder name (+misc/pooh-lovers): +
5353 @end example
5354
5355 @ifset jp
5356 \e$B$H?V$$$F$-$^$9!#$"$C$F$$$l$P\e(B @samp{RET} \e$B$r!"0c$C$F$$$l$P$*K>$_$N%U%)%k%@\e(B
5357 \e$B$rF~NO$7$F2<$5$$!#\e(B
5358 @end ifset
5359 @ifset us
5360 Just type @samp{RET} if the default is exactly what you want.
5361 @end ifset
5362
5363 @ifset jp
5364 @samp{o} \e$B$G?7$7$$%U%)%k%@$r;XDj$9$k$H!"$=$N%U%)%k%@$,<+F0E*$K:n@.$5$l!"\e(B
5365 \e$B<!$+$i$O?dB,MQ$N8uJd$K$b2C$o$j$^$9!#JXMx$G$7$g!)\e(B
5366 @end ifset
5367 @ifset us
5368 If you specify a new folder with @samp{o}, the folder is created and
5369 added to the folder list to be used for guess. Convenient, isn't it?
5370 @end ifset
5371
5372 @ifset jp
5373 \e$B$3$N5!G=$rDs6!$9$k4X?t$O\e(B @samp{mew-refile-guess-by-folder} \e$B$G$9!#\e(B
5374 @end ifset
5375 @ifset us
5376 The function name to provide this feature is
5377 @samp{mew-refile-guess-by-folder}.
5378 @end ifset
5379
5380 @c %%%%%%%%%%%%%%%%%
5381 @node by-alist, by-thread, by-folder, Refile
5382 @ifset jp
5383 @section \e$B;XDj$7$?%k!<%k$+$i?dB,\e(B
5384 @end ifset
5385 @ifset us
5386 @section Guess by user defined rules
5387 @end ifset
5388 @vindex mew-refile-guess-alist
5389
5390 @ifset jp
5391 \e$B%U%)%k%@L>$+$i?dB,$9$k5!G=$@$1$G$O!";W$&$h$&$J%U%)%k%@$r?dB,$7$F$/$l$J$$\e(B
5392 \e$B>l9g$,$"$j$^$9!#$?$H$($P!"\e(BTo: \e$B$,\e(B staff@@mew.org \e$B$G$"$k%a%C%;!<%8$H\e(B To: 
5393 \e$B$,\e(B staff@@iijlab.net \e$B$G$"$k%a%C%;!<%8$KBP$7!"%U%)%k%@L>$+$i$N?dB,$G$OF1\e(B
5394 \e$B$8%U%)%k%@\e(B(\e$B$?$H$($P!"\e(B"+net/staff")\e$B$,A*$P$l$F$7$^$$$^$9!#$=$3$G!"\e(BMew \e$B$G$O!"\e(B
5395 \e$BJQ?t\e(B @samp{mew-refile-guess-alist} \e$B$KL@<(E*$K%k!<%k$r@_Dj$G$-$^$9!#\e(B
5396 @end ifset
5397 @ifset us
5398 There are some cases where the refile guess mechanism by folders doesn't
5399 work as you wish. For example, for both a message whose To: is
5400 staff@@mew.org and another message whose To: is staff@@iijlab.net, the
5401 same folder would be selected with guess by folders(e.g. "+net/staff").
5402 So, Mew allows you to define your own rules explicitly.
5403 @end ifset
5404
5405 @ifset jp
5406 1\e$B$DNc$r5s$2$F$_$^$7$g$&!#\e(B
5407 @end ifset
5408 @ifset us
5409 Let's look at an example.
5410 @end ifset
5411
5412 @example
5413 (setq  mew-refile-guess-alist
5414   '(("To:"
5415       ("staff@@mew.org" . "+net/mew/staff")
5416       ("staff@@iijlab.net" . "+net/iijlab/staff")
5417      )))
5418 @end example
5419
5420 @ifset jp
5421 \e$B$3$l$O!"%a%C%;!<%8%X%C%@Cf$N\e(B To: \e$B$N2#$NJ8;zNs$K\e(B staff@@mew.org \e$B$,$"$l$P\e(B 
5422 +net/mew/staff \e$B$X!"\e(Bstaff@@iijlab.net \e$B$,$"$l$P\e(B +net/iijlab/staff \e$B$X@0F\$9\e(B
5423 \e$B$k$H$$$&0UL#$G$9!#\e(B
5424 @end ifset
5425 @ifset us
5426 This means that if To: contains staff@@mew.org +net/mew/staff is
5427 selected and if To: has staff@@iijlab.net +net/iijlab/staff is chosen.
5428 @end ifset
5429
5430 @ifset jp
5431 \e$B%k!<%k$O!"0J2<$N$h$&$K=q$-$^$9!#\e(B
5432 @end ifset
5433 @ifset us
5434 The format of this rule is as follow:
5435 @end ifset
5436
5437 @example
5438 rule ::= '((<key> <alist>) (<key> <alist>) (<key> <alist>) ...)
5439 @end example
5440
5441 @ifset jp
5442 \e$BA4BN$O\e(B (<key> <alist>) \e$B$N%j%9%H$G$9!#\e(B<key> \e$B$O%U%#!<%k%IL>$r=q$-$^$9!#\e(B
5443 <alist> \e$B$O0J2<$N$h$&$K$J$j$^$9!#\e(B
5444 @end ifset
5445 @ifset us
5446 The whole is a list of (<key> <alist>). A field name is specified for
5447 <key>. The format for <alist> is as follows:
5448 @end ifset
5449
5450 @example
5451 <alist> ::= (<value> . <folder>|<rule>) (<value> . <folder>|<rule>) ...
5452 @end example
5453
5454 @ifset jp
5455 <value> \e$B$O\e(B <key> \e$B$G<($7$?%U%#!<%k%I$K$/$kCM$G$9!#\e(B<folder> \e$B$O\e(B <key> \e$B$K%^%C\e(B
5456 \e$B%A$7$?:]$K$I$N%U%)%k%@$K@0F\$9$k$+$r0UL#$7$F$$$^$9!#\e(B<value> \e$B$H\e(B <folder> 
5457 \e$B$r\e(B @samp{.} \e$B$G6h@Z$k$N$rK:$l$J$$$G2<$5$$!#\e(B<folder> \e$B$NBe$j$K\e(B <rule> \e$B$r:F\e(B
5458 \e$B5"E*$K5-=R$9$k$3$H$b$G$-$^$9!#\e(B
5459 @end ifset
5460 @ifset us
5461 <value> is a field value for <key>. <folder> means a folder to be chosen
5462 if matched. Please note that <value> and <folder> is separated with
5463 @samp{.}.
5464 @end ifset
5465
5466 @ifset jp
5467 \e$BFC<l$J\e(B <key> \e$B$H$7$F\e(B @samp{nil} \e$B$H\e(B @samp{t} \e$B$,$"$j$^$9!#\e(B@samp{nil} \e$B$O!"2?\e(B
5468 \e$B$b?dB,$G$-$J$+$C$?>l9g$KJV$9\e(B <value> \e$B$r;XDj$9$k$?$a$KMQ$$$^$9!#\e(B@samp{t} 
5469 \e$B$O!"?dB,$7$?CM$K2C$($FJV$9\e(B <value> \e$B$r;X<($9$k$?$a$K;H$$$^$9!#\e(B
5470 @end ifset
5471 @ifset us
5472 There are two special <key>s: @samp{nil} and @samp{t}. @samp{nil} is
5473 used to specify <value> to be returned when nothing is guessed. @samp{t}
5474 is for <value> to be returned in addition to guessed values.
5475 @end ifset
5476
5477 @ifset jp
5478 \e$B@55,I=8=$rCN$C$F$$$k?M$O!"0J2<$N$h$&$JJ#;($J%k!<%k$r@_Dj$G$-$^$9!#\e(B
5479 @end ifset
5480 @ifset us
5481 If you know regular expression, a more advanced rule can be defined like
5482 this.
5483 @end ifset
5484
5485 @example
5486 (setq mew-refile-guess-alist
5487   '(("Newsgroups:"
5488     ("^nifty\\.\\([^ ]+\\)" . "+Nifty/\\1")
5489     (".*"         . "+rec/news"))
5490    ("To:"
5491     ("\\(inet\\|wide\\)@@wnoc-fuk" . "+wide/\\1-wnoc-fuk"))
5492    ("From:" 
5493     ("uucp@@"      . "+adm/uucp")
5494     ("ftpsync@@"   . "+adm/ftpsync"))
5495    (nil . "+unknown")))
5496 @end example
5497
5498 @ifset jp
5499 \e$B$3$N5!G=$rDs6!$9$k4X?t$O\e(B @samp{mew-refile-guess-by-alist} \e$B$G$9!#\e(B
5500 @end ifset
5501 @ifset us
5502 The function name to provide this feature is
5503 @samp{mew-refile-guess-by-alist}.
5504 @end ifset
5505
5506 @c %%%%%%%%%%%%%%%%%
5507 @node by-thread, by-from-folder, by-alist, Refile
5508 @ifset jp
5509 @section \e$BBPOC4X78$+$i?dB,\e(B
5510 @end ifset
5511 @ifset us
5512 @section Guess by thread
5513 @end ifset
5514 @vindex mew-lisp-max-length
5515
5516 @ifset jp
5517 Mew \e$B$K$O!"@0F\$7$h$&$H$7$F$$$k%a%C%;!<%8$N?F$N%a%C%;!<%8$,0JA0@0F\$5$l$?\e(B
5518 \e$B%U%)%k%@$rA*Br$7$F$/$l$k5!G=$,$"$j$^$9!#\e(B
5519 @end ifset
5520 @ifset us
5521 Mew provides a mechanism to guess a folder where the parent message of a
5522 current message was refiled before.
5523 @end ifset
5524
5525 @ifset jp
5526 \e$B$?$H$($P!"\e(Bpooh\e$B!"\e(Bpiglet\e$B!"\e(Broo \e$B$H$N4V$G!"K*L*$r<h$j$K9T$3$&$H$$$&OCBj$,@9$j\e(B
5527 \e$B>e$,$C$?$H$7$^$7$g$&!#\e(Bpooh \e$B$O!"\e(B+project/honey \e$B$H$$$&%U%)%k%@$r:n$C$F!":G\e(B
5528 \e$B=i$N%a%C%;!<%8$r$=$3$K\e(B \e$B@0F\$7$?$H$7$^$7$g$&!#0J9_!"\e(B3\e$B?M$N4V$N%a%C%;!<%8$,\e(B
5529 \e$B$-$A$s$H$7$?JVEz$G$"$k$+$.$j!"\e(B+project/honey \e$B$r?dB,$7$F$/$l$^$9!#\e(B
5530 @end ifset
5531 @ifset us
5532 For example, pooh, piglet, and roo had a chat to go and get honey. So,
5533 pooh made +project/honey then refiled the message to it. The further
5534 messages, if they are properly replied, they are supposed to be refiled
5535 to +project/honey.
5536 @end ifset
5537
5538 @ifset jp
5539 \e$B$"$k%a%C%;!<%8$r$I$3$KJ]B8$7$?$+$H$$$&>pJs$O!"\e(B
5540 "~/Mail/.mew-refile-msgid-alist" \e$B$KJ]B8$5$l$F$$$^$9!#$3$N>pJs$r2a5n2?DL\e(B
5541 \e$B$N%a%C%;!<%8$K4X$7$FJ]B8$9$k$+$O!"\e(B@samp{mew-lisp-max-length} \e$B$G7hDj$7$^\e(B
5542 \e$B$9!#%G%U%)%k%H$O\e(B 1000 \e$BDL$G$9!#\e(B2000 \e$BDL$K$7$?$$>l9g$O\e(B"~/.emacs" \e$BCf$G0J2<$N\e(B
5543 \e$B$h$&$K@_Dj$7$F2<$5$$!#\e(B
5544 @end ifset
5545 @ifset us
5546 Information that which folder was chosen for messages is stored to
5547 "~/Mail/.mew-refile-msgid-alist". @samp{mew-lisp-max-length} controls
5548 the amount of this information. The default value is 1000 messages. If
5549 you want limits it to 2000 messages, put the following to "~/.emacs".
5550 @end ifset
5551
5552 @example
5553 (setq mew-lisp-max-length 2000)
5554 @end example
5555
5556 @ifset jp
5557 \e$B$3$N5!G=$rDs6!$9$k4X?t$O\e(B @samp{mew-refile-guess-by-thread} \e$B$G$9!#\e(B
5558 @end ifset
5559 @ifset us
5560 The function name to provide this feature is
5561 @samp{mew-refile-guess-by-message-id}.
5562 @end ifset
5563
5564 @c %%%%%%%%%%%%%%%%%
5565 @node by-from-folder, by-from, by-thread, Refile
5566 @ifset jp
5567 @section \e$B8D?MMQ$N%U%)%k%@$+$i?dB,\e(B
5568 @end ifset
5569 @ifset us
5570 @section Guess by private folders
5571 @end ifset
5572 @vindex mew-refile-guess-from-me-is-special
5573
5574 @ifset jp
5575 @xref{by-folder} \e$B$G@bL@$7$?%a!<%j%s%0%j%9%HMQ$N%U%)%k%@$r?dB,$9$k$K2C$(\e(B
5576 \e$B$F!"8D?MMQ$N%U%)%k%@$r?dB,$9$k5!G=$,$"$j$^$9!#8D?MMQ$N%U%)%k%@$O\e(B +from 
5577 \e$B0J2<$K$"$j$^$9$+$i!"\e(B+from \e$B0J2<$N%U%)%k%@$rA*Br$9$k5!G=$@$H$b$$$($^$9!#0J\e(B
5578 \e$B2<$NNc$r9M$($F$_$^$7$g$&!#\e(B
5579 @end ifset
5580 @ifset us
5581 In addition to the mechanism to select a mailing-list folder described
5582 in @xref{by-folder}, Mew provides a mechanism to choose a private
5583 folder. Since private folders locate under +from, we can say that this
5584 mechanism select a folder from the folders under +from. Let's see the
5585 following example:
5586 @end ifset
5587
5588 @example
5589 To: pooh@@mew.org
5590 From: piglet@@mew.org
5591 @end example
5592
5593 @ifset jp
5594 piglet \e$B$+$i\e(B pooh \e$B$K%a%C%;!<%8$,Mh$^$7$?!#\e(Bpooh \e$B$,$3$N5!G=$r;H$&$H!"\e(BFrom: 
5595 \e$B$r<j$,$+$j$K\e(B +from/piglet \e$B$,A*Br$5$l$^$9!#\e(B(+from \e$B0J2<$O3,AX2=$5$l$F$$$F\e(B
5596 \e$B$b9=$$$^$;$s!#$^$?!"%U%)%k%@L>$O%f!<%6L>$@$1$G$O$J$/%"%I%l%9A4BN$G$b\e(B OK 
5597 \e$B$G$9!#\e(B)
5598 @end ifset
5599 @ifset us
5600 pooh received a message from piglet. If pooh uses this mechanism,
5601 +from/piglet will be chosen according to From:. (Folders under +from can
5602 be recurse. And you can select the entire address for a folder name
5603 instead of the user part.)
5604 @end ifset
5605
5606 @ifset jp
5607 \e$B$3$N5!G=$rDs6!$9$k4X?t$O!"\e(B@samp{mew-refile-guess-by-from-folder} \e$B$H$$$$$^$9!#\e(B
5608 @end ifset
5609 @ifset us
5610 The function to provide this feature is
5611 @samp{mew-refile-guess-by-from-folder}.
5612 @end ifset
5613
5614 @ifset jp
5615 \e$B<!$K!"\e(Bpooh \e$B$,\e(B piglet \e$B$KJVEz$7$?>l9g$r9M$($^$7$g$&!#\e(Bpooh \e$B$O<+J,<+?H$K\e(B Cc: 
5616 \e$B$7$F$$$?$N$G!"<+J,$K%a%C%;!<%8$,La$C$F$-$^$7$?!#\e(B
5617 @end ifset
5618 @ifset us
5619 Next, let's consider a care where pooh replied to piglet. Since pooh
5620 Cc:ed the message to himself, the message was also delivered to him.
5621 @end ifset
5622
5623 @example
5624 To: piglet@@mew.org
5625 Cc: pooh@@mew.org
5626 From: pooh@@mew.org
5627 @end example
5628
5629 @ifset jp
5630 pooh \e$B$NN)>l$K$J$C$F9M$($F$_$F2<$5$$!#$3$N%a%C%;!<%8$r\e(B +from/pooh \e$B$K@0F\\e(B
5631 \e$B$9$k$+!"$"$k$$$O\e(B +from/piglet \e$B$K@0F\$9$k$N$+$O!"9%$_$,J,$+$l$k$H$3$m$G$7$g\e(B
5632 \e$B$&!#$=$3$G!"$I$A$i$rA*Br$9$k$N$+%+%9%?%^%$%:$G$-$k$h$&$K$J$C$F$$$^$9!#\e(B
5633 @end ifset
5634 @ifset us
5635 How do you feel if you are pooh? You may want to refile this to
5636 +from/pooh. Also, you may want to move this to +from/piglet. So, it can
5637 be customized.
5638 @end ifset
5639
5640 @ifset jp
5641 @samp{mew-refile-guess-from-me-is-special} \e$B$,\e(B @samp{t} \e$B$J$i!"\e(B
5642 @samp{mew-refile-guess-by-from-folder} \e$B$O!"\e(BFrom: \e$B$,<+J,$N%"%I%l%9$N>l9g\e(B
5643 \e$B$K!"\e(BTo: \e$B$H\e(B Cc: \e$B$K$"$k%"%I%l%9$r$b$H$K!"\e(B+from \e$B0J2<$N%U%)%k%@$rA*Br$7$^$9!#\e(B
5644 @end ifset
5645 @ifset us
5646 If @samp{mew-refile-guess-from-me-is-special} is @samp{t} and if an
5647 address in From: is yourself, @samp{mew-refile-guess-by-from-folder}
5648 select a folder under +from according to To: and/or Cc:.
5649 @end ifset
5650
5651 @c %%%%%%%%%%%%%%%%%
5652 @node by-from, by-newsgroups, by-from-folder, Refile
5653 @ifset jp
5654 @section From: \e$B$+$i?dB,\e(B
5655 @end ifset
5656 @ifset us
5657 @section Guess by From:
5658 @end ifset
5659 @vindex mew-lisp-max-length
5660 @vindex mew-refile-guess-from-me-is-special
5661
5662 @ifset jp
5663 From: \e$B$KF10l$N%"%I%l%9$r;}$D%a%C%;!<%8$,!"$+$D$F$I$3$K@0F\$5$l$?$+$K$h$C\e(B
5664 \e$B$F?dB,$9$k5!G=$,$"$j$^$9!#\e(B
5665 @end ifset
5666 @ifset us
5667 Mew also provides a mechanism to guess a folder by the place where a
5668 message that has the same From: field is refiled.
5669 @end ifset
5670
5671 @ifset jp
5672 \e$B$?$H$($P!"\e(Bpiglet \e$B$O\e(B piglet@@beech.tree.uk \e$B$H\e(B p-p-p@@mew.org \e$B$N\e(B 2 \e$B$D$N%"\e(B
5673 \e$B%I%l%9$r;}$C$F$$$k$H$7$^$7$g$&!#$I$A$i$N%"%I%l%9$+$i%a%C%;!<%8$,FO$$$F$b!"\e(B
5674 pooh \e$B$O$=$l$i$r\e(B +from/piglet \e$B$K@0F\$7$?$$$H;W$C$F$$$^$9!#$b$A$m$s!"0J2<\e(B
5675 \e$B$N$h$&$KL@<(E*$K%k!<%k$r=q$1$P<B8=$G$-$^$9!#\e(B
5676 @end ifset
5677 @ifset us
5678 Suppose that piglet has two addresses, piglet@@beech.tree.uk and
5679 p-p-p@@mew.org. pooh wants to refile messages from piglet to
5680 +from/piglet no matter what his From: is. This policy can, of course, be
5681 implemented if pooh specifies rules explicitly as follows:
5682 @end ifset
5683
5684 @example
5685 (setq  mew-refile-guess-alist
5686   '(("From:"
5687       ("piglet@@beech.tree.uk" . "+from/piglet")
5688       ("p-p-p@@mew.org"        . "+from/piglet"))))
5689 @end example
5690
5691 @ifset jp
5692 \e$B$7$+$7!"$$$A$$$A%k!<%k$r=q$/$N$OLLE]$G$9!#$=$3$G!"$^$:\e(B From: \e$B$,\e(B 
5693 piglet@@beech.tree.uk \e$B$G$"$k%a%C%;!<%8$r\e(B +from/piglet \e$B$K@0F\$7$^$9!#$3$l\e(B
5694 \e$B$G%U%)%k%@\e(B +from/piglet \e$B$,:n@.$5$l$^$9!#<!$K!"\e(BFrom: \e$B$,\e(B p-p-p@@mew.org \e$B$G\e(B
5695 \e$B$"$k%a!<%k$r\e(B +from/piglet \e$B$K@0F\$7$?$H$7$^$9!#$3$3$G\e(B Mew \e$B$O!"\e(B
5696 p-p-p@@mew.org \e$B$,\e(B +from/piglet \e$B$K@0F\$5$l$?$3$H$r3X=,$7$^$9!#0J8e\e(B From: 
5697 \e$B$,\e(B p-p-p@@mew.org \e$B$G$"$k%a%C%;!<%8$r@0F\$7$h$&$H$9$k$H!"\e(B+from/piglet \e$B$r\e(B
5698 \e$BA*Br$9$k$h$&$K$J$j$^$9!#\e(B
5699 @end ifset
5700 @ifset us
5701 But such a work may bother you. So, first refile a message whose From:
5702 is piglet@@beech.tree.uk to +from/piglet. At this time, +from/piglet is
5703 created. Next, refile a message whose From: is p-p-p@@mew.org to
5704 +from/piglet. Here Mews learns that p-p-p@@mew.org was refiled to
5705 +from/piglet. After this, when messages whose From: is p-p-p@@mew.org
5706 are refiled, +from/piglet is chosen.
5707 @end ifset
5708
5709 @ifset jp
5710 \e$B$=$NB>!"5!3#$+$i$/$k%a%C%;!<%8$O!"$$$D$b\e(B +adm/misc \e$B$KF~$l$k$3$H$K$7$?$$\e(B
5711 \e$B>l9g$J$I$b!"L@<(E*$J%k!<%k$r=q$+$:$K:Q$^$;$i$l$^$9!#\e(B
5712 @end ifset
5713 @ifset us
5714 For another example, you can refile messages from machinery to +adm/misc
5715 without defining an explicit rule.
5716 @end ifset
5717
5718 @ifset jp
5719 From: \e$B$H%U%)%k%@$N>pJs$O!"\e(B"~/Mail/.mew-refile-from-alist" \e$B$KJ]B8$5$l$F$$\e(B
5720 \e$B$^$9!#$3$N>pJs$r2a5n2?DL$N%a%C%;!<%8$K4X$7$FJ]B8$9$k$+$O!"\e(B
5721 @xref{by-thread} \e$B$HF1MM$K\e(B @samp{mew-lisp-max-length} \e$B$G7hDj$7$^$9!#\e(B
5722 @end ifset
5723 @ifset us
5724 Information for relationship between From: and folder is stored to
5725 "~/Mail/.mew-refile-from-alist". @samp{mew-lisp-max-length} controls the
5726 amount of this information as the same as @xref{by-thread}.
5727 @end ifset
5728
5729 @ifset jp
5730 \e$B$3$N5!G=$rDs6!$9$k4X?t$O\e(B @samp{mew-refile-guess-by-from} \e$B$G$9!#\e(B
5731 @end ifset
5732 @ifset us
5733 The function name to provide this feature is
5734 @samp{mew-refile-guess-by-from}.
5735 @end ifset
5736
5737 @ifset jp
5738 @samp{mew-refile-guess-from-me-is-special} \e$B$,\e(B @samp{t} \e$B$N>l9g!"\e(B
5739 @samp{mew-refile-guess-by-from} \e$B$O\e(B 
5740 @samp{mew-refile-guess-by-from-folder}(@xref{by-from-folder})\e$B$HF1MM$JF0\e(B
5741 \e$B$-$r$7$^$9!#\e(B
5742 @end ifset
5743 @ifset us
5744 If the value of @samp{mew-refile-guess-from-me-is-special} is @samp{t},
5745 @samp{mew-refile-guess-by-from} acts as
5746 @samp{mew-refile-guess-by-from-folder}(@xref{by-from-folder}).
5747 @end ifset
5748
5749 @c %%%%%%%%%%%%%%%%%
5750 @node by-newsgroups, by-default, by-from, Refile
5751 @ifset jp
5752 @section Newsgroups: \e$B$+$i?dB,\e(B
5753 @end ifset
5754 @ifset us
5755 @section Guess by Newsgroups:
5756 @end ifset
5757
5758 @ifset jp
5759 \e$B%M%C%H%K%e!<%9$r%a%C%;!<%8$G<u$1$F\e(B Mew \e$B$GFI$s$G$$$k?M$N$?$a$K!"\e(B
5760 Newsgroups: \e$B$+$i%U%)%k%@$r?dB,$9$k5!G=$rMQ0U$7$^$7$?!#>-Mh\e(B Mew \e$B$,%M%C%H\e(B
5761 \e$B%K%e!<%9$r%5%]!<%H$7$?>l9g$K$bM-8z$G$7$g$&!#4X?tL>$O\e(B 
5762 @samp{mew-refile-guess-by-newsgroups} \e$B$G$9!#\e(B
5763 @end ifset
5764 @ifset us
5765 For those who read NetNews received by Email with Mew, Mew provides a
5766 mechanism to guess a folder by Newsgroups:. It will be also useful when
5767 Mew integrates NetNews in the future.  The function name to provide this
5768 feature is @samp{mew-refile-guess-by-newsgroups}.
5769 @end ifset
5770
5771 @c %%%%%%%%%%%%%%%%%
5772 @node by-default, guess-rule, by-newsgroups, Refile
5773 @ifset jp
5774 @section \e$B%G%U%)%k%H$N5,B'\e(B
5775 @end ifset
5776 @ifset us
5777 @section Guess by default rule
5778 @end ifset
5779 @vindex mew-refile-guess-strip-domainpart
5780
5781 @ifset jp
5782 \e$B%G%U%)%k%H$N5,B'$O!"\e(BFrom: \e$B$+$i%"%I%l%9L>$r@Z$j=P$7$F!"\e(B
5783 @samp{+from/user@@domain} \e$B$rA*$V$h$&$K$J$C$F$$$^$9!#$?$@$7!"\e(B
5784 @samp{mew-refile-guess-strip-domainpart} \e$B$,\e(B @samp{t} \e$B$J$i%f!<%6L>$r@Z$j\e(B
5785 \e$B=P$9$N$G!"\e(B@samp{+from/user} \e$B$,A*Br$5$l$^$9!#\e(B
5786 @end ifset
5787 @ifset us
5788 The default rule is extract an address from From: and chooses
5789 @samp{+from/user@@domain}. But if
5790 @samp{mew-refile-guess-strip-domainpart} is @samp{t}, it extracts the
5791 user part. So, @samp{+from/user} is chosen.
5792 @end ifset
5793
5794 @ifset jp
5795 \e$B4X?tL>$O!"\e(B@samp{mew-refile-guess-by-default} \e$B$G$9!#\e(B
5796 @end ifset
5797 @ifset us
5798 The function name is @samp{mew-refile-guess-by-default}.
5799 @end ifset
5800
5801 @c %%%%%%%%%%%%%%%%%
5802 @node guess-rule, auto-refile, by-default, Refile
5803 @ifset jp
5804 @section \e$B%k!<%k$N@)8f\e(B
5805 @end ifset
5806 @ifset us
5807 @section Controlling rules
5808 @end ifset
5809 @vindex mew-refile-guess-control
5810 @vindex mew-refile-ctrl-multi
5811
5812 @ifset jp
5813 Mew \e$B$G$O!"%U%)%k%@?dB,$N%k!<%k$r\e(B2\e$B$D$NJQ?t!"\e(B
5814 @samp{mew-refile-guess-control} \e$B$H\e(B @samp{mew-refile-ctrl-multi} \e$B$G@)8f$7\e(B
5815 \e$B$^$9!#\e(B@samp{mew-refile-guess-control} \e$B$O!"8F$S=P$94X?t$r=g$KDj5A$7$^$9!#\e(B
5816 \e$B8uJd$rJ#?t$K$7$?$$>l9g$O\e(B @samp{mew-refile-ctrl-multi} \e$B$r\e(B @samp{t} \e$B$K!"C1\e(B
5817 \e$B?t$K$7$?$$>l9g$O\e(B @samp{nil} \e$B$K@_Dj$7$^$9!#\e(B
5818 @end ifset
5819 @ifset us
5820 Mew controls guess rules by two variables,
5821 @samp{mew-refile-guess-control} and @samp{mew-refile-ctrl-multi}. If you
5822 want multiple candidates, set @samp{mew-refile-ctrl-multi}
5823 @samp{t}. Otherwise, set it @samp{nil}.
5824 @end ifset
5825
5826 @ifset jp
5827 \e$BI8=`$G$O!"\e(B@samp{mew-refile-guess-control} \e$B$O0J2<$N$h$&$K@k8@$5$l$F$$$^$9\e(B
5828 (\e$B@k8@$J$N$G\e(B @samp{defvar} \e$B$,;H$o$l$F$$$^$9\e(B)\e$B!#\e(B
5829 @end ifset
5830 @ifset us
5831 By default, @samp{mew-refile-guess-control} is declared as follows(since
5832 it is a declaration, @samp{defvar} is used):
5833 @end ifset
5834
5835 @example
5836 (defvar mew-refile-guess-control
5837   '(mew-refile-guess-by-alist
5838     mew-refile-ctrl-throw
5839     mew-refile-guess-by-newsgroups
5840     mew-refile-guess-by-folder
5841     mew-refile-ctrl-throw
5842     mew-refile-ctrl-auto-boundary
5843     mew-refile-guess-by-thread
5844     mew-refile-ctrl-throw
5845     mew-refile-guess-by-from-folder
5846     mew-refile-ctrl-throw
5847     mew-refile-guess-by-from
5848     mew-refile-ctrl-throw
5849     mew-refile-guess-by-default))
5850 @end example
5851
5852 @ifset jp
5853 Mew \e$B$O\e(B @samp{mew-refile-guess-control} \e$B$KJB$Y$i$l$?4X?t$r=gHV$K$9$Y$F<B\e(B
5854 \e$B9T$7$^$9!#3F!9$N4X?t$,J#?t$N8uJd$r?dB,$9$k$3$H$,$"$j$^$9!#\e(B
5855 @end ifset
5856 @ifset us
5857 Mew executes every function defined in @samp{mew-refile-guess-control}
5858 in order. Each function may guess multiple candidates.
5859 @end ifset
5860
5861 @ifset jp
5862 @samp{mew-refile-guess-control} \e$B$NF0:nNc$H$7$F0J2<$r9M$($F$_$^$7$g$&!#\e(B
5863 @end ifset
5864 @ifset us
5865 Let's see the following example of @samp{mew-refile-guess-control}
5866 action.
5867 @end ifset
5868
5869 @table @samp
5870 @ifset jp
5871 @item mew-refile-guess-by-alist
5872     \e$B$,\e(B +aaa, +bbb \e$B$r?dB,!#\e(B
5873 @item mew-refile-guess-by-folder
5874     \e$B$,\e(B +ccc, +ddd \e$B$r?dB,!#\e(B
5875 @item mew-refile-guess-by-default
5876     \e$B$,\e(B +eee       \e$B$r?dB,!#\e(B
5877 @end ifset
5878 @ifset us
5879 @item mew-refile-guess-by-alist
5880     guessed +aaa, +bbb.
5881 @item mew-refile-guess-by-folder
5882     guessed +ccc, +ddd.
5883 @item mew-refile-guess-by-default
5884     guessed +eee.
5885 @end ifset
5886 @end table
5887
5888 @ifset jp
5889 +aaa \e$B!A\e(B +eee \e$B$9$Y$F$r%f!<%6$KDs<($7$FM_$7$$>l9g$O!"\e(B
5890 @samp{mew-refile-ctrl-multi} \e$B$r\e(B @samp{t} \e$B$K\e(B, +aaa \e$B$@$1$rDs<($7$FM_$7$$>l\e(B
5891 \e$B9g$O!"\e(B@samp{nil} \e$B$K@_Dj$7$^$9!#\e(B
5892 @end ifset
5893 @ifset us
5894 If you want to provide all candidates, +aaa - +eee, set
5895 @samp{mew-refile-ctrl-multi} @samp{t}. If you want to provide +aaa only,
5896 set it @samp{nil}.
5897 @end ifset
5898
5899 @ifset jp
5900 \e$B$^$?!"\e(B+aaa \e$B!A\e(B +ddd \e$B$ODs<($7$FM_$7$$$1$l$I$b$=$l0J9_$O$$$i$J$$!"$D$^$j!"\e(B
5901 +eee \e$B$rDs<($9$k$N$O@h$K<B9T$5$l$?4X?t72$,2?$b?dB,$G$-$J$+$C$?$H$-$@$1$K\e(B
5902 \e$B$7$?$$>l9g$O!"\e(B@samp{mew-refile-ctrl-multi} \e$B$r\e(B @samp{t} \e$B$K$7$F!"\e(B
5903 @samp{mew-refile-guess-by-folder} \e$B$H\e(B @samp{mew-refile-guess-by-default} 
5904 \e$B$N4V$K\e(B @samp{mew-refile-ctrl-throw} \e$B$rF~$l$F2<$5$$!#\e(B
5905 @end ifset
5906 @ifset us
5907 If you want +aaa - +ddd but don't want left candidates, in other words,
5908 you want +eee only when no candidate is guessed by functions executed
5909 before, set @samp{mew-refile-ctrl-multi} @samp{t} and insert
5910 @samp{mew-refile-ctrl-throw} between @samp{mew-refile-guess-by-folder}
5911 and @samp{mew-refile-guess-by-default}.
5912 @end ifset
5913
5914 @ifset jp
5915 @samp{C-uo} \e$B$O!"$3$N?dB,$NN.$l$r\e(B Message \e$B%P%C%U%!$KI=<($7$^$9!#\e(B
5916 @end ifset
5917 @ifset us
5918 @samp{C-uo} displays the flow of guess rules in Message buffer.
5919 @end ifset
5920
5921 @c %%%%%%%%%%%%%%%%%
5922 @node auto-refile, Pick, guess-rule, Refile
5923 @ifset jp
5924 @section \e$B<+F0$G@0M}@0F\\e(B
5925 @end ifset
5926 @ifset us
5927 @section Auto refile
5928 @end ifset
5929 @vindex mew-refile-auto-refile-skip-any-mark
5930
5931 @ifset jp
5932 \e$BKhF|%a%C%;!<%8$r$?$/$5$s$b$i$&?M$O!"$^$@@0F\$7$F$$$J$$%a%C%;!<%8$r\e(B 
5933 +inbox \e$B%U%)%k%@$KBgNL$KN/$a$F$7$^$&$3$H$,$"$j$^$9!#$=$s$J$H$-$O!"!V%a%C\e(B
5934 \e$B%;!<%8C#$h!"$H$K$+$/\e(B +inbox \e$B%U%)%k%@$+$i$I$3$+$K9T$C$F$7$^$(!W$H6+$S$?$/\e(B
5935 \e$B$J$k$3$H$,$"$k$G$7$g$&!#\e(BMew \e$B$O!"$=$s$J$o$,$^$^$J$rK~B-$5$;$k$?$a$N<+F0@0\e(B
5936 \e$BM}@0F\4X?t$rDs6!$7$F$$$^$9!#\e(B:) @samp{M-o} \e$B$,$=$N<vJ8$G$9!#\e(B
5937 @end ifset
5938 @ifset us
5939 Those who receives many messages everyday is prone to store thousands of
5940 messages in the +inbox folder. In such a case, they may want to speak
5941 out like this, "Hey messages, get out of the +inbox folder to
5942 somewhere". Mew provides a feature to satisfy such laziness. :)
5943 @samp{M-o} is the spell.
5944 @end ifset
5945
5946 @ifset jp
5947 \e$B$3$N4X?t$r<B9T$9$k$H!"8=:_$N%U%)%k%@Fb$NFCDj$N%a%C%;!<%8$KBP$7$F!"<+F0E*\e(B
5948 \e$B$K\e(B @samp{o} \e$B%^!<%/$rIU$1$F$/$l$^$9!#FCDj$N%a%C%;!<%8$H$O!"\e(B
5949 @samp{mew-refile-auto-refile-skip-any-mark} \e$B$,\e(B @samp{nil}\e$B$J$i!"\e(B@samp{o} 
5950 \e$B$d\e(B @samp{D} \e$B%^!<%/$,IU$$$F$$$J$$%a%C%;!<%8$G$9!#\e(B
5951 @samp{mew-refile-auto-refile-skip-any-mark} \e$B$,\e(B @samp{t} \e$B$J$i!"$J$K$b%^!<\e(B
5952 \e$B%/$,IU$$$F$J$$%a%C%;!<%8$G$9!#\e(B
5953 @samp{mew-refile-auto-refile-skip-any-mark} \e$B$N%G%U%)%k%HCM$O\e(B @samp{nil} 
5954 \e$B$G$9!#$^$?!"\e(B@samp{C-u} \e$BIU$G8F$S=P$9$H!"\e(B
5955 @samp{mew-refile-auto-refile-skip-any-mark} \e$B$NCM$H$O4X78$J$/\e(B @samp{*} \e$B%^!<\e(B
5956 \e$B%/$NIU$$$?%a%C%;!<%8$rBP>]$K$7$^$9!#\e(B
5957 @end ifset
5958 @ifset us
5959 When you execute this function, it marks specific messages with
5960 @samp{o}. The specific messages mean messages which are not marked with
5961 @samp{o} nor @samp{D} if @samp{mew-refile-auto-refile-skip-any-mark} is
5962 @samp{nil}. If @samp{mew-refile-auto-refile-skip-any-mark} is @samp{t},
5963 they mean non-marked messages. The default value of
5964 @samp{mew-refile-auto-refile-skip-any-mark} is @samp{nil}.  If executed
5965 with @samp{C-u}, the targets mean messages marked with @samp{*}
5966 regardless the value of @samp{mew-refile-auto-refile-skip-any-mark}.
5967 @end ifset
5968
5969 @ifset jp
5970 \e$B@0F\@h$N7hDj$K$O!"@h$K@bL@$7$??dB,4X?t72$,F/$/$h$&$K$J$C$F$$$^$9!#$3$N4X\e(B
5971 \e$B?t$O!"\e(B@samp{o} \e$B$rIU$1$k$@$1$G$9$N$G!"\e(B@samp{x} \e$B$r2!$5$J$$8B$j<B:]$K%a%C%;!<\e(B
5972 \e$B%8$,$I$3$+$K9T$C$F$7$^$&$3$H$O$"$j$^$;$s!#\e(B
5973 @end ifset
5974 @ifset us
5975 Refile rule is the same described in the previous section. Please note
5976 that what this function does is just mark messages with
5977 @samp{o}. Messages are not refiled until you will press @samp{x}.
5978 @end ifset
5979
5980 @ifset jp
5981 Mew \e$B$N@0F\@h?dB,$O$"$^$j$K$b8-$9$.$k$N$G!"$3$N5!G=$K$O5X$H$J$C$F$7$^$$$9!#\e(B
5982 \e$B$H$$$&$N$O!"\e(BMew \e$B$,?dB,5!G=$r%U%k$K;H$C$F>!<j$K@0F\$7$F$7$^$&$H!"BgDq$N%f!<\e(B
5983 \e$B%6$O$I$3$K%a%C%;!<%8$,@0F\$5$l$?$+J,$+$i$J$/$J$C$F$7$^$&$N$+$i$G$9!#\e(B:) 
5984 \e$B$=$N$?$a$K!"\e(BMew \e$B$,;H$&?dB,4X?t$r@)8B$9$k5!G=$,Ds6!$5$l$F$$$^$9!#A0$K=P$F\e(B
5985 \e$B$-$?@k8@$r$b$&0lEY;W$$=P$7$F2<$5$$!#\e(B
5986 @end ifset
5987 @ifset us
5988 Mew's refile mechanism is so smart that it would be harmful for this
5989 function. That is, most users would not understand where messages have
5990 been refiled if Mew made most use of its guess mechanism. :) For this
5991 reason, break is provided to limit usage of guess functions. Recall the
5992 declaration up above.
5993 @end ifset
5994
5995 @example
5996 (defvar mew-refile-guess-control
5997   '(mew-refile-guess-by-alist
5998     mew-refile-ctrl-throw
5999     mew-refile-guess-by-newsgroups
6000     mew-refile-guess-by-folder
6001     mew-refile-ctrl-throw
6002     mew-refile-ctrl-auto-boundary
6003     mew-refile-guess-by-thread
6004     mew-refile-ctrl-throw
6005     mew-refile-guess-by-from-folder
6006     mew-refile-ctrl-throw
6007     mew-refile-guess-by-from
6008     mew-refile-ctrl-throw
6009     mew-refile-guess-by-default))
6010 @end example
6011
6012 @ifset jp
6013 @samp{mew-refile-guess-control} \e$B$NCf$K\e(B 
6014 @samp{mew-refile-ctrl-auto-boundary} \e$B$H$$$&4X?t$,$"$j$^$9!#$3$l$,$=$N;E\e(B
6015 \e$B3]$G$9!#<+F0@0M}@0F\$N$H$-$K8B$j!"\e(BMew \e$B$O$3$N4X?t$h$j2<$K5-=R$7$F$"$k?dB,\e(B
6016 \e$B$rL5;k$7$^$9!#\e(B@samp{mew-refile-ctrl-auto-boundary} \e$B$h$j>e$K5-=R$7$F$$$k\e(B
6017 \e$B4X?t$,2?$b?dB,$G$-$J$+$C$?>l9g$O!"$=$N%a%C%;!<%8$K$O\e(B @samp{o} \e$B$,IU$-$^$;\e(B
6018 \e$B$s!#GKLG$,K,$l$kA0$K\e(B @samp{mew-refile-ctrl-auto-boundary} \e$B$N8f;%$rE=$C$F\e(B
6019 \e$B2<$5$$!#\e(B
6020 @end ifset
6021 @ifset us
6022 You can find the @samp{mew-refile-ctrl-auto-boundary} function in
6023 @samp{mew-refile-guess-control}. Only when auto refile is used, Mew
6024 ignores guess functions below this function. If guess functions above
6025 @samp{mew-refile-ctrl-auto-boundary} didn't guess any folder for a
6026 message, the message is not marked with @samp{o}. Insert
6027 @samp{mew-refile-ctrl-auto-boundary} before you ruin.
6028 @end ifset
6029
6030 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6031 @c      Pick
6032 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6033
6034 @node Pick, condition, auto-refile, Top
6035 @ifset jp
6036 @chapter \e$B$*L\Ev$F$N%a%C%;!<%8$rA*Br$9$k$K$O\e(B
6037 @end ifset
6038 @ifset us
6039 @chapter How to select message which you want
6040 @end ifset
6041
6042 @ifset jp
6043 \e$B$?$H$($P!"\e(BSubject: \e$B$K\e(B party \e$B$H$$$&J8;z$,4^$^$l$F$$$k%a%C%;!<%8$r8+$D$1=P\e(B
6044 \e$B$7$?$j!"\e(BFrom: \e$B$,\e(B kazu@@mew.org \e$B$G$"$k%a%C%;!<%8$rA*Br$7$?$$$H;W$&$3$H$,\e(B
6045 \e$B$"$j$^$9!#$3$N$h$&$K!"F~NO$7$?>r7o$K$"$k%a%C%;!<%8$r8+$D$1=P$9%3%^%s%I$r\e(B 
6046 Mew \e$B$O\e(B 3 \e$B$DDs6!$7$F$$$^$9!#\e(B
6047 @end ifset
6048 @ifset us
6049 You may want to pick up messages whose Subject: contains a string
6050 "party" and whose From: is kazu@@mew.org. Mew provides three
6051 methods to accomplish this.
6052 @end ifset
6053
6054 @table @samp
6055 @ifset jp
6056 @item ?
6057 \e$BF~NO$7$?>r7o$K9g$&%a%C%;!<%8$K\e(B @samp{*} \e$B%^!<%/$rIU$1$k!#8=:_$N\e(B Summary 
6058 \e$B%b!<%I$N0lMw$rMxMQ$9$k!#\e(B@samp{?} \e$B$r2!$7$?8e$K!">r7o$rF~NO$7$F2<$5$$!#\e(B
6059 @item /
6060 \e$BF~NO$7$?>r7o$K9g$&%a%C%;!<%8$r\e(B Summary \e$B%b!<%I$K0lMwI=<($9$k!#8=:_$N\e(B 
6061 Summary \e$B%b!<%I$N0lMw$O>e=q$-$5$l$^$9!#\e(B@samp{/} \e$B$r2!$7$?8e$K!"%U%)%k%@L>\e(B
6062 \e$B$H>r7o$rF~NO$7$F2<$5$$!#\e(B
6063 @item V
6064 \e$BJ#?t$N%U%)%k%@$+$iF~NO$7$?>r7o$K9g$&%a%C%;!<%8$r8+$D$1=P$7$F\e(B Virtual \e$B%b!<\e(B
6065 \e$B%I$K0lMwI=<($9$k!#A`:n$O!"\e(B@xref{virtual} \e$B$r;2>H$7$F2<$5$$!#\e(B
6066 @end ifset
6067 @ifset us
6068 @item ?
6069 Pick messages according to a pick pattern which you input, then put the
6070 @samp{*} mark onto them.
6071 @item /
6072 Pick messages according to a pick pattern which you input, then list
6073 them up.
6074 @item V
6075 Go to Virtual mode which gives a single view to picked messages from
6076 multiple folders. Enter a virtual folder name, comma-separated folders,
6077 and pick pattern. For more information, please refer to @xref{virtual}.
6078 @end ifset
6079 @end table
6080
6081 @ifset jp
6082 \e$B0J2<>r7o$NF~NOJ}K!$H\e(B Virtual \e$B%b!<%I$KIU$$$F2r@b$7$^$9!#\e(B
6083 @end ifset
6084 @ifset us
6085 Following sections describes how to input conditions and Virtual mode in
6086 detail.
6087 @end ifset
6088
6089 @menu
6090 @ifset jp
6091 * condition::                   \e$B>r7o$NF~NOJ}K!\e(B
6092 * virtual::                     Virtual \e$B%b!<%I\e(B
6093 @end ifset
6094 @ifset us
6095 * condition::                   How to input conditions
6096 * virtual::                     Virtual mode
6097 @end ifset
6098 @end menu
6099
6100 @c %%%%%%%%%%%%%%%%%
6101 @node condition, virtual, Pick, Pick
6102 @ifset jp
6103 @section \e$B>r7o$NF~NOJ}K!\e(B
6104 @end ifset
6105 @ifset us
6106 @section How to input conditions
6107 @end ifset
6108
6109 @ifset jp
6110 Mew \e$B$,>r7o$NF~NO$r%f!<%6$KB%$9$H$-$O0J2<$N$h$&$K?V$$$F$-$^$9!#\e(B
6111 @end ifset
6112 @ifset us
6113 When Mew asks a user to input pick pattern, the following message is
6114 displayed.
6115 @end ifset
6116
6117 @example
6118 pick pattern: 
6119 @end example
6120
6121 @ifset jp
6122 \e$B0J2<$K<($9%-!<%o!<%I$rAH$_9g$o$;$F>r7o$rF~NO$7$F2<$5$$!#\e(B
6123 @end ifset
6124 @ifset us
6125 Input pick pattern combining the following keywords:
6126 @end ifset
6127
6128 @table @samp
6129 @ifset jp
6130 @item field=string
6131 \e$B%U%#!<%k%I\e(B field \e$B$KJ8;zNs\e(B string \e$B$,4^$^$l$F$$$k$H$-%^%C%A!#%U%#!<%k%I\e(B 
6132 field \e$B$,!"\e(Bhead\e$B!"\e(Bbody\e$B!"$*$h$S!"\e(Ball \e$B$N>l9g$O!"$=$l$>$l%X%C%@A4BN!"K\J8!"%a%C\e(B
6133 \e$B%;!<%8A4BN$r0UL#$9$k!#\e(B
6134 @item <pattern1> & <pattern2>
6135 <pattern1> \e$B$+$D\e(B <pattern2> \e$B$N$H$-%^%C%A!#\e(B
6136 @item <pattern1> | <pattern2>
6137 <pattern1> \e$B$^$?$O\e(B <pattern2> \e$B$N$H$-%^%C%A!#\e(B
6138 @item ! <pattern>
6139 <pattern> \e$B$G$J$$$H$-%^%C%A!#\e(B
6140 @item ( <pattern> )
6141 <pattern> \e$B$NFbMF$r@h$KI>2A!#\e(B
6142 @end ifset
6143 @ifset us
6144 @item field=string
6145 Match if the "field" field contains the "string" string. If you specify
6146 "head", "body" or "all" as "field", it means the entire header, the
6147 body, and the entire message, respectively.
6148 @item <pattern1> & <pattern2>
6149 Match if <pattern1> AND <pattern2>.
6150 @item <pattern1> | <pattern2>
6151 Match if <pattern1> OR <pattern2>.
6152 @item ! <pattern>
6153 Match if not <pattern>.
6154 @item ( <pattern> )
6155 Evaluate <pattern> first.
6156 @end ifset
6157 @end table
6158
6159
6160 @ifset jp
6161 \e$B0J2<$KNc$r<($7$^$9!#\e(B
6162 @end ifset
6163 @ifset us
6164 Some examples are shown below.
6165 @end ifset
6166
6167 @ifset jp
6168 (a) From: \e$B$K\e(B kazu \e$B$+4^$^$l$k%a%C%;!<%8\e(B
6169 @end ifset
6170 @ifset us
6171 (a) Messages whose From: contains "kazu".
6172 @end ifset
6173
6174 @example
6175 from=kazu
6176 @end example
6177
6178 @ifset jp
6179 (b) To: \e$B$,\e(B mew\e$B!"$^$?$O!"\e(BCc: \e$B$,\e(B mew \e$B$G$"$k%a%C%;!<%8\e(B
6180 @end ifset
6181 @ifset us
6182 (b) Messages whose To: contains "mew" OR Cc: contains "mew".
6183 @end ifset
6184
6185 @example
6186 to=mew | cc=mew
6187 @end example
6188
6189 @ifset jp
6190 (c) To: \e$B$,\e(B mew\e$B!"$^$?$O!"\e(BCc: \e$B$,\e(B mew \e$B$G!"$+$D!"\e(Bfrom \e$B$,\e(B kazu \e$B$G$"$k\e(B
6191 \e$B%a%C%;!<%8\e(B
6192 @end ifset
6193 @ifset us
6194 (c) Messages whose To: contains "mew" OR Cc: contains "mew" AND
6195 From: contains "kazu".
6196 @end ifset
6197
6198 @example
6199 (to=mew | cc=mew) & from=kazu
6200 @end example
6201
6202 @ifset jp
6203 \e$B8e$ON`?d$7$F2<$5$$!#\e(B
6204 @end ifset
6205 @ifset us
6206 Now you can guess how to input more complex patterns.
6207 @end ifset
6208
6209 @c %%%%%%%%%%%%%%%%%
6210 @node virtual, Quit, condition, Pick
6211 @ifset jp
6212 @section Virtual \e$B%b!<%I\e(B
6213 @end ifset
6214 @ifset us
6215 @section Virtual mode
6216 @end ifset
6217
6218 @ifset jp
6219 Virtual \e$B%b!<%I$O!"J#?t$N%U%)%k%@$+$iF~NO$7$?>r7o$K9g$&%a%C%;!<%8$rA*$S$@\e(B
6220 \e$B$7!"C10l$N2>A[E*$J%U%)%k%@$H$7$F07$$$^$9!#\e(BSummary \e$B%b!<%I$G\e(B @samp{V} \e$B$r2!\e(B
6221 \e$B$9$H!"\e(BVirtual \e$B%b!<%I$,:n$l$^$9!#\e(B
6222 @end ifset
6223 @ifset us
6224 Virtual mode gives you a single view for matching messages from multiple
6225 folders. Press @samp{V} in Summary mode to enter Virtual mode.
6226 @end ifset
6227
6228 @ifset jp
6229 \e$B:G=i$K!"2>A[%U%)%k%@L>$r?V$+$l$^$9!#\e(B
6230 @end ifset
6231 @ifset us
6232 First you are asked a name of virtual folder
6233 @end ifset
6234
6235 @example
6236 Virtual folder name (virtual) : 
6237 @end example
6238
6239 @ifset jp
6240 \e$BG$0U$NJ8;zNs$rF~NO$7$F2<$5$$!#C1$K\e(B @samp{RET} \e$B$r2!$9$H!"\e(B"++virtual" \e$B$K$J\e(B
6241 \e$B$j$^$9!#<!$K!"C1?t$^$?$OJ#?t$N%U%)%k%@L>$rF~NO$7$^$9!#J#?t$N%U%)%k%@$rF~\e(B
6242 \e$BNO$9$k>l9g$O!"\e(B"," \e$B$G6h@Z$C$F2<$5$$!#$b$A$m$s!"\e(B@samp{TAB} \e$B$GJd40$G$-$^$9!#\e(B
6243 @end ifset
6244 @ifset us
6245 Input an appropriate string. If you type just @samp{RET}, "++virtual" is
6246 selected. Then you are asked to input a single or multiple folder name.
6247 If you want to specify multiple folders, please separate them with ",".
6248 Of course, you can complete folder names with @samp{TAB}.
6249 @end ifset
6250
6251 @example
6252 Folder name (+inbox) : +inbox, +mew
6253 @end example
6254
6255 @ifset jp
6256 \e$B$=$7$F!">r7o$rF~NO$7$^$9!#\e(B
6257 @end ifset
6258 @ifset us
6259 Now input conditions.
6260 @end ifset
6261
6262 @example
6263 pick pattern: 
6264 @end example
6265
6266 @ifset jp
6267 \e$B$9$k$H2>A[%U%)%k%@$,$G$-$"$,$j$^$9!#\e(BVirtual \e$B%b!<%I$O!"@0F\$d>C5n!"8!:w$J\e(B
6268 \e$B$I0lIt$N%3%^%s%I$r=|$$$F!"\e(BSummary \e$B%b!<%I$H0l=o$G$9!#2>A[%U%)%k%@$O$^$5$7\e(B
6269 \e$B$/2>A[$G$"$j!"%U%!%$%k%7%9%F%`$J$I$K$OB8:_$7$J$$$3$H$KCm0U$7$F2<$5$$!#\e(B
6270 Emacs \e$B$r=*N;$9$k$H!"2>A[%U%)%k%@$O$J$/$J$j$^$9!#\e(B
6271 @end ifset
6272 @ifset us
6273 OK. You get a Virtual mode. In Virtual mode, you can use same commands
6274 that you can find in Summary mode except refile, delete, pick and etc.
6275 You should take note that Virtual folder is really virtual and it does
6276 not exist in file system. If you exit Mew, it then disappears.
6277 @end ifset
6278
6279 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6280 @c      Quit
6281 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6282
6283 @node Quit, Customize, virtual, Top
6284 @ifset jp
6285 @chapter \e$B0l5Y$_\e(B
6286 @end ifset
6287 @ifset us
6288 @chapter Give me a break
6289 @end ifset
6290
6291 @ifset jp
6292 Mew \e$B$r=*N;$5$;$?$j!"0l;~CfCG$5$;$?$j!"$=$N%b!<%I\e(B(\e$B@53N$K$O%P%C%U%!\e(B)\e$B$r>C5n\e(B
6293 \e$B$9$kJ}K!$r0J2<$K<($7$^$9!#\e(B
6294 @end ifset
6295 @ifset us
6296 Here are how to quit and suspend Mew and how to erase a mode(buffer).
6297 @end ifset
6298
6299 @ifset jp
6300 <Summary \e$B%b!<%I$H\e(B Virtual \e$B%b!<%I\e(B>
6301 @end ifset
6302 @ifset us
6303 <Summary mode and Virtual mode>
6304 @end ifset
6305
6306 @table @samp
6307 @ifset jp
6308 @item q
6309 Mew \e$B$r0l;~CfCG$7!"B>$N%P%C%U%!$K@Z$jBX$($^$9!#\e(BMew \e$BMQ$N%P%C%U%!$O$9$Y$F;D$C\e(B
6310 \e$B$F$$$^$9$+$i!"%P%C%U%!A`:n$GA*$Y$P:F3+$G$-$^$9!#\e(B
6311 @item Q
6312 Mew \e$B$r=*N;$7$^$9!#\e(BMew \e$B$,;H$C$?$9$Y$F$N%P%C%U%!$r>C5n$7$^$9!#\e(B
6313 @item C-cC-q
6314 \e$B$=$N%b!<%I\e(B(\e$B@53N$K$O%P%C%U%!\e(B)\e$B$r>C5n$7$^$9!#\e(B
6315 @end ifset
6316 @ifset us
6317 @item q
6318 Suspend Mew then switch to another buffer. All buffers of Mew remain, so
6319 you can resume with buffer operations.
6320 @item Q
6321 Quit Mew. All buffers of Mew are erased.
6322 @item C-cC-q
6323 Erase the current mode(buffer).
6324 @end ifset
6325 @end table
6326
6327 @ifset jp
6328 <Draft \e$B%b!<%I\e(B>
6329 @end ifset
6330 @ifset us
6331 <Draft mode>
6332 @end ifset
6333
6334 @table @samp
6335 @ifset jp
6336 @item C-cC-q
6337 \e$B$=$NAp9F$r>C5n$7$^$9!#\e(B
6338 @end ifset
6339 @ifset us
6340 @item C-cC-q
6341 Erase the draft.
6342 @end ifset
6343 @end table
6344
6345 @ifset jp
6346 <"*Mew watch*" \e$B%P%C%U%!\e(B>
6347 @end ifset
6348 @ifset us
6349 <"*Mew watch*" buffer>
6350 @end ifset
6351
6352 @table @samp
6353 @ifset jp
6354 @item C-cC-q
6355 \e$B$=$N%P%C%U%!$r>C5n$7$^$9!#\e(B
6356 @end ifset
6357 @ifset us
6358 @item C-cC-q
6359 Erase the current buffer.
6360 @end ifset
6361 @end table
6362
6363 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6364 @c      Customize
6365 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6366
6367 @node Customize, level-one, Quit, Top
6368 @ifset jp
6369 @chapter \e$B<+J,9%$_$N\e(B Mew \e$B$K$9$k$K$O\e(B
6370 @end ifset
6371 @ifset us
6372 @chapter Customizing Mew
6373 @end ifset
6374
6375 @ifset jp
6376 \e$B$3$3$G$O!"\e(BMew \e$B$N%G%U%)%k%H$NF0:n$rJQ99$7!"<+J,9%$_$N\e(B Mew \e$B$K$9$kJ}K!$r@b\e(B
6377 \e$BL@$7$^$9!#<g$K\e(B "~/.emacs" \e$B$G@_Dj$7$F2<$5$$!#\e(B
6378 @end ifset
6379 @ifset us
6380 Here are explained how to change default setting of Mew and make Mew
6381 your favorite. Edit "~/.emacs" to do it!
6382 @end ifset
6383
6384 @menu
6385 @ifset jp
6386 * level-one::                   \e$B=i5i\e(B
6387 * level-two::                   \e$BCf5i\e(B
6388 * level-three::                 \e$B>e5i\e(B
6389 * hooks::                       \e$B%U%C%/\e(B
6390 * config::                      IM Config
6391 @end ifset
6392 @ifset us
6393 * level-one::                   Beginner course
6394 * level-two::                   Junior course
6395 * level-three::                 Senior course
6396 * hooks::                       Hooks
6397 * config::                      IM Config
6398 @end ifset
6399 @end menu
6400
6401 @c %%%%%%%%%%%%%%%%%
6402 @node level-one, level-two, Customize, Customize
6403 @ifset jp
6404 @section \e$B=i5i\e(B
6405 @end ifset
6406 @ifset us
6407 @section Beginner course
6408 @end ifset
6409 @vindex mew-draft-mode-hook
6410 @vindex mew-from
6411 @vindex mew-fcc
6412 @vindex mew-cc
6413 @vindex mew-dcc
6414 @vindex mew-window-use-full
6415 @vindex mew-summary-show-direction
6416 @vindex mew-summary-mark-direction
6417
6418 @ifset jp
6419 \e$B$3$3$G$O!"0J2<$NJQ?t$K$D$$$F@bL@$7$^$9!#\e(B
6420 @end ifset
6421 @ifset us
6422 Here are described the following variables.
6423 @end ifset
6424
6425 @itemize @minus
6426 @item
6427 mew-draft-mode-hook
6428 @item
6429 mew-from
6430 @item
6431 mew-fcc
6432 @item
6433 mew-cc
6434 @item 
6435 mew-dcc
6436 @item
6437 mew-window-use-full
6438 @item
6439 mew-summary-show-direction
6440 @item
6441 mew-summary-mark-direction
6442 @end itemize
6443
6444 @ifset jp
6445 Draft \e$B%b!<%I$G$O!"%U%C%/$r\e(B @samp{text-mode-hook}\e$B!"\e(B
6446 @samp{mew-draft-mode-hook} \e$B$N=g$GI>2A$7$^$9!#\e(B@samp{text-mode-hook} \e$B$G\e(B 
6447 @samp{auto-fill-mode} \e$B$r@_Dj$7$F$$$J$$?M$O!"\e(B @samp{mew-draft-mode-hook} 
6448 \e$B$r0J2<$N$h$&$K@_Dj$9$k$N$,$h$$$+$b$7$l$^$;$s!#\e(B
6449 @end ifset
6450 @ifset us
6451 Draft mode evaluates @samp{text-mode-hook} and
6452 @samp{mew-draft-mode-hook} in order. If you don't set
6453 @samp{auto-fill-mode} to @samp{text-mode-hook}, It would be useful to
6454 define @samp{mew-draft-mode-hook} as follows:
6455 @end ifset
6456
6457 @example
6458 (setq mew-draft-mode-hook (function (lambda () (auto-fill-mode 1))))
6459 @end example
6460
6461 @ifset jp
6462 \e$BEE;R%a!<%k$N4IM}<T$,@_Dj$7$F$$$k$N$H$O0c$&%"%I%l%9$GAw?.$7$?$$$3$H$,$"$j\e(B
6463 \e$B$^$9!#$?$H$($P!"4IM}<T$N@_Dj$,4E$/!"ITMW$J%[%9%HL>$,IU$$$F$7$^$&>l9g$J$I\e(B
6464 \e$B$G$9\e(B(\e$B$3$N>l9g$O4IM}<T$KMj$_@_Dj$r=$@5$7$F$b$i$&$N$,0lHV$G$9\e(B)\e$B!#\e(BMew \e$B$G$OAp\e(B
6465 \e$B9F$N%X%C%@$K\e(B From: \e$B%"%I%l%9$,$"$l$P!"$=$l$,$=$N$^$^\e(B From: \e$B$H$J$j$^$9!#Jd\e(B
6466 \e$B40$r;H$$$J$,$i=q$$$F2<$5$$!#$$$D$bAp9F$K\e(B From: \e$B$rMQ0U$9$k$K$O!"0J2<$NNc\e(B
6467 \e$B$N$h$&$K\e(B @samp{mew-from} \e$B$r;XDj$7$F2<$5$$!#\e(B
6468 @end ifset
6469 @ifset us
6470 You may want to use another address than which your Email manager
6471 defined. An example is the case that a host name appears in your Email
6472 address since the configuration by your Email manager is imperfect. (In
6473 this case, ask him to resolve this problem first.) If From: is specified
6474 on a draft, Mew treats it as it is. You can specify From: with
6475 completion. If you want to prepare From: in drafts, set @samp{mew-from}
6476 as follows:
6477 @end ifset
6478
6479 @example
6480 @ifset jp
6481 (setq mew-from "Kazu Yamamoto (\e$B;3K\OBI'\e(B) <Kazu@@Mew.org>")
6482 @end ifset
6483 @ifset us
6484 (setq mew-from "Kazu Yamamoto <Kazu@@Mew.org>")
6485 @end ifset
6486 @end example
6487
6488 @ifset jp
6489 From: \e$B9T$r<+J,$G;XDj$G$-$k$H$$$&$3$H$O!"4JC1$K$@$l$+$K$J$j$9$^$;$k$H$$$&\e(B
6490 \e$B$3$H$G$9!#$/$l$0$l$b$3$N5!G=$r;H$C$?$$$?$:$i$r$7$J$$$G2<$5$$!#$^$?!"B>?M\e(B
6491 \e$B$bMF0W$K$@$l$+$K$J$j$9$^$;$k$3$H$KCm0U$7$F2<$5$$!#Bg@Z$JMQ7o$O!"\e(BPGP/MIME 
6492 \e$B$GJ]8n$7$FAw$j$^$7$g$&!#\e(B
6493 @end ifset
6494 @ifset us
6495 This feature means that you cannot trust From: in all cases. I would
6496 sincerely ask all Mew users NOT to cheat others with this feature. And
6497 please note that a bad guy can set himself up as another guy very
6498 easily. For important messages, use PGP/MIME.
6499 @end ifset
6500
6501 @ifset jp
6502 \e$BKh2s\e(B Fcc: \e$B$G%P%C%/%"%C%W$r<h$j$?$$?M$O!"0J2<$r\e(B .emacs \e$B$K@_Dj$7$F2<$5$$!#\e(B
6503 @end ifset
6504 @ifset us
6505 If you want to back up your messages every time when you write them with
6506 Fcc:, put the following line into ".emacs".
6507 @end ifset
6508
6509 @example
6510 (setq mew-fcc "+Backup")
6511 @end example
6512
6513 @ifset jp
6514 \e$B<+J,$X\e(B Cc:(Dcc:) \e$B$7$?$$?M$O\e(B @samp{mew-cc}(@samp{mew-dcc})\e$B$r@_Dj$7$F2<$5\e(B
6515 \e$B$$!#\e(B
6516 @end ifset
6517 @ifset us
6518 Define @samp{mew-cc}(@samp{mew-dcc}) to use Cc:(Dcc:).
6519 @end ifset
6520
6521 @ifset jp
6522 \e$B$$$D$b\e(B Emacs \e$B$N%U%l!<%`A4BN$G\e(B Mew \e$B$r;H$$$?$$?M$O!"0J2<$N@_Dj$r$7$F2<$5$$!#\e(B
6523 @end ifset
6524 @ifset us
6525 If you want to use Mew with full Emacs frame, set like this.
6526 @end ifset
6527
6528 @example
6529 (setq mew-window-use-full t)
6530 @end example
6531
6532 @ifset jp
6533 Summary \e$B%b!<%I$N\e(B @samp{SPC} \e$B$O!"\e(B@samp{mew-summary-show-direction} \e$B$K$h$C\e(B
6534 \e$B$F!"<!$N%a%C%;!<%8$NI=<($N;EJ}$,JQ$o$j$^$9!#$^$?F1MM$K!"6/$$%^!<%/$rIU$1\e(B
6535 \e$B$?8e%+!<%=%k$,F0$/J}8~$O\e(B @samp{mew-summary-mark-direction} \e$B$K$h$j;XDj$G\e(B
6536 \e$B$-$^$9!#0J2<$NCM$r@_Dj$G$-$^$9!#\e(B
6537 @end ifset
6538 @ifset us
6539 @samp{SPC} in Summary mode decide the next action to view a message
6540 according to @samp{mew-summary-show-direction}. Likewise, you can
6541 specify the cursor direction after putting a strong mark by
6542 @samp{mew-summary-mark-direction}. You can select one from the following
6543 candidates.
6544 @end ifset
6545
6546 @table @samp
6547 @ifset jp
6548 @item up 
6549 \e$B>e$N%a%C%;!<%8$rI=<($9$k!#\e(B
6550 @item down 
6551 \e$B2<$N%a%C%;!<%8$rI=<($9$k!#\e(B
6552 @item next
6553 \e$BFI$_?J$a$F$$$kJ}8~$N<!$N%a%C%;!<%8$rI=<($9$k!#\e(B
6554 @item stop
6555 \e$B<!$OI=<($7$J$$!#\e(B
6556 @end ifset
6557 @ifset us
6558 @item up 
6559 Display the message above.
6560 @item down 
6561 Display the message below.
6562 @item next
6563 Display the next message in the direction.
6564 @item stop
6565 Do not display the next message.
6566 @end ifset
6567 @end table
6568
6569 @ifset jp
6570 \e$BN>J}$H$b%G%U%)%k%H$O\e(B @samp{next} \e$B$G$9!#$$$D$b%a%C%;!<%8$r2<$+$iFI$`?M$O!"\e(B
6571 \e$B0J2<$N$h$&$K$9$l$P$h$$$G$7$g$&!#\e(B
6572 @end ifset
6573 @ifset us
6574 The default value for both is @samp{next}. If you read messages from the
6575 bottom, set as follows:
6576 @end ifset
6577
6578 @example
6579 (setq mew-summary-show-direction 'up)
6580 @end example
6581
6582 @c %%%%%%%%%%%%%%%%%
6583 @node level-two, level-three, level-one, Customize
6584 @ifset jp
6585 @section \e$BCf5i\e(B
6586 @end ifset
6587 @ifset us
6588 @section Junior course
6589 @end ifset
6590 @vindex mew-use-highlight-cursor-line
6591 @vindex mew-use-highlight-mouse-line
6592 @vindex mew-use-highlight-mark
6593 @vindex mew-use-highlight-header
6594 @vindex mew-use-highlight-body
6595 @vindex mew-use-highlight-url
6596 @vindex mew-use-highlight-x-face
6597 @vindex mew-highlight-mark-folder-list
6598
6599 @ifset jp
6600 \e$B$3$3$G$O!"0J2<$NJQ?t$K$D$$$F@bL@$7$^$9!#\e(B
6601 @end ifset
6602 @ifset us
6603 Here are described the following variables.
6604 @end ifset
6605
6606 @itemize @minus
6607 @item
6608 mew-use-highlight-cursor-line
6609 @item
6610 mew-use-highlight-mouse-line
6611 @item
6612 mew-use-highlight-mark
6613 @item
6614 mew-use-highlight-header
6615 @item
6616 mew-use-highlight-body
6617 @item
6618 mew-use-highlight-url
6619 @item
6620 mew-use-highlight-x-face
6621 @end itemize
6622
6623 @ifset jp
6624 @samp{mew-use-highlight-cursor-line} \e$B$,\e(B @samp{t} \e$B$N>l9g!"\e(BSummary \e$B%b!<%I\e(B
6625 \e$B$G%+!<%=%k$N$"$k9T$K2<@~$,0z$+$l$^$9!#%G%U%)%k%H$O\e(B @samp{t} \e$B$G$9!#\e(B
6626 @end ifset
6627 @ifset us
6628 If @samp{mew-use-highlight-cursor-line} is @samp{t}, underline is put on
6629 the cursor line in Summary mode. The default is @samp{t}.
6630 @end ifset
6631
6632 @ifset jp
6633 XEmacs \e$B$G$O\e(B @samp{mew-use-highlight-mouse-line} \e$B$,\e(B @samp{t} \e$B$N>l9g!"\e(B
6634 Summary \e$B%b!<%I$G%^%&%9$N$"$k9T$K?'$,$D$-$^$9!#??Cf$N%\%?%s$r%/%j%C%/$7$J\e(B
6635 \e$B$,$i!"%^%&%9$@$1$G%a%C%;!<%8$rFI$`:]$K$O$H$F$bJXMx$G$9!#\e(BXEmacs \e$B$G$N%G%U%)\e(B
6636 \e$B%k%H$NCM$O!"\e(B@samp{t} \e$B$K$J$C$F$$$^$9!#\e(B
6637 @end ifset
6638 @ifset us
6639 If @samp{mew-use-highlight-mouse-line} is @samp{t} on XEmacs, the mouse
6640 line is painted in Summary mode. This is very convenient to read
6641 messages clicking the middle button of the mouse. The default value on
6642 XEmacs is @samp{t}.
6643 @end ifset
6644
6645 @ifset jp
6646 @samp{mew-use-highlight-mark} \e$B$,\e(B @samp{t} \e$B$G!"$+$D!"\e(B
6647 @samp{mew-highlight-mark-folder-list} \e$B$KNs5s$7$?%U%)%k%@$,\e(B Summary \e$B%b!<\e(B
6648 \e$B%I$G$"$k>l9g!"%^!<%/$NIU$$$F$$$k9T$K?'$,$D$-$^$9!#\e(B
6649 @samp{mew-highlight-mark-folder-list} \e$B$N%G%U%)%k%H$O\e(B '("+inbox") \e$B$G$"$j!"\e(B
6650 @samp{mew-use-highlight-mark} \e$B$N%G%U%)%k%H$O\e(B @samp{t} \e$B$G$9!#\e(B
6651 @samp{mew-highlight-mark-folder-list} \e$B$r\e(B @samp{t} \e$B$K@_Dj$9$k$H!"\e(B
6652 \e$B$9$Y$F$N%U%)%k%@$G?'$,IU$/$h$&$K$J$j$^$9!#\e(B
6653 @end ifset
6654 @ifset us
6655 If @samp{mew-use-highlight-mark} is @samp{t} and you are in Summary mode
6656 on one of folders enumerated in @samp{mew-highlight-mark-folder-list},
6657 marked lines are painted. The default of
6658 @samp{mew-highlight-mark-folder-list} is '("+inbox") and that of
6659 @samp{mew-use-highlight-mark}is @samp{t}.
6660 If @samp{mew-highlight-mark-folder-list} is set to @samp{t},
6661 marked lines in all folders are painted.
6662 @end ifset
6663
6664 @ifset jp
6665 @samp{mew-use-highlight-header} \e$B$,\e(B @samp{t} \e$B$N>l9g!"\e(BMessage \e$B%b!<%I$H\e(B 
6666 Draft \e$B%b!<%I$G%X%C%@$,?'IU$1$5$l$^$9!#%G%U%)%k%H$O\e(B @samp{t} \e$B$G$9!#\e(B
6667 @end ifset
6668 @ifset us
6669 If @samp{mew-use-highlight-header} is @samp{t}, a header is painted in
6670 both Message mode and Draft mode.  The default is @samp{t}.
6671 @end ifset
6672
6673 @ifset jp
6674 @samp{mew-use-highlight-body} \e$B$,\e(B @samp{t} \e$B$N>l9g!"\e(BMessage \e$B%b!<%I$H\e(B Draft 
6675 \e$B%b!<%I$GK\J8$,?'IU$1$5$l$^$9!#%G%U%)%k%H$O\e(B @samp{nil} \e$B$G$9!#\e(B
6676 @end ifset
6677 @ifset us
6678 If @samp{mew-use-highlight-body} is @samp{t}, a body is painted in
6679 both Message mode and Draft mode. The default is @samp{nil}.
6680 @end ifset
6681
6682 @ifset jp
6683 @samp{mew-use-highlight-url} \e$B$,\e(B @samp{t} \e$B$N>l9g!"\e(BMessage \e$B%b!<%I$N\e(B URL \e$B$r\e(B
6684 \e$B<($9J8;zNs$,6/D4$5$l$^$9!#%G%U%)%k%H$O\e(B @samp{t} \e$B$G$9!#\e(B
6685 @end ifset
6686 @ifset us
6687 If @samp{mew-use-highlight-url} is @samp{t} , strings containing URL are
6688 emphasized in Message mode. The default is @samp{t}.
6689 @end ifset
6690
6691 @ifset jp
6692 @samp{mew-use-highlight-x-face} \e$B$,\e(B @samp{t} \e$B$G!"$+$D\e(B XEmacs \e$B$r;H$C$F$$$k\e(B
6693 \e$B>l9g!"%X%C%@Cf$N\e(B X-Face: \e$B$,\e(B Message \e$B%b!<%I$G%"%$%3%s2=$5$l$^$9!#\e(BXEmacs 
6694 \e$B$G$N%G%U%)%k%H$O\e(B @samp{t} \e$B$G$9!#\e(B
6695 @end ifset
6696 @ifset us
6697 If @samp{mew-use-highlight-x-face} is @samp{t} on XEmacs, X-Face: in a
6698 header is iconified in Message mode. The default value on XEmacs is
6699 @samp{t}.
6700 @end ifset
6701
6702 @c %%%%%%%%%%%%%%%%%
6703 @node level-three, hooks, level-two, Customize
6704 @ifset jp
6705 @section \e$B>e5i\e(B
6706 @end ifset
6707 @ifset us
6708 @section Senior course
6709 @end ifset
6710 @vindex mew-header-alist
6711 @vindex mew-cite-fields
6712 @vindex mew-cite-format
6713 @vindex mew-cite-prefix
6714
6715 @ifset jp
6716 \e$B$3$3$G$O!"0J2<$NJQ?t$K$D$$$F@bL@$7$^$9!#\e(B
6717 @end ifset
6718 @ifset us
6719 Here are described the following variables.
6720 @end ifset
6721
6722 @itemize @minus
6723 @item
6724 mew-header-alist
6725 @item
6726 mew-cite-fields
6727 @item
6728 mew-cite-format
6729 @item
6730 mew-cite-prefix
6731 @end itemize
6732
6733 @ifset jp
6734 \e$B$$$D$bF~$l$FM_$7$$%X%C%@$O!"\e(B@samp{mew-header-alist} \e$B$KO"A[%j%9%H7A<0$GDj\e(B
6735 \e$B5A$7$F2<$5$$!#0J2<$KNc$r<($7$^$9!#\e(B
6736 @end ifset
6737 @ifset us
6738 Set header fields that you want to insert every time when you write messages
6739 to @samp{mew-header-alist} as an associate list. The following is an
6740 example.
6741 @end ifset
6742
6743 @example
6744 (setq mew-header-alist
6745       '(("X-fingerprint:" . "6B 63 38 88 67 5E 96 8E  CE A4 62 73 3F 11 64 94")
6746         ("X-URL:" . "http://www.mew.org/~kazu/")))
6747 @end example
6748
6749 @ifset jp
6750 \e$B0zMQ%i%Y%k$O!"0zMQ$9$k%U%#!<%k%I$r\e(B @samp{mew-cite-fields}\e$B!"%i%Y%k$N=q<0\e(B
6751 \e$B$r\e(B @samp{mew-cite-format} \e$B$KDj5A$7$^$9!#0zMQ5-9f$O\e(B 
6752 @samp{mew-cite-prefix} \e$B$K;XDj$7$^$9!#%G%U%)%k%H$O!"0J2<$N$h$&$K$J$C$F$$\e(B
6753 \e$B$^$9!#\e(B
6754 @end ifset
6755 @ifset us
6756 To customize citation label, define field to cite in
6757 @samp{mew-cite-fields} and format in @samp{mew-cite-format}. Define
6758 citation symbol to @samp{mew-cite-prefix}. The default declaration is as
6759 follows:
6760 @end ifset
6761
6762 @example
6763 (defvar mew-cite-fields '("From:" "Subject:" "Date:"))
6764 (defvar mew-cite-format "From: %s\nSubject: %s\nDate: %s\n\n")
6765 (defvar mew-cite-prefix "> ")
6766 @end example
6767
6768 @ifset jp
6769 \e$B0zMQ%i%Y%k$K\e(B Message-ID: \e$B$r2C$(!"%f!<%6L>IU$N0zMQ5-9f$K$9$k$K$O!"0J2<$N\e(B
6770 \e$B$h$&$K$7$^$9!#\e(B
6771 @end ifset
6772 @ifset us
6773 To add Message-ID: to citation label and to change the prefix with a
6774 user name, take this way.
6775 @end ifset
6776
6777 @example
6778 (setq mew-cite-fields '("From:" "Subject:" "Date:" "Message-ID:"))
6779 (setq mew-cite-format "From: %s\nSubject: %s\nDate: %s\nMessage-ID: %s\n\n")
6780 (setq mew-cite-prefix-function 'mew-cite-prefix-username)
6781 @end example
6782
6783 @c %%%%%%%%%%%%%%%%%
6784 @node hooks, config, level-three, Customize
6785 @ifset jp
6786 @section \e$B%U%C%/\e(B
6787 @end ifset
6788 @ifset us
6789 @section Hooks
6790 @end ifset
6791 @vindex mew-env-hook
6792 @vindex mew-init-hook
6793 @vindex mew-summary-mode-hook
6794 @vindex mew-virtual-mode-hook
6795 @vindex mew-message-mode-hook
6796 @vindex mew-message-hook
6797 @vindex mew-addrbook-mode-hook
6798 @vindex mew-draft-mode-hook
6799 @vindex mew-draft-mode-newdraft-hook
6800 @vindex mew-draft-mode-reedit-hook
6801 @vindex mew-cite-hook
6802 @vindex mew-before-cite-hook
6803 @vindex mew-make-message-hook
6804 @vindex mew-send-hook
6805 @vindex mew-real-send-hook
6806 @vindex mew-quit-hook
6807 @vindex mew-suspend-hook
6808 @vindex mew-summary-inc-sentinel-hook
6809 @vindex mew-summary-scan-sentinel-hook
6810 @vindex mew-summary-exec-hook
6811 @vindex mew-syntax-format-hook
6812
6813 @ifset jp
6814 Mew \e$B$GMQ0U$5$l$F$$$k%U%C%/$r$^$H$a$^$9!#\e(B
6815 @end ifset
6816 @ifset us
6817 Here is a summary of hooks used in Mew.
6818 @end ifset
6819
6820 @table @samp
6821 @ifset jp
6822 @item mew-env-hook
6823 Mew \e$B$N5/F0;~$N4D6-$,@_Dj$5$l$kA0$KI>2A$5$l$k!#\e(B
6824 @item mew-init-hook
6825 Mew \e$B$N5/F0;~$KI>2A$5$l$k!#\e(B
6826 @item mew-summary-mode-hook
6827 Summary \e$B%b!<%I$KF~$k$H$-$KI>2A$5$l$k!#\e(B
6828 @item mew-virtual-mode-hook
6829 Virtual \e$B%b!<%I$KF~$k$H$-$KI>2A$5$l$k!#\e(B
6830 @item mew-message-mode-hook
6831 Message \e$B%b!<%I$KF~$k$H$-$KI>2A$5$l$k!#\e(B
6832 @item mew-message-hook
6833 \e$B%a%C%;!<%8$,\e(B Message \e$B%b!<%I$GI=<($5$l$kEY$KI>2A$5$l$k!#\e(B
6834 @item mew-addrbook-mode-hook
6835 \e$B%"%I%l%9D"$NEPO?%b!<%I$KF~$k$H$-$KI>2A$5$l$k!#\e(B
6836 @item mew-draft-mode-hook
6837 Draft \e$B%b!<%I$KF~$k$H$-$KI>2A$5$l$k!#\e(B
6838 @item mew-draft-mode-newdraft-hook
6839 Draft \e$B%b!<%I$K$*$$$F?7$7$$Ap9F$,MQ0U$5$l$?:]$KI>2A$5$l$k!#\e(B
6840 @item mew-draft-mode-reedit-hook
6841 Draft \e$B%b!<%I$K$*$$$F8E$$Ap9F$r:FJT=8$7$?:]$KI>2A$5$l$k!#\e(B
6842 @item mew-cite-hook
6843 Draft \e$B%b!<%I$G0zMQ$9$k:]$K8F$P$l$k!#DL>o\e(B supercite \e$B$r@_Dj$9$k$?$a$K;H$&!#\e(B
6844 @item mew-before-cite-hook
6845 Draft \e$B%b!<%I$G%a%C%;!<%8$r0zMQ$9$kD>A0$K8F$P$l$k!#\e(B
6846 @item mew-make-message-hook
6847 Draft \e$B%b!<%I$G\e(B MIME \e$B%a%C%;!<%8$r:n$kA0!"$D$^$j\e(B @samp{C-cC-m}
6848 \e$B$N:]$N:G=i$KI>2A$5$l$k!#\e(B
6849 \e$BNc!'\e(B(add-hook 'mew-make-message-hook 'ispell-message)
6850 @item mew-send-hook
6851 \e$B%a%C%;!<%8$rAw?.$9$kA0$KI>2A$5$l$k!#8=:_$G$OL50UL#$G$"$j!"8_49@-$N$?$a$K\e(B
6852 \e$B;D$7$F$"$k!#\e(B
6853 @item mew-real-send-hook
6854 \e$B%a%C%;!<%8$rAw?.$9$kA0$KI>2A$5$l$k!#\e(B
6855 @item mew-quit-hook
6856 Mew \e$B$N=*N;;~$KI>2A$5$l$k!#\e(B
6857 @item mew-suspend-hook
6858 Mew \e$B$r0l;~CfCG$7$?:]$KI>2A$5$l$k!#\e(B
6859 @item mew-summary-inc-sentinel-hook
6860 imget \e$B$,=*N;$9$k:]$KI>2A$5$l$k!#\e(B
6861 @item mew-summary-scan-sentinel-hook
6862 imls \e$B$,=*N;$9$k:]$KI>2A$5$l$k!#\e(B
6863 @item mew-summary-exec-hook
6864 Summary \e$B%b!<%I$N\e(B @samp{x} \e$B$N<B9T$,=*N;$9$k:]$KI>2A$5$l$k!#\e(B
6865 @item mew-syntax-format-hook
6866 \e$B%^%k%A%Q!<%H$N=q<0$r:n@.$9$k4X?t\e(B @samp{mew-syntax-format} \e$B$,8F$P$l$?:]$K\e(B
6867 \e$BI>2A$5$l$k!#\e(B
6868 @end ifset
6869 @ifset us
6870 @item mew-env-hook
6871 Evaluated at initialize time before setting environment.
6872 @item mew-init-hook
6873 Evaluated when Mew starts.
6874 @item mew-summary-mode-hook
6875 Evaluated at the entrance of Summary mode.
6876 @item mew-virtual-mode-hook
6877 Evaluated at the entrance of Virtual mode.
6878 @item mew-message-mode-hook
6879 Evaluated at the entrance of Message mode.
6880 @item mew-message-hook
6881 Evaluated every time when messages are displayed in Message mode.
6882 @item mew-addrbook-mode-hook
6883 Evaluated at the entrance of Addrbook mode.
6884 @item mew-draft-mode-hook
6885 Evaluated at the entrance of Draft mode.
6886 @item mew-draft-mode-newdraft-hook
6887 Evaluated in Draft mode only when new draft is prepared.
6888 @item mew-draft-mode-reedit-hook
6889 Evaluated in Draft mode only when an existing draft is used as draft.
6890 @item mew-cite-hook
6891 Evaluated every time when you cite a message. It is usually used for
6892 supercite.
6893 @item mew-before-cite-hook
6894 Evaluated before citation.
6895 @item mew-make-message-hook
6896 Evaluated before making a message in Draft mode (i.e. in the begging
6897 phase of @samp{C-cC-m}). 
6898 An example: (add-hook 'mew-make-message-hook 'ispell-message)
6899 @item mew-send-hook
6900 Evaluated before sending a message in Draft mode. This hook is
6901 meaningless now and is remained for backward-compatibility.
6902 @item mew-real-send-hook
6903 Evaluated before really sending a message in Draft mode.
6904 @item mew-quit-hook
6905 Evaluated at exit of Mew.
6906 @item mew-suspend-hook
6907 Evaluated when suspended.
6908 @item mew-summary-inc-sentinel-hook
6909 Evaluated when "inc" is finished.
6910 @item mew-summary-scan-sentinel-hook
6911 Evaluated when "scan" is finished.
6912 @item mew-summary-exec-hook
6913 Evaluated when @samp{x} in Summary mode is finished.
6914 @item mew-syntax-format-hook
6915 Evaluated when the function @samp{mew-syntax-format}, which creates
6916 the multipart format, is called.
6917 @end ifset
6918 @end table
6919
6920 @c %%%%%%%%%%%%%%%%%
6921 @node config, XEmacs, hooks, Customize
6922 @ifset jp
6923 @section Config
6924 @end ifset
6925 @ifset us
6926 @section Config
6927 @end ifset
6928 @vindex mew-config-insert-when-prepared
6929 @vindex mew-config-insert-when-composed
6930
6931 @ifset jp
6932 IM \e$B$N\e(B "Config" \e$B%U%!%$%k$K\e(B case \e$BJ8$r5-=R$9$k$H\e(B imget \e$B$d\e(B imput \e$B$N5sF0$rJQ\e(B
6933 \e$B2=$5$;$i$l$^$9!#$?$H$($P!"\e(BConfig \e$B$,0J2<$N$h$&$K5-=R$5$l$F$$$?$H$7$^$7$g\e(B
6934 \e$B$&!#\e(B
6935 @end ifset
6936 @ifset us
6937 If you specify "case" blocks in your IM "Config" file, you can change
6938 actions of imget and imput. Suppose that the followings are specified in
6939 Config.
6940 @end ifset
6941
6942 @example
6943 Imget.Src=pop/apop:kazu@@mail.mew.org
6944 User=kazu
6945 FromDomain=Mew.org
6946 case wide
6947 Imget.Src=pop/rpop:robby@@mx.wide.ad.jp
6948 User=robby
6949 FromDomain=wide.ad.jp
6950 case iijlab
6951 Imget.Src=imap:kazu@@mailbox.iijlab.net
6952 FromDomain=iijlab.net
6953 @end example
6954
6955 @ifset jp
6956 \e$BDL>o$G$O!"\e(Bimget \e$B$O\e(B APOP \e$B$r;H$C$F\e(B mail.mew.org \e$B$+$i\e(B kazu \e$B$N%a%C%;!<%8$rFI\e(B
6957 \e$B$_9~$_$^$9!#$^$?!"\e(Bimput \e$B$OAw?.$5$l$k%a%C%;!<%8$K\e(B From: \e$B$,$J$$>l9g\e(B
6958 (mew-from \e$B$,\e(B nil \e$B$N>l9g$J$I\e(B)\e$B!"%f!<%6L>$G$"$k\e(B kazu \e$B$H\e(B Mew.org \e$B$r\e(B @@ \e$B$GO"\e(B
6959 \e$B7k$7$?J8;zNs$r\e(B From: \e$B$K;XDj$7$^$9!#\e(B
6960 @end ifset
6961 @ifset us
6962 By default, imget retrieves kazu's messages from mail.mew.org by APOP.
6963 And if the From: field doesn't exist in a message to be sent(e.g. when
6964 mew-from is set to nil), the user name "kazu" and Mew.org is
6965 concatenated with "@@" then imput specifies it in the From: field.
6966 @end ifset
6967
6968 @ifset jp
6969 \e$B$b$7\e(B --config=wide \e$B$,;XDj$5$l$k$H!"\e(Bimget \e$B$O\e(B RPOP \e$B$r;H$C$F\e(B mx.wide.ad.jp 
6970 \e$B$+$i\e(B robby \e$B$N%a%C%;!<%8$rFI$_9~$_$^$9!#$^$?!"\e(Bimput \e$B$O\e(B From: \e$B$KBP$7\e(B 
6971 robby@@wide.ad.jp \e$B$rA*$V$h$&$K$J$j$^$9!#\e(B
6972 @end ifset
6973 @ifset us
6974 If you specify --config=wide to imget, it retrieves robby's messages from
6975 mx.wide.ad.jp by RPOP. Also, imput chooses robby@@wide.ad.jp for the
6976 From: field.
6977 @end ifset
6978
6979 @ifset jp
6980 \e$B$3$N$h$&$K\e(B imget \e$B$d\e(B imput \e$B$O!"\e(B--config \e$B%*%W%7%g%s$G;XDj$5$l$?J8;zNs$r$b\e(B
6981 \e$B$H$K!"M-8z$J\e(B case \e$BJ8$rA*Br$7$^$9!#>e$NNc$+$iL@$i$+$G$9$,!"$3$N5!G=$r;H$&\e(B
6982 \e$B$HFI$_9~$`%a!<%k%\%C%/%9$dAw?.;~$N\e(B From: \e$B$rJQ99$G$-$FJXMx$G$9!#\e(B
6983 @end ifset
6984 @ifset us
6985 In this way, imget and imput selects valid case block according to the 
6986 --config option. As you see above, with this feature, it is very
6987 convenient since you can change mailbox and your address.
6988 @end ifset
6989
6990 @ifset jp
6991 Mew \e$B$O5/F0;~$K\e(B Config \e$B$N\e(B case \e$BJ8$rD4$Y$^$9!#$b$7!"\e(B1 \e$B<oN`0J>e$N\e(B case \e$B$,$"\e(B
6992 \e$B$k>l9g!"\e(B@samp{mew-config-list} \e$B$K@_Dj$7$^$9!#\e(B--config \e$B$,;XDj$5$l$J$$>l9g\e(B
6993 \e$B$KFI$^$l$kItJ,$O!"\e(Bdefault \e$B$H$$$&J8;zNs$GI=8=$5$l$^$9!#>e$NNc$G$O!"\e(B
6994 @samp{mew-config-list} \e$B$K$O!"\e(B'("default" "wide" "iijlab") \e$B$,@_Dj$5$l$^\e(B
6995 \e$B$9!#\e(B
6996 @end ifset
6997 @ifset us
6998 When Mew boots up, it investigates case statements. If there are one or
6999 more kinds of case statements, @samp{mew-config-list} is set. The block
7000 to be read when --config is not specified is represented as "default".
7001 In the case up above, '("default" "wide" "iijlab") is set to
7002 @samp{mew-config-list}.
7003 @end ifset
7004
7005 @ifset jp
7006 Summary \e$B%b!<%I$G\e(B @samp{C} \e$B$r2!$9$H!"\e(B@samp{mew-config-list} \e$B$rJd40$N8uJd\e(B
7007 \e$B$H$7$FMxMQ$7$J$,$i!"\e(Bimget \e$B$KEO$9\e(B --config \e$B$NCM$rA*Br$G$-$^$9!#%G%U%)%k%H\e(B
7008 \e$B$G$O\e(B "default" \e$B$G$9!#$b$7B>$NCM$,@_Dj$5$l$F$$$?>l9g!"$?$H$($P\e(B "wide" \e$B$,\e(B
7009 \e$B@_Dj$5$l$F$$$?>l9g!"\e(B@samp{i} \e$B$O<!$N$h$&$KI=<($7$^$9!#\e(B
7010 @end ifset
7011 @ifset us
7012 If you type @samp{C} in Summary mode, you can complete the value to be
7013 specified with the --config option for imget, using
7014 @samp{mew-config-list} as candidates. The default value is "default". If
7015 other value is selected, say "wide", @samp{i} displays the following
7016 message.
7017 @end ifset
7018
7019 @example
7020 Getting +inbox (wide)...
7021 @end example
7022
7023 @ifset jp
7024 imput \e$B$K\e(B case \e$B$NA*Br$r;X<($9$k$K$O!"Aw?.$9$k%a%C%;!<%8$N%X%C%@Cf$N\e(B 
7025 Config: \e$B%U%#!<%k%I$G;XDj$G$-$^$9!#\e(BDraft \e$B%b!<%I$G$O!"\e(B@xref{header} \e$B$G@bL@\e(B
7026 \e$B$7$?$h$&$K!"\e(BConfig: \e$B$H$$$&%U%#!<%k%IL>$r\e(B @samp{TAB} \e$B$GJd40$G$-$^$9!#$^$?!"\e(B
7027 @samp{mew-config-list} \e$B$NCM$r\e(B @samp{TAB} \e$B$GJd402DG=$G$9!#$5$i$K!"\e(B
7028 @samp{C-cTAB} \e$B$r;H$($P!"\e(B@samp{mew-config-list} \e$B$NCM$r=[4DE*$KJd40$G$-$^\e(B
7029 \e$B$9!#\e(B
7030 @end ifset
7031 @ifset us
7032 To specify case block to imput, you can use the Config: field in a
7033 message to be sent. In Draft mode, you can complete the Config: field
7034 itself by @samp{TAB} as described in @xref{header}. Also, you can
7035 complete its value by @samp{TAB} using @samp{mew-config-list} as
7036 candidates. Moreover, you can use circular completion of
7037 @samp{mew-config-list} by @samp{C-cTAB}.
7038 @end ifset
7039
7040 @ifset jp
7041 \e$B$7$+$7!"<+J,$GCM$rA*$V$N$O$a$s$I$&$G$9!#\e(BMew \e$B$O@0F\@h$N%U%)%k%@$r?dB,$9$k\e(B
7042 \e$B$N$@$+$i!"\e(BConfig: \e$B$NCM$b?dB,$7$FM_$7$$$H;W$&$G$7$g$&!#$b$A$m$s!"\e(BMew \e$B$O\e(B 
7043 Config: \e$B$NCM$r?dB,$G$-$^$9!#\e(BConfig: \e$B$N?dB,%k!<%k$O!"\e(B
7044 @samp{mew-config-guess-alist} \e$B$K@_Dj$G$-$^$9!#=q<0$O!"\e(B@xref{by-alist} \e$B$G\e(B
7045 \e$B@bL@$7$?\e(B @samp{mew-refile-guess-alist} \e$B$HF1$8$G$9!#\e(B
7046 @end ifset
7047 @ifset us
7048 However, you may think this is a boring job. You would want Mew to guess
7049 a value of Config: because Mew can guess refile folders. Of course, Mew
7050 supports this kind of guess feature. You can specify your guess rule to
7051 @samp{mew-config-guess-alist}. Its syntax is exactly the same as
7052 @samp{mew-refile-guess-alist} explained in @xref{by-alist}.
7053 @end ifset
7054
7055 @ifset jp
7056\e$B$DNc$r5s$2$F$_$^$7$g$&!#\e(B
7057 @end ifset
7058 @ifset us
7059 Let's look at one example:
7060 @end ifset
7061
7062 @example
7063 (setq mew-config-guess-alist
7064    '(("To:"
7065       ("wide.ad.jp" . "wide")
7066       ("mew.org" . "mew"))))
7067 @end example
7068
7069 @ifset jp
7070 \e$B$3$N>l9g!"\e(BTo: \e$B$,\e(B wide.ad.jp \e$B$K9gCW$9$l$P\e(B "Config: wide" \e$B$r!"\e(Bmew.org \e$B$K%^%C\e(B
7071 \e$B%A$9$l$P\e(B "Config: mew" \e$B$rA^F~$7$^$9!#\e(B
7072 @end ifset
7073 @ifset us
7074 In this case, if To: matches wide.ad.jp, "Config: wide" is inserted. If
7075 it matches mew.org, "Config: mew" is inserted.
7076 @end ifset
7077
7078 @ifset jp
7079 \e$B$3$N?dB,$rMxMQ$7$F\e(B Config: \e$B$rA^F~$G$-$k%?%$%_%s%0$O0J2<$N\e(B 3 \e$B$D$G$9!#\e(B
7080 @end ifset
7081 @ifset us
7082 There are three changes that you can insert the Config: field with this
7083 feature.
7084 @end ifset
7085
7086 @enumerate
7087 @item
7088 @ifset jp
7089 @samp{mew-config-insert-when-prepared} \e$B$,\e(B @samp{t} \e$B$J$i!"Ap9F$rMQ0U$7$?\e(B
7090 \e$B;~E@!#\e(B
7091 @end ifset
7092 @ifset us
7093 When a draft is prepared if @samp{mew-config-insert-when-prepared} is
7094 @samp{t}.
7095 @end ifset
7096 @item
7097 @ifset jp
7098 @samp{mew-config-insert-when-composed} \e$B$,\e(B @samp{t} \e$B$J$i!"\e(B
7099 @samp{C-cC-m} \e$B$G%a%C%;!<%8$r:n@.$7$?;~E@!#\e(B
7100 @end ifset
7101 @ifset us
7102 When a message is composed by @samp{C-cC-m} if
7103 @samp{mew-config-insert-when-composed} is @samp{t}.
7104 @end ifset
7105 @item
7106 @ifset jp
7107 @samp{C-cC-o} \e$B$HF~NO$7$?G$0U$N;~E@!#\e(B
7108 @end ifset
7109 @ifset us
7110 Anytime when you type @samp{C-cC-o}.
7111 @end ifset
7112 @end enumerate
7113
7114 @ifset jp
7115 \e$B;29M$^$G$K=q$-$^$9$,!"%[%9%HL>$G\e(B Config \e$B$rJQ99$7$?$$>l9g$O!"0J2<$N9T$r\e(B
7116 ".emacs" \e$B$KF~$l$k$H$h$$$G$7$g$&!#\e(B
7117 @end ifset
7118 @ifset us
7119 This is just for your information. If you want select Config: by
7120 hostname, put the following line in your ".emacs".
7121 @end ifset
7122
7123 @example
7124 (setq mew-config-guess-alist
7125    (list (cons nil (system-name))))
7126 @end example
7127
7128 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7129 @c      XEmacs
7130 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7131
7132 @node XEmacs, Convention, config, Top
7133 @ifset jp
7134 @chapter \e$B%"%$%3%s$N$"$k@83h\e(B
7135 @end ifset
7136 @ifset us
7137 @chapter Life with icons
7138 @end ifset
7139 @vindex mew-multipart-icon-position
7140
7141 @ifset jp
7142 XEmacs \e$B$G\e(B Mew \e$B$r;H$($P!"%"%$%3%s!&%Y!<%9$N%$%s%?!<%U%'%$%9$G%a%C%;!<%8$r\e(B
7143 \e$BFI$_=q$-$G$-$^$9!#%"%$%3%s!&%Y!<%9$N%$%s%?!<%U%'%$%9$O!"=>Mh$N%-!<F~NO$K\e(B
7144 \e$B$h$k%$%s%?!<%U%'%$%9$H?FOB@-$,9b$$$h$&$K@_7W$5$l$F$$$^$9!#\e(B
7145 @end ifset
7146 @ifset us
7147 If you use Mew on XEmacs, you can read and/or write messages with
7148 icon-based interface. The icon-based interface was designed totally
7149 equivalent to the original key-based interface.
7150 @end ifset
7151
7152 @ifset jp
7153 \e$B%"%$%3%s!&%$%s%?!<%U%'%$%9$N;H$$J}$O\e(B.....\e$B!"@bL@$9$k$^$G$b$"$j$^$;$s!#D>\e(B
7154 \e$B46E*$K$o$+$k$O$:$G$9!#$G$b>/$7$@$1<j$[$I$-$r!#\e(B
7155 @end ifset
7156 @ifset us
7157 So, how to use the icon-based interface? I believe that it is intuitive
7158 enough that no future explanation is necessary. Nonetheless, some basic
7159 rules are shown below.
7160 @end ifset
7161
7162 @ifset jp
7163 Summary\e$B!"\e(BVirtual\e$B!"$*$h$S!"\e(BDraft \e$B%b!<%I$NI8=`$N%"%$%3%s$KB+G{$5$l$F$$$k5!\e(B
7164 \e$BG=$rMxMQ$9$k$K$O!":8%\%?%s$r%/%j%C%/$7$F2<$5$$!#\e(B
7165 @end ifset
7166 @ifset us
7167 To execute a function bounded to each BASIC icon in Summary, Virtual,
7168 and Draft mode toolbar, click the left button of your mouse.
7169 @end ifset
7170
7171 @ifset jp
7172 \e$B%^%k%A%Q!<%H$N%a%C%;!<%8$rFI$_=q$-$9$k:]$KI=<($5$l$k%"%$%3%s$O!":8%\%?%s\e(B
7173 \e$B$N%/%j%C%/$G$=$N%P!<$rI=<($7!"1&%\%?%s$r2!$9$H%]%C%W%"%C%W!&%a%K%e!<$,I=\e(B
7174 \e$B<($5$l$^$9!#$3$N%a%K%e!<$N$*$+$2$G!"%Q!<%H$KBP$7$5$^$6$^$J=hM}$,2DG=$H$J$C\e(B
7175 \e$B$F$$$^$9!#\e(B
7176 @end ifset
7177 @ifset us
7178 For multipart messages, multipart icons appears in toolbars. Clicking
7179 the left button on a multipart icon visualizes the part. When you press
7180 the multipart icon, a popup menu appears. Thanks to this menu, many
7181 operations can be applied to the part.
7182 @end ifset
7183
7184 @ifset jp
7185 \e$B%^%k%A%Q!<%H$N%"%$%3%s$O!"%G%U%)%k%H$GI8=`$N%"%$%3%s$N1&$KI=<($5$l$^$9!#\e(B
7186 \e$B:8$KI=<($9$k$N$,9%$-$J?M$O!"0J2<$N$h$&$K@_Dj$7$F2<$5$$!#\e(B
7187 @end ifset
7188 @ifset us
7189 By default, multipart icons are displayed at the right size of the basic
7190 icons in toolbars. If you like the left size, configure as follows:
7191 @end ifset
7192
7193 @example
7194 (setq mew-multipart-icon-position 'left)
7195 @end example
7196
7197 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7198 @c      Message Convention
7199 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7200
7201 @node Convention, MIME, XEmacs, Top
7202 @ifset jp
7203 @chapter \e$B%a%C%;!<%8$N:nK!\e(B
7204 @end ifset
7205 @ifset us
7206 @chapter Email convention
7207 @end ifset
7208
7209 @ifset jp
7210 \e$B%a%C%;!<%8$r$d$j$H$j$9$k:]$K$O!":GDc8B$N%^%J!<$,$"$j$^$9!#%^%J!<$r<i$C$F\e(B
7211 \e$B$$$J$$%a%C%;!<%8$OFI$_$K$/$$$?$a!"BgJQB;$7$^$9!#4J7i$+$DE,@Z$JJ8>O$r=q$-!"\e(B
7212 \e$B$J$k$Y$/Aj<j$KM}2r$7$F$b$i$($k$h$&EXNO$7$^$7$g$&!#\e(B
7213 @end ifset
7214 @ifset us
7215 When you exchange messages with other people, you should obey minimum
7216 manner. It gives a bad impression to the people if you violate the
7217 manner since such messages are hard to read. We always should try to
7218 write concise yet comprehensive explanations and make an effort to make
7219 receivers well-understood.
7220 @end ifset
7221
7222 @ifset jp
7223 \e$B%a%C%;!<%8$r=q$/:]$K5$$rIU$1$k$Y$-9`L\$r0J2<$K<($7$^$9!#\e(B
7224 @end ifset
7225 @ifset us
7226 We should take good care of the following items.
7227 @end ifset
7228
7229 @table @asis
7230 @ifset jp
7231 @item To: \e$B$H\e(B Cc: \e$B$r@5$7$/=q$/\e(B
7232 To: \e$B$,L\E*$N?M$G!"\e(BCc: \e$B$O;29M$^$G$KAw$jIU$1$k?M$G$9!#<+J,$N%"%I%l%9$,\e(B Cc: 
7233 \e$B$N>l9g$O!"FI$_Ht$P$9?M$,$$$^$9$+$iCm0U$7$F2<$5$$!#$^$?!"ITI,MW$J%"%I%l%9\e(B
7234 \e$B$r\e(B To: \e$B$d\e(B Cc: \e$B$K=q$$$F!"Aj<j$KLBOG$r$+$1$J$$$h$&$K$7$^$7$g$&!#\e(B
7235 @end ifset
7236 @ifset us
7237 @item Fill To: and Cc: fields precisely
7238 To: is for target receivers and Cc: is for those who are received for
7239 their information. If his address is not on To:, he might skip to read
7240 the message. We should take care not to deliver to wrong people by
7241 mistaking the addresses.
7242 @end ifset
7243
7244 @ifset jp
7245 @item To: \e$B$H\e(B Cc: \e$B$K=q$/%"%I%l%9$N?t$O>/$J$/$9$k\e(B
7246 \e$B%"%I%l%9$r$?$/$5$s\e(B To: \e$B$d\e(B Cc: \e$B$K=q$/$N$O$h$/$J$$$3$H$G$9!#LLE]$G$b%a!<%j\e(B
7247 \e$B%s%0%j%9%H$r:n$j$^$7$g$&!#\e(B
7248 @end ifset
7249 @ifset us
7250 @item The number of addresses To: and Cc: should be small
7251 It is discouraged to specify a lot of mail addresses on To: and Cc:. You
7252 should create a mailing-list instead.
7253 @end ifset
7254
7255 @ifset jp
7256 @item Subject: \e$B$K$OK\J8$NFbMF$rE*3N$KC;$/=q$/\e(B
7257 Subject: \e$B$r8+$FFI$`$+7h$a$k?M$,$$$^$9$+$i!"ITE,@Z$J\e(B Subject: \e$B$@$HFI$s$G\e(B
7258 \e$B$b$i$($J$$$+$b$7$l$^$;$s!#D9$$\e(B Subject: \e$B$OFI$_$K$/$$$N$G;_$a$^$7$g$&!#\e(B
7259 @end ifset
7260 @ifset us
7261 @item Write a short and clear summary of body in Subject:
7262 There are people who decide to read contents from their Subject:. So,
7263 they might skip messages with improper Subject:. We should not write a
7264 long subject since it is hard to read.
7265 @end ifset
7266
7267 @ifset jp
7268 @item \e$B2~9T$O9TKv$r!"6u9T$O2~CJMn$rI=$9!#\e(B1\e$B9T$OH>3Q\e(B70\e$BJ8;zDxEY$K$H$I$a$k\e(B
7269 \e$B0UL#$b$J$/\e(B1\e$B9T$*$-$K=q$$$?$j!"$J$s9T$K$bEO$C$F2~9T$7$J$$$N$OFI$_$E$i$$$G\e(B
7270 \e$B$9!#$H$/$K9T$,D9$$$H0zMQ$9$k$N$K:$$j$^$9!#$^$?!"9TF,$K$$$/$D$+$N6uGrJ8;z\e(B
7271 \e$B$rF~$l$F1&$K$h$;$F=q$/?M$,$$$^$9$,!"$3$l$bL50UL#$G$9!#%F%-%9%H$NI=<($O!"\e(B
7272 \e$B;H$C$F$$$k%3%s%T%e!<%?$G$^$A$^$A$G$9$+$i!"7k6I<+J,$N%3%s%T%e!<%?$G$_$?$a\e(B
7273 \e$B$,$h$/$F$b!"B>?M$N%3%s%T%e!<%?$G$=$&$G$"$k$H$O8B$i$J$$$N$G$9!#\e(B
7274 @end ifset
7275 @ifset us
7276 @item Carriage return means end of line and null line expresses end of paragraph. One line should be limited to 70 characters or so. 
7277 It is very hard to read if you write a message on every other line or in
7278 a long line without folding. Especially long lines are trouble to
7279 cite. Some people write a message with indent but it is
7280 meaningless. Text is displayed differently on each machines, so even if
7281 the layout is excellent on your machine, it might not be so on other
7282 machines.
7283 @end ifset
7284
7285 @ifset jp
7286 @item \e$BI,MW$JItJ,$@$1$r0zMQ$9$k\e(B
7287 \e$BLLE]$G$bITMW$JItJ,$O:o$j$^$7$g$&!#\e(BMew \e$B$r;H$C$F$$$l$P!"0zMQ$O3Z>!$N$O$:$G\e(B
7288 \e$B$9!#\e(B
7289 @end ifset
7290 @ifset us
7291 @item Cite only necessary sentences
7292 You should not bother to remove unnecessary sentences. With Mew,
7293 citation must be a piece of cake.
7294 @end ifset
7295
7296 @ifset jp
7297 @item \e$B%7%0%K%A%c$O4JAG$K$9$k\e(B
7298 \e$BD9$$%7%0%K%A%c$OC1$J$k<+8JK~B-$G$9!#\e(B
7299 @end ifset
7300 @ifset us
7301 @item Make your signature simple
7302 A long signature is just self-satisfaction.
7303 @end ifset
7304
7305 @ifset jp
7306 @item \e$B$$$?$:$i%a%C%;!<%8$rAw$i$J$$\e(B
7307 \e$B$3$s$J$3$H$OCm0U$7$?$/$"$j$^$;$s$,!"$=$l$G$bIT9,$N%a%C%;!<%8$J$I$rAw$C$F\e(B
7308 \e$B$/$k?M$,$$$^$9!#?M3J$r5?$o$l$k$3$H$rM}2r$9$Y$-$G$9!#\e(B
7309 @end ifset
7310 @ifset us
7311 @item Do not send prank messages
7312 I don't want to warn this kind of stuff. Nonetheless, someone sends
7313 Happy or Unhappy messages to others. You should understand that people
7314 doubt your character.
7315 @end ifset
7316
7317 @ifset jp
7318 @item \e$BAj<j$NFI$a$k%G!<%?$N$_$rE:IU$9$k\e(B
7319 \e$B$J$s$N9g0U$b$J$7$KAw$C$F$h$$%G!<%?$O%F%-%9%H$N$_$G$9!#$=$l0J30$N%G!<%?$r\e(B
7320 \e$BAw$k>l9g$O!"$"$i$+$8$aAj<j$KAw$C$F$h$$$+3NG'$r$H$j$^$7$g$&!#%a!<%j%s%0%j\e(B
7321 \e$B%9%H$K$O!"%F%-%9%H$N$_$rEj9F$9$k$N$,L5Fq$G$7$g$&!#\e(B
7322 @end ifset
7323 @ifset us
7324 @item Attach data files that the receivers can read
7325 It is text only that you can send without any agreement with the
7326 receivers. If you want to send data files other than text, you should
7327 make an agreement with the receivers. To mailing-list, you should send
7328 text only.
7329 @end ifset
7330 @end table
7331
7332 @ifset jp
7333 \e$B$^$?!"%$%s%?!<%M%C%H$N%^%J!<$O\e(B RFC1855 \e$B$rFI$`$H$$$$$G$7$g$&!#\e(B@xref{Bib} 
7334 \e$B$r;2>H$7$F2<$5$$!#Cx<T$O!"@53N$JJ8>O$N=q$-J}$K$D$$$F3X@8$N$?$a$K$^$H$a$?\e(B
7335 \e$BF~Lg=q$r\e(B WWW \e$B$G8x3+$7$F$$$^$9!#6=L#$,$"$l$P!"0J2<$N\e(B URL \e$B$K%"%/%;%9$7$F2<\e(B
7336 \e$B$5$$!#\e(B
7337
7338 @example
7339 http://www.mew.org/~kazu/doc/japanese.html
7340 @end example
7341 @end ifset
7342
7343 @ifset us
7344 If you wish to learn manner on the Internet more comprehensively, please
7345 refer to RFC1855(@xref{Bib}).
7346 @end ifset
7347
7348 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7349 @c      MIME
7350 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7351
7352 @node MIME, mime-ct, Convention, Top
7353 @ifset jp
7354 @chapter MIME \e$B$C$F$J$!$K!)\e(B
7355 @end ifset
7356 @ifset us
7357 @chapter What's MIME?
7358 @end ifset
7359
7360 @ifset jp
7361 \e$B:#$^$G$N%a%C%;!<%8!"@53N$K$O\e(B RFC822 \e$B%a%C%;!<%8$O!"K\J8$K%F%-%9%H$7$+3JG<\e(B
7362 \e$B$G$-$J$$5,3J$G$7$?!#\e(BMIME \e$B$O\e(B RFC822 \e$B$r3HD%$7$?B?L\E*%a%C%;!<%8$G$9!#\e(B
7363 @end ifset
7364 @ifset us
7365 Messages so far, more exactly RFC822 messages, cannot contain objects
7366 other than text. MIME is multi-purpose message to extend RFC822.
7367 @end ifset
7368
7369 @ifset jp
7370 MIME \e$B$O!"%X%C%@$K\e(B
7371 @end ifset
7372 @ifset us
7373 MIME has 
7374 @end ifset
7375
7376 @example
7377 MIME-Version: 1.0
7378 @end example
7379
7380 @ifset jp
7381 \e$B$H$$$&%U%#!<%k%I$r;}$A$^$9!#$3$N%U%#!<%k%I$,$J$$>l9g$O!"\e(BRFC822 \e$B%a%C%;!<\e(B
7382 \e$B%8$G$9!#\e(BMIME \e$B$G$O!"%G!<%?$N7?$r<($9\e(B Content-Type: \e$B$HId9f2=J}<0$r<($9\e(B
7383 Content-Transfer-Encoding: \e$B$,=EMW$J%U%#!<%k%I$G$9!#0J2<$G$O$3$l$i$N%U%#!<\e(B
7384 \e$B%k%I$d\e(B MIME \e$B$NFCD9$K$D$$$F@bL@$7$^$9!#\e(B
7385 @end ifset
7386 @ifset us
7387 field in its header. Without this field, it is an RFC822 message. In
7388 MIME, Content-Type: to indicate data type and Content-Transfer-Encoding
7389 to specify encoding are important fields. The following sections
7390 describe these fields and feature of MIME.
7391 @end ifset
7392
7393 @menu
7394 @ifset jp
7395 * mime-ct::                     \e$B%G!<%?$N7?$N;XDj\e(B
7396 * mime-cte::                    \e$B0BA4$JId9f2=\e(B
7397 * mime-multi::                  \e$B%^%k%A%Q!<%H\e(B
7398 * mime-header::                 \e$B%X%C%@$N3HD%\e(B
7399 @end ifset
7400 @ifset us
7401 * mime-ct::                     Labeling data type
7402 * mime-cte::                    Encoding for transport-safe
7403 * mime-multi::                  Multipart structure
7404 * mime-header::                 Header extensions
7405 @end ifset
7406 @end menu
7407
7408 @c %%%%%%%%%%%%%%%%%
7409 @node mime-ct, mime-cte, MIME, MIME
7410 @ifset jp
7411 @section \e$B%G!<%?$N7?;XDj\e(B
7412 @end ifset
7413 @ifset us
7414 @section Labeling data type
7415 @end ifset
7416
7417
7418 @ifset jp
7419 MIME \e$B$G$O!"\e(BContent-Type:(\e$B0J2<\e(B CT:)\e$B$H$$$&%U%#!<%k%I$K%G!<%?$N7?$r;XDj$G$-\e(B
7420 \e$B$^$9!#0J2<$O!"K\J8$,\e(B US-ASCII \e$B$G$"$k\e(B MIME \e$B$NNc$G$9!#\e(B
7421 @end ifset
7422 @ifset us
7423 With MIME, data type can be specified in Content-Type:(CT:) field. The
7424 following is an example message whose body is US-ASCII text.
7425 @end ifset
7426
7427 @example
7428 MIME-Version: 1.0
7429 Content-Type: Text/Plain; charset=us-ascii
7430 Content-Transfer-Encoding: 7bit
7431 Subject: hello
7432 From: Kazu
7433
7434 Hi all,
7435 @end example
7436
7437 @ifset jp
7438 CT: \e$B$,>JN,$5$l$?>l9g$O!"\e(BText/Plain; charset=us-ascii \e$B$H$7$F<h$j07$o$l$^\e(B
7439 \e$B$9!#$^$?!"\e(BCT: Text/Plain \e$B$N$H$-$K!"\e(Bcharset \e$B$,>JN,$5$l$k$H\e(B US-ASCII \e$B$H2r\e(B
7440 \e$B<a$5$l$^$9!#\e(B
7441 @end ifset
7442 @ifset us
7443 If CT: is omitted, the content is treated as "Text/Plain;
7444 charset=us-ascii". And if CT: is "Text/Plain" and charset is not
7445 specified, its charset is considered as US-ASCII.
7446 @end ifset
7447
7448 @ifset jp
7449 \e$B$3$N$h$&$K\e(B MIME \e$B$G$O!"\e(BCT: \e$B$,%F%-%9%H$N>l9g$O!"\e(Bcharset \e$B$GJ8;z%3!<%I$r;XDj\e(B
7450 \e$B$G$-$^$9!#F|K\8l$K$O\e(B ISO-2022-JP \e$B$r;H$$$^$9!#\e(B
7451 @end ifset
7452 @ifset us
7453 Likewise, if CT: is text, charset can be specified in the context of
7454 MIME. For Japanese, ISO-2022-JP is used.
7455 @end ifset
7456
7457 @ifset jp
7458 MIME \e$B$G$O!"K\J8$KJ#?t$N%G!<%?$r3JG<$G$-$^$9!#$3$l$r%^%k%A%Q!<%H$H$$$$$^\e(B
7459 \e$B$9!#%^%k%A%Q!<%H$N$=$l$>$l$N%Q!<%H$O!"%3%s%F%s%H%X%C%@$H%3%s%F%s%H%\%G%#\e(B
7460 \e$B$+$i9=@.$5$l$F$$$^$9!#\e(BCT: \e$B$O%X%C%@$@$1$G$J$/!"%3%s%F%s%H%X%C%@Cf$K$b8=$l\e(B
7461 \e$B$^$9!#5U$K!"%X%C%@$OFC<l$J%3%s%F%s%H%X%C%@$@$H9M$($F$b9=$$$^$;$s!#\e(B
7462 @end ifset
7463 @ifset us
7464 MIME can embed multiple objects in its body, so called multipart. Each
7465 part in multipart consists of content-header and content-body. CT:
7466 appears in content-header as well as header. In the contrary, you can
7467 take header as a special type of content-header.
7468 @end ifset
7469
7470 @ifset jp
7471 \e$B>\$7$/$O!"\e(B@xref{mime-multi} \e$B$r;2>H$7$F2<$5$$!#\e(B
7472 @end ifset
7473 @ifset us
7474 For more information, please refer to @xref{mime-multi}.
7475 @end ifset
7476
7477 @ifset jp
7478 \e$B0J2<$K=EMW$J\e(B CT: \e$B$r<($7$^$9!#\e(B
7479 @end ifset
7480 @ifset us
7481 Important CT: is listed below.
7482 @end ifset
7483
7484 @table @samp
7485 @ifset jp
7486 @item Text/Plain
7487 \e$B%F%-%9%H\e(B
7488 @item Message/Rfc822
7489 MIME \e$B$r4^$`%a%C%;!<%8!#%X%C%@$HK\J8$H$$$&9=B$$,$"$k!#\e(B
7490 @item Multipart/Mixed
7491 \e$B%^%k%A%Q!<%H\e(B
7492 @item Application/Postscript
7493 PostScript
7494 @item Application/Octet-Stream
7495 \e$B%P%$%H%9%H%j!<%`!#%P%$%J%j%U%!%$%k$H;W$C$F$h$$!#\e(B
7496 @item Image/Gif
7497 GIF
7498 @item Image/Jpeg
7499 JPEG
7500 @item Audio/Basic
7501 AU \e$B7A<0$N2;@<%U%!%$%k\e(B
7502 @item Video/Mpeg
7503 MPEG
7504 @item Message/External-Body
7505 \e$B%a%C%;!<%8$N30It$K<BBN$,$"$k\e(B
7506 @end ifset
7507 @ifset us
7508 @item Text/Plain
7509 Text
7510 @item Message/Rfc822
7511 Message including MIME which has a header and a body
7512 @item Multipart/Mixed
7513 Multipart
7514 @item Application/Postscript
7515 PostScript
7516 @item Application/Octet-stream
7517 Binary stream. Can be considered as a binary file
7518 @item Image/Gif
7519 GIF 
7520 @item Image/Jpeg
7521 JPEG
7522 @item Audio/Basic
7523 Audio file with AU format
7524 @item Video/Mpeg
7525 MPEG
7526 @item Message/External-body
7527 An phantom object whose real object exists outside of the message
7528 @end ifset
7529 @end table
7530
7531 @c %%%%%%%%%%%%%%%%%
7532 @node mime-cte, mime-multi, mime-ct, MIME
7533 @ifset jp
7534 @section \e$B0BA4$JId9f2=\e(B
7535 @end ifset
7536 @ifset us
7537 @section Encoding for transport-safe
7538 @end ifset
7539
7540 @ifset jp
7541 \e$B0JA0$+$i%P%$%J%j$rG[Aw$9$k$?$a$K\e(B uuencode \e$B$H$$$&Id9f2=%W%m%0%i%`$,;H$o$l\e(B
7542 \e$B$F$$$^$7$?!#\e(Buuencode \e$B$O!"\e(B8\e$B%S%C%H\e(B3\e$BJ8;z$r\e(B6\e$B%S%C%H\e(B4\e$BJ8;z$KJQ49$7$^$9$,!"JQ49\e(B
7543 \e$B8e$K$?$/$5$s$N5-9f$,8=$l$^$9!#$3$l$i$N5-9f$O%a%C%;!<%8$N%X%C%@$GFC<l$J0U\e(B
7544 \e$BL#$r;}$D$b$N$,4^$^$l$F$*$j!"%X%C%@$N3HD%$N$?$a$K$OMxMQ$G$-$^$;$s!#\e(B
7545 @end ifset
7546 @ifset us
7547 "uuencode" has been used for a long time to transport binary. It encodes
7548 three 8-bit characters into four 6-bit characters, however, the result
7549 contains many kinds of symbols. Some of them have special meanings in
7550 header so they cannot be used to extent header functionality.
7551 @end ifset
7552
7553 @ifset jp
7554 \e$B$^$?!"6uGrJ8;z$b;H$o$l$F$$$k$N$bLq2p$G$9!#$J$<$J$i!"\e(BBITNET \e$B$N%U%!%$%k%7\e(B
7555 \e$B%9%F%`$K$O!"9TKv$K6uGr$,$"$j$($J$$$N$G$9!#$b$7!"\e(Buuencode \e$B$GId9f2=$7$?$H\e(B
7556 \e$B$-$K!"9TKv$K$?$^$?$^6uGr$,8=$l$?$H$7$^$7$g$&!#$3$l$r\e(B BITNET \e$B$N%a%C%;!<%8\e(B
7557 \e$B%2!<%H%&%'%$$,<u$1<h$k$H!"EvA39TKv$N6uGr$r:o$C$F$7$^$$$^$9!#$h$C$F!"<u?.\e(B
7558 \e$B<T$O85$N%P%$%J%j%U%!%$%k$rI|85$G$-$^$;$s!#\e(B
7559 @end ifset
7560 @ifset us
7561 Space character bothers the transport system. Space character cannot
7562 exist in end of line of the file system of BITNET. Suppose that an
7563 encoded object with uuencode contains space character in end of line.
7564 When a message gateway BITNET received this kind of message, it removes
7565 the space character, of course. In the result, receivers cannot decode
7566 and extract the original object.
7567 @end ifset
7568
7569 @ifset jp
7570 \e$B$=$3$G!"\e(BMIME \e$B$G$OK\J8MQ$K\e(B 2 \e$B$D$NId9f2=J}<0$rDj$a$^$7$?!#\e(B
7571 @end ifset
7572 @ifset us
7573 MIME specified 2 encoding methods for body.
7574 @end ifset
7575
7576 @table @asis
7577 @ifset jp
7578 @item Base64 \e$BId9f2=J}<0\e(B
7579 "0-9A-Za-z/+" \e$B$N\e(B64\e$BJ8;z$rMQ$$$F!"\e(B8\e$B%S%C%H\e(B3\e$BJ8;z$r\e(B6\e$B%S%C%H\e(B4\e$BJ8;z$KJQ49$9$k!#85!9\e(B
7580 \e$B$O\e(B PEM \e$B$G9M$(=P$5$l$?!#\e(B
7581 @item Quoted-Printable \e$BId9f2=J}<0\e(B
7582 \e$BI=<(IT2DG=$JJ8;z$r\e(B "=" \e$B$KB3$1$F\e(B16\e$B?JI=5-$9$k!#\e(B
7583 @end ifset
7584 @ifset us
7585 @item Base64 encoding
7586 Encode three 8-bit characters into four 6-bit characters with 64
7587 letters, "0-9A-Za-z/+". PEM originates it.
7588 @item Quoted-Printable encoding
7589 Represent non-printable characters in hexagonal preceded by "=".
7590 @end ifset
7591 @end table
7592
7593 @ifset jp
7594 \e$B3F%3%s%F%s%H%X%C%@Cf$N\e(B Content-Transfer-Encoding:(CTE:)\e$B$GId9f2=J}<0$r;X\e(B
7595 \e$BDj$7$^$9!#<h$jF@$kCM$O0J2<$NDL$j$G$9!#\e(B
7596 @end ifset
7597 @ifset us
7598 Encoding is specified by Content-Transfer-Encoding:(CTE:) in
7599 content-header. The candidate values are as follows:
7600 @end ifset
7601
7602 @table @asis
7603 @ifset jp
7604 @item 7bit
7605 \e$BL5JQ49!#\e(B7\e$B%S%C%H$N9T$+$i9=@.$5$l$k!#\e(B
7606 @item 8bit
7607 \e$BL5JQ49!#\e(B8\e$B%S%C%H$N9T$+$i9=@.$5$l$k!#\e(B
7608 @item binary
7609 \e$BL5JQ49!#\e(B8\e$B%S%C%H$N%G!<%?!&%9%H%j!<%`!#\e(B
7610 @item base64
7611 Base64 \e$B$GId9f2=$7$?!#\e(B7\e$B%S%C%H$N9T$+$i9=@.$5$l$k!#\e(B
7612 @item quoted-printable
7613 Quoted-Printable \e$B$GId9f2=$7$?!#\e(B7\e$B%S%C%H$N9T$+$i9=@.$5$l$k!#\e(B
7614 @end ifset
7615 @ifset us
7616 @item 7bit
7617 No encoding is applied. The content consists of 7 bit lines.
7618 @item 8bit
7619 No encoding is applied. The content consists of 8 bit lines.
7620 @item binary
7621 No encoding is applied. The content is 8 bit stream.
7622 @item base64
7623 Encoded with Base64. The content consists of 7 bit lines.
7624 @item quoted-printable
7625 Encoded with Quoted-Printable. The content consists of 7 bit lines.
7626 @end ifset
7627 @end table
7628
7629 @ifset jp
7630 CTE: \e$B$,>JN,$5$l$?>l9g$O\e(B @samp{7bit} \e$B$H$7$F07$o$l$^$9!#\e(B
7631 @end ifset
7632 @ifset us
7633 If CTE: is omitted, it is treated as @samp{7bit}.
7634 @end ifset
7635
7636 @ifset jp
7637 ISO-2022-JP \e$B$O\e(B7\e$B%S%C%H$NJ8;z%3!<%I$G$9$+$i!"\e(BCTE: \e$B$O\e(B 7bit \e$B$G$9!#$D$^$j!"\e(B
7638 CTE: \e$B$O>JN,$7$F9=$$$^$;$s!#$b$A$m$s!"\e(Bbase64 \e$B$d\e(B quoted-printable \e$B$GId9f2=\e(B
7639 \e$B$7$F$b9=$$$^$;$s$,!"%U%)%k%@$K$"$k%a%C%;!<%8$r\e(B more \e$B$J$I$GD>@\FI$a$J$/$J\e(B
7640 \e$B$k$N$G!"$*4+$a$G$O$"$j$^$;$s!#\e(B
7641 @end ifset
7642 @ifset us
7643 Since ISO-2022-JP is 7bit character set, CTE: is 7bit. That it, CTE: can
7644 be omitted. You may encode it with base64 or quoted-printable, of
7645 course. However, you cannot read messages in folder directly with such a
7646 encoding, I don't recommend.
7647 @end ifset
7648
7649 @c %%%%%%%%%%%%%%%%%
7650 @node mime-multi, mime-header, mime-cte, MIME
7651 @ifset jp
7652 @section \e$B%^%k%A%Q!<%H\e(B
7653 @end ifset
7654 @ifset us
7655 @section Multipart structure
7656 @end ifset
7657
7658 @ifset jp
7659 CT: \e$B$,\e(B Multipart \e$B$G$"$k>l9g!"$=$N%3%s%F%s%H%\%G%#$K$OJ#?t$N%G!<%?$,3JG<\e(B
7660 \e$B$5$l$k$3$H$r0UL#$7$^$9!#%G!<%?$N6-3&$O\e(B boundary \e$B$K;XDj$5$l$?J8;zNs$G6h@Z\e(B
7661 \e$B$i$l$^$9!#0J2<$KNc$r<($7$^$9!#\e(B
7662 @end ifset
7663 @ifset us
7664 If CT: is multipart, its content-body has multiple objects. They are
7665 separated with a string specified in the "boundary" parameter. Let's
7666 look at an example.
7667 @end ifset
7668
7669 @example
7670 @ifset jp
7671 Message-Id: <13060.789566615@@mew.org>
7672 From: Kazuhiko Yamamoto =?ISO-2022-JP?B?GyRCOzNLXE9CSScbKEI=?=
7673         <kazu@@mew.org>
7674 Subject: =?ISO-2022-JP?B?GyRCPC8kTjMoGyhC?=
7675 To: m-sakura@@ccs.mt.nec.co.jp
7676 Mime-Version: 1.0
7677 Content-Type: Multipart/Mixed; boundary=simple
7678 Content-Transfer-Encoding: 7bit
7679
7680 --simple
7681 Content-Type: Text/Plain; charset=iso-2022-jp
7682 Content-Transfer-Encoding: 7bit
7683
7684 \e$BF`NIL>J*!V</!W$N3($rAw$j$^$9!#\e(B
7685  
7686 --\e$B$+$:\e(B
7687     
7688 --simple
7689 Content-Type: Image/Gif
7690 Content-Transfer-Encoding: base64
7691 Content-Description: "Deer on the Nara park"
7692     
7693 R0lGODdhFwG8ANUAABETDCoYDC8lFi4dJxcnKTMwLkUUC04uG2opEkgeJ04yMWg4Ly1FLVJG
7694 NWdSMywyTks1Tmc3RjdRVjNcalRMUG9UU1xbY051eG9pcIcxEp5bM8d1NI1VSJhrVrRwUpR0
7695 cKZ1dcN9WXuHOWmHc7WJN6yLbcyEWNCZdDZjjml0i5t7im+TmGeRonWly5aLlrCLlK+arJmn
7696 pbettMabktWumM+zsrnCrtTLua21ycq6x6/J3NbQ1+bk29na5dzp8+7w8ywAAAAAFwG8AAAG
7697 /8CLcPhYtVgNyirWasZYEgDhIWGxRiXWcTIATHS/Hs6K2+1wt59azYtdJnBhKrVaWYcp7==
7698     
7699 --simple--
7700 @end ifset
7701 @ifset us
7702 Message-Id: <13060.789566615@@iijlab.net>
7703 From: Kazuhiko Yamamoto =?ISO-2022-JP?B?GyRCOzNLXE9CSScbKEI=?=
7704         <kazu@@iijlab.net>
7705 Subject: =?ISO-2022-JP?B?GyRCPC8kTjMoGyhC?=
7706 To: m-sakura@@ccs.mt.nec.co.jp
7707 Mime-Version: 1.0
7708 Content-Type: Multipart/Mixed; boundary=simple
7709 Content-Transfer-Encoding: 7bit
7710
7711 --simple
7712 Content-Type: Text/Plain; charset=us-ascii
7713 Content-Transfer-Encoding: 7bit
7714
7715 Here is a picture of deer.
7716
7717 --Kazu
7718     
7719 --simple
7720 Content-Type: Image/Gif
7721 Content-Transfer-Encoding: base64
7722 Content-Description: "Deer on the Nara park"
7723     
7724 R0lGODdhFwG8ANUAABETDCoYDC8lFi4dJxcnKTMwLkUUC04uG2opEkgeJ04yMWg4Ly1FLVJG
7725 NWdSMywyTks1Tmc3RjdRVjNcalRMUG9UU1xbY051eG9pcIcxEp5bM8d1NI1VSJhrVrRwUpR0
7726 cKZ1dcN9WXuHOWmHc7WJN6yLbcyEWNCZdDZjjml0i5t7im+TmGeRonWly5aLlrCLlK+arJmn
7727 pbettMabktWumM+zsrnCrtTLua21ycq6x6/J3NbQ1+bk29na5dzp8+7w8ywAAAAAFwG8AAAG
7728 /8CLcPhYtVgNyirWasZYEgDhIWGxRiXWcTIATHS/Hs6K2+1wt59azYtdJnBhKrVaWYcp7==
7729     
7730 --simple--
7731 @end ifset
7732 @end example
7733
7734 @ifset jp
7735 \e$B$3$NNc$G$O!"\e(B"simple" \e$B$H$$$&J8;zNs$G6h@Z$i$l$F$$$^$9!#\e(Bboundary \e$B$K;XDj$5$l\e(B
7736 \e$B$?J8;zNs$K$O!"@hF,$K\e(B "--" \e$B$,IU$-$^$9!#:G8e$N6h@Z$j$K$O!"8e$m$K$b\e(B "--" \e$B$,\e(B
7737 \e$BIU$-$^$9!#\e(B
7738 @end ifset
7739 @ifset us
7740 In this case, a string "simple" is used. A string specified in the
7741 "boundary" parameter is preceded with "--". The last one is also
7742 followed by "--".
7743 @end ifset
7744
7745 @ifset jp
7746 \e$B3F%Q!<%H$O!"%3%s%F%s%H%X%C%@$H%3%s%F%s%H%\%G%#$+$i9=@.$5$l$^$9!#N><T$O!"\e(B
7747 \e$B%X%C%@$HK\J8$N$h$&$K6u9T$G6h@Z$i$l$^$9!#5U$K$$$&$H!"%X%C%@$HK\J8$O!"$=$l\e(B
7748 \e$B$>$lFC<l$J%3%s%F%s%H%X%C%@$H%3%s%F%s%H%\%G%#$G$9!#\e(B
7749 @end ifset
7750 @ifset us
7751 Each part consists of a content-header and a content-body. They are
7752 separated with a null line as header and body. Changing a point of view,
7753 header and body is special content-header and special content-body
7754 respectively.
7755 @end ifset
7756
7757 @ifset jp
7758 \e$B%F%-%9%H0J30$r\e(B MIME \e$B$GAw?.$9$k>l9g$O!"I,$:%^%k%A%Q!<%H$rMxMQ$9$k$h$&$K$7\e(B
7759 \e$B$^$7$g$&!#$?$H$($P!"K\J8$K$$$-$J$j\e(B Audio/Basic \e$B$r3JG<$G$-$^$9$,!"$=$s$J\e(B
7760 \e$B%a%C%;!<%8$r<u$1<h$C$?$i$S$C$/$j$7$^$9!#%Q!<%H\e(B 1 \e$B$K@bL@$N%F%-%9%H!"%Q!<\e(B
7761 \e$B%H\e(B 2 \e$B$K\e(B Audio/Basic \e$B$rF~$l$?J}$,?F@Z$G$7$g$&!#\e(B
7762 @end ifset
7763 @ifset us
7764 When you send objects other than text, you should use multipart. Of
7765 course, it is not illegal to contain, for example, Audio/Basic in body
7766 but the receivers would be really confused. You are kind if you enclose
7767 describing text in the first part and embed Audio/Basic in the second
7768 part.
7769 @end ifset
7770
7771 @ifset jp
7772 \e$B%^%k%A%Q!<%H$O!"F~$l;R9=B$$K$G$-$^$9!#$D$^$j!"%^%k%A%Q!<%H$N%^%k%A%Q!<%H\e(B
7773 \e$B$J$I$b:n@.$G$-$^$9!#\e(B
7774 @end ifset
7775 @ifset us
7776 Multipart can take recursive. So, you can enjoy multipart of multipart.
7777 @end ifset
7778
7779 @ifset jp
7780 \e$B$A$J$_$K6-3&$G$9$,!"A08e$N2~9T$^$G4^$_$^$9!#>e5-$NNc$G$O!"\e(B
7781 "CRLF--simpleCRLF" \e$B$,6h@Z$j$G$9!#\e(B
7782 @end ifset
7783 @ifset us
7784 By the way, preceding CRLF is included in a boundary. For example up
7785 above, the boundary is "CRLF--simpleCRLF".
7786 @end ifset
7787
7788 @c %%%%%%%%%%%%%%%%%
7789 @node mime-header, Kanji, mime-multi, MIME
7790 @ifset jp
7791 @section \e$B%X%C%@$N3HD%\e(B
7792 @end ifset
7793 @ifset us
7794 @section Header extensions
7795 @end ifset
7796
7797 @ifset jp
7798 \e$B%X%C%@$O%a%C%;!<%8$NG[Aw$K4X$o$k>pJs$r3JG<$7$F$$$k$?$a!"G[Aw%W%m%0%i%`$,\e(B
7799 \e$B8mF0:n$9$k$h$&$JJ8;zNs$rF~$l$k$Y$-$G$O$"$j$^$;$s!#\e(BMIME \e$B$G$O!"%U%#!<%k%I\e(B
7800 \e$BCM$K\e(B ASCII \e$B0J30$NJ8;zNs$r3JG<$9$k>l9g!"0J2<$N$h$&$J7A<0$GId9f2=$7!"0BA4\e(B
7801 \e$B$JJ8;zNs$KJQ$($FA^F~$7$^$9!#\e(B
7802 @end ifset
7803 @ifset us
7804 Header contains information used for transportation, so it should be
7805 strongly prohibited to insert improper characters that make transport
7806 agents misoperated. With MIME, non-ASCII characters are encoded into
7807 transport-safe characters then stored as a field value with the
7808 following format.
7809 @end ifset
7810
7811 @example
7812 =?<charset>?<encoding>?<encoded-string>?=
7813 @end example
7814
7815 @ifset jp
7816 \e$B;XDj$G$-$k\e(B <charset> \e$B$O\e(B CT: Text/Plain \e$B$N\e(B charset \e$B$HF1$8$G$9!#\e(B<encoding> 
7817 \e$B$K$O!"\e(B@samp{B} \e$B$H\e(B @samp{Q} \e$BId9f2=J}<0$,$"$j!"A0<T$O\e(B Base64 \e$BId9f2=J}<0!"\e(B
7818 \e$B8e<T$O\e(B Quoted-Printable \e$BId9f2=J}<0$N0!<o$r0UL#$7$^$9!#\e(B
7819 @end ifset
7820 @ifset us
7821 <charset> is identical to the charset parameter of CT: Text/Plain. For
7822 <encoding>, @samp{B} or @samp{Q} is used. The former is exactly base64
7823 and the latter is a kind of Quoted-Printable.
7824 @end ifset
7825
7826 @ifset jp
7827 ISO-2022-JP \e$B$K$O!"\e(B@samp{B} \e$BId9f2=J}<0$,>)Ne$5$l$F$$$^$9$,!"\e(B@samp{Q} \e$BId9f\e(B
7828 \e$B2=J}<0$G$b9=$$$^$;$s!#$7$+$7!"\e(B@samp{Q} \e$BId9f2=J}<0$KBP1~$7$F$$$k%$%s%?!<\e(B
7829 \e$B%U%'%$%9$O$"$^$j$J$$$h$&$G$9\e(B(\e$B$b$A$m$s\e(B Mew \e$B$OBP1~$7$F$$$^$9\e(B)\e$B!#\e(B
7830 @end ifset
7831 @ifset us
7832 For ISO-2022-JP, @samp{B} is encouraged. @samp{Q} is also acceptable,
7833 however, few message interfaces support it(of course, Mew does).
7834 @end ifset
7835
7836 @ifset jp
7837 \e$B$?$H$($P!"\e(BSubject: \e$B$K!V;3K\OBI'!W$H=q$$$?>l9g!"0J2<$N$h$&$KId9f2=$5$l$^\e(B
7838 \e$B$9!#\e(B
7839 @end ifset
7840 @ifset us
7841 For instance, the author's Japanese name in Subject: is encoded as
7842 follows:
7843 @end ifset
7844
7845 @example
7846 Subject: =?ISO-2022-JP?B?GyRCOzNLXE9CSScbKEI=?=
7847 @end example
7848
7849 @ifset jp
7850 \e$B>e5-$N7A<0$GId9f2=$7$F$b$h$$$N$O%U%#!<%k%ICM$G$"$C$F!"%Q%i%a!<%?CM$G$O$"\e(B
7851 \e$B$j$^$;$s!#%Q%i%a!<%?CM$NId9f$K;H$C$F$O$J$i$J$$M}M3$H$7$F$O!"%-!<%o!<%I$H\e(B
7852 \e$B$J$C$F$$$k\e(B @samp{=} \e$B$,!"%Q%i%a!<%?L>$H%Q%i%a!<%?CM$N6h@Z$jJ8;z$H=E$J$C$F\e(B
7853 \e$B$$$k$3$H$,5s$2$i$l$^$9!#%Q%i%a!<%?$rId9f2=$9$k$K$O!"JL$N7A<0$rMxMQ$7$^$9!#\e(B
7854 \e$B0J2<$K!"!VF|K\8l$N%U%!%$%k!W$H$$$&%U%!%$%kL>$r%Q%i%a!<%?CM$K;XDj$7$?Nc$r\e(B
7855 \e$B<($7$^$9!#\e(B
7856 @end ifset
7857 @ifset us
7858 It is not parameter values but field values that this format can handle.
7859 One of the reasons why this format must not be applied to parameter
7860 values is that the "=" keyword conflicts the separator between parameter
7861 names and parameter values. To encode non-ASCII characters in a
7862 parameter value, another format should be used. Please see the following
7863 example to understand the differences:
7864 @end ifset
7865
7866 @example
7867 Content-Disposition: attachment;
7868  filename*=iso-2022-jp''%1B%24BF%7CK%5C8l%24N%25U%25%21%25%24%25k%1B%28B
7869 @end example
7870
7871 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7872 @c      Kanji
7873 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7874
7875 @node Kanji, rfc822, mime-header, Top
7876 @ifset jp
7877 @chapter \e$BSK8F4A;z%3!<%I\e(B
7878 @end ifset
7879 @ifset us
7880 @chapter Ahhh, Kanji code
7881 @end ifset
7882
7883 @ifset jp
7884 \e$B$3$3$G$O!"Hs\e(B ASCII \e$BJ8;z$r%a%C%;!<%8$G;H$&$?$a$K?M!9$,J3F.$7$F$-$?Nr;K$r4A;z\e(B
7885 \e$B$rNc$K<h$C$F?6$jJV$j$^$9!#\e(B
7886 @end ifset
7887 @ifset us
7888 "Kanji" is main characters for Japanese which typically have meanings
7889 and two sounds. The total number of Kanji usually used is over
7890 3,000. Kanji was originated from Chinese characters and had been
7891 modified and simplified in Japan for a long time.
7892
7893 There are also about 80 characters, so called "Hiragana", each expresses
7894 just one sound and has a soft shape. Kanji is mainly used for nouns and
7895 beginning portion of verbs while Hiragana is used for other parts
7896 including last portion of verbs. Japanese sentences typically consist of
7897 Kanji in 30% and Hiragana in 70%. There is one more character set,
7898 called "Katakana", which is another notation of Hiragana. Katakana has
7899 exactly same sound of Hiragana and a little hard shape and is used to
7900 express exported words from other countries based on their sounds.
7901
7902 I describe an example of struggle history for non-alphabetical character
7903 set in messaging system.
7904 @end ifset
7905
7906 @menu
7907 @ifset jp
7908 * rfc822::                      \e$BEE;R%a!<%k$HCO0h2=\e(B
7909 * mime-comes::                  MIME \e$B$NEP>l\e(B
7910 * canonical::                   \e$B@55,2=$N35G0\e(B
7911 @end ifset
7912 @ifset us
7913 * rfc822::                      Email and localization
7914 * mime-comes::                  The appearance of MIME
7915 * canonical::                   The concept of canonicalization
7916 @end ifset
7917 @end menu
7918
7919 @c %%%%%%%%%%%%%%%%%
7920 @node rfc822, mime-comes, Kanji, Kanji
7921 @ifset jp
7922 @section \e$BEE;R%a!<%k$HCO0h2=\e(B
7923 @end ifset
7924 @ifset us
7925 @section Email and localization
7926 @end ifset
7927
7928 @ifset jp
7929 1982\e$BG/!"8_49@-$rJ]>Z$9$k$?$a$K!"EE;R%a!<%k$N5,3J\e(B RFC822 \e$B$,5-=R$5$l$^$7$?!#\e(B
7930 \e$BEE;R%a!<%k$O%"%a%j%+0i$A$G$"$C$?$?$a!";DG0$J$,$iK\J8$d%X%C%@$K$O!"\e(BASCII 
7931 \e$BJ8;zNs$7$+3JG<$G$-$J$$5,3J$G$7$?!#\e(B
7932 @end ifset
7933 @ifset us
7934 A spec of Email, RFC822, was defined with a hope to ensure
7935 interoperability in 1982. Since Email was grown in America, its header
7936 and body could not contains other character sets than US-ASCII.
7937 @end ifset
7938
7939 @ifset jp
7940 \e$B$7$+$7!"1Q8l0J30$N8@8l$rJl9q8l$H$7$F$$$k?MC#$K$O$H$F$bITJX$G$9!#$=$3$G!"\e(B
7941 \e$BG[Aw$K4X$o$k%X%C%@$O$H$b$+$/!"K\J8$KJl9q8l$r3JG<$9$k$?$a\e(B RFC822 \e$B$O$5$^$6\e(B
7942 \e$B$^$J9q$G3HD%$5$l$^$7$?!#\e(B
7943 @end ifset
7944 @ifset us
7945 It is, however, very inconvenient for people whose language is not
7946 English. So, despite of extension of header, many people from various
7947 countries extended RFC822 messages to contain non-English characters from
7948 their native language.
7949 @end ifset
7950
7951 @ifset jp
7952 \e$B%h!<%m%C%Q=t9q$G$O!"%&%`%i%&%H\e(B(\e$B%"%/%;%s%H\e(B)\e$BJ8;z$rI=$9\e(B8\e$B%S%C%H\e(B1\e$BJ8;z$N%3!<%I\e(B 
7953 Latin 1 \e$B$,$h$/;H$o$l$k$h$&$K$J$j$^$7$?!#\e(BLatin 1 \e$B$O\e(B ISO-8859-1 \e$B$H8F$P$l$k\e(B
7954 \e$B$3$H$,$"$j$^$9!#\e(B
7955 @end ifset
7956 @ifset us
7957 In Europe, Latin 1 started to be used that presents umlaut(accent)
7958 characters by 8 bit word. Latin 1 is sometime called ISO-8859-1.
7959 @end ifset
7960
7961 @ifset jp
7962 \e$BF|K\$G$O!"\e(B7\e$B%S%C%H\e(B2\e$BJ8;z$N\e(B JIS \e$B%3!<%I!"\e(BUNIX \e$B$G$h$/;H$o$l$k\e(B 8\e$B%S%C%H\e(B2\e$BJ8;z$N\e(B 
7963 EUC \e$B%3!<%I!"%Q%=%3%s$G;H$o$l$F$$$k\e(B 8\e$B%S%C%H\e(B2\e$BJ8;z$N\e(B SJIS \e$B%3!<%I$,B8:_$7$^\e(B
7964 \e$B$7$?!#F|K\$N%$%s%?!<%M%C%H$NA0?H$G$"$k\e(B JUNET \e$B$N@h6n<TC#$O!"G[Aw$N$?$a$N\e(B
7965 \e$B%3!<%I$H$7$F\e(B JIS \e$B%3!<%I$r\e(B ESC \e$B%7!<%1%s%9$G@Z$jBX$($k!"$$$o$f$k\e(B JUNET \e$B%3!<\e(B
7966 \e$B%I$rA*$S$^$7$?!#\e(B
7967 @end ifset
7968 @ifset us
7969 In Japan, there are three major codes, (1) JIS code which is 7-bit 2
7970 characters, (2) EUC code which is 8-bit 2 characters and is used in
7971 UNIX, (3) SJIS which is 8-bit 2 characters and is used in PCs. Pioneers
7972 of JUNET which is the antecedent of Japanese Internet chose a switch
7973 mechanism of ASCII and JIS with ESC sequence, so called JUNET code, for
7974 transportation.
7975 @end ifset
7976
7977 @ifset jp
7978 JUNET \e$B%3!<%I$O\e(B ISO-2022-JP \e$B$H8F$P$l$k$3$H$,$"$j$^$9!#\e(BISO-2022-JP \e$B$r;H$(\e(B
7979 \e$B$P!"J#?t$NJ8;z%3!<%I$r@Z$jBX$($k$@$1$G$J$/!";H$o$l$F$$$kJ8;z%3!<%I$,2?$+\e(B
7980 \e$B$H$$$&>pJs$rF@$i$l$^$9!#\e(B
7981 @end ifset
7982 @ifset us
7983 JUNET code is sometime called ISO-2022-JP. With JUNET code, we can tell
7984 what their character sets are in addition to switch them.
7985 @end ifset
7986
7987 @ifset jp
7988 Latin 1 \e$B$d\e(B ISO-2022-JP \e$B$K8+$i$l$kK\J8$N3HD%$O!"$"$/$^$GCO0h$K8BDj$5$l$?\e(B
7989 \e$B?B;N6(Dj$G$9!#\e(BRFC822 \e$B$r;H$&8B$j!"CO0h4V$r1[$($F%a%C%;!<%8$r$d$j$H$j$9$k\e(B
7990 \e$B$K$O!"7k6I1Q8l$r;H$&$7$+$J$$$N$G$9!#\e(B
7991 @end ifset
7992 @ifset us
7993 The extension such as Latin 1 and JUNET code is an agreement within the
7994 region. You are compelled to use English to send a message across regions
7995 in the context of RFC822.
7996 @end ifset
7997
7998 @ifset jp
7999 RFC822 \e$B$O5-=R$,[#Kf$J$N$G!"%X%C%@$dK\J8$K\e(B 7 \e$B%S%C%HJ8;z$G$"$k\e(B ISO-2022-JP 
8000 \e$B$rF~$l$F$b$h$$$h$&$KFI$a$^$9!#$?$V$s!"$3$N@bL@$rFI$a$P8m2r$,2r$1$k$G$7$g\e(B
8001 \e$B$&!#!V\e(BRFC822 \e$B$O!"%X%C%@$HK\J8$N%7%s%?%C%/%9\e(B(\e$B9=J8\e(B)\e$B$r\e(B7\e$B%S%C%H!"$=$l$i$N%;%^\e(B
8002 \e$B%s%F%#%C%/%9\e(B(\e$B0UL#\e(B)\e$B$r\e(B US-ASCII \e$B$HDj$a$F$$$^$9!#\e(BISO-2022-JP \e$B$N%7%s%?%C%/%9\e(B
8003 \e$B$O\e(B RFC822 \e$B$K=>$C$F$$$^$9$,!"%;%^%s%F%#%C%/%9$O\e(B RFC822 \e$B$K0cH?$7$F$$$^$9!#!W\e(B
8004 @end ifset
8005 @ifset us
8006 RFC822 is so ambiguous that we misunderstand that JUNET code can be used
8007 for header and body since it is 7 bit. Probably this is a good
8008 explanation to blow away your misunderstanding. "RFC822 defines that the
8009 syntax of header and body is 7bit and the semantics of header and body
8010 is US-ASCII". JUNET code is syntactically legal but its semantics is
8011 illegal.
8012 @end ifset
8013
8014 @c %%%%%%%%%%%%%%%%%
8015 @node mime-comes, canonical, rfc822, Kanji
8016 @ifset jp
8017 @section MIME \e$B$NEP>l\e(B
8018 @end ifset
8019 @ifset us
8020 @section The appearance of MIME
8021 @end ifset
8022
8023 @ifset jp
8024 \e$B3($d2;@<$J$I$rG[Aw$7$?$$!"CO0h2=$5$l$?\e(B RFC 822 \e$B$N2M$166$H$J$k5,3J$,M_$7\e(B
8025 \e$B$$$J$I$NMWK>$rK~$?$9$?$a$K!"\e(B1992\e$BG/$K\e(B MIME \e$B$,5,Dj$5$l$^$7$?!#\e(BMIME \e$B$G$O!"\e(B
8026 \e$B%F%-%9%H$NJ8;z%3!<%I$r\e(B charset \e$B$H$$$&%Q%i%a!<%?$K;XDj$G$-$^$9!#$?$H$($P!"\e(B
8027 ISO-2022-JP \e$B$O0J2<$N$h$&$K;XDj$7$^$9!#\e(B
8028 @end ifset
8029 @ifset us
8030 To satisfy users' desire such as transportation of picture and audio and
8031 to bridge localized RFC822, MIME was defined in 1992. With MIME, the
8032 character parameter can be specified. Since JUNET code is called
8033 ISO-2022-JP, Japanese message looks as follows:
8034 @end ifset
8035
8036 @example
8037 @ifset jp
8038 Content-Type: Text/Plain; charset=iso-2022-jp
8039 Content-Transfer-Encoding: 7bit
8040
8041 \e$BF|K\8l$N%F%-%9%H\e(B
8042 @end ifset
8043 @ifset us
8044 Content-Type: Text/Plain; charset=iso-2022-jp
8045 Content-Transfer-Encoding: 7bit
8046
8047 Japanese text.
8048 @end ifset
8049 @end example
8050
8051 @ifset jp
8052 \e$B$3$N\e(B charset \e$B$OLr$KN)$D$N$G$7$g$&$+!)\e(B \e$B$b$A$m$s$G$9!#\e(Bcharset \e$B$O!"%$%s%?!<\e(B
8053 \e$B%U%'%$%9$K@5$7$/%F%-%9%H$NJ8;z%3!<%I$rEA$($kLr3d$r2L$?$7$^$9!#%N%k%&%'!<\e(B
8054 \e$B$N?M$,\e(B ISO-8859-1 \e$B$GF|K\$K%a%C%;!<%8$rAw$C$F$-$?$H$7$^$7$g$&!#\e(BISO-8859-1 
8055 \e$B$KBP1~$7$F$$$k%$%s%?!<%U%'%$%9$J$i!"BP1~$9$k%U%)%s%H$GI=<($9$l$P$$$$$7!"\e(B
8056 \e$BBP1~$7$F$$$J$$$J$iL5;k$9$l$P$$$$$N$G$9!#\e(BMew \e$B$G$O!"\e(BMule \e$B$NFbIt%3!<%I$KJQ\e(B
8057 \e$B49$9$k4X?t$N0z?t$K\e(B charset \e$B$rMxMQ$7$F$$$^$9!#\e(B
8058 @end ifset
8059 @ifset us
8060 Is this charset useful? Absolutely! The charset parameter can tell user
8061 interface an exact character set. Suppose that a Norway guy send a
8062 message with ISO-8859-1 to Japanese. If his interface supports
8063 ISO-8859-1 then it is no problem to display the body. Otherwise the
8064 interface can safely ignore the body. Mew makes use of the charset
8065 parameter to convert messages to Mule's internal representation.
8066 @end ifset
8067
8068 @ifset jp
8069 \e$B!V\e(BISO-2022-JP \e$B$N>e0L8_495,3J$G$"$j!"$5$^$6$^$JJ8;z%3!<%I$r3JG<$G$-$k\e(B 
8070 ISO-2022-JP-2 \e$B$J$I$r;H$($P\e(B charset \e$B$J$IMW$i$J$$!#$J$<$J$i\e(B ISO-2022-JP-2 
8071 \e$B<+BN$KJ8;z%3!<%I$N>pJs$,4^$^$l$F$$$k$+$i!W$H$$$&?M$,$$$^$9!#$7$+$7!"$3$l\e(B
8072 \e$B$i$N?M$O\e(B MIME \e$B$rM}2r$G$-$F$$$k$H$O;W$($^$;$s!#\e(B
8073 @end ifset
8074 @ifset us
8075 Some people say like this; "If we use ISO-2022-JP-2 which is upper
8076 compatible to ISO-2022-JP and can handle numerous character set, the
8077 charset parameter is not necessary since ISO-2022-JP-2 itself contains
8078 information about character set." Maybe, just maybe, such people don't
8079 understand MIME.
8080 @end ifset
8081
8082 @ifset jp
8083 \e$B3N$+$KM}A[E*$K$$$($P!"$3$N<gD%$O@5$7$$$N$G$9!#$7$+$7!"\e(BMIME \e$B$O8=<B<g5A$G\e(B
8084 \e$B$9!#\e(BMIME \e$B$O%f!<%6$,L@F|$+$i\e(B ISO-2022-JP-2 \e$B$r;H$&$h$&$K$J$k$H$$$&BgC@$J2>\e(B
8085 \e$BDj$O$7$F$$$^$;$s!#$^$?!"@$$NCf$KB8:_$9$k@H<e$JG[Aw%W%m%0%i%`$G$b0BDj$7$F\e(B
8086 \e$BF0$/$h$&$K9MN8$5$l$F$$$^$9!#@$$NCf$O!"$=$s$J$K$*9T57$N$h$$%W%m%0%i%`$P$+\e(B
8087 \e$B$j$G$O$J$$$7!"$?$/$5$s$N;q8;$r;H$($k$[$IK-$+$G$b$J$$$N$G$9!#!VL@F|$+$i\e(B
8088 UNICODE \e$B$r;H$(!W$H8@$o$l$?$i$$$d$G$7$g$&!)\e(B
8089 @end ifset
8090 @ifset us
8091 Ideally speaking, this assessment is correct. But MIME takes a practical
8092 stance. MIME does not suppose that all people in the world will start
8093 using ISO-2022-JP-2 tomorrow. Moreover, MIME is designed to be robust
8094 against unstable transfer programs. All transfer program in the world
8095 are not well implemented. And all site cannot use rich resources. If you
8096 ask to use UNICODE as of today, how do you feel?
8097 @end ifset
8098
8099 @ifset jp
8100 MIME \e$B$O!"$5$^$6$^$KCO0h2=$5$l$?%a%C%;!<%8$N2M$166$H$7$F\e(B charset \e$B$rMQ0U$7\e(B
8101 \e$B$^$7$?!#\e(BMIME \e$B$GA}$($?:n6H$O!"\e(Bcharset \e$B$NA^F~$@$1$G$"$j!":#$^$GDL$j2f!9$O\e(B 
8102 ISO-2022-JP \e$B$r;H$($^$9!#\e(BISO-2022-JP-2 \e$B$rI8=`$K$7$?$$$J$i!"\e(BISO-2022-JP-2 
8103 \e$B$r%G%U%)%k%H$G;H$&CO0h$r9-$2$F$$$1$P$h$$$N$G$9!#$3$N0UL#$G!"\e(B
8104 ISO-2022-JP-2 \e$B$H\e(B MIME \e$B$OAjH?$7$F$O$J$/!"5U$K!"\e(BISO-2022-JP-2 \e$B$NIa5Z$N$?$a\e(B
8105 \e$B$K\e(B MIME \e$B$rMxMQ$G$-$k$H8@$($^$9!#$b$A$m$sJ8;z%3!<%I$NId9f2=J}<0$G$"$k\e(B 
8106 ISO-2022-xx \e$B$K\e(B charset \e$B$H$$$&C18l$,Aj1~$7$/$J$$$N$O!"\e(BMIME \e$B$N3+H/<T$bG'$a\e(B
8107 \e$B$F$$$k$H$3$m$G$9!#\e(B
8108 @end ifset
8109 @ifset us
8110 MIME provides the charset parameter to bridge between numerous localized
8111 regions. The additional procedure under MIME is to label the charset
8112 parameter and we can use ISO-2022-JP as we used to. If you wish to make
8113 ISO-2022-JP-2 an Internet standard, you should make an effort to spread
8114 region where ISO-2022-JP-2 is used by default. Likewise, ISO-2022-JP-2
8115 and MIME is not inconsistent. Rather, ISO-2022-JP-2 can make most use of
8116 MIME to make itself widely spread. Of course, the name of "charset" is
8117 not proper for character switching mechanisms such as ISO-2022-xx.
8118 @end ifset
8119
8120 @ifset jp
8121 MIME \e$B$r;H$($P!"Hs\e(B ASCII \e$BJ8;z$r\e(B ASCII \e$BJ8;zNs$KId9f2=$7!"%X%C%@$KA^F~$G$-\e(B
8122 \e$B$^$9!#$3$N$h$&$JOHAH$G!"EE;R%a!<%k$NG[Aw%W%m%0%i%`$N8mF0:n$rKI;_$7!"$^$?!"\e(B
8123 \e$B%X%C%@$K1Q8l0J30$N8@8l$r=q$/$3$H$r<B8=$7$F$$$k$N$G$9!#$b$&!"\e(BSubject: \e$B$K\e(B
8124 \e$B!VF|K\8l$r=q$$$F$O$$$1$^$;$s!W$J$s$F8@$o$J$/$F$h$/$J$j$^$7$?!#\e(B:)
8125 @end ifset
8126 @ifset us
8127 With MIME, you can encode non-ASCII character set and insert it into
8128 header. This scheme prevents errors of Email transfer programs and makes
8129 it possible to convey non-ASCII strings in header. We don't have to say
8130 "Do not use Japanese on Subject:" anymore!
8131 @end ifset
8132
8133 @ifset jp
8134 MIME \e$B$OCO0h2=$5$l$?\e(B RFC 822 \e$B$r6X;_$9$k5,3J$G$O$"$j$^$;$s!#$h$C$F!"\e(BMIME 
8135 \e$B$N%$%s%?!<%U%'%$%9$O!"0J2<$N$h$&$JF0:n$,K>$^$l$F$$$^$9!#\e(B
8136 @end ifset
8137 @ifset us
8138 MIME is not a spec to prohibit localized RFC822. So, MIME interfaces are
8139 supposed to act as follows:
8140 @end ifset
8141
8142 @ifset jp
8143 \e$BFI$`$H$-\e(B
8144 @end ifset
8145 @ifset us
8146 Viewing
8147 @end ifset
8148
8149 @enumerate
8150 @ifset jp
8151 @item
8152 \e$B%f!<%6$,%G%U%)%k%H$N\e(B charset \e$B$rA*$Y$k$h$&$K$7$F$*$/!#\e(B
8153 @item
8154 MIME-Version: \e$B$,$J$$%a%C%;!<%8$N>l9g$O!"K\J8$r%G%U%)%k%H$N\e(B charset \e$B$H$7\e(B
8155 \e$B$F07$&!#\e(B
8156 @item
8157 MIME-Version: \e$B$,$"$j!"\e(BContent-Type: \e$B$,$J$$>l9g$O!"\e(BUS-ASCII \e$B$H$7$F07$&!#\e(B
8158 @item
8159 MIME-Version: \e$B$H\e(B Content-Type: \e$B$,$"$k>l9g$O!"\e(BContent-Type: \e$B$K;X<($5$l$?\e(B 
8160 charset \e$B$rMxMQ$9$k!#\e(B
8161 @end ifset
8162 @ifset us
8163 @item
8164 Allow user to choose a default charset.
8165 @item
8166 If MIME-Version: doesn't exist, the body is treated as the default charset.
8167 @item
8168 If MIME-Version: exists and Content-Type: is not provided, 
8169 the body is treated as US-ASCII.
8170 @item
8171 If both MIME-Version: and Content-Type: exist, specified charset is used.
8172 @end ifset
8173 @end enumerate
8174
8175 @ifset jp
8176 \e$B=q$/$H$-\e(B
8177 @end ifset
8178 @ifset us
8179 Composing
8180 @end ifset
8181
8182 @enumerate
8183 @ifset jp
8184 @item
8185 MIME-Version: \e$B$H\e(B Content-Type: Text/Plain \e$B$N\e(B charset \e$B$rI,$:IU$1$k!#\e(B
8186 @item
8187 charset \e$B$K$O!":G>.8B$NJ8;z=89g$rA*$V$h$&$K$9$k!#$?$H$($P!"1Q8l$@$1$J$i\e(B 
8188 US-ASCII \e$B$rA*$V$h$&$K$9$k!#$3$l$r<i$i$J$$$H!"FI$a$k$Y$-%a%C%;!<%8$,FI$a\e(B
8189 \e$B$J$/$J$k2DG=@-$,$"$k!#$?$H$($P!"\e(BUS-ASCII \e$B$@$1$J$N$K!"\e(BISO-2022-JP \e$B$H=q$$\e(B
8190 \e$B$F$"$k$H!"\e(BUS-ASCII \e$B$K$7$+BP1~$7$F$J$$%a!<%i$GFI$a$J$$$+$b$7$l$J$$!#\e(B
8191 @end ifset
8192 @ifset us
8193 @item
8194 Specify MIME-Version:, Content-Type:, and its charset.
8195 @item
8196 Choose minimum character set for charset. For instance, US-ASCII for
8197 English. If the rule is violated, it is likely that a message to be read
8198 cannot be read. For instance, consider a message labeled ISO-2022-JP
8199 whose body is US-ASCII in fact. Mailers which support US-ASCII only
8200 could not handle such a message.
8201 @end ifset
8202 @end enumerate
8203
8204 @ifset jp
8205 \e$B%9%W!<%k$d%U%)%k%@$K\e(B ISO-2022-JP \e$B$r\e(B EUC-Japan \e$B$KJQ99$7$F3JG<$9$k>l9g$O!"\e(B
8206 \e$BL5>r7o$KJQ49$7$F$O$$$1$^$;$s!#$-$A$s$H\e(B charset \e$B$r3N$+$a!"\e(BISO-2022-JP \e$B$@\e(B
8207 \e$B$1$r\e(B EUC-Japan \e$B$KJQ49$9$k$h$&$K$7$F2<$5$$!#\e(B
8208 @end ifset
8209 @ifset us
8210 If you store messages in a spool or folders after conversion from
8211 ISO-2022-JP to EUC-Japan, please don't be blind. You should check
8212 charset out, and convert only ISO-2022-JP messages to EUC-Japan.
8213 @end ifset
8214
8215 @ifset jp
8216 \e$B%X%C%@$KHs\e(B ASCII \e$BJ8;z$rA^F~$9$k5!G=$O\e(B MIME \e$B$N0l5!G=$G$9$,!"<B:]$K$O!"\e(B
8217 MIME-Version: \e$B%U%#!<%k%I$OI,MW$"$j$^$;$s!#\e(B
8218 @end ifset
8219 @ifset us
8220 Insertion of non-ASCII in header is one of MIME features but in fact
8221 MIME-Version: is not necessary.
8222 @end ifset
8223
8224 @c %%%%%%%%%%%%%%%%%
8225 @node canonical, Policy, mime-comes, Kanji
8226 @ifset jp
8227 @section \e$B@55,2=$N35G0\e(B
8228 @end ifset
8229 @ifset us
8230 @section The concept of canonicalization
8231 @end ifset
8232
8233 @ifset jp
8234 \e$B;DG0$J$,$i!"@$$NCf$N%3%s%T%e!<%?$O!"%G!<%?$r$5$^$6$^$JJ}K!$GI=8=$7$^$9!#\e(B
8235 \e$B0J2<$K$h$/MxMQ$5$l$F$$$k\e(B OS \e$B$H$=$N9TKv$r<($7$^$9!#\e(B
8236 @end ifset
8237 @ifset us
8238 Unfortunately, each computer in the world represents data with its own
8239 format. The followings are end of lines used in major OSes.
8240 @end ifset
8241
8242 @itemize @minus
8243 @item
8244 UNIX   :: LF(0x0a)
8245 @item 
8246 MS-DOS :: CRLF(0x0d0a)
8247 @item
8248 MacOS  :: CR(0x0d)
8249 @end itemize
8250
8251 @ifset jp
8252 \e$B$h$C$F!"9TKv$K4X$7$F<h$j7h$a$,$J$$$H!"$3$l$i$N\e(B OS \e$B4V$G$O0BA4$K%F%-%9%H$,\e(B
8253 \e$B8r49$G$-$^$;$s!#\e(BRFC822 \e$B$G$O!"%a%C%;!<%8$N:FAw$N:]$K9TKv$r\e(B CRLF \e$B$KJQ49$9\e(B
8254 \e$B$k$3$H$K$J$C$F$$$^$9!#$3$N$h$&$K!"6&DL$N=q<0$X$NJQ49$r!V@55,2=!W$H$$$$$^\e(B
8255 \e$B$9!#\e(BSJIS \e$B$d\e(B EUC-Japan \e$B$r\e(B ISO-2022-JP \e$B$KD>$9$N$b@55,2=$N0l<o$G$9!#\e(B
8256 @end ifset
8257 @ifset us
8258 As you know, if there is no agreement for end of line, text is not
8259 transfered between these OSes safely. RFC822 defines to transform end of
8260 line into CRLF. This kind of format conversion is called
8261 canonicalization. Converting SJIS and EUC-Japan to JUNET code is a kind
8262 of canonicalization.
8263 @end ifset
8264
8265 @ifset jp
8266 \e$B$5$F!"\e(BPGP \e$B$N0E9f2=$d=pL>$D$$$F9M$($F$_$^$7$g$&!#$?$H$($P!"\e(BMac \e$B$N%f!<%6$,\e(B
8267 \e$B9TKv$,\e(B CR \e$B$G$"$kJ8>O$K=pL>$7\e(B UNIX \e$B%f!<%6$KAw$C$?$H$7$^$9!#\e(BUNIX \e$B%f!<%6$,\e(B
8268 \e$B9TKv$r\e(B LF \e$B$KJQ49$7=pL>$r3NG'$7$?$H$7$?$i!"8!>Z$,<:GT$9$k$N$OL@$i$+$G$7$g\e(B
8269 \e$B$&!#$=$3$G!"\e(BPGP \e$B$X$NF~NO$O$"$i$+$8$a@55,2=$5$l$F$$$kI,MW$,$"$k$N$,$*J,$+\e(B
8270 \e$B$j$K$J$k$H;W$$$^$9!#\e(B
8271 @end ifset
8272 @ifset us
8273 OK, let's think about encryption and signature with PGP. Suppose that a
8274 Mac user signed text whose line breaks are CR then sent it to a UNIX
8275 user. If the UNIX user transforms line break to LF then verifies the
8276 signature, it is obvious that the verification fails. You thus
8277 understand that canonicalization is necessary.
8278 @end ifset
8279
8280 @ifset jp
8281 PGP \e$B$G0E9f2=$7$?$j=pL>$7$?$j$9$k>l9g$O!"$^$:%F%-%9%H$r\e(B ISO-2022-JP \e$B$KJQ\e(B
8282 \e$B49$7!"9TKv$r\e(B CRLF \e$B$KD>$7$F2<$5$$!#\e(B
8283 @end ifset
8284 @ifset us
8285 When you encrypt or sign text with PGP, first convert it to ISO-2022-JP
8286 then transform its end of lines into CRLF. 
8287 @end ifset
8288
8289 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8290 @c      Policy
8291 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8292
8293 @node Policy, History, canonical, Top
8294 @ifset jp
8295 @chapter Mew \e$B$N$3$@$o$j\e(B
8296 @end ifset
8297 @ifset us
8298 @chapter Mew's policy
8299 @end ifset
8300
8301 @ifset jp
8302 Mew \e$B$N@:?@$r0l8@$GI=$9$H!"\e(B
8303 @end ifset
8304 @ifset us
8305 The following words mention Mew's spirit:
8306 @end ifset
8307
8308 @quotation
8309 Mew wants something simple or nothing at all.
8310 @end quotation
8311
8312 @ifset jp
8313 \e$B$H$J$j$^$9!#$D$^$j!"J#;($J5!G=$OMW$i$J$$$N$G$9!#C1=c$G6cL#$5$l$?5!G=$7$+\e(B
8314 \e$BDs6!$7$^$;$s!#\e(B
8315 @end ifset
8316 @ifset us
8317 That is, complicated mechanism is not necessary. What Mew provides is
8318 simple yet comprehensive feature.
8319 @end ifset
8320
8321 @ifset jp
8322 \e$B$?$/$5$s$NJ}$,!V@N;H$C$F$$$?%a!<%i$K$O$3$s$J5!G=$,$"$C$FJXMx$@$+$i!"\e(BMew 
8323 \e$B$K$bIU$12C$($FM_$7$$!W$H$$$$$^$9!#$7$+$7!"$3$s$J@bL@$G$OCx<T$r@bF@$9$k$N\e(B
8324 \e$B$OFq$7$$$G$7$g$&!#$J$<$J$i!"\e(BMew \e$B$OB>$N%W%m%0%i%`$,:#$^$G$d$C$F$$$J$$$3$H\e(B
8325 \e$B$r<B8=$7$h$&$H$7$F$$$k$+$i$G$9!#!V@N$O$3$&$@$C$?!W$H$$$&M}M3$O$"$^$j$K$b\e(B
8326 \e$BNOITB-$G$9!#\e(B
8327 @end ifset
8328 @ifset us
8329 Many people tell me like this: "A mailer that I used before has this
8330 kind of feature and I think it's very convenient. So, please implement
8331 it in Mew". Sorry, such a explanation might not convince me. Mew is
8332 trying to carry out stuff that other programs have not ever done so.
8333 The word "good-old" seems to me not enough.
8334 @end ifset
8335
8336 @ifset jp
8337 \e$B$b$7<+J,$N0U8+$,@5$7$$$H;W$&$N$G$7$?$i!":,5$6/$/Cx<T$r@bF@$7$F2<$5$$!#Cx\e(B
8338 \e$B<T$OK;$7$$$N$G@N@bL@$5$l$?$3$H$O$9$0K:$l$F$7$^$$$^$9$7!"?M4V$G$9$+$i;W$$\e(B
8339 \e$B9~$_$dJP8+$,$"$j$^$9!#AG@2$i$7$$%"%$%G%#%"$rM}2r$G$-$J$$$3$H$,B?J,$K$"$k\e(B
8340 \e$B$G$7$g$&!#$I$&$+!"$/$8$1$J$$$G2<$5$$!#\e(B
8341 @end ifset
8342 @ifset us
8343 If you believe in your opinion, please pursue the author
8344 patiently. Since I'm hell-of-a busy person I'm prone to forget what you
8345 explained before. And because I'm just a man I regret to say I'm
8346 subjective. It is quite possible for me not to understand your novel
8347 ideas. So, please don't give up!
8348 @end ifset
8349
8350 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8351 @c      History
8352 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8353
8354 @node History, mh-e, Policy, Top
8355 @ifset jp
8356 @chapter Mew \e$B$NMh$?F;\e(B
8357 @end ifset
8358 @ifset us
8359 @chapter Where did Mew come from?
8360 @end ifset
8361
8362 @ifset jp
8363 \e$BLr$K$ON)$A$^$;$s$,!"\e(BMew \e$B$NNr;K$r$R$b$H$$$F$_$^$7$g$&!#\e(B
8364 @end ifset
8365 @ifset us
8366 It might not be useful but let's open the book about Mew's history...
8367 @end ifset
8368
8369 @menu
8370 @ifset jp
8371 * mh-e::                        mh-e \e$B$+$i$NC&5Q\e(B
8372 * birth::                       Mew \e$B$NCB@8\e(B
8373 * pgp::                         PGP \e$B$H$N=P2q$$\e(B
8374 * im::                          MH \e$B$+$i$NFHN)\e(B
8375 * netnews::                     \e$B%K%e!<%9$NE}9g\e(B
8376 @end ifset
8377 @ifset us
8378 * mh-e::                        Departure from mh-e
8379 * birth::                       Birth of Mew
8380 * pgp::                         Meet to PGP
8381 * im::                          Independence from MH
8382 * netnews::                     Integration of NetNews
8383 @end ifset
8384 @end menu
8385
8386 @c %%%%%%%%%%%%%%%%%
8387 @node mh-e, birth, History, History
8388 @ifset jp
8389 @section mh-e \e$B$+$i$NC&5Q\e(B
8390 @end ifset
8391 @ifset us
8392 @section Departure from mh-e
8393 @end ifset
8394
8395 @ifset jp
8396 1993\e$BG/$N=)$K\e(B WIDE Project \e$B$N\e(B FJPEM \e$B$N<B83$K;22C$7$^$7$?!#$=$N$3$m!"]/0f\e(B
8397 \e$B$5$s$,\e(B FJPEM \e$B$r\e(B mh-e \e$B$GMxMQ$7$d$9$/$9$k$?$a!"\e(Bmhpem \e$B$r:n$j$^$7$?!#\e(Bmhpem 
8398 \e$B$K?(H/$5$l!"\e(B1994\e$BG/$NE_$O=$O@$NF(Hr9TF0$r7s$M$F\e(B mhpem \e$B$N2~NI$KNe$_$^$7$?!#\e(B
8399 @end ifset
8400 @ifset us
8401 I took part in the FJPEM research project of WIDE Project in the fall of
8402 1993. At that time, Mine had implemented mhpem to make it convenient to
8403 use FJPEM with mh-e. Inspired by mhpem, I spend many time to enhance
8404 mhpem as escape from my master thesis in winter 1994. :)
8405 @end ifset
8406
8407 @ifset jp
8408 mhpem \e$B$O0E9f%a%C%;!<%8$r<+F0E*$KI|9f2=$9$k$*$7$c$l$J%W%m%0%i%`$G$7$?$,!"\e(B
8409 \e$B$$$/$D$+LdBj$,$"$j$^$7$?!#Bg$-$JLdBj$O!"\e(Bmh-e \e$B$,4JC1$K3HD%$G$-$J$$=@Fp@-\e(B
8410 \e$B$K7g$1$?%W%m%0%i%`$@$C$?$3$H$G$9!#I|9f2=$7$?%a%C%;!<%8$O!"<!$KFI$`$H$-$O\e(B
8411 \e$BB.$/$J$k$h$&J]B8$7$?$$$H;W$$$^$9$,!"\e(Bmh-e \e$B$r2~NI$9$k$N$OFq$7$$$N$G$9!#\e(B
8412 mh-e \e$B$,%P!<%8%g%s%"%C%W$7!"\e(Bmhpem \e$B$,?7$7$$\e(B mh-e \e$B$GF0$+$J$+$C$?$H$-!"Cx<T\e(B
8413 \e$B$O@Z$l$^$7$?!#\e(B
8414 @end ifset
8415 @ifset us
8416 mhpem was a lovely program to decrypt cipher messages automatically,
8417 however, we met some problems. The biggest one was that mh-e was not
8418 flexible enough to enhance some features. I really wanted to cache
8419 decrypted message to display it quickly for the second time but it was
8420 quite hard to enhance mh-e to do so. When a new version of mh-e was
8421 released and it appeared that mhpem didn't work with it, I decided to
8422 kick it out.
8423 @end ifset
8424
8425 @ifset jp
8426 \e$BI|9f2=$7$?\e(B PEM \e$B$rJ]B8$7$?$$!#\e(BMIME \e$B$bJ]B8$7$?$$!#$I$&$7$F!"4JC1$K\e(B MIME \e$B$r\e(B
8427 \e$B<h$j07$($k%$%s%?!<%U%'%$%9$,$J$$$N$+!#$J$<!"J#?t$N%a%C%;!<%8$+$i4JC1$K0z\e(B
8428 \e$BMQ$G$-$J$$$N$+!#%^!<%/$r6n;H$7$FLLGr$$$3$H$,$G$-$J$$$J$s$F!#%a%C%;!<%8$N\e(B
8429 \e$B@0F\$,BgJQ$J$N$O$$$d$@!#7k6I!"\e(Bmh-e \e$B$r2~NI$9$k$3$H$G$O!"<+J,$NM_$7$$%W%m\e(B
8430 \e$B%0%i%`$O=q$1$J$+$C$?$N$G$9!#\e(B
8431 @end ifset
8432 @ifset us
8433 I want to cache decrypted PEM. Also MIME. Why isn't there a good
8434 interface to handle MIME with easy operations? Tell me the reason not to
8435 be able to cite multiple messages to one replying message. It's
8436 ridiculous that we cannot enjoy cheerful marks. I'd hate to refile
8437 messages with difficult operations. All in all, it appeared impossible
8438 for me to implement what I want by modifying mh-e.
8439 @end ifset
8440
8441 @ifset jp
8442 mhpem \e$B$N<+F0I|9f5!G=!"\e(Bmhasync \e$B$NHsF14|$J\e(B scan \e$B5!G=!"%&%$%s%I%&$NBg$-$5$r\e(B
8443 \e$BF0E*$KJQ99$G$-$k\e(B GNUS \e$B$N5!G=!"%^!<%/$rIU$1$FJ#?t$N%K%e!<%9$r<h$j07$($k\e(B 
8444 gnus-mark \e$B$N5!G=!"\e(BVM \e$B$N$h$&$J@0F\5!G=!"2r@O$7$?%a%C%;!<%8$NJ]B8!"H~$7$/\e(B
8445 \e$B=@Fp@-$N$"$k%W%m%0%i%_%s%0%9%?%$%k\e(B.... \e$B$5$^$6$^CGJR$,Cx<T$NCf$G\e(B1\e$B$D$K$^$H\e(B
8446 \e$B$^$j;O$a$^$7$?!#\e(B1994\e$BG/\e(B3\e$B7n!"F`NI$X$N0z1[$7A0$N$3$H$G$7$?!#\e(B
8447 @end ifset
8448 @ifset us
8449 Auto decryption in mhpem, asynchronous scan in mhasync, dynamic window
8450 setup in GNUS, cheerful mark system for multiple messages in gnus-mark,
8451 refile feature in VM, message cache mechanism, and beautiful and
8452 flexible programming style.... A pieces of puzzle was gradually getting
8453 together in my mind. It was early in the spring of 1994.
8454 @end ifset
8455
8456 @c %%%%%%%%%%%%%%%%%
8457 @node birth, pgp, mh-e, History
8458 @ifset jp
8459 @section Mew \e$B$NCB@8\e(B
8460 @end ifset
8461 @ifset us
8462 @section Birth of Mew
8463 @end ifset
8464
8465 @ifset jp
8466 1994\e$BG/\e(B4\e$B7n!"K\3JE*$K\e(B Mew \e$B$N@=:n$K<h$j3]$+$j$^$7$?!#0lMwI=<($N=*N;$rBT$?$J\e(B
8467 \e$B$/$F$h$$5!G=!"F0E*$J%&%$%s%I%&@_Dj!"%^!<%/!"2r@O$7$?%a%C%;!<%8$NJ]B8$J$I\e(B
8468 \e$B$O!"$*<jK\$,$"$C$?$N$GAa$/$+$i<BAu$5$l$F$$$^$7$?!#\e(B
8469 @end ifset
8470 @ifset us
8471 In April 1994, I started to program Mew. Since there were references,
8472 inc and scan not to wait the exit, dynamic window configuration, marks,
8473 and message cache were implemented in early time.
8474 @end ifset
8475
8476 @ifset jp
8477 \e$B$O$8$a$N:"$O\e(B MIME \e$B$r\e(B MIME \e$B%b!<%I$GI=<($7$F$$$^$7$?!#%^%k%A%Q!<%H$N%a%C%;!<\e(B
8478 \e$B%8$G\e(B @samp{SPC} \e$B$r2!$9$H!"\e(BSummary \e$B%b!<%I$+$i\e(B MIME \e$B%b!<%I$K0\F0$7$F$$$?$N\e(B
8479 \e$B$G$9!#$7$+$7!"2NBe$5$s$O8@$$$^$7$?!"!V$J$<\e(B MIME \e$B%b!<%I$+$"$k$N!)\e(B Summary 
8480 \e$B$@$1$G==J,$G$O$J$$$+!W!#L\$+$iNZ$NMn$A$k;W$$$G$7$?!#\e(B
8481 @end ifset
8482 @ifset us
8483 To tell the truth, Mew displayed MIME messages in MIME mode. When you
8484 type @samp{SPC} on a multipart MIME message, Mew moved from Summary mode
8485 to MIME mode. Utashiro said to me, however, "Why MIME mode? Summary mode
8486 is enough, isn't it?". It's a really breakthrough.
8487 @end ifset
8488
8489 @ifset jp
8490 \e$B$3$N$3$m$NBg$-$J>c32$O!"%a%C%;!<%8$N@0F\J}K!$H\e(B MIME \e$B$N:n@.J}K!$G$7$?!#\e(B
8491 @end ifset
8492 @ifset us
8493 At this time, big problems were how to refile messages and to compose
8494 complex MIME.
8495 @end ifset
8496
8497 @ifset jp
8498 \e$B3N$+$K\e(B VM \e$B$N$h$&$K!"%f!<%6$K$$$A$$$A\e(B Lisp \e$B$r=q$+$;$l$P!"@0F\$O4JC1$K$J$j\e(B
8499 \e$B$^$9!#$7$+$7!"%f!<%6$K$3$^$a$K@_Dj$5$;$k$3$H<+BN$,7y$@$C$?$N$G$9!#!V%a%C\e(B
8500 \e$B%;!<%8$N%X%C%@$+$iL58B$N2DG=@-$N$"$k@0F\@h$rLO:w$9$k$N$OGO</$@!#8B$j$N$"\e(B
8501 \e$B$k<B:]$N%U%)%k%@$NCf$+$i8uJd$rA*$Y$P$$$$!W!#$3$N%"%$%G%#%"$r;W$$$D$$$?$H\e(B
8502 \e$B$-$O!"<!$ND+$,Mh$k$N$,BT$A1s$7$+$C$?$b$N$G$9!#@0F\5!G=$O!"8e$KG5B<$5$s$K\e(B
8503 \e$B$h$C$F6/2=$5$l$^$7$?!#\e(B
8504 @end ifset
8505 @ifset us
8506 It is certain that if users are always forced to write Lisp, message
8507 refile becomes easy. But I really hate to require users to setup Lisp by
8508 themselves. "It is ridiculous to try to choose default refile-folder
8509 from message header since there are thousands of candidates. Rather, it
8510 is quite reasonable to select the default from existing folder". When
8511 this idea hit my head, I could not wait for the next morning. After
8512 that, refile feature was enhanced by Nomura.
8513 @end ifset
8514
8515 @ifset jp
8516 \e$BJ#;($J\e(B MIME \e$B$r4JC1$K:n@.$9$k$K$O$I$&$9$l$P$h$$$+!)\e(B \e$B%f!<%6$K$O:n@.J8K!$H\e(B
8517 \e$B$+\e(B MIME \e$B$N=q<0$J$I$NM}2r$r2!$7$D$1$k$N$O$"$s$^$j$@!#0l8@@bL@$9$l$P!"$@$l\e(B
8518 \e$B$G$bD>46E*$K\e(B MIME \e$B$r:n$l$k$h$&$K$7$?$$!#$3$NEz$($r$/$l$?$N$OLgNS$5$s$G$9!#\e(B
8519 \e$B!V\e(BMIME \e$B$N9=B$$C$F%U%!%$%k%7%9%F%`$K;w$F$$$k$h$M!W!#$=$&$G$9!"%7%s%0%k%Q!<\e(B
8520 \e$B%H$r%U%!%$%k!"%^%k%A%Q!<%H$r%G%#%l%/%H%j$H9M$($l$P$h$$$N$G$9!#%U%!%$%kA`\e(B
8521 \e$B:n$O$@$l$K$G$b$G$-$k$7!"%U%!%$%k9=B$$r\e(B MIME \e$B$KJQ49$9$k;E;v$O\e(B Mew \e$B$,@A$1\e(B
8522 \e$BIi$$$^$9!#\e(B
8523 @end ifset
8524 @ifset us
8525 How to compose complicated MIME message with easy operations? It is a
8526 tragedy for users to be compelled to learn a composition grammar. I
8527 really wanted to provide simple yet comprehensive method to users. It
8528 was Youki that gave me the answer. Yes, MIME is file structure! We can
8529 consider that a singlepart is a file while a multipart is a
8530 directory. Users can create a file tree without any troubles, of course,
8531 and it is a Mew's job to convert the file structure to MIME format.
8532 @end ifset
8533
8534 @c %%%%%%%%%%%%%%%%%
8535 @node pgp, im, birth, History
8536 @ifset jp
8537 @section PGP \e$B$H$N=P2q$$\e(B
8538 @end ifset
8539 @ifset us
8540 @section Meet to PGP
8541 @end ifset
8542
8543 @ifset jp
8544 FJPEM \e$B$N<BAu$K5?Ld$r46$8$F$$$?Cx<T$O!"\e(B1994\e$BG/$N=i2F\e(B PGP \e$B$H=P2q$$$^$7$?!#\e(B
8545 \e$B$=$N$3$m$O\e(B PGP 2.5\e$B!"$D$^$j!"\e(BMIT \e$B$,\e(B RSAREF \e$B$r;H$C$F!"\e(BRSA \e$B$NFC5v$KDq?($7$J\e(B
8546 \e$B$$Hs>&MQ$N\e(B PGP \e$B$rLO:w$7$F$$$?;~4|$G$9!#\e(BPGP 2.6 \e$B$N%j%j!<%9$K$h$C$F!"\e(BPhil 
8547 \e$B$H\e(B RSADSI \e$B$OOB2r$7$^$7$?$,!"\e(BRSAREF \e$B$r;H$C$F$$$k\e(B 2.6 \e$B$OJF9q9q30$X$N;}$A=P\e(B
8548 \e$B$7$,6X;_$5$l$F$$$^$9!#\e(B
8549 @end ifset
8550 @ifset us
8551 I couldn't swipe out reservations to the implementation of FJPEM for a
8552 long time, then PGP finally appeared in front of me in the early summer
8553 of 1994. At that time, MIT tried to find a solution to make
8554 non-commercial PGP legal against the RSA patent, so called PGP 2.5. The
8555 release of PGP 2.6 settled down the relationship between Phil and
8556 RSADSI, yet PGP 2.6 based on RSAREF was under US export control.
8557 @end ifset
8558
8559 @ifset jp
8560 \e$B$7$+$7!"\e(B2.3a \e$B$r4p$K$7$?\e(B 2.6ui \e$B$NB8:_$rCN$j!"\e(BPGP \e$B%f!<%6$K$J$j$^$7$?!#\e(BPGP 
8561 \e$B$r;O$a$F;H$C$?$H$-$N46F0$OK:$l$i$l$^$;$s!#K\Ev$K7W;;$7?T$/$5$l$?%W%m%0%i\e(B
8562 \e$B%`$G$9!#\e(B1995\e$BG/$NE_!"%5%s%G%#%(%4$G3+$+$l$?DL>N\e(B ISOC Security
8563 Symposium(NDSS)\e$B$H$$$&9q:]2q5D$K;22C$7$^$7$?!#$3$N$H$-!"%W%m%7!<%G%#%s%0\e(B
8564 \e$B$H6&$K\e(B O'Reilly \e$B$+$iH/Gd$5$l$F$9$0$N\e(B Simson \e$B$N\e(B PGP \e$B$H$$$&K\$r$b$i$$$^$7\e(B
8565 \e$B$?!#5W!9$KFI$_$U$1$C$?7f:nCf$N7f:n$G$9!#$3$N$h$&$JM}M3$+$i!"\e(BPEM \e$B$H\e(B MIME 
8566 \e$B$NE}9g$h$j$b!"\e(BPGP \e$B$H\e(B MIME \e$B$NE}9g$KNO$rCm$0$h$&$K$J$j$^$7$?!#\e(BPGP/MIME \e$B$O\e(B
8567 \e$B8=:_<B83CJ3,$G$"$j!"I8=`2=$K$O$^$@;~4V$,$+$+$j$^$9!#\e(B
8568 @end ifset
8569 @ifset us
8570 Meet to 2.6ui based on 2.3a finally leaded me to be a PGP user. I cannot
8571 forget my first impression to PGP. It's a really well-designed program.
8572 In the summer of 1995, I took part in NDSS, so called ISOC Security
8573 Symposium in San Diego. In addition of the proceedings, PGP by Simson
8574 published from O'Reilly was delivered to early registered
8575 participants. It's a masterpiece of masterpieces.  For these reasons, I
8576 have spent time to integrate PGP and MIME rather than to integrate PEM
8577 and MIME.
8578 @end ifset
8579
8580 @ifset jp
8581 \e$B!V0E9f2=$H$+=pL>$O%^!<%/$GI=$;$P$$$$!W$H$$$&%"%$%G%#%"$O!"]/0f$5$s$H>pJs\e(B
8582 \e$B=hM}A49qBg2q$NO@J8$r=q$$$?$H$-$K65$($F$b$i$$$^$7$?!#%^!<%/$J$i$$$D$G$b9%\e(B
8583 \e$B$-$J$H$-$K%-%c%s%;%k$G$-$k$H$$$&MxE@$rM}2r$9$k$N$O>/$7;~4V$,$+$+$j$^$7$?\e(B
8584 \e$B$1$I!#\e(B
8585 @end ifset
8586 @ifset us
8587 The idea that marks can represent encryption and signature was given by
8588 Mine when we wrote a paper for IPSJ together. It took a time a bit to
8589 understand its merit that marks could be canceled at any time.
8590 @end ifset
8591
8592 @c %%%%%%%%%%%%%%%%%
8593 @node im, netnews, pgp, History
8594 @ifset jp
8595 @section MH \e$B$+$i$NFHN)\e(B
8596 @end ifset
8597 @ifset us
8598 @section Independence from MH
8599 @end ifset
8600
8601 @ifset jp
8602 \e$B!V$&$^$$<w;J$r?)$o$;$F$d$k$+$i$_$s$JJ!2,$K=89g$@!W$N$+$1@<$N$b$H!"\e(B1997\e$BG/\e(B
8603 4\e$B7n$K$=$&$=$&$?$k%W%m%0%i%^$,J!2,%I!<%`$N$"$kI4F;$K7k=8$7$^$7$?!#6e=#%7\e(B
8604 \e$B%9%F%`>pJs5;=Q8&5f=j$K%O%C%/It20$r<Z$j!"6a$/$N%O%$%d%C%H!&%j!<%8%'%s%7!<\e(B
8605 \e$B$r?2>2$K$7$F!"\e(B3\e$BGq\e(B4\e$BF|$K5Z$V\e(B MH \e$B$+$i$NFHN):n@o$,3+;O$5$l$^$7$?!#\e(B
8606 @end ifset
8607 @ifset us
8608 "Get together in Fukuoka for good sushi!" Under these words, excellent
8609 programmers came to Momochi, Fukuoka, where Fukuoka dome locates, in
8610 April, 1997. Using Institute of Systems & Information Technologies,
8611 Kyushu as a hacking room and Hyatt Regency as sleeping rooms, MH
8612 independence project for 3 nights started.
8613 @end ifset
8614
8615 @ifset jp
8616 \e$B$H$K$+$/?)$Y$k!"5$$KF~$k$^$G%O%C%/$9$k!"$H$3$H$s$^$G5DO@$9$k$H$$$&:n6H$r\e(B
8617 \e$B$J$s$I$b7+$jJV$7!"J!2,$r8e$K$9$k$3$m$K$O$[$\\e(B Mew \e$B$,\e(B MH \e$B$+$iFHN)$7!"\e(BIM \e$B$r\e(B
8618 \e$B;H$&$h$&$K$J$C$F$$$^$7$?!#\e(B(\e$B$3$N=5$N%(%s%2%k78?t$,9b$+$C$?$N$O8@$&$^$G$b\e(B
8619 \e$B$"$j$^$;$s!#\e(B)
8620 @end ifset
8621 @ifset us
8622 Eating anyway, hacking as we like, and discussing comprehensively. We
8623 repeated these steps over and over. As we left Fukuoka, Mew became
8624 somehow independent on MH by using IM instead. (Engel's coefficient of
8625 this week is, of course, very high...)
8626 @end ifset
8627
8628 @ifset jp
8629 \e$B$=$N8e$b%a!<%j%s%0%j%9%H$G5DO@$r@o$o$;!"9g0U$r<h$j!"$^$?%O%C%/$9$k$H$$$&\e(B
8630 \e$B:n6H$r7+$jJV$7!":G8e$K2NBe@h@8$,9bB.2=$NKbK!$r>'$($F!"$h$&$d$/\e(B7\e$B7nF,$K%Y!<\e(B
8631 \e$B%?%j%j!<%9$K$3$.$D$1$^$7$?!#\e(B
8632 @end ifset
8633 @ifset us
8634 Afterwords, we discussed on mailing list, tried to achieve consensus,
8635 and then hacked again and again. Finally master Utashiro casted a spell
8636 to make IM much faster then IM beta version was released in early July.
8637 @end ifset
8638
8639 @c %%%%%%%%%%%%%%%%%
8640 @node netnews, Future, im, History
8641 @ifset jp
8642 @section \e$B%K%e!<%9$NE}9g\e(B
8643 @end ifset
8644 @ifset us
8645 @section Integration of NetNews
8646 @end ifset
8647
8648 @ifset jp
8649 1994\e$BG/=)$N\e(B WIDE \e$B9g=I$G\e(B Mew \e$B$N\e(B BOF(Birds Of a Feather::\e$B0f8MC<2q5D\e(B)\e$B$r$7$^\e(B
8650 \e$B$7$?!#$3$N\e(B BOF \e$B$G:4Ln$5$s$O!VEE;R%a!<%k$H%K%e!<%9$NCf4V$,%a!<%j%s%0%j%9\e(B
8651 \e$B%H$@$h$M!W$H$$$&K:$l$i$l$J$$8@MU$r;D$7$^$7$?!#0G$NCf$G<jC5$j>uBV$@$C$?$H\e(B
8652 \e$B$3$m$K!"0l6Z$N8w$r8+$?;W$$$G$9!#\e(BPerl 5 \e$B$,0BDj$7$F$-$?8=:_!"%K%e!<%9$NE}\e(B
8653 \e$B9g$O4V6a$KGw$C$F$$$^$9!#\e(B
8654 @end ifset
8655 @ifset us
8656 In the fall of 1994, I held Mew BOF(Birds Of a Feather) at WIDE camp.
8657 Mr. Sano left unforgettable words to me: "Mailing-list is some between
8658 Email and NetNews". It's like I saw a light in darkness. Now that Perl 5
8659 become stable, the integration of NetNews is coming soon.
8660 @end ifset
8661
8662 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8663 @c      Future
8664 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8665
8666 @node Future, Avail, netnews, Top
8667 @ifset jp
8668 @chapter Mew \e$B$N9T$/F;\e(B
8669 @end ifset
8670 @ifset us
8671 @chapter Where will Mew go?
8672 @end ifset
8673
8674 @ifset jp
8675 Mew 1.95 \e$B$,%P!<%8%g%s\e(B 1 \e$B$H$7$F$O:G8e$K$J$kM=Dj$G$9!#0J2<$K\e(B Mew 1.95 \e$B$G<B\e(B
8676 \e$BAu$9$k5!G=$r5s$2$^$9!#\e(B
8677 @end ifset
8678 @ifset us
8679 Mew 1.95 would be the last version of the version 1 series. The
8680 followings are features to be implemented in Mew 1.95.
8681 @end ifset
8682
8683 @table @asis
8684 @ifset jp
8685 @item \e$B??$NB?8@8lBP1~\e(B
8686 Mew \e$B$NB?8@8lBP1~$O:#$G$bAG@2$i$7$$$N$G$9$,!"\e(B8bit \e$B$N%a%C%;!<%8$r$&$^$/E>\e(B
8687 \e$BAw$G$-$J$$!"4Z9q8l$N<h$j07$$$,Fq$7$$$J$I$N7gE@$,$"$j$^$9!#$3$l$i$r7gE@$r\e(B
8688 \e$B=$@5$7$F??$NB?8@8lBP1~$rL\;X$7$^$9!#\e(B
8689 @item MIME \e$B%(%G%#%?\e(B
8690 \e$B8=:_!"%^%k%A%Q!<%H!&%a%C%;!<%8$r:FJT=8$9$k$N$O:$Fq$G$9!#\e(BMew 1.95 \e$B$G$O!"\e(B
8691 \e$B$"$?$+$b?75,%a!<%k$r07$C$F$$$k$+$N$h$&$J:FJT=85!G=$r<B8=$7$^$9!#\e(B
8692 @item \e$B%+%9%?%^%$%:\e(B
8693 @samp{defcustom} \e$B$J$I$rMxMQ$7$F!"%+%9%?%^%$%:$rMF0W$K$7$^$9!#\e(B
8694 @item Draft \e$B%b!<%I$NDj7?=q<0$H%5%V%b!<%I\e(B
8695 Draft \e$B%b!<%I$GDj7?$NJ8=q$r$"$i$+$8$aMQ0U$7$?$j!"7HBSEEOC%a!<%k$X%a%C%;!<\e(B
8696 \e$B%8$r=q$/$?$a$KJXMx$J%b!<%I$rMQ0U$7$?$j$7$^$9!#\e(B
8697 @end ifset
8698 @ifset us
8699 @item Real multi-lingualization
8700 Though The current multi-lingualization feature of Mew is really cool,
8701 there are some shortcoming such as inability of 8bit message forwarding,
8702 difficulty of Korean processing, etc. Mew 1.95 will aim at real
8703 multi-lingualization solving these problems.
8704 @item MIME editor
8705 Currently, it is hard to re-edit multipart messages. Mew 1.95 will
8706 implement a generic mechanism to re-edit multipart messages.
8707 @item Customizing
8708 Making it easy to customize Mew's options with @samp{defcustom}.
8709 @item Template in Draft mode
8710 Draft mode will provide template features. For example, a typical
8711 greeting sentence can be inserted according to the To: field.
8712 @end ifset
8713 @end table
8714
8715 @ifset jp
8716 Mew 2 \e$B$G$O\e(B IM \e$B$+$iFHN)$9$kM=Dj$G$9!#$3$N%W%m%8%'%/%H$O\e(B \e$B!V\e(BMew 2 \e$B$N5U=1!W\e(B
8717 \e$B$H8F$P$l$F$$$^$9!#\e(B
8718 @end ifset
8719 @ifset us
8720 It is planed that Mew 2 will be independent on IM.
8721 @end ifset
8722
8723 @table @asis
8724 @ifset jp
8725 @item IMAP \e$B%G!<%b%s\e(B
8726 Mew 1.9x \e$B$N7gE@$N\e(B 1 \e$B$D$O!"\e(BIM \e$B$r2?EY$b8F$S=P$9$N$G!"\e(BPerl \e$B$,5/F0$7\e(B IM \e$B$N%U%!\e(B
8727 \e$B%$%k72$rFI$`;~4V$=$NETEYBT$?$5$l$k$3$H$G$9!#$=$3$G!"%m!<%+%k$N%3%s%T%e!<\e(B
8728 \e$B%?$K>oCs$9$k\e(B IMAP \e$B%G!<%b%s$r:n@.$7!"\e(BMew \e$B$O\e(B IMAP \e$B%G!<%b%s$HDL?.$9$k$h$&$K\e(B
8729 \e$B$7$^$9!#\e(B
8730 @item \e$BA4J88!:w$N%G!<%?%Y!<%9\e(B
8731 \e$BA4J88!:w$N$?$a$N%G!<%?%Y!<%9$KBP1~$7$^$9!#<B$O8=:_$G$b\e(B Namazu \e$B$,MxMQ$G$-\e(B
8732 \e$B$^$9!#\e(B"contrib/00readme-namazu.jis" \e$B$r;2>H$7$F2<$5$$!#\e(B
8733 @item \e$B?F;R4X78$N%G!<%?%Y!<%9\e(B
8734 \e$B%a%C%;!<%8$N?F;R4X78$rJ]B8$9$k%G!<%?%Y!<%9$KBP1~$7$^$9!#$3$l$K$h$C$F%9%l%C\e(B
8735 \e$B%I$,<B8=$G$-$^$9!#$^$?!"%a%C%;!<%8$NL$FI4IM}$b$G$-$k$h$&$K$J$j$^$9!#$R$g$C\e(B
8736 \e$B$H$9$k$H!"%a%C%;!<%8$N@0F\$H$$$&:n6H$O$^$C$?$/$J$/$J$k$+$b$7$l$^$;$s!#\e(B
8737 @item \e$B%M%C%H%K%e!<%9\e(B
8738 \e$B$=$m$=$m%M%C%H%K%e!<%9$K$bBP1~$7$J$$$H$$$1$^$;$s$M!#\e(B
8739 @end ifset
8740 @ifset us
8741 @item IMAP daemon
8742 One of shortcomings of Mew 1.9x is that users are made to wait every
8743 time Perl is executed and reads configuration files. To solve this, we
8744 are planing to implement an IMAP daemon running on a local computer and
8745 make Mew communicate with it.
8746 @item Database for full body search
8747 Mew 2 will support database for full body search (WAIS for English?).
8748 @item Database for message relations
8749 Mew 2 will support database for message relations. Thanks to this,
8750 thread can be implemented. Also, it will be possible to manage unread
8751 messages. Possibly refiling messages will be unnecessary.
8752 @item NetNews
8753 Mew 2 will support NetNews.
8754 @end ifset
8755 @end table
8756
8757 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8758 @c      Avail
8759 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8760
8761 @node Avail, ftp, Future, Top
8762 @ifset jp
8763 @chapter \e$BF~<jJ}K!$H%a!<%j%s%0%j%9%H\e(B
8764 @end ifset
8765 @ifset us
8766 @chapter Availability and mailing-list
8767 @end ifset
8768
8769 @ifset jp
8770 \e$B$3$3$G$O!"\e(BMew \e$B$NF~<jJ}K!$H%a!<%j%s%0%j%9%H$K$D$$$F?($l$^$9!#\e(B
8771 @end ifset
8772 @ifset us
8773 This chapter describes how to get Mew and related mailing-lists.
8774 @end ifset
8775
8776 @menu
8777 @ifset jp
8778 * ftp::                         Mew \e$B$NF~<jJ}K!\e(B
8779 * ml::                          \e$B%a!<%j%s%0%j%9%H\e(B
8780 @end ifset
8781 @ifset us
8782 * ftp::                         How to get Mew?
8783 * ml::                          Mailing list
8784 @end ifset
8785 @end menu 
8786
8787 @c %%%%%%%%%%%%%%%%%
8788 @node ftp, ml, Avail, Avail
8789 @ifset jp
8790 @section Mew \e$B$NF~<jJ}K!\e(B
8791 @end ifset
8792 @ifset us
8793 @section How to get Mew?
8794 @end ifset
8795
8796 @ifset jp
8797 Mew\e$B$N:G?7%P!<%8%g%s$O0J2<$+$iF~<j$G$-$^$9!#\e(B
8798 @end ifset
8799 @ifset us
8800 The latest Mew is available from the following repository.
8801 @end ifset
8802
8803 @example
8804 ftp://ftp.Mew.org/pub/Mew/mew-current.tar.gz
8805 @end example
8806
8807 @ifset jp
8808 \e$B$H$-$I$-%5%s%W%k%a%C%;!<%8$,0J2<$N$h$&$KDs6!$5$l$^$9!#\e(B
8809 @end ifset
8810 @ifset us
8811 Samples are given time to time under the following file name:
8812 @end ifset
8813
8814 @example
8815 ftp://ftp.Mew.org/pub/Mew/samples.tar.gz
8816 @end example
8817
8818 @c %%%%%%%%%%%%%%%%%
8819 @node ml, Ack, ftp, Avail
8820 @ifset jp
8821 @section \e$B%a!<%j%s%0%j%9%H\e(B
8822 @end ifset
8823 @ifset us
8824 @section Mailing list
8825 @end ifset
8826
8827 @ifset jp
8828 \e$B?7$7$$%P!<%8%g%s$O!"\e(B
8829 @end ifset
8830 @ifset us
8831 A new version is announced to 
8832 @end ifset
8833
8834 @example
8835 mew-release@@Mew.org
8836 @end example
8837
8838 @ifset jp
8839 \e$B$G1Q8l$G%"%J%&%s%9$7$F$$$^$9!#F~$j$?$$?M$O\e(B
8840 @end ifset
8841 @ifset us
8842 in English. If you wish to join, please send a message to
8843 @end ifset
8844
8845 @example
8846 mew-release-ctl@@Mew.org
8847 @end example
8848
8849 @ifset jp
8850 \e$B08$KK\J8$K\e(B "#help" \e$B$H=q$$$FEE;R%a!<%k$rAw$C$F2<$5$$!#\e(Bmew-release \e$B$K$OCx\e(B
8851 \e$B<T0J30$,Ej9F$G$-$J$$$h$&$K@)8B$,2C$($i$l$F$$$^$9!#\e(B
8852 @end ifset
8853 @ifset us
8854 whose the first line of its body is "#help" (without quotes). This list
8855 is under access control so that nobody but the author can post.
8856 @end ifset
8857
8858 @ifset jp
8859 Mew \e$B$N<ALd$d5DO@$J$I$O!"\e(B
8860
8861 @example
8862 mew-dist@@Mew.org
8863 @end example
8864
8865 \e$B$KF|K\8l$GEj9F$G$-$^$9!#\e(Bmew-dist \e$B$XF~$j$?$$?M$O\e(B
8866
8867 @example
8868 mew-dist-ctl@@Mew.org
8869 @end example
8870
8871 \e$B08$KK\J8$K\e(B "#help" \e$B$H=q$$$FEE;R%a!<%k$rAw$C$F2<$5$$!#\e(Bmew-dist \e$B$O\e(B 
8872 mew-release \e$B$K4^$^$l$F$$$k$N$G!"\e(Bmew-dist \e$B$KEPO?$9$l$P!"<+F0E*$K\e(B 
8873 mew-release \e$B08$NEE;R%a!<%k$r<u$1<h$k$h$&$K$J$j$^$9!#\e(B
8874
8875 Mew \e$B$N<ALd$O$G$-$k$@$1\e(B mew-dist \e$B$X$*4j$$$7$^$9!#Cx<T$K$O<u$1<h$C$?$9$Y$F\e(B
8876 \e$B$N<ALd$KEz$($F$$$k;~4V$O$"$j$^$;$s!#\e(Bmew-dist \e$B$X<ALd$9$k$H!"B>$N?M$,Ez$(\e(B
8877 \e$B$F$/$l$k$3$H$r4|BT$G$-$^$9!#\e(B
8878 @end ifset
8879
8880 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8881 @c      Ack
8882 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8883
8884 @node Ack, Copyright, ml, Top
8885 @ifset jp
8886 @chapter \e$B<U<-\e(B
8887 @end ifset
8888 @ifset us
8889 @chapter Acknowledgement
8890 @end ifset
8891
8892 @ifset jp
8893 \e$B$^$:$O$8$a$K!"]/0f;0;R$5$s$K$*Ni$r=R$Y$?$$$H;W$$$^$9!#H`=w$,\e(B mhpem \e$B$r:n\e(B
8894 \e$B$j?(H/$7$F$/$l$J$+$C$?$i\e(B Mew \e$B$r:n$k$3$H$O$J$+$C$?$+$i$G$9!#\e(B(\e$B$b$&$J$/$J$C\e(B
8895 \e$B$F$7$^$$$^$7$?$,\e(B) mew-url \e$B$d\e(B mew-pem \e$B$NB?$/$NItJ,$r=q$$$F$$$^$9!#$^$?!"\e(B
8896 \e$BJ#;($J%a%C%;!<%8$N:n@.$K%^!<%/$r;H$&$H$$$&%R%s%H$bM?$($F$/$l$^$7$?!#\e(B
8897 @end ifset
8898 @ifset us
8899 First and foremost, I would like to thank Mine Sakurai. If she had not
8900 have implemented mhpem and inspired me, Mew would not be realistic. She
8901 also implemented most part of mew-url and mew-pem(that are obsolete,
8902 though). It is she that gives me an idea of mark based composing. To her
8903 goes my deepest gratitude.
8904 @end ifset
8905
8906 @ifset jp
8907 Summary \e$B%b!<%I$r$b$C$H4JAG$K$H=u8@$7$FD:$$$?2NBeOB@5$5$s!"\e(BMIME \e$B$H%U%!%$\e(B
8908 \e$B%k9=B$$C$F;w$F$k$h$M$H8@$C$F$/$l$?LgNSM:4p$5$s!"$$$D$bEE;R%a!<%k$K4X$7$F\e(B
8909 \e$B5.=E$J=u8@$r$7$F$/$l$kCfB<AGE5$5$s!"EE;R%a!<%k$H%K%e!<%9$rE}9g$9$k$-$C$+\e(B
8910 \e$B$1$rM?$($F$/$l$?:4Ln?8$5$s$K?4$+$i46<U$7$^$9!#\e(B
8911 @end ifset
8912 @ifset us
8913 The author of Mew would sincerely like to acknowledge Kazumasa Utashiro
8914 for telling me simplicity of Summary mode, Youki Kadobayashi for
8915 noticing me a scheme to map file structures to MIME, Motonori Nakamura
8916 for his precious suggestions regarding with Email, and Susumu Sano for
8917 giving me a hint to integrate Email and NetNews.
8918 @end ifset
8919
8920 @ifset jp
8921 \e$B$$$D$bAG@2$i$7$$%3!<%I$rDs6!$7$/$l$k<r0f@6N4$5$s!"%a%C%;!<%8$N@0F\5!G=$r\e(B
8922 \e$B8-$/$7$F$/$l$?G5B<G=@.$5$s!"$3$^$a$K1Q8l$rD>$7$F$/$l$k5mEg44M'$5$s!"\e(Binfo 
8923 \e$B$r=q$/5$$K$5$;$F$/$l$?Eg7D0l$5$s!"$"$j$,$H$&$4$6$$$^$9!#\e(B
8924 @end ifset
8925 @ifset us
8926 Kiyotaka Sakai always contributes neat codes. Yoshinari Nomura enhanced
8927 functionality of message refile. Mikitomo Ushijima always proofreads my
8928 poor English. Keiichi Shima encouraged me to write Info. I very much
8929 appreciate.
8930 @end ifset
8931
8932 I would like to thank David Worenklein for contributing many codes. I'm
8933 grateful to Atsushi Shionozaki, Darren Stalder, and David Worenklein for
8934 proofreading my paper. I'd like to acknowledge to Scandinavia guys for
8935 their good suggestions.
8936
8937 @ifset jp
8938 IM \e$B$N:n@.$K6(NO$7$F$/$l$?GkLn=c0lO:$5$s!"3^865A98$5$s!"CfB<AGE5$5$s!"G5\e(B
8939 \e$BB<G=@.$5$s!"@>OBB'$5$s!"B@ED1Q7{$5$s!"\e(BIM \e$B$r9bB.$K$7$F$/$l$?2NBeOB@5$5$s\e(B
8940 \e$B$K46<U$7$^$9!#\e(BMew \e$B$r\e(B OS/2 \e$B$GF0$+$9EXNO$H$?$/$5$s$N%F%9%H$r$7$F$/$l$k1|@>\e(B
8941 \e$BF#OB$5$s$K$*Ni$r?=$7>e$2$^$9!#\e(BMew \e$B$,\e(B Win95/WNT \e$B$GF0$/$h$&$K$J$C$?$N$O!"\e(B
8942 \e$B<g$KKL8}=$0l$5$s$H;38}=$J?$5$s$NEXNO$K$h$k$H$3$m$,Bg$-$$$G$9!#\e(BMew \e$B$,\e(B 
8943 XEmacs \e$B$G3Z$7$$$N$O!";{@>M50l$5$s$N$*$+$2$G$9!#\e(B
8944 @end ifset
8945 @ifset us
8946 My deep gratitude goes to Jun'ichiro Ito, Yoshiaki Kasahara, Motonori
8947 Nakamura, Yoshinari Nomura, Kazunori Nishi, and Hidenori Ohta for their
8948 help to create IM. My thank also goes to Kazumasa Utashiro for making IM
8949 much faster. I would acknowledge to Fujikazu Okunishi for his
8950 contribution on OS/2 area and his comprehensive tests. Significant works
8951 to run Mew on Win95/WNT were mostly accomplished by Shuichi Kitaguchi
8952 and Shuhei Yamaguchi. Yuuichi Teranishi made Mew funny on XEmacs.
8953 @end ifset
8954
8955 @ifset jp
8956 Mew \e$B$KBP$78%?HE*$JGr0f=(9T$5$s!"8q9>1QN4$5$s!"$=$7$F8eF#=S0l$5$s$K46<U$7\e(B
8957 \e$B$^$9!#\e(B
8958 @end ifset
8959 @ifset us
8960 I would like to express my thanks to devoted users: Hidetaka Koie,
8961 Hideyuki Shirai, and Shun-ichi Goto.
8962 @end ifset
8963
8964 @ifset jp
8965 Mew \e$B$O$?$/$5$s$N?M$N9W8%$N>e$K@.$jN)$C$F$$$^$9!#$3$3$KL>A0$r5s$2$F$$$J$$\e(B
8966 \e$BJ}$K$b?4$+$i46<U$7$F$$$^$9!#Cx<T$O$J$K$V$sB?K;$G$9$N$G!"$9$Y$F$NEE;R%a!<\e(B
8967 \e$B%k$KEz$($k;~4V$,<h$l$^$;$s!#JV;v$,5"$C$FMh$J$+$C$??M$O!"K\Ev$K$9$_$^$;$s\e(B
8968 \e$B$G$7$?!#\e(B
8969 @end ifset
8970 @ifset us
8971 Mew is supported by contributions from many users. I'd like to express
8972 hearty thanks to those who are not listed here. The author is hell-of-a
8973 busy guy, so he cannot afford to respond all Emails. I'm so sorry if you
8974 have not received my reply.
8975 @end ifset
8976
8977 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8978 @c      Copyright
8979 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8980
8981 @node Copyright, Author, Ack, Top
8982 @ifset jp
8983 @chapter \e$BCx:n8"$K$D$$$F\e(B
8984 @end ifset
8985 @ifset us
8986 @chapter Copyright
8987 @end ifset
8988
8989 @ifset jp
8990 Mew \e$B$O0J2<$NCx:n8"$K=>$$$^$9!#\e(B
8991
8992 Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999 Mew developing team.@*
8993 All rights reserved.
8994
8995 \e$BJQ99$NM-L5$K$+$+$o$i$:!"%=!<%9$*$h$S%P%$%J%j7A<0$N:FG[I[$*$h$SMxMQ$O!"0J\e(B
8996 \e$B2<$N>r7o$rK~$?$7$F$$$l$P!"$3$l$r5v2D$9$k!#\e(B
8997
8998 @enumerate
8999 @item
9000 \e$B%=!<%9!&%3!<%I$N:FG[I[$O!">e5-$NCx:n8"I=<(!"$3$N>r7o9`L\!"$*$h$S!"0J2<$N\e(B
9001 \e$BLH@U;v9`$rJ]B8$7$J$1$l$P$J$i$J$$!#\e(B
9002 @item
9003 \e$B%P%$%J%j7A<0$N:FG[I[$O!">e5-$NCx:n8"I=<(!"$3$N>r7o9`L\!"$*$h$S!"0J2<$NLH\e(B
9004 \e$B@U;v9`$r!"$=$NG[I[$KIU?o$9$k@bL@=q!"$"$k$$$O$=$NB>$N;qNA$N$$$:$l$+$KL@5-\e(B
9005 \e$B$7$J$1$l$P$J$i$J$$!#\e(B
9006 @item
9007 \e$BA0$b$C$FFCJL$K5vBz$rF@$J$$8B$j!"$3$N%=%U%H%&%'%"$+$iGI@8$7$?@=IJ$N?d>)$d\e(B
9008 \e$BHNGdB%?J$N$?$a$K!"$3$N%A!<%`L>$H9W8%<TC#$NL>A0$rMxMQ$7$F$O$J$i$J$$!#\e(B
9009 @end enumerate
9010
9011 \e$B$3$N%=%U%H%&%'%"$O!V$3$N$^$^$N7A$G!WDs6!$5$l!"L@<(E*$"$k$$$O8@30$NJ]>Z\e(B
9012 \e$B$O!">&MQMxMQ$*$h$SFCDjL\E*$X$NE,9g$KBP$9$k8@30$NJ]>Z$b4^$_!"$^$?$3$l$i\e(B
9013 \e$B$@$1$K8B$i$:!"B8:_$7$J$$!#$?$H$(0J2<$N$h$&$JB;32$N2DG=@-$r<(:6$5$l$F$$\e(B
9014 \e$B$?$H$7$F$b!"$I$N$h$&$J7A$K$7$m$3$N%=%U%H%&%'%"$NMxMQ$+$iH/@8$7$?LdBj$K\e(B
9015 \e$B$*$$$F!"$3$N%A!<%`$H9W8%<TC#$O!"\e(B(\e$BBeBX@=IJ$d%5!<%S%9$ND4C#\e(B; \e$BMxMQ8"!"%G!<\e(B
9016 \e$B%?!"$"$k$$$OMx1W$NB;<:\e(B; \e$B$"$k$$$O1D6H$NCfCG$r4^$`!"$^$?$3$l$i$@$1$K8B$i\e(B
9017 \e$B$:\e(B)\e$BD>@\E*$K!"4V@\E*$K!"6vA3$K!"FCJL$K!"D(H3>e!"$"$k$$$O!"I,A3E*$K@8$8\e(B
9018 \e$B$F$7$^$C$?B;32$KBP$7@UG$$O$J$/!"$$$+$J$k@UG$M}O@>e$G$b7@Ls$NM-L5$K78$o\e(B
9019 \e$B$i$:87L)$J@UG$$O$J$/!"$^$?\e(B(\e$B2a<:$"$k$$$O$=$NB>$r4^$`\e(B)\e$BITK!9T0Y$KBP$7$F$b\e(B
9020 \e$B@UG$$O$J$$!#\e(B
9021 @end ifset
9022 @ifset us
9023 Mew conforms the following copyright.
9024
9025 Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999 Mew developing team.@*
9026 All rights reserved.
9027
9028 Redistribution and use in source and binary forms, with or without
9029 modification, are permitted provided that the following conditions
9030 are met:
9031
9032 @enumerate
9033 @item
9034 Redistributions of source code must retain the above copyright
9035 notice, this list of conditions and the following disclaimer.
9036 @item
9037 Redistributions in binary form must reproduce the above copyright
9038 notice, this list of conditions and the following disclaimer in the
9039 documentation and/or other materials provided with the distribution.
9040 @item
9041 Neither the name of the team nor the names of its contributors
9042 may be used to endorse or promote products derived from this software
9043 without specific prior written permission.
9044 @end enumerate
9045
9046 THIS SOFTWARE IS PROVIDED BY THE TEAM AND CONTRIBUTORS ``AS IS'' AND
9047 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
9048 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
9049 PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE TEAM OR CONTRIBUTORS BE
9050 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
9051 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
9052 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
9053 BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
9054 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
9055 OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
9056 IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
9057 @end ifset
9058
9059 @ifset jp
9060 CD ROM \e$B$KF~$l$FG[I[$7$?$$$H$$$&J}$O!"$G$-$k$@$165$($F2<$5$$!#65$($F$/$l\e(B
9061 \e$B$J$/$F$bE\$j$^$;$s$,!"65$($FD:$1$k$H$"$j$,$?$$$G$9!#G[I[$rCG$C$?$3$H$O\e(B
9062 \e$B$"$j$^$;$s!#\e(B
9063 @end ifset
9064 @ifset us
9065 If you wish to distribute Mew in CD or something, please let me know. I
9066 do not go mad even if you don't tell me but I'm very grad if you do so.
9067 I have not declined requirements.
9068 @end ifset
9069
9070 @ifset jp
9071 \e$B$3$N\e(B Info \e$B$NCx:n8"$O!"Cx<T$KB0$7$^$9!#G[I[!"MxMQ6&$K<+M3$G$9$,!"L5J]>Z$G\e(B
9072 \e$B$9!#$^$?!"$3$N\e(B Info \e$B$+$iH/@8$7$?Ho32$KBP$7!"Cx<T$O0l@Z@UG$$rIi$$$^$;$s!#\e(B
9073 @end ifset
9074 @ifset us
9075 The copyright of this Info belongs to the author. It is granted to copy,
9076 modify, redistribute this Info but no warranty.
9077 @end ifset
9078
9079 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
9080 @c      Author
9081 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
9082
9083 @node Author, Terminology, Copyright, Top
9084 @ifset jp
9085 @chapter \e$BCx<T>R2p\e(B
9086 @end ifset
9087 @ifset us
9088 @chapter About the author
9089 @end ifset
9090
9091 Kazuhiko YAMAMOTO // Kazu
9092         
9093 @ifset jp
9094 \e$B;3K\OBI'\e(B // \e$B$+$:\e(B(\e$B$/$s\e(B)
9095 @end ifset
9096         
9097 @ifset jp
9098 1970\e$BG/!"Fn$rFz$N>>86$rC9$($k3$4_!"El$r%&%0%$$,1K$0@n!"KL$H@>$r$J$@$i$+$J\e(B
9099 \e$B;3$K0O$^$l$k;38}8)8w;T$K@8$^$l$k!#Cf3X@8$N$H$-$K1G2h!V%&%)!<%2!<%`!W$r8+\e(B
9100 \e$B$F%;%-%e%j%F%#$K4X?4$r;}$D!#<+A3$HM7$S$J$,$i!"9b9;$^$G8w;T$G2a$4$9!#\e(B
9101 @end ifset
9102 @ifset us
9103 In 1970, Kazu was born at Hikari city, Yamaguchi prefecture, Japan,
9104 where is surrounded by a beach with "Rainbow pine forest" in the south,
9105 by an abundant river in the east, by gentle mountains in the north and
9106 the west. When he was a junior high-school student, he watched the movie
9107 "War Game", which made him interested in computer security. He had been
9108 grown with beautiful nature at Hikari city until high school.
9109 @end ifset
9110
9111 @ifset jp
9112 1988\e$BG/!"6e=#Bg3X9)3XItEE5$7OF~3X$N$?$aJ!2,$X!#ET2q$N;&H2$5!"1x$l$?3$!"8@\e(B
9113 \e$BMU$N0c$$$K6l$7$_$J$,$i$bB46H$^$G;j$k!#\e(B3\e$BG/@8$N$H$-$K=i$a$FEE;R%a!<%k$K?(\e(B
9114 \e$B$l!"\e(B4\e$BG/@8$N$3$m$K%$%s%?!<%M%C%H$K<f$+$l$F$$$/!#\e(BSun \e$B$KF~<REOJF$r;n$_$k$,!"\e(B
9115 \e$BIT9,$K$bJF9q$N%S%6H/9T%]%j%7!<$,87$7$/$J$C$?;~4|$H=E$J$j!"<:GT!#\e(B
9116 @end ifset
9117 @ifset us
9118 He was moved to Fukuoka city to take a course of electronic engineering
9119 at Kyushu university in 1988. Despite of pain from the urban city, the
9120 dirty ocean, and the language barrier, he somehow graduated from the
9121 university. Email appeared to him in the third year and the Internet
9122 fascinated him through the fourth. The trial to be a employee of Sun
9123 Microsystems to visit the US failed because US' visa policy became
9124 severe at that time.
9125 @end ifset
9126
9127 @ifset jp
9128 1992\e$BG/!"6e=#Bg3XBg3X1!9)3X8&5f2J>pJs9)3X@l96$X?J3X!#K\3JE*$K%$%s%?!<%M%C\e(B
9129 \e$B%H$N8&5f$K=>;v!#7PO)@)8f$r@lLg$H$9$k!#%;%-%e%j%F%#$NIa5Z3hF0$r3+;O!#=$;N\e(B
9130 2\e$BG/$N=U$K!"=q$/=q$/$H8@$C$F$J$+$J$+=q$+$J$+$C$?!V%O%C%T!<%M%C%H%o!<%-%s\e(B
9131 \e$B%0!W$r%j%j!<%9!#\e(B
9132 @end ifset
9133 @ifset us
9134 He took a course of Computer Science and Communication Engineering at
9135 the graduate school of Kyushu university in 1992. The specialty was
9136 Internet routing. He started to make security knowledge and technology
9137 widely spread to the Japan portion of the Internet community. He finally
9138 released "Happy Networking", one of the most popular beginner's guide of
9139 the Internet, in the spring of 1993.
9140 @end ifset
9141
9142 @ifset jp
9143 1994\e$BG/!"F`NI@hC<2J3X5;=QBg3X1!Bg3X$K=u<j$H$7$F="G$!#Ls\e(B4\e$BG/$NBg3X6541@83h\e(B
9144 \e$BCf$K!"\e(BMew \e$B$N3+H/$K<h$jAH$`!#!V<c$$$&$A$K%W%m%0%i%`$r=q$3$&!"650i$O:P$r$H$C\e(B
9145 \e$B$F$+$i$b$G$-$k$h$M!W$H$$$&7kO@$K;j$j!"\e(B1998\e$BG/\e(B IIJ \e$B5;=Q8&5f=j$K?7$?$J8&5f\e(B
9146 \e$B4D6-$r5a$a$?!#\e(B
9147 @end ifset
9148 @ifset us
9149 He moved to Nara Institute of Science and Technology as a research
9150 associate in 1994. During the four years of faculty life, he developed
9151 Mew. Since he reached a conclusion that he should concentrate on
9152 programming in young days and it's possible to educate students when he
9153 will became older, he moved to IIJ Research Laboratory in 1998.
9154 @end ifset
9155
9156 @ifset jp
9157 \e$B8&5fJ,Ln\e(B :: \e$B%a%C%;!<%8!&%7%9%F%`!"\e(BIP version 6@*
9158 \e$B$R$H$3$H\e(B :: \e$B!V$&$^$/@bL@$G$-$J$$$b$N$O!"K\<AE*$KM%$l$F$$$J$$!W\e(B@*
9159 \e$B$U$?$3$H\e(B :: \e$B!VM%$7$$$b$N$,M%$l$F$$$k!W\e(B
9160 @end ifset
9161 @ifset us
9162 Research areas: Messaging system, IP version 6@*
9163 Favorite words: "Challenges start everyday."@*
9164 Favorite words: "Living is learning. Giving is taking."
9165 @end ifset
9166
9167 Email: Kazu@@Mew.org@*
9168 URL: http://www.mew.org/~kazu/@*
9169 PGP fingerprint:  6B 63 38 88 67 5E 96 8E  CE A4 62 73 3F 11 64 94@*
9170
9171 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
9172 @c      Terminology
9173 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
9174
9175 @node Terminology, Bib, Author, Top
9176 @ifset jp
9177 @chapter \e$BMQ8l=8\e(B
9178 @end ifset
9179 @ifset us
9180 @chapter Terminology
9181 @end ifset
9182
9183 @ifset jp
9184 Mew \e$B$G;H$&C18l$r$^$H$a$^$9!#\e(B
9185 @end ifset
9186 @ifset us
9187 Here is terminology for Mew.
9188 @end ifset
9189
9190 @table @samp
9191 @ifset jp
9192 @item \e$B%U%)%k%@\e(B
9193 \e$B<u$1<h$C$?%a%C%;!<%8$rJ]B8$9$k%U%!%$%k$d%G%#%l%/%H%j\e(B
9194 @item Summary \e$B%b!<%I\e(B
9195 \e$B%a%C%;!<%8$N0lMw$rI=<($9$k%b!<%I\e(B
9196 @item Message \e$B%b!<%I\e(B
9197 \e$B%F%-%9%H%a%C%;!<%8$NFbMF$rI=<($9$k%b!<%I\e(B
9198 @item Draft \e$B%b!<%I\e(B
9199 \e$B%a%C%;!<%8$r=q$$$?$j!":n@.$7$?$j$9$k%b!<%I\e(B
9200 @item MIME
9201 \e$BK\J8$K%F%-%9%H0J30$N%*%V%8%'%/%H$r3JG<$7$?$j!"%X%C%@$KHs\e(B ASCII \e$BJ8;z$rA^\e(B
9202 \e$BF~$7$?$j$G$-$k5,3J!#\e(BMIME \e$B$r;H$($P!"K\J8$K%F%-%9%H!"3(!"2;@<$J$I$rF1;~$K\e(B
9203 \e$B<h$j9~$a!"$^$?!"\e(BSubject: \e$B$KF|K\8l$r=q$1$k!#\e(BMultipurpose Internet Mail
9204 Extensions \e$B$NN,>N$G!"!VB?L\E*%a!<%k!W$H8F$V$3$H$,$"$k!#\e(B
9205 \e$B>\$7$/$O!"\e(B@xref{MIME} \e$B$r;2>H!#\e(B
9206 @item PGP
9207 Phil Zimmermann \e$B;a$,:n@.$7$?0E9f%a%C%;!<%8$dEE;R=pL>$r<B8=$9$k%W%m%0%i%`!#\e(B
9208 Pretty Good Privacy \e$B$NN,!#\e(B
9209 @item \e$B%K%e!<%9\e(B
9210 \e$B%M%C%H%K%e!<%9!"$"$k$$$O!"\e(BUSENET \e$B%K%e!<%9$N$3$H!#\e(B
9211 @item \e$B%a%C%;!<%8\e(B
9212 \e$BEE;R%a!<%k$d%K%e!<%9!"$"$k$$$O!"\e(BMIME \e$B$J$I$NAm>N!#%$%s%?!<%M%C%H%a%C%;!<\e(B
9213 \e$B%8$N>JN,8l!#\e(B
9214 @end ifset
9215 @ifset us
9216 @item folder
9217 Directories to save received messages.
9218 @item Summary mode
9219 A mode to display a list of messages.
9220 @item Message mode
9221 A mode to display a content of a text message.
9222 @item Draft mode
9223 A mode to write or compose a message.
9224 @item MIME
9225 A format to contain objects other than text in a body and to embed
9226 non-alphabetical words in a header. With MIME you can enclose text
9227 files, picture files and audio files at the same time, and insert your
9228 first language such as Japanese into Subject:. It is an acronym of
9229 "Multipurpose Internet Mail Extensions". For more information, please
9230 refer to @xref{MIME}.
9231 @item PGP
9232 A program to accomplish encrypted message and digital signature created
9233 by Phil Zimmermann. An acronym for "Pretty Good Privacy".
9234 @item composer
9235 An interface to write or compose a message. Regarding with Mew, it is
9236 Draft mode.
9237 @item viewer
9238 An interface to read or view messages. As far as Mew is concerned, it is
9239 Summary mode and Message mode.
9240 @item Email
9241 A short word for "electronic mail".
9242 @item NetNews
9243 It was also known as "USENET news".
9244 @item message
9245 An integrated concept of Email, NetNews, MIME, etc. A short word of
9246 "Internet message".
9247 @end ifset
9248 @end table
9249
9250 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
9251 @c      Bib
9252 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
9253
9254 @node Bib, Variable Index, Terminology, Top
9255 @ifset jp
9256 @chapter \e$B;29MJ88%\e(B
9257 @end ifset
9258 @ifset us
9259 @chapter Bibliography
9260 @end ifset
9261
9262 @ifset jp
9263 \e$B$3$3$G$O!";29MJ88%$r>R2p$7$^$9!#\e(BRFC(Request For Comments) \e$B$O!"%$%s%?!<%M%C\e(B
9264 \e$B%H$GCN<1$r6&M-$9$k$?$a$K=q$+$l$?J88%$G$9!#$?$H$($P!"0J2<$N%5%$%H$+$iF~<j\e(B
9265 \e$B$G$-$^$9!#\e(B
9266 @end ifset
9267 @ifset us
9268 This section shows you bibliography. RFC(Request For Comments) is a
9269 series of documents to share our knowledge about the Internet Protocol
9270 suite. It is available, for instance, from the following repository.
9271 @end ifset
9272
9273 @example
9274 ftp://ftp.isi.edu/in-notes/
9275 @end example
9276
9277 @ifset jp
9278 \e$B%$%s%?!<%M%C%H$G$N%^%J!<$O!"0J2<$N\e(B RFC \e$B$rFI$s$G3X$s$G2<$5$$!#\e(B
9279 @end ifset
9280 @ifset us
9281 Please read the following RFC to learn manner on the Internet.
9282 @end ifset
9283
9284 @itemize @bullet
9285 @item
9286 S. Hambridge, "Netiquette Guidelines", RFC 1855, 1995
9287 @end itemize
9288
9289 @ifset jp
9290 \e$B@N$N%F%-%9%H!&%a!<%k$N=q<0$dG[Aw$N;EAH$_$O0J2<$N\e(B RFC \e$B$r;2>H$7$^$7$g$&!#\e(B
9291 @end ifset
9292 @ifset us
9293 To understand the format of good old text Email and the delivery system,
9294 please refer to:
9295 @end ifset
9296
9297 @itemize @bullet
9298 @item
9299 D. Crocker, 
9300 "Standard for the format of ARPA Internet text messages", 
9301 RFC 822, 1982
9302 @item
9303 J. Postel, 
9304 "Simple Mail Transfer Protocol", 
9305 RFC 821, 1982
9306 @end itemize
9307
9308 @ifset jp
9309 MIME \e$B$K$D$$$F$O!"0J2<$N\e(B RFC \e$B$rFI$s$G2<$5$$!#\e(B
9310 @end ifset
9311 @ifset us
9312 MIME is specified in the following RFCs.
9313 @end ifset
9314
9315 @itemize @bullet
9316 @item
9317 N. Freed and N. Borenstein, "Multipurpose Internet Mail Extensions
9318 (MIME) Part One: Format of Internet Message Bodies", RFC 2045, 1996.
9319 @item
9320 N. Freed and N. Borenstein, "Multipurpose Internet Mail Extensions
9321 (MIME) Part Two: Media Types" RFC 2046, 1996.
9322 @item
9323 K. Moore, "MIME (Multipurpose Internet Mail Extensions) Part Three:
9324 Message Header Extensions for Non-ASCII Text", RFC 2047, 1996.
9325 @item
9326 N. Freed, J. Klensin and J. Postel, "Multipurpose Internet Mail
9327 Extensions (MIME) Part Four: Registration Procedures", RFC 2048, 1996.
9328 @item 
9329 N. Freed and N. Borenstein, "Multipurpose Internet Mail Extensions
9330 (MIME) Part Five: Conformance Criteria and Examples", RFC 2049, 1996.
9331 @item
9332 R. Troost, S. Dorner, K. Moore, "Communicating Presentation Information
9333 in Internet Messages: The Content-Disposition Header Field", RFC 2183,
9334 1997.
9335 @item
9336 N. Free and K. Moore, "MIME Parameter Value and Encoded Word Extensions:
9337 Character Sets, Languages, and Continuations", RFC 2231, 1997.
9338 @end itemize
9339
9340 @ifset jp
9341 \e$B%K%e!<%9$N=q<0$HG[Aw%W%m%H%3%k$O!"0J2<$N\e(B RFC \e$B$GDj5A$5$l$F$$$^$9!#\e(B
9342 @end ifset
9343 @ifset us
9344 You can find the format and distribution protocol of NetNews in the
9345 following RFCs.
9346 @end ifset
9347
9348 @itemize @bullet
9349 @item
9350 M. Horton and R. Adams, "Standard for interchange of USENET messages",
9351 RFC 1036, 1987.
9352 @item
9353 B. Kantor and P. Lapsley, "Network News Transfer Protocol: A Proposed
9354 Standard for the Stream-Based Transmission of News", RFC 977, 1986.
9355 @end itemize
9356
9357 @ifset jp
9358 PGP \e$B$r3X$V$J$i!"0J2<$N=q@R$,$$$$$G$7$g$&!#\e(B
9359 @end ifset
9360 @ifset us
9361 The following document contains concise yet comprehensive explanations
9362 about PGP.
9363 @end ifset
9364
9365 @itemize @bullet
9366 @item
9367 PGP: Petty Good Privacy, Simson Garfinkel, O'Reilly & Associates, Inc,
9368 1995. 
9369 @ifset jp
9370 (\e$BLu=q\e(B:: "PGP \e$B0E9f%a!<%k$HEE;R=pL>\e(B", Simson Garfinkel \e$BCx\e(B, \e$B;3K\OBI'\e(B
9371 \e$B4FLu\e(B, \e$B3t<02q<R%*%i%$%j!<%8%c%Q%s\e(B, 1996.)
9372 @end ifset
9373 @end itemize
9374
9375 @ifset jp
9376 PGP \e$B$H\e(B MIME \e$B$NE}9g$K$D$$$F$O!"0J2<$r;2>H$7$F2<$5$$!#\e(B
9377 @end ifset
9378 @ifset us
9379 For details of an integration of PGP and MIME, please refer to:
9380 @end ifset
9381
9382 @itemize @bullet
9383 @item
9384 J. Galvin, S. Murphy, S. Crocker and N. Freed, "Security Multiparts for
9385 MIME: Multipart/Signed and Multipart/Encrypted", RFC 1847, 1995.
9386 @item
9387 M. Elkins, "MIME Security with Pretty Good Privacy (PGP)", RFC 2015,
9388 1996.
9389 @end itemize
9390
9391 @ifset jp
9392 \e$B%a!<%k$N4pACCN<1$O!"\e(BMew \e$B%K%e!<%9%l%?!<$K$^$H$a$i$l$F$$$^$9!#\e(B
9393 http://www.Mew.org/ \e$B$r;2>H$7$F2<$5$$!#\e(B
9394 @end ifset
9395
9396 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
9397 @c      Variable Index
9398 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
9399
9400 @node Variable Index,  , Bib, Top
9401 @ifset jp
9402 @chapter \e$BJQ?t:w0z\e(B
9403 @end ifset
9404 @ifset us
9405 @chapter Variable Index
9406 @end ifset
9407
9408 @printindex vr
9409
9410 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
9411 @c      Tailer
9412 @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
9413
9414 @shortcontents
9415 @contents
9416 @bye