Ubuntu Manpages
input texinfo @c -*-texinfo-*- @c %**start of header @setfilename mew-ja.info @settitle Mew(Messaging in the Emacs World) @c footnotestyle separate @c paragraphindent 2 @c %**end of header

@clear jp @clear us @set jp

@ifset jp @c Mew ?$B$N?(B texinfo @c Copyright (C) 1996, 1997, 1998, 1999 ?$B;3KI'?(B @c M-x texinfo-format-buffer ?$B$G?(B info ?$B$K$7$F$M!#?(B @end ifset @ifset us @c Texinfo for Mew @c Copyright (C) 1996, 1997, 1998, 1999 Kazuhiko Yamamoto @c Try "M-x texinfo-format-buffer" or makeinfo to get the Info. @end ifset

@set version 1.94.2 @set modified 1999/11/16 @set X-Mailer: Mew version 1.94 on XEmacs 20.4

@titlepage @sp 10 @center @subtitle Messaging in the Emacs World @ifset jp @title ?$B!X?(BMew?$B!Y?(B @subtitle // ?$B$_$e$&?(B // @author Copyright @copyright{}1996, 1997, 1998, 1999 ?$B;3KI'?(B @end ifset @ifset us @title Mew @author Copyright @copyright{}1996, 1997, 1998, 1999 Kazuhiko Yamamoto @end ifset @end titlepage

@ifset jp @dircategory Message User Agent @direntry * Mew-J: (mew.jis.info). Messaging in the Emacs World (?$BF|K8lHG?(B). @end direntry @end ifset

@ifset us @dircategory Message User Agent @direntry * Mew: (mew.info). Messaging in the Emacs World. @end direntry @end ifset

@c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @c Top @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

@ifinfo

@node Top, Overview, (dir), (dir) @ifset jp @top Mew ?$B%^%K%e%"%k?(B @end ifset @ifset us @top Mew Manual @end ifset

@flushright @ifset jp ?$B;3KI'?(B ?$B:n@.?(B 1996/02/19 ?$B99?7?(B@value{modified} @end ifset @ifset us Kazu YAMAMOTO Created 1996/02/18 Modified@value{modified} @end ifset @end flushright

@ifset jp ?$B$3$N?(B Info ?$B$O?(B Mew ?$B%P!<%8%g%s?(B@value{version} ?$B$K$D$$$F2r@b$7$^$9!#$3$N?(B Info ?$B$NB>$K!"?(BMew ?$B$K4X$9$kM-1W$J>pJs$O?(B Mew ?$B$N8x<0%[!<%`%Z!<%8?(B (http://www.Mew.org/)?$B$+$iF@$i$l$k$+$b$7$l$^$;$s!#?(B @end ifset @ifset us This Info documents Mew version @value{version}. In addition to this Info, you may find useful information about Mew from Mew's official home page(http://www.Mew.org/). @end ifset

@end ifinfo

@menu @ifset jp * Overview:: ?$B$O$8$a$KFI$s$G$M?(B * Start:: ?$B$5$!;O$a$h$&!*?(B * Viewing:: ?$B%a%C%;!<%8$rI=<($9$k?(B * Composing:: ?$B%a%C%;!<%8$r:n@.$9$k?(B * Marks:: ?$BL{2w$J%^!<%/$?$A?(B * Refile:: ?$B3Z!9@0M}@0F(B * Pick:: ?$B$*LN%a%C%;!<%8$rA*Br$9$k$K$O?(B * Quit:: ?$B0l5Y$_?(B * Customize:: ?$B<+J,9%$_$N?(B Mew ?$B$K$9$k$K$O?(B * XEmacs:: ?$B%"%$%3%s$N$"$k@83h?(B * Convention:: ?$B%a%C%;!<%8$N:nK!?(B * MIME:: MIME ?$B$C$F$J$!$K!)?(B * Kanji:: ?$BSK8F4A;z%3!<%I?(B * Policy:: Mew ?$B$N$3$@$o$j?(B * History:: Mew ?$B$NMh$?F;?(B * Future:: Mew ?$B$N9T$/F;?(B * Avail:: ?$BF~<jJ}K!$H%a!<%j%s%0%j%9%H?(B * Ack:: ?$B<U<-?(B * Copyright:: ?$BCx:n8"$K$D$$$F?(B * Author:: ?$BCx<T>R2p?(B * Terminology:: ?$B8lWC=8?(B * Bib:: ?$B;29MJ88%?(B * Variable Index:: ?$BJQ?t:w0z?(B @end ifset @ifset us * Overview:: Read me first * Start:: Let's get started * Viewing:: Viewing messages * Composing:: Composing messages * Marks:: Funny marks * Refile:: Happy refiling * Pick:: How to select messages which you want * Quit:: Give me a break * Customize:: Customizing Mew * XEmacs:: Life with icons * Convention:: Email convention * MIME:: What's MIME? * Kanji:: Ahhh, Kanji code * Policy:: Mew's policy * History:: Where did Mew come from? * Future:: Where will Mew go? * Avail:: Availability and mailing-list * Ack:: Acknowledgement * Copyright:: Copyright * Author:: About the author * Terminology:: Terminology * Bib:: Bibliography * Variable Index:: Variable Index @end ifset @end menu

@c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @c Overview @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

@node Overview, Start, Top, Top @ifset jp @chapter ?$B$O$8$a$KFI$s$G$M?(B @end ifset @ifset us @chapter Read me first @end ifset

@ifset jp Mew ?$B$H$O!"?(B @end ifset @ifset us Mew is an interface to integrate @end ifset

@itemize @minus @ifset jp @item ?$BEE;R%a!<%k?(B @item ?$B%M%C%H%K%e!<%9?(B @item MIME(Multipurpose Internet Mail Extensions) @item PGP(Pretty Good Privacy) @end ifset @ifset us @item Email @item NetNews @item MIME(Multipurpose Internet Mail Extensions) @item PGP(Pretty Good Privacy) @end ifset @end itemize

@ifset jp ?$B$rE}9g$7!"4JC1$KFI$_=q$-$9$k$?$a$N%$%s%?!<%U%'%$%9$G$9!#?(BMew ?$B$r;H$($P!"M'?(B ?$BC#$NCB@8F|$K%1!<%-$N3($H!V?(BHappy Birthday to You?$B!W$N2N$rE:$($?%a%C%;!<%8?(B ?$B$r0E9f2=$7$FAw$l$^$9!#%M%C%H%K%e!<%9$NE}9g$O!"?(B2.xx ?$B0J9_$GM=Dj$7$F$$$^$9!#?(B @end ifset @ifset us and to make it easy to view and compose them. With Mew you can send a picture of a birthday cake with the song "Happy Birthday to you" to your friend, which is encrypted by strong cryptograph. NetNews is supposed to be integrated in version 2.xx or later. @end ifset

@ifset jp Mew ?$B$O?(B ?$B!V?(BMessaging in the Emacs World?$B!W?(B ?$B$NN,$G$9!#@hF,$N?(B M ?$B$OBgJ8;z$GI=?(B ?$B5-$7!"!V$_$e$&!W$HFI$_$^$9!#?(BM ?$B$G;O$^$k$+$o$$$i$7$$C18l$rA*$s$@7k2L?(B Mew ?$B$K$J$j$^$7$?!#7h$7$FL!2h$NBjL>$dK?%"%$%I%k$N2N!"$"$k$$$O!"4X@>$N2q<R$K0x?(B ?$B$s$G$$$k$o$1$G$O$"$j$^$;$s!#?(B:p @end ifset @ifset us Mew is an acronym of "Messaging in the Emacs World". You should spell it with the first letter capitalized and pronounce it as it is(i.e. meow of cats). When the author started programming it, he chose a cute word from his English dictionary. So, Mew. @end ifset

@ifset jp Mew ?$B%P!<%8%g%s?(B 1.9x ?$B$NFCD9$r0J2<$K<($7$^$9!#?(B @end ifset @ifset us The features of Mew version 1.9x are as follows: @end ifset

@itemize @minus @item @ifset jp ?$BJ#;($J9=B$$r;}$D%a%C%;!<%8$r4JC1$KI=<($G$-$^$9!#%a%C%;!<%8$rI=<($9$k:n6H?(B ?$B$O!"?(B@samp{SPC} ?$B$r2!$9$@$1$G$9!#?(B @end ifset @ifset us You can easily display a very complicated structured message. What you should do to view messages is just type @samp{SPC}. @end ifset

@item @ifset jp ?$B%3%T!<DxEY$N%U%!%$%k$NA`:n$rCN$C$F$$$k?M$J$i$@$l$G$b4JC1$KJ#;($J%a%C%;!<?(B ?$B%8$r:n@.$G$-$^$9!#?(B @end ifset @ifset us If you know file operations such as copy, you can compose a very complicated message without any troubles. @end ifset

@item @ifset jp ?$B%a%C%;!<%8$N0lMwI=<($,=*N;$9$k$^$GBT$?$J$/$F$b!"%a%C%;!<%8$rFI$_;O$a$i$l?(B ?$B$^$9!#?(B @end ifset @ifset us You can start to read messages before the termination of listing of messages. @end ifset

@item @ifset jp Summary ?$B%b!<%I$N%a%C%;!<%8$N0lMw$rJ]B8$7$F$$$k$N$G!"%U%)%k%@$r0$7$?>l?(B ?$B9g$O!"99?7$5$l$?ItJ,$@$1$r0lMwI=<($7$^$9!#?(B @end ifset @ifset us Since Mew preserves lists of messages in Summary mode, you can list up the gap between the last and current incrementally when you move into. @end ifset

@item @ifset jp ?$B%a%C%;!<%8$N@0F@h$r8-$/?dB,$7$^$9?(B(?$B$?$/$5$s%a%C%;!<%8$r<u$1<h$k?M$O!"$3?(B ?$B$l$,$J$$$H@8$-$F$$$1$^$;$s?(B)?$B!#?(B @end ifset @ifset us Mew neatly guesses a default folder for refiling(Those who receives many messages cannot live without this feature). @end ifset

@item @ifset jp Draft ?$B%b!<%I$G$O!"%U%#!<%k%IL>!"%"%I%l%9!";aL>!"%I%a%$%sL>!"%U%)%k%@L>$r?(B ?$BJd40$G$-$^$9!#?(B @end ifset @ifset us In Draft mode, you can complete field names, Email addresses, receiver's names, domain names, and folder names. @end ifset

@item @ifset jp Subject: ?$B$d?(B Date: ?$B$J$I$r>r7o$K;XDj$7$F!"4JC1$K%a%C%;!<%8$rA*Br$G$-$^$9!#?(B @end ifset @ifset us You can easily pick up messages which you want by specifying conditions such as Subject: and Date:. @end ifset

@item @ifset jp ?$BJXMx$J%^!<%/$,Ds6!$5$l$F$$$^$9!#?(Buuencode ?$B$7$?8e$GJ,3d$5$l$?%a%C%;!<%8$K?(B ?$B%^!<%/$rIU$1$F!"0lEY$K85$N%U%!%$%k$KLa$;$^$9!#?(B @end ifset @ifset us Useful marks are provided. You can handle "encoded with uuencode then split" messages with one operation. @end ifset

@item @ifset jp PGP ?$B$G0E9f2=$5$l$?%a%C%;!<%8$r<+F0E*$KI|9f2=$7$^$9!#$^$?!"EE;R=pL>$r<+F0?(B ?$BE*$K8!>Z$7$^$9!#?(B @end ifset @ifset us Mew automatically decodes a message encrypted with PGP. It also automatically verifies a signed message. @end ifset

@item @ifset jp PGP ?$B$r;H$C$F!"%a%C%;!<%8$r4JC1$K0E9f2=$7$?$j!"=pL>$7$?$j$G$-$^$9!#?(B @end ifset @ifset us You can easily encrypt or sign a message with PGP. @end ifset

@item @ifset jp MIME ?$B$N9=B$$r2r@O$7$?$j!"?(BPGP ?$B$N=pL>$r8!>Z$7$?$j$9$k$N$K$O>/$7;~4V$,$+$+?(B ?$B$j$^$9!#$=$3$G!"%f!<%6$,$"$k%a%C%;!<%8$rFI$s$G$$$k4V$K!"<!$N%a%C%;!<%8$r?(B ?$B$"$i$+$8$a=hM}$7$F$*$/$3$H$G9bB.@-$r<B8=$7$F$$$^$9!#2r@O$5$l$?%a%C%;!<%8?(B ?$B$O!"$7$P$i$/$N4VJ]B8$5$l$^$9!#?(B @end ifset @ifset us It takes a time to analyze MIME syntax or to verify a PGP signature. While a user read a message, Mew processes the next message so as to display the next message faster. Analyzed messages are cached for a while. @end ifset

@item @ifset jp ?$BJ#?t$N%U%)%k%@$r?(B1?$B$D$N%U%)%k%@$K8+$;$+$1$i$l$^$9!#?(B @end ifset @ifset us You can give a single view for multiple folders. @end ifset

@item @ifset jp XEmacs ?$B$G$O!"?(BEmacs ?$B$G$N%-!<F~NO$K$h$k%$%s%?!<%U%'%$%9$HA4$/F1$85!G=$r;}?(B ?$B$D%"%$%3%s!&%Y!<%9$N%$%s%?!<%U%'%$%9$,Ds6!$5$l$F$$$^$9!#?(B @end ifset @ifset us If you use Mew on XEmacs, you can enjoy icon-based interface which is equivalent to key-based interface. @end ifset

@end itemize

@ifset jp Mew ?$B$O!"?(BEmacs 19.28?$B!"?(B19.34?$B!"?(B20.3 ?$B0J9_!"?(BMule 2.3 ?$B0J9_!"$*$h$S!"?(BXEmacs 20.4 ?$B0J9_$r%5%]!<%H$7$F$$$^$9!#$3$l$i0J30$N?(B Emacs?$B!"$?$H$($P!"?(BEmacs 18?$B!"?(B Nemacs?$B!"?(BMule 1 ?$B$*$h$S?(B XEmacs 19?$B!"?(B20.3 ?$B$J$I$O%5%]!<%H$7$F$$$^$;$s$7!":#8e?(B ?$B$b%5%]!<%H$9$kM=Dj$O$"$j$^$;$s!#$^$?!"?(Bbeta ?$B%j%j!<%9$G$"$k?(B Emacs ?$B$r%5%]!<?(B ?$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?(B ?$B%j!<%9$G$"$k?(B Emacs ?$B$N;EMM$K9g$o$;$^$9!#?(B @end ifset @ifset us Mew is officially supposed to run on Emacs 19.28, 19.34, and 20.3 or later, Mule 2.3 or later, and XEmacs 20.4 or later. Emacs other than described, such as Emacs 18, Nemacs, Mule 1, and XEmacs 19 and 20.3 are not and will not be supported in the future. Mew may support beta versions of Emacs but Mew conforms the spec of official release when available. @end ifset

@ifset jp ?$B$3$N%^%K%e%"%k$GC1$K?(B Emacs ?$B$H8@$C$?>l9g$K$O!"%5%]!<%H$7$F$$$k$9$Y$F$N%W?(B ?$B%i%C%H%U%)!<%`$r0UL#$7$^$9!#?(BMule ?$B$H$$$C$?>l9g$O!"B?9q8l$,MxMQ$G$-$k?(B Mule 2 ?$B$H?(B Emacs 20?$B!"$=$7$F!"?(B--with-mule ?$B%*%W%7%g%sIU$-$G%3%s%Q%$%k$7$??(B XEmacs 20.4 ?$B$r;X$7$^$9!#$3$l$KBP$7!"?(BBilingual Emacs ?$B$H8@$C$?>l9g$K$O!"1Q8l$H?(B Latin 1 ?$B$7$+%5%]!<%H$7$F$$$J$$?(B Emacs 19 ?$B$H?(B --with-mule ?$B%*%W%7%g%sL5$7$G?(B ?$B%3%s%Q%$%k$7$??(B XEmacs 20.4 ?$B$r0UL#$7$^$9!#$^$?!"?(BXEmacs ?$B$H8@$C$?>l9g$K$O!"?(B ?$B%0%i%U%#%C%/$r3Z$7$a$k?(B XEmacs 20.4 ?$B$r;X$7$^$9!#H?BP$K!"%F%-%9%H$7$+I=<(?(B ?$B$G$-$J$$?(B Emacs ?$B$O!"?(BText Emacs ?$B$H8F$S$^$9!#?(B @end ifset @ifset us Throughout this manual, "Emacs" means all supported platforms. "Mule" indicates multi-lingual platforms such as Mule 2, Emacs 20, and XEmacs 20.4 complied with the --with-mule option while "Bilingual Emacs" means English-and-Latin1 platforms including Emacs 19 and XEmacs 20.4 complied without the --with-mule option. "XEmacs" indicates graphical platforms such as XEmacs 20.4 whereas text-only platforms are called "Text Emacs". @end ifset

@c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @c Start @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

@node Start, Viewing, Overview, Top @ifset jp @chapter ?$B$5$!;O$a$h$&!*?(B @end ifset @ifset us @chapter Let's get started @end ifset @vindex mew-auto-get @vindex mail-user-agent @vindex mew-mail-domain-list @vindex mew-icon-directory

@ifset jp Mew ?$B$K$O<!$N?(B 5 ?$B$D$N%b!<%I$,$"$j$^$9!#?(B @end ifset @ifset us Mew has the following five modes: @end ifset

@itemize @minus @item @ifset jp Summary ?$B%b!<%I?(B :: ?$B%a%C%;!<%8$N0lMw$rI=<($7A*Br$9$k%b!<%I!#?(B @end ifset @ifset us Summary mode :: A mode to list up messages and to select one. @end ifset

@item @ifset jp Virtual ?$B%b!<%I?(B :: ?$BJ#?t$N%U%)%k%@$+$i$"$k>r7o$K9gCW$7$?%a%C%;!<%8$r<h$j=P?(B ?$B$7!"2>A[E*$K?(B1?$B$D$N%U%)%k%@$K$7$?%b!<%I!#?(BSummary ?$B%b!<%I$K;w$F$$$k!#?(B @end ifset @ifset us Virtual mode :: A mode to list up messages selected with a specific condition from folders. It's similar to Summary mode. @end ifset

@item @ifset jp Message ?$B%b!<%I?(B :: ?$B%F%-%9%H$NFbMF$rI=<($9$k%b!<%I!#?(B @end ifset @ifset us Message mode :: A mode to display a content of text. @end ifset

@item @ifset jp Draft ?$B%b!<%I?(B :: ?$B%a%C%;!<%8$NAw?.!"JVEz!"E>Aw$r=`Hw$9$k$?$a$N%b!<%I!#?(B @end ifset @ifset us Draft mode :: A mode to prepare a message to be sent, answered, and forwarded. @end ifset

@item @ifset jp Addrbook ?$B%b!<%I?(B :: ?$B%"%I%l%9D"$K%(%s%H%j$rEPO?$9$k$?$a$N%b!<%I!#?(B @end ifset @ifset us Addrbook mode :: A mode to register an entry to Addrbook. @end ifset @end itemize

@ifset jp Mew ?$B$r5/F0$9$k$K$O!"0J2<$NJ}K!$,$"$j$^$9!#?(B @end ifset @ifset us To start Mew, you can choose one from the followings: @end ifset

@enumerate @item @ifset jp @samp{M-x mew} :: Mew ?$B$r5/F0$9$k!#?(B@samp{mew-auto-get} ?$B$,?(B @samp{t} ?$B$J$i!"?(B ?$BE~Ce$7$?%a%C%;!<%8$r?(B +inbox ?$B%U%)%k%@$KJ]B8$7$J$,$i!"?(B+inbox ?$B$N%a%C%;!<%8?(B ?$B$r?(B Summary ?$B%b!<%I$K0lMwI=<(!#?(B@samp{mew-auto-get} ?$B$,?(B @samp{nil} ?$B$J$i!"C1?(B ?$B$K?(B +inbox ?$B$N%a%C%;!<%8$r?(B Summary ?$B%b!<%I$K0lMwI=<(!#?(B @end ifset @ifset us @samp{M-x mew} :: Execute Mew. If @samp{mew-auto-get} is @samp{t}, messages stored in your spool are fetched to the +inbox folder and messages in the +inbox folder are listed up in Summary mode. If @samp{mew-auto-get} is @samp{nil}, simply list up messages in the inbox folder. @end ifset

@item @ifset jp @samp{C-uM-x mew} :: @samp{mew-auto-get} ?$B$NCM$r5U$@$H;W$C$F!"?(B@samp{M-x mew} ?$B$r<B9T$9$k!#?(B @end ifset @ifset us @samp{C-uM-x mew} :: Perform @samp{M-x mew} thinking that @samp{mew-auto-get} is reversed. @end ifset

@item @ifset jp @samp{M-x mew-send} :: ?$B%a%C%;!<%8$r=q$/$?$a$N?(B Draft ?$B%b!<%I$X09T$9$k!#?(B @end ifset @ifset us @samp{M-x mew-send} :: Enter Draft mode for message composing. @end ifset

@item @ifset jp @samp{C-xm} :: @samp{mail-user-agent} ?$B$,@_Dj$5$l$F$$$k>l9g!"?(BDraft ?$B%b!<%I?(B ?$B$X09T$9$k!#?(B @end ifset @ifset us @samp{C-xm} :: Enter Draft mode for message composing if @samp{mail-user-agent} is configured. @end ifset @end enumerate

@ifset jp Text Emacs ?$B$G?(B Mew ?$B$r5/F0$7$?:]$K$O!"?(BMew ?$B$r7?$I$C$?!V?(B/\ - \/?$B!W$H$$$&?^?(B ?$B7A$,$/$k$/$k$H2s$k%G%b$,;O$^$j$^$9!#?(BXEmacs ?$B$G$O!"2D0&$$?(B2?$BI$$N;RG-$,%*!<%W?(B ?$B%K%s%0$r>~$j$^$9!#?(B @end ifset @ifset us When Mew is executed on Text Emacs, a shape of "/\ - \/", which stands for Mew, spins. Two cute cats appear on the cover page on XEmacs. @end ifset

@ifset jp ?$BE~Ce$7$?%a%C%;!<%8$r?(B +inbox ?$B%U%)%k%@$K<h$j9~$`:]$K$O%Q%9%o!<%I$r?V$+$l$k?(B ?$B$3$H$,$"$j$^$9!#%Q%9%o!<%I$rF~NO$9$kA0$K0J2<$N>r7o$N$$$:$l$+$,K~$?$5$l$F?(B ?$B$$$k$3$H$r3NG'$7$^$7$g$&!#?(B

@itemize @minus @item Emacs ?$B$,%m!<%+%k$N%3%s%T%e!<%?$GF0$$$F$$$k?(B @item Emacs ?$B$,%j%b!<%H$N%3%s%T%e!<%?$GF0$$$F$$$k$,!"$J$s$i$+$N0E9f<jCJ$r;H$C$F?(B ?$BDL?.$7$F$$$k!#?(B @end itemize

?$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?(B ?$B$k$HEpD0$5$l$k62$l$,$"$j$^$9!#?(B @end ifset @ifset us When fetching messages stored in your spool, you may be required to input your password. Before you type your password, carefully see if either the following conditions is satisfied:

@itemize @minus @item Emacs is running on a local computer @item Though Emacs is running on a remote computer, an encryption mechanism is used for the communication. @end itemize

If both conditions are not satisfied, don't input password. Otherwise, your password would be wire-tapped. @end ifset

@ifset jp ?$B$b$7?(B Mew ?$B$,5/F0$5$l$J$$>l9g$O!"?(BMew ?$B$d?(B IM ?$B$,%$%s%9%H!<%k$5$l$F$$$k$+!"$^?(B ?$B$?0J2<$,AH?%$N@_Dj%U%!%$%k$+<+J,$N?(B .emacs ?$B$G@_Dj$5$l$F$$$k$+3N$+$a$F2<$5?(B ?$B$$!#?(B @end ifset @ifset us If Mew is not executed, see whether or not both Mew and IM is installed and/or whether or not the following configurations are put into a site configuration file or your ".emacs". @end ifset

@example (autoload 'mew "mew" nil t) (autoload 'mew-send "mew" nil t) (setq mew-mail-domain-list '("your mail domain")) (setq mew-icon-directory "a directory where Mew's image files are installed.") (autoload 'mew-user-agent-compose "mew" nil t) (if (boundp 'mail-user-agent)
(setq mail-user-agent 'mew-user-agent)) (if (fboundp 'define-mail-user-agent)
(define-mail-user-agent
'mew-user-agent
'mew-user-agent-compose
'mew-draft-send-letter
'mew-draft-kill
'mew-send-hook)) @end example

@c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @c Viewing @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

@node Viewing, singlepart, Start, Top @ifset jp @chapter ?$B%a%C%;!<%8$rI=<($9$k?(B @end ifset @ifset us @chapter Viewing messages @end ifset

@ifset jp @samp{M-x mew} ?$B$HF~NO$9$k$H!"?(BMew ?$B$O%9%W!<%k$N%a%C%;!<%8$r?(B +inbox ?$B%U%)%k?(B ?$B%@$K0$F0J2<$N$h$&$K0lMwI=<($7$^$9!#?(B @end ifset @ifset us If you input @samp{M-x mew}, Mew moves messages from your spool to the +inbox folder and displays as follows: @end ifset

@example @ifset jp
1 07/17 ?$B$$$H$B$e$s?(B v6: items to be no in6_pcbnotify()?$B$,$J$K$b?(B
2 07/18 ?$B2NBe@h@8?(B Re: behavior after ?$B$3$l!"?(Bmark-ring ?$B$,$I$s$I?(B
3 07/19 ?$B$N$`$5$s?(B refile info. ?$BG5B<$G$9!#CY$/$J$j$^$7$?!#?(B @end ifset @ifset us
1 07/17 Itojun v6: items to be no in6_pcbnotify() doesn't
2 07/18 Utashiro Re: behavior after I'm afraid that mark-ring
3 07/19 Nom-sun refile info. Sorry for my late respon @end ifset @end example

@ifset jp ?$B$3$l$r?(B Summary ?$B%b!<%I$H$$$$$^$9!#$3$3$G$O!"<g$K?(B Summary ?$B%b!<%I$G$N%a%C%;!<?(B ?$B%8$NFI$_J}$K$D$$$F@bL@$7$^$9!#?(B @end ifset @ifset us We call this Summary mode. This section mainly explains how to read messages in Summary mode. @end ifset

@menu @ifset jp * singlepart:: ?$BFI$_J}$N4pAC?(B * multipart:: MIME ?$B$rI=<($9$k?(B * pgp-viewing:: PGP/MIME ?$B$rI=<($9$k?(B * folder:: ?$B%U%)%k%@$N99?7$H0?(B * sum-write:: ?$BAw?.!"JVEz!"E>Aw?(B * features:: ?$BJXMx$J5!G=?(B * sorting:: ?$B%a%C%;!<%8$N%=!<%H?(B * illegal:: ?$B2=$1$?%a%C%;!<%8?(B @end ifset @ifset us * singlepart:: Reading Basis * multipart:: Displaying MIME * pgp-viewing:: Visualizing PGP/MIME * folder:: Updating and visiting folder * sum-write:: Write, answer, and forward * features:: Useful features * sorting:: Sorting messages * illegal:: Scrambled message @end ifset @end menu

@c %%%%%%%%%%%%%%%%% @node singlepart, multipart, Viewing, Viewing @ifset jp @section ?$BFI$_J}$N4pAC?(B @end ifset @ifset us @section Reading Basis @end ifset @vindex mew-file-max-size

@ifset jp ?$B%a%C%;!<%8$r>e$+$i=g$KFI$s$G$$$/$N$G$"$l$P!"?(B@samp{SPC} ?$B$rE,592!$9$@$1$G?(B ?$B$9!#4JC1$G$7$g!)?(B @end ifset @ifset us To read messages in arrival order, type @samp{SPC} to display them. That's it. It's easy, isn't it? @end ifset

@ifset jp ?$B$7$+$7$=$l$@$1$G$O$"$s$^$j$J$N$G!"0J2<$K%Z!<%8$rA`:n$9$k4pKJ%3%^%s%I?(B ?$B$r<($7$^$9!#?(B @end ifset @ifset us Yet this might not be comprehensive, so we list up basic commands for page process as follows: @end ifset

@table @samp @ifset jp @item SPC ?$B%a%C%;!<%8$rFI$_?J$a$k!#$D$^$j!"%a%C%;!<%8$rI=<($7!"%9%/%m!<%k$5$;!"B>$N?(B ?$B%a%C%;!<%8$K0$7$FI=<($9$k!#%+!<%=%k$,0$9$kJ}8~$O!"?(B@xref{level-one} ?$B$r;2>H$N$3$H!#?(B @item DEL ?$B8=:_$N%a%C%;!<%8$r>e$K%9%/%m!<%k$5$;$k!#ITI,MW$J%X%C%@%U%#!<%k%I$O!"%&%$?(B ?$B%s%I%&$N>e$K1#$l$F$$$k!#$h$C$F!"?(B@samp{DEL} ?$B$rF~NO$9$k$H!"$=$l$i$,8=$l$k!#?(B @item . ?$B%a%C%;!<%8$,?(B @samp{mew-file-max-size} ?$B$r1[$($F$$$k>l9g$O!"?(BMIME ?$B$N2r@O$,?(B ?$BCf;_$5$l!"%a%C%;!<%8$N@hF,ItJ,$,@8$G%a%C%;!<%8!&%P%C%U%!$KI=<($5$l$k!#$3?(B ?$B$N$h$&$J>l9g$K!"?(B@samp{.} ?$B$r2!$9$H!"6/@)E*$K?(B MIME ?$B$,2r@O$5$l%a%C%;!<%8$,?(B ?$BI=<($5$l$k!#?(B @item , MIME ?$B2r@O$r$7$F$$$J$$@8$N%a%C%;!<%8$rI=<($9$k!#%a%C%;!<%8$NFb?(B @samp{mew-file-max-size} ?$B$G;XDj$5$l$?%P%$%H?t0J2<$NItJ,$rI=<($9$k!#?(B @samp{C-u} ?$B$H6&$K8F$P$l$k$H!"%a%C%;!<%8A4BN$r@8$GI=<($9$k!#?(B @item RET ?$B8=:_$N%a%C%;!<%8$r?(B1?$B9T>e$K%9%/%m!<%k$9$k!#?(B @item M-RET @item - ?$B8=:_$N%a%C%;!<%8$r?(B1?$B9T2<$K%9%/%m!<%k$9$k!#?(B @end ifset @ifset us @item SPC Read through messages. That is, display a message, scroll it, and move-then-display another message. Refer to @xref{level-one} to know which direction the cursor moves. @item DEL Back-scroll this message. Unnecessary header fields are hidden over the window. Type @samp{DEL} to see them when a message is displayed. @item . If the size of a message exceeds @samp{mew-file-max-size}, MIME analysis is skipped then the beginning of the raw message is displayed. In this case, type @samp{.} to force MIME analysis. @item , Display this message in the raw format(i.e. without MIME analysis). The beginning part of the message, whose size specified by @samp{mew-file-max-size}, is displayed. If called with @samp{C-u}, the entire message is displayed in the raw format. @item RET Make this message scroll up with one line. @item M-RET @item - Make this message scroll down with one line. @end ifset @end table

@table @samp @ifset jp @item C-n ?$B2<$N9T$X0!#?(B @item C-p ?$B>e$N9T$X0!#?(B @item n ?$B2<J}8~$K0$7I=<(!#BP>]$H$J$k$N$O!"%Q!<%H!"?(B@samp{*} ?$B%^!<%/$NIU$$$?%a%C?(B ?$B%;!<%8!"%^!<%/$NIU$$$F$$$J$$%a%C%;!<%8!#?(B@samp{C-u} ?$B$H6&$K8F$P$l$k$H!"%Q!<?(B ?$B%HItJ,$rHt$P$9!#?(B @item p ?$B>eJ}8~$K0$7I=<(!#BP>]$H$J$k$N$O!"%Q!<%H!"?(B@samp{*} ?$B%^!<%/$NIU$$$?%a%C?(B ?$B%;!<%8!"%^!<%/$NIU$$$F$$$J$$%a%C%;!<%8!#?(B@samp{C-u} ?$B$H6&$K8F$P$l$k$H!"%Q!<?(B ?$B%HItJ,$rHt$P$9!#?(B @item j ?$BF~NO$5$l$?HV9f$K$7$?$,$C$F%a%C%;!<%8$X0!#?(B @end ifset @ifset us @item C-n Go to the next line. @item C-p Go to the previous line. @item n Move to below then display. Targets includes parts, messages marked with @samp{*}, and non-marked messages. When called with @samp{C-u}, parts are skipped. @item p Move to above then display. Targets includes parts, messages marked with @samp{*}, and non-marked messages. When called with @samp{C-u}, parts are skipped. @item j Jump to a message according to the number which you input. @end ifset @end table

@c %%%%%%%%%%%%%%%%% @node multipart, pgp-viewing, singlepart, Viewing @ifset jp @section MIME ?$B$rI=<($9$k?(B @end ifset @ifset us @section Displaying MIME @end ifset @vindex mew-end-of-message-string @vindex mew-end-of-part-string

@ifset jp ?$B%^%k%A%Q!<%H$rFI$`$N$OJL$KBgJQ$J$3$H$G$O$"$j$^$;$s!#:#$^$GDL$j!"?(B @samp{SPC} ?$B$r2!$7$F$$$1$P$h$$$@$1$G$9!#?(B @end ifset @ifset us It's not difficult to read a multipart message. As usual, just type @samp{SPC}. @end ifset

@ifset jp ?$B%^%k%A%Q!<%H$N%a%C%;!<%8$O!"0J2<$N$h$&$KF|IU$N:8$K?(B "M" ?$B$H$$$&0u$,IU$$$F?(B ?$B$$$^$9!#?(B @end ifset @ifset us A multipart message is marked with "M" on the left side of date as follows: @end ifset

@example @ifset jp
4 07/19 ?$B$7$2$d$5$s?(B Re: imget very fir ?$B$H$$$&$3$H$G!"$3$s$J$b$s?(B
5 M07/20 ?$B$$$H$B$e$s?(B MagicPoint ?$B:#EY$NH/I=$G;HMQ$9$k;qNA?(B
6 07/21 ?$B$b$H$N$j$5$s?(B Re: imget very fir POP?$B$G%5!<%P$K%a%C%;!<%8$N?(B @end ifset @ifset us
4 07/19 Shigeya-san Re: imget very fir OK, how about this?
5 M07/20 Itojun MagicPoint I made the material of
6 07/21 Motonori-san Re: imget very fir Preserving messages on P @end ifset @end example

@ifset jp "5" ?$B$N$H$3$m$G!"?(B@samp{SPC} ?$B$r2!$9$H!"%X%C%@$r?(B Message ?$B%b!<%I$KI=<($9$k$H?(B ?$B6&$K!"0J2<$N$h$&$K?(B Summary ?$B%b!<%I$G%^%k%A%Q!<%H$N9=B$$r4JAG$KI=<($7$^$9!#?(B @end ifset @ifset us When you type @samp{SPC} on "5", its header is displayed in Message mode then its multipart structure is displayed in Summary mode as follows: @end ifset

@example @ifset jp
4 07/19 ?$B$7$2$d$5$s?(B Re: imget very fir ?$B$H$$$&$3$H$G!"$3$s$J$b$s?(B
5 M07/20 ?$B$$$H$B$e$s?(B MagicPoint ?$B:#EY$NH/I=$G;HMQ$9$k;qNA?(B B 2 Image/Gif MagicPoint ?$B$N%m%4?(B mgp.gif Q 3 Application/Postscript ?$B;qNA?(B ohp.ps
6 07/21 ?$B$b$H$N$j$5$s?(B Re: imget very fir POP?$B$G%5!<%P$K%a%C%;!<%8$N?(B @end ifset @ifset us
4 07/19 Shigeya-san Re: imget very fir OK, how about this?
5 M07/20 Itojun MagicPoint I made the material of B 2 Image/Gif MagicPoint logo mgp.gif Q 3 Application/Postscript Presentation Material ohp.ps
6 07/21 Motonori-san Re: imget very fir Preserving messages on P @end ifset @end example

@ifset jp ?$B$b$7!"%Q!<%H?(B 1 ?$B$,?(B Text/Plain ?$B$J$i!"?(BSummary ?$B%b!<%I$K$O%Q!<%H?(B 1 ?$B$O2D;k2=$5?(B ?$B$l$:!"$=$N$+$o$j%Q!<%H?(B 1 ?$B$,%X%C%@$H6&$K?(B Message ?$B%b!<%I$KI=<($5$l$^$9!#?(B @end ifset @ifset us If the first part is Text/Plain, the first part is not visualized in Summary mode but the first part is displayed with its header in Message mode. @end ifset

@ifset jp ?$B%^%k%A%Q!<%H$N3F9T$O?(B

@itemize @minus @item ?$B%^!<%/?(B(Content-Transfer-Encoding:) @item ?$B%Q!<%HHV9f?(B @item ?$B%G!<%?$N7??(B(Content-Type:) @item ?$B@bL@?(B(Content-Description:) @item ?$B%U%!%$%kL>?(B(Content-Disposition:) @end itemize

?$B$+$i9=@.$5$l$F$$$^$9!#?(BContent-Description: ?$B$O%Q!<%H$KBP$9$k?(B Subject: ?$B$H?(B ?$B9M$($F$$$$$G$7$g$&!#$3$NI=<($O?(B Draft ?$B%b!<%I$NE:IUNN0h$H$[$H$s$IF1$8$G$9!#?(B ?$B$=$l$>$l$N%+%i%`$N>$$0UL#$O!"?(B@xref{mime-comp} ?$B$r;2>H$7$F2<$5$$!#?(B @end ifset

@ifset us Each line of multipart consists of

@itemize @minus @item marks (Content-Transfer-Encoding:) @item part number @item data type (Content-Type:) @item description (Content-Description:) @item file name (Content-Disposition:). @end itemize

Content-Description can be considered Subject: for each part. This format is very similar to that of attachment region in Draft mode. For more information of each column, please refer to @xref{mime-comp}. @end ifset

@ifset jp @samp{SPC} ?$B$d?(B @samp{n} ?$B$G%Q!<%H?(B 1 ?$B$X?J$a$P!"$=$N%Q!<%H$,%G!<%?7?$K1~$8$F?(B ?$BI=<($5$l$^$9!#$?$H$($P!"?(BText/Plain ?$B$J$i?(B Message ?$B%b!<%I$G!"?(BPostScript ?$B$J?(B ?$B$i?(B ghostview ?$B$GI=<($5$l$^$9!#?(B @end ifset @ifset us If you type @samp{SPC} or @samp{n}, the cursor moves onto part 1 and the content is displayed according to its data type. For instance, Text/Plain is showed in Message mode and PostScript is visualized with ghostview @end ifset

@ifset jp @samp{n} ?$B$d?(B @samp{p} ?$B$O!"%Q!<%HItJ,$^$G4^$s$@9T$r0$9$k$3$H$KCm0U$7$F?(B ?$B2<$5$$!#%Q!<%HItJ,$rHt$P$7$F2<$N%a%C%;!<%8$rI=<($9$k$K$O?(B @samp{C-u n} ?$B$H?(B ?$BF~NO$7$F2<$5$$!#$^$?!"%Q!<%HItJ,$rHt$P$7$F?(B 1 ?$B$D>e$N%a%C%;!<%8$rI=<($9$k?(B ?$B$K$O?(B @samp{C-u p} ?$B$HF~NO$7$F2<$5$$!#?(B @end ifset @ifset us Please note that @samp{n} and @samp{p} moves lines including multipart. To display the message below skipping multipart, type @samp{C-u n}. Likewise, to display the message above (not this message), input @samp{C-u p}. @end ifset

@ifset jp Mew ?$B$O!"?(BMIME ?$B$r:F5"E*$K=hM}$7$^$9!#0J2<$OE>Aw$5$l$?%^%k%A%Q!<%H$N%a%C%;!<?(B ?$B%8$NNc$G$9!#?(B @end ifset @ifset us Mew processes MIME recursively. The following example is a forwarded multipart message. @end ifset

@example @ifset jp
501 M02/22 Itojun Fw: MagicPoint ?$BGkLn@h@8$+$i$3$s$J?(B
2 Message/Rfc822 MagicPoint B 2.2 Image/Gif MagicPoint ?$B$N%m%4?(B mgp.gif Q 2.3 Application/Postscript ?$B;qNA?(B ohp.ps @end ifset @ifset us
501 M02/22 Itojun Fw: MagicPoint Itojun send me this
2 Message/Rfc822 MagicPoint B 2.2 Image/Gif MagicPoint logo mgp.gif Q 2.3 Application/Postscript Presentation Material ohp.ps @end ifset @end example

@ifset jp (?$B%a%b?(B) ?$B%F%-%9%H0J30$N%G!<%?$r!"%7%s%0%k%Q!<%H$H$7$F%a%C%;!<%8$K3JG<$9$k?(B ?$B$N$O!"=q<0$H$7$F$O4V0c$$$G$O$"$j$^$;$s$,!"$*4+$a$G$-$^$;$s!#%^%k%A%Q!<%H?(B ?$B$r:n@.$7!"$=$N%Q!<%H?(B 1 ?$B$K@bL@$N%F%-%9%H$r!"%Q!<%H?(B 2 ?$B$K%F%-%9%H0J30$N%G!<?(B ?$B%?$rF~$l$k:nK!$r$*4+$a$7$^$9!#?(B @end ifset @ifset us (Memo) I strongly discourage you to embed an object other than text as a top level single part to a message directly. Rather, I do recommend to make multipart whose part 1 is description text for part 2 and part 2 is an object other than text. @end ifset

@ifset jp ?$B%F%-%9%H0J30$N%G!<%?$,KJ8$KD>@3JG<$5$l$F$$$k%a%C%;!<%8$KBP$7!"?(BMew ?$B$O$3?(B ?$B$l$r$"$?$+$b%^%k%A%Q!<%H$N$h$&$KI=<($7$^$9!#?(B @end ifset @ifset us Mew displays a message which directory contains a single part other than text as a multipart. @end ifset

@ifset jp ?$B$3$N$h$&$K?(B MIME ?$B$N9=B$$OJ#;($K$J$j$&$k$N$G!"2r@O$9$k$N$K$O;~4V$,$+$+$k>l?(B ?$B9g$,$"$j$^$9!#$7$+$7!"?(BMew ?$B$O<!$KFI$^$l$k%a%C%;!<%8$rM=A[$7!"%f!<%6$,8=:_?(B ?$B$N%a%C%;!<%8$rFI$s$G$$$k4V$K!"<!$N%a%C%;!<%8$r$"$i$+$8$a2r@O$7$F$*$/$3$H?(B ?$B$G9bB.@-$r<B8=$7$F$$$^$9!#2r@O$5$l$?%a%C%;!<%8$O!"$7$P$i$/$N4VJ]B8$5$l$^?(B ?$B$9!#?(B @end ifset @ifset us Since the syntax of MIME messages can be complex, it sometime takes much time to analyze the syntax. However, Mew guesses the message to be read next and analyzes it beforehand while the user are reading the current message. Analyzed messages are cached for a while. @end ifset

@ifset jp ?$B%a%C%;!<%8$N=*$j$NItJ,$,$O$C$-$j$HJ,$+$k$h$&$K!"?(BMew ?$B$O%a%C%;!<%8$N:G8e$K?(B "[End of message]" ?$B$H$$$&J8;zNs$rI=<($7$^$9!#$^$?!"%Q!<%H$N=*$j$G$O!"?(B "[Message is continued]" ?$B$H$$$&J8;zNs$rI=<($7$^$9!#?(B(Emacs ?$B$N5!G=ITB-$K$h?(B ?$B$j?'$OIU$-$^$;$s!#?(B) ?$B$3$N5!G=$O?(B Emacs 19.28 ?$B$d$=$l$r4p$K$7$F$$$k?(B Mule 2.3 ?$B$J$I$G$OMxMQ$G$-$^$;$s!#$3$l$i$NJ8;zNs$O$=$l$>$l!"?(B @samp{mew-end-of-message-string} ?$B$H?(B @samp{mew-end-of-part-string}?$B$G;XDj?(B ?$B$G$-$^$9!#?(B @end ifset @ifset us To notice the end of a message explicitly, Mew displays the string "[End of message]" in the end of the message. In the end of each part, Mew displays the string "[Message is continued]". (Due to the limitation of Emacs, color is not available.) This feature is not available on Emacs 19.28, Mule 2.3 based on Emacs 19.28, and etc. These strings are customized by @samp{mew-end-of-message-string} and @samp{mew-end-of-part-string}, respectively. @end ifset

@c %%%%%%%%%%%%%%%%% @node pgp-viewing, folder, multipart, Viewing @ifset jp @section PGP/MIME ?$B$rI=<($9$k?(B @end ifset @ifset us @section Visualizing PGP/MIME @end ifset @vindex mew-use-pgp-cached-passphrase @vindex mew-x-pgp-key-list @vindex mew-prog-pgp @vindex mew-prog-pgp2 @vindex mew-prog-pgp5 @vindex mew-prog-gpg

@ifset jp ?$B:#$^$G$HF1MM?(B @samp{SPC} ?$B$J$I$rMxMQ$9$k$3$H$G!"?(BMew ?$B$G$O?(B PGP ?$B$G0E9f2=$dEE?(B ?$B;R=pL>$r;$l$?%a%C%;!<%8$r4JC1$KI=<($G$-$^$9!#$^$:!"4JC1$JNc$+$i>R2p$7?(B ?$B$^$7$g$&!#?(B @end ifset @ifset us Basic commands such as @samp{SPC} visualize messages signed or encrypted with PGP as well. Let's start with a simple example: @end ifset

@example @ifset jp
8 S07/22 ?$B<r0f$5$s?(B Re: home was full MsgStore.pm ?$B$N%P%0$G$9?(B
9 E07/23 ?$B%K!<%H$9$_$+$o?(B Wine ?$B$*$O$h$&$+$i$*$d$9$_$^?(B @end ifset @ifset us
8 S07/22 Sakai-san Re: home was full A bug of MsgStore.pm
9 E07/23 Neat Sumikawa Wine From good morning to @end ifset @end example

@ifset jp 8 ?$BHV$H?(B 9 ?$BHV$N%a%C%;!<%8$K$O!"$=$l$>$l?(B "S" ?$B%^!<%/$H?(B "E" ?$B%^!<%/$,IU$$$F$$?(B ?$B$^$9!#$3$l$O$=$l$>$l!"KJ8A4BN$,=pL>$5$l$F$$$k!"$*$h$S!"0E9f2=$5$l$F$$$k?(B ?$B$3$H$r0UL#$7$^$9!#?(B @end ifset @ifset us Massage 8 and 9 is marked with "S" and "E", respectively. This means that the *body* is signed and encrypted, respectively. @end ifset

@ifset jp PGP/MIME ?$B$G$O!"0lIt$N%Q!<%H$KEE;R=pL>$r;$?$j!"0E9f2=$7$?$j$G$-$^$9!#?(B ?$B$3$N>l9g$3$N$h$&$J%^!<%/$OIU$-$^$;$s!#%^!<%/$,IU$/$N$O!"KJ8A4BN$,BP>]$K?(B ?$B$J$C$F$$$k>l9g$G$9!#?(B @end ifset @ifset us PGP/MIME also allows to sign and/or encrypt some parts of a message. In this case, these marks don't appear. It is a message whose *body* is singed or encrypted that the "S" mark or the "E" mark appears on. @end ifset

@ifset jp ?$B$^$?!"C1$K=pL>$d0E9f2=$H8@$$$^$7$?$,!"$3$l$O:G=*E*$J=hM}$,=pL>$d0E9f2=$G?(B ?$B$"$C$?$3$H$r0UL#$7$F$$$^$9!#$d$dJ#;($JOC$K$J$j$^$9$,!"$b$7$+$9$k$HA0<T$O?(B ?$BKJ8A4BN$r0E9f2=$7$?8e=pL>$7$?$N$+$b$7$l$^$;$s$7!"8e<T$O0lIt$N%Q!<%H$K=p?(B ?$BL>$7$5$i$KA4BN$r0E9f2=$7$F$$$k2DG=@-$b$"$j$^$9!#?(B @end ifset @ifset us "Sign" and "encrypt" used above means the last procedure applied the body is "sign" and "encrypted", respectively. Examples above may have been produced with more complex process. As far as the firmer message, for instance, the body may have been signed after encrypting the body. It is likely that some part of the latter message was first signed then the body was encrypted. @end ifset

@ifset jp ?$BKJ8A4BN!"$"$k$$$O!"0lIt$N%Q!<%H$,0E9f2=$5$l$F$$$k>l9g!"?(BMew ?$B$O%Q%9%U%l!<?(B ?$B%:$r?V$$$F$-$^$9!#F~NO$5$l$?%Q%9%U%l!<%:$O!"$"$J$?$NHkL)80$rI|9f2=$9$k$N?(B ?$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%;!<?(B ?$B%8$r2r$/$o$1$G$9!#?(B @end ifset @ifset us If some parts or the body is encrypted, Mew asks you to input your pass-phrase to get plain text. The pass-phrase is used to decrypt your secret key. The secret key is then used to decrypt cipher text. @end ifset

@ifset jp ?$B$"$k?(B PGP/MIME ?$B%a%C%;!<%8$rI=<($9$k$K$O!"0E9f2=$5$l$??t$@$1%Q%9%U%l!<%:$r?(B ?$BF~NO$9$kI,MW$,$"$j$^$9!#$3$l$O?(B Mew ?$B$,0BA4$r4|$7$F!"DL>o%Q%9%U%l!<%:$rJ]?(B ?$BB8$7$J$$$+$i$G$9!#$b$7$3$l$,$o$:$i$o$7$$$J$i!"0J2<$N@_Dj$G?(B Mew ?$B$K%Q%9%U?(B ?$B%l!<%:$r$7$P$i$/$N4VJ]B8$5$;$k$3$H$b2DG=$G$9!#%Q%9%U%l!<%:$rJ]B8$9$k:]$N?(B ?$BCm0U;v9`$K$D$$$F$O!"?(B@xref{folder}?$B$r;2>H$7$F2<$5$$!#?(B @end ifset @ifset us To visualize PGP/MIME, you need to input your pass-phrase every time you encounter cipher text. This is because Mew does not cache pass-phrases anywhere for security reasons. If you feel this is inconvenient, set the following configuration so that your pass-phrases are cached for a while. Please refer to @xref{folder} to know what you should take care to use this feature. @end ifset

@example (setq mew-use-pgp-cached-passphrase t) @end example

@ifset jp ?$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?(B ?$B$i$/J]B8$5$l$k$N$G!"?(B2?$B2sLI=<($K$O%Q%9%U%l!<%:$r?V$+$l$J$$$+$b$7$l$^$;?(B ?$B$s!#?(B @end ifset @ifset us Since decrypted messages are cached for a while, you perhaps need not to input your pass-phrase at the next time when the message will be displayed, even if you do not use the pass-phrase cache. @end ifset

@ifset jp ?$B0lJ}!"DL?.Aj<j$N=pL>$r8!>Z$9$k$?$a$K$OAj<j$N8x3+80$,MxMQ$G$-$l$P$h$$$N$G!"?(B ?$B%Q%9%U%l!<%:$r?V$+$l$k$3$H$O$"$j$^$;$s!#?(B @end ifset @ifset us To verify signatures, senders' public keys are used. So, you are not asked to type your pass-phrase. @end ifset

@ifset jp Mew ?$B$O<+F0E*$KEE;R=pL>$r8!>Z$7$?$j!"F~NO$5$l$?%Q%9%U%l!<%:$r;H$C$F0E9f%a%C?(B ?$B%;!<%8$rI|9f2=$7$?$j$7$F!"85$N%a%C%;!<%8$rI=<($7$^$9!#$=$3$G!"%f!<%6$,=p?(B ?$BL>$NB8:_$K5$$E$+$J$$$+$b$7$l$^$;$s$7!"$I$NItJ,$,0E9f2=$5$l$F$$$?$N$+J,$+?(B ?$B$i$J$$$+$b$7$l$^$;$s!#?(B @end ifset @ifset us Since Mew automatically verifies signatures and/or decrypts cipher text with inputed pass-phrase, it is likely that users don't notice that the original message has signatures and/or which parts were encrypted. @end ifset

@ifset jp ?$B$=$3$G!"8!>Z$N7k2L$d$I$NItJ,$,0E9f2=$5$l$F$$$+$r%f!<%6$KDLCN$9$k$?$a$K!"?(B Mew ?$B$O0J2<$N$h$&$K%X%C%@$K?(B X-Mew: ?$B%U%#!<%k%I$rA^F~$7$^$9!#?(B @end ifset @ifset us To tell users the results of verification of signatures or which parts were decrypted, Mew inserts the X-Mew: field in the header as follows: @end ifset

@example X-Mew: <body> PGP decrypted.
Good PGP sign "kazu@@mew.org" COMPLETE @end example

@ifset jp "<>" ?$BFb$NHV9f$O!"$I$N%Q!<%H$N7k2L$G$"$k$+$r<($7$F$$$^$9!#?(B"body" ?$B$O!"%a%C?(B ?$B%;!<%8$NKJ8A4BN$,J]8n$5$l$F$$$k$3$H$r0UL#$7$^$9!#$3$NNc$G$O!"%a%C%;!<%8?(B ?$BA4BN$,?(B kazu ?$B$K$h$C$F=pL>$5$l!"<u?.<T$N$?$a$K0E9f2=$5$l$F$$$^$9!#?(BMew ?$B$O$^?(B ?$B$:$3$l$rI|9f2=$7!"$=$7$F=pL>$r8!>Z$7$F$$$^$9!#=pL>$O@5$7$$$N$G!"?(B kazu@@mew.org ?$B$H$$$&?(B ID ?$B$NIU$$$?HkL)80$G=pL>$5$l$?$H$-$+$i!"FbMF$OJQ99$5?(B ?$B$l$F$$$J$$$HJ,$+$j$^$9!#$3$N=pL>$N8!>Z$K;H$o$l$?8x3+80$N!VM-8z@-!W$O?(B "complete" ?$B$G$9!#$h$C$F!"<u?.<T$O$3$N8x3+80$,?(B ID ?$B$,<($9%f!<%6$KB0$7$F$$?(B ?$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?(B ?$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?(B ?$B$^$9!#?(B @end ifset @ifset us The number in "<>" indicates which part was protected with PGP. "body" means the body was protected. This example tells us that the body was singed by kazu then encrypted for the reader. Mew first decrypted it then verified its signature of the decrypted message. The signature is good. So, nobody has modified the content since it was signed by the secret key whose ID is kazu@@mew.org. The validity of the public key used to verify the signature is "complete". Thus, the receiver believes that the public key actually belongs to the user whom the ID tells. That is, this message was verified by the trusted public key AND its results was good, so no alternation was found. @end ifset

@ifset jp ?$B0J2<$NNc$G$O!"$^$:%^%k%A%Q!<%H$G$"$kKJ8A4BN$NEE;R=pL>$,8!>Z$5$l!"$=$N8e?(B ?$B%Q!<%H?(B 2 ?$B$N%a%C%;!<%8A4BN$,I|9f2=$5$l$F$$$^$9!#$D$^$j!":n@.;~$K$O!"$^$:?(B ?$B%Q!<%H?(B 2 ?$B$,0E9f2=$5$l!"$=$7$FKJ8A4BN$,=pL>$5$l$?$3$H$,J,$+$j$^$9!#?(B @end ifset @ifset us In the following example, the signature of the body, which is multipart, was first verified then part 2, which is a message, was decrypted. That is, the composing process was that part 2 was first encrypted then the entire body was signed. @end ifset

@example X-Mew: <body multi> Good PGP sign "kazu@@mew.org" COMPLETE X-Mew: <2 message> PGP decrypted. @end example

@ifset jp ?$B$9$k$I$$?M$J$i!"0-$$?M$,$"$i$+$8$a?(B X-Mew: ?$B%U%#!<%k%I$rA^F~$7$F$*$-!"$"$J$??(B ?$B$r$@$^$9$+$b$7$l$J$$$H;W$&$+$b$7$l$^$;$s!#$G$bBg>fIW$G$9!#?(BMew ?$B$O!"%X%C%@$K?(B ?$B$"$k?(B X-Mew: ?$B$r$"$i$+$8$a:o$j!"KJ*$N?(B X-Mew: ?$B%U%#!<%k%I$rA^F~$7$^$9$+$i!#?(B @end ifset @ifset us Smart users may wonder what if a bad guy or gal sends you a message with an illegal X-Mew: field. Take it easy. First Mew carefully removes the X-Mew: field then inserted a valid X-Mew: field to the header. @end ifset

@ifset jp X-Mew: ?$B%U%#!<%k%I$OB>$K$b$5$^$6$^$J7k2L$rEA$($F$/$l$^$9!#$?$H$($P!"=pL>?(B ?$B$r8!>Z$9$k$?$a$N8x3+80$,$J$$$H$+!"I|9f2=$K<:GT$7$?$J$I$G$9!#0J2<$NNc$O!"?(B ?$B80?(B ID ?$B$,?(B 0x1B8BF431 ?$B$G$"$k8x3+80$,$J$$$3$H$r<($7$F$$$^$9!#?(B @end ifset @ifset us X-Mew: tells you many other types of result. For example, no public key is available, the decryption failed, etc. The following example indicates that the public key whose key ID is 0x1B8BF431 is missing. @end ifset

@example X-Mew: <body multi> No his/her public key. ID = 0x1B8BF431 @end example

@ifset jp ?$B$3$N>l9g!"?(B@samp{C-cC-f} ?$B$HF~NO$9$k$H!"?(BMew ?$B$O?(B @samp{mew-pgp-keyserver-url-template} ?$B$G;XDj$5$l$??(B URL ?$B$r;H$C$F$3$N8x3+?(B ?$B80$NF~<j$r;n$_$^$9!#$b$7!"?(BX-Mew: ?$B%U%#!<%k%I$,$J$$>l9g$O!"?(B@samp{C-cC-f} ?$B$O?(B From: ?$B$r?(B ID ?$B$H9M$($^$9!#$^$?!"?(B@samp{C-uC-cC-f} ?$B$O!"?(BX-Mew: ?$B%U%#!<%k%I?(B ?$B$K2C$($F?(B @samp{mew-x-pgp-key-list} ?$B$K;XDj$5$l$?%U%#!<%k%I$b80?(B ID ?$B$r@Z$j?(B ?$B=P$9BP>]$H$7!"8x3+80$NF~<j$r;n$_$^$9!#?(B @end ifset @ifset us In this case, if you type @samp{C-cC-f}, Mew tries fetching this public key using URL specified in @samp{mew-pgp-keyserver-url-template}. If the X-Mew: field does not exist, @samp{C-cC-f} takes the From: field as ID. Also, @samp{C-uC-cC-f} extracts key IDs from fields specified in @samp{mew-x-pgp-key-list} in addition to the X-Mew: field then tries fetching them. @end ifset

@ifset jp Mew ?$B$G$O?(B PGPv2?$B!"?(BPGPv5?$B!"?(BGNUPG ?$B$KBP1~$7$F$$$^$9!#$3$l$i$O?(B Summary ?$B%b!<%I$K?(B ?$B$*$$$F!"?(B@samp{C-cC-v} ?$B$G@ZBX$(2DG=$G$9!#$3$l$iJ#?t$N?(B PGP ?$B$r;H$$$?$$?M$O?(B @samp{mew-prog-pgp2}?$B!"?(B@samp{mew-prog-pgp5}?$B!"?(B@samp{mew-prog-gpg} ?$B$KBP$7!"?(B ?$B$=$l$>$l?(B PGPv2?$B!"?(BPGPv5?$B!"?(BGNUPG ?$B$N%3%^%s%IL>$r@_Dj$7$F2<$5$$!#$^$?!"?(BMew ?$B$N?(B ?$B5/F0D>8e$KMxMQ$9$k?(B PGP ?$B$N%3%^%s%IL>$r?(B @samp{mew-prog-pgp} ?$B$K@_Dj$7$F2<$5?(B ?$B$$!#$J$*%Q%9%U%l!<%:$O!"$=$l$>$l$N?(B PGP ?$B$KBP$7FHN)$KJ]B8$5$l$^$9!#?(B @end ifset @ifset us Mew supports PGPv2, PGPv5, and GNUPG. You can select one of those by @samp{C-cC-v} in Summary mode. If you want to use those PGPs, you should set the command name of PGPv2, PGPv5, and GNUPG to @samp{mew-prog-pgp2}, @samp{mew-prog-pgp5}, and @samp{mew-prog-gpg}, respectively. Also, set the default PGP name to @samp{mew-prog-pgp}. Note that pass-phrases are cached independently for each PGP. @end ifset

@c %%%%%%%%%%%%%%%%% @node folder, sum-write, pgp-viewing, Viewing @ifset jp @section ?$B%U%)%k%@$N99?7$H0?(B @end ifset @ifset us @section Updating and visiting folder @end ifset @vindex mew-use-cached-passwd

@ifset jp ?$BE~Ce$7$?%a%C%;!<%8$r?(B +inbox ?$B%U%)%k%@$K0$7!"0lMw$rI=<($9$k$K$O?(B @samp{i} ?$B$r;H$$$^$9!#0lMw$O!"?(B+inbox ?$B%U%)%k%@$N?(B Summary ?$B%b!<%I$N:G8e$KA^?(B ?$BF~$5$l$^$9!#?(B @end ifset @ifset us To fetch arrived messages, store them to the +inbox folder and list up them, use @samp{i}. The list is appended to the bottom of Summary mode for the +inbox folder. @end ifset

@ifset jp ?$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?(B ?$B;v9`$K$D$$$F$O!"?(B@xref{Start} ?$B$r;2>H$7$F2<$5$$!#%Q%9%o!<%I$r2?2s$bF~NO$9?(B ?$B$k$N$,LLE]$J?M$O!"%Q%9%o!<%I$rJ]B8$9$k5!G=$rMxMQ$7$F2<$5$$!#$3$l$K$O0J2<?(B ?$B@_Dj$,I,MW$G$9!#?(B @end ifset @ifset us At that time, you may be required to input your password. Please refer to @xref{Start} to know what you should take care when inputing password. If you get sick of inputing your password time to time, please make use of the password-cache mechanism with following configuration. @end ifset

@example (setq mew-use-cached-passwd t) @end example

@ifset jp ?$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?(B ?$B$NF~NO$r>JN,$G$-$^$9!#%Q%9%o!<%I$O?(B Emacs ?$B$NCf$KJ]B8$5$l$F$$$^$9$N$G!"@J?(B ?$B$r6u$1$F?(B Emacs ?$B$,B>$N?M$K;HMQ$5$l$k$3$H$,$J$$$h$&Cm0U$7$F2<$5$$!#?(B @end ifset @ifset us If you use this password-cache mechanism, you can omit password while the password is cached. Since passwords are cached in Emacs, you should take care so that other people cannot touch your computer. @end ifset

@ifset jp ?$B%U%)%k%@$N0lMw$r:FI=<($9$k$K$O!"?(B@samp{s} ?$B$r;H$$$^$9!#$3$N%3%^%s%I$rBPOC?(B ?$BE*$K;H$&$HHO0O$r?V$$$F$-$^$9!#?(BMew ?$B$G=EMW$JHO0O$N0UL#$r0J2<$K<($7$^$9!#?(B @end ifset @ifset us To list up messages in Summary mode or flush it, use @samp{s}. This command asks you to input range. Important ranges for Mew are as follows: @end ifset

@table @samp @ifset jp @item update ?$B!V?(BSummary ?$B%b!<%I$N:G8e$N%a%C%;!<%8$N<!!W$+$i!V%U%)%k%@Fb$N:G8e$N%a%C%;!<?(B ?$B%8!W$^$G!#$D$^$j!"?(BSummary ?$B%b!<%I$H<B:]$N%U%)%k%@Fb$N%a%C%;!<%8$N:9J,!#?(B @item all ?$B%U%)%k%@Fb$N%a%C%;!<%8$9$Y$F!#?(BSummary ?$B%b!<%I$NI=<($,$*$+$7$/$J$C$?$H$-$K!"?(B ?$BFbMF$r0l?7$9$k$?$a$KMQ$$$k!#?(B @end ifset @ifset us @item update From "the last message in the Summary mode + 1" to "the last message in the corresponding folder". That is, the gap between the Summary mode and the existing folder @item all All messages in the folder. When Summary mode becomes inconsistent, use this range to flush the list. @end ifset @end table

@ifset jp +draft ?$B0J30$N%U%)%k%@$G$O!"%G%U%)%k%H$NHO0O$,?(B @samp{update} ?$B$H$J$C$F$$$^?(B ?$B$9!#$G$9$+$i!"?(B@samp{s} ?$B$N8e$K?(B @samp{RET} ?$B$r2!$9$@$1$G!"8=:_$N%U%)%k%@$K?(B ?$BBP$7:G?7$N0lMw$rF@$i$l$k$3$H$K$J$j$^$9!#?(B+draft ?$B$N%G%U%)%k%H$NHO0O$O?(B @samp{all} ?$B$G$9!#?(B @end ifset @ifset us The default range is usually @samp{update}. So, just type @samp{RET} after @samp{s} to get the up-to-date list of the current folder. @end ifset

@ifset jp Mew ?$B$G$O$"$^$j=EMW$G$O$"$j$^$;$s$,!"0J2<$NHO0O$b;XDj$G$-$^$9!#?(B @end ifset @ifset us You can specify the following ranges though they are not important for Mew. @end ifset

@table @samp @ifset jp @item <num1>-<num2> <num1> ?$B$+$i?(B <num2> ?$B$^$G!#?(B @item <num>:N <num> ?$B$+$i?(B N ?$B8D!#?(B @item <num>:-N <num> ?$B$^$G$N?(B N ?$B8D!#?(B @item first:N ?$B:G=i$+$i?(B N ?$B8D!#?(B @item prev:N ?$B8=:_$N%a%C%;!<%8$^$G$N?(B N ?$B8D!#?(B @item next:N ?$B8=:_$N%a%C%;!<%8$+$i?(B N ?$B8D!#?(B @item last:N ?$B:G8e$N%a%C%;!<%8$^$G$N?(B N ?$B8D!#?(B @end ifset @ifset us @item <num1>-<num2> From <num1> to <num2> @item <num>:N N messages from <num> @item <num>:-N N messages to <num> @item first:N N messages from the first @item prev:N N messages to the current @item next:N N messages from the current @item last:N N messages to the last @end ifset @end table

@ifset jp ?$B%U%)%k%@$N0$K$O?(B @samp{g} ?$B$rF~NO$7$F2<$5$$!#%U%)%k%@L>$O?(B @samp{TAB} ?$B$G?(B ?$BJd40$G$-$^$9!#$b$7!"0$7$?:]$K?(B Summary ?$B%b!<%I$N0lMw$,8E$$$HH=CG$7$?>l?(B ?$B9g$O!"<+F0E*$K:9J,$rDI2CI=<($7$^$9!#?(B @end ifset @ifset us To go to another folder, type @samp{g}. You can make use of folder name completion with @samp{TAB}. When you move a folder and if Mew considered that its list of messages are old, Mew automatically displays the differences. @end ifset

@ifset jp ?$B=P$F$-$?%3%^%s%I$r0J2<$K$^$H$a$^$9!#?(B @end ifset @ifset us Here is a summary for commands up above. @end ifset

@table @samp @ifset jp @item i ?$BE~Ce$7$?%a%C%;!<%8$r?(B +inbox ?$B%U%)%k%@$K0$70lMw$rI=<($9$k!#?(B @item s ?$B%U%)%k%@$N0lMw$r:FI=<($9$k!#?(B @item g ?$B%U%)%k%@$r0$9$k!#?(B @end ifset @ifset us @item i Fetch arrived messages, store them to the +inbox folder and list up them @item s List up messages in Summary mode or flush it. @item g Go to another folder. @end ifset @end table

@c %%%%%%%%%%%%%%%%% @node sum-write, features, folder, Viewing @ifset jp @section ?$BAw?.!"JVEz!"E>Aw?(B @end ifset @ifset us @section Write, answer, and forward @end ifset

@ifset jp ?$B%a%C%;!<%8$NAw?.!"JVEz!"E>Aw$K$O!"0J2<$N%3%^%s%I$r;H$$$^$9!#?(B @end ifset @ifset us The following commands are prepared for writing, replying, and forwarding a message. @end ifset

@table @samp @ifset jp @item w ?$B%a%C%;!<%8$r=q$/!#?7$7$$Ap9F$,?(B Draft ?$B%b!<%I$KMQ0U$5$l$k!#?(B @item a ?$B8=:_$N%a%C%;!<%8$KJVEz$9$k!#?(BDraft ?$B%b!<%I$KAp9F$,MQ0U$5$l!"?(BTo: ?$B$d?(B Cc: ?$B$,?(B ?$B<+F0E*$K7hDj$5$l$k!#?(B @item A ?$B8=:_$N%a%C%;!<%8$KJVEz$9$k!#?(BDraft ?$B%b!<%I$KAp9F$,MQ0U$5$l!"?(BTo: ?$B$d?(B Cc: ?$B$,?(B ?$B<+F0E*$K7hDj$5$l$?8e!"KJ8$,0zMQ$5$l$k!#?(B @item f ?$B8=:_$N%a%C%;!<%8$rBh?(B3?$B<T$KE>Aw$9$k!#?(BDraft ?$B%b!<%I$KAp9F$,MQ0U$5$l!"8=:_$N?(B ?$B%a%C%;!<%8$,<+F0E*$KE:IU$5$l$k!#?(B @item F @samp{@@} ?$B%^!<%/$NIU$$$?%a%C%;!<%8$rBh?(B3?$B<T$KE>Aw$9$k!#?(BDraft ?$B%b!<%I$KAp9F?(B ?$B$,MQ0U$5$l!"?(B@samp{@@} ?$B%^!<%/$NIU$$$?%a%C%;!<%8$,<+F0E*$KE:IU$5$l$k!#>?(B ?$B$/$O?(B @xref{multi mark} ?$B$r;2>H$N$3$H!#?(B @end ifset @ifset us @item w Write a message. A new draft is prepared in Draft mode. @item a Answer to this message. A new draft is prepared in Draft mode. Mew automatically decides To: and Cc:. @item A Answer to this message. A new draft is prepared in Draft mode. Mew automatically decides To: and Cc: and cites the body. @item f Forward this message to a third person. A new draft is prepared in Draft mode and this message is automatically attached. @item F Forward messages marked with @samp{@@} to a third person. A new draft is prepared in Draft mode and this message is automatically attached. For more information, refer to @xref{multi mark}. @end ifset @end table

@ifset jp ?$B%(%i!<%a%C%;!<%8$,JV$C$F$-$?$i!"0J2<$N%3%^%s%I$G=$@5$7:FD)@o$7$^$7$g$&!#?(B @end ifset @ifset us If an error message returns, let's give one more try with the following commands. @end ifset

@table @samp @ifset jp @item E ?$B%a%C%;!<%8$N:FJT=8!#$^$?$O!"?(BMIME ?$B7A<0$G%+%W%;%k2=$5$l$FLa$C$F$-$?%a%C%;!<?(B ?$B%8$N:FJT=8!#?(B+draft ?$B%U%)%k%@$G$O!"$=$N%a%C%;!<%8$rD>@JT=8!#$=$NB>$N%U%)?(B ?$B%k%@$G$O?(B +draft ?$B%U%)%k%@$K%3%T!<$7$F$+$iJT=8!#?(B @item M-e "----- Original message follows -----" ?$B$N8e$K%*%j%8%J%k$N%a%C%;!<%8$,?(B ?$B0zMQ$5$l$F$$$k%(%i!<%a%C%;!<%8$N:FJT=8!#?(B @end ifset @ifset us @item E Edit this message again to retry sending. Or edit this rfc822 part typically included MIME-encapsulated error message. In the +draft folder, it just edits the message. Otherwise, copy the message to the +draft folder, then edit. @item M-e Edit an old fashioned error message in which the original message is encapsulated after "----- Original message follows -----". @end ifset @end table

@c %%%%%%%%%%%%%%%%% @node features, sorting, sum-write, Viewing @ifset jp @section ?$BJXMx$J5!G=?(B @end ifset @ifset us @section Useful features @end ifset @vindex mew-use-folders-file-p

@ifset jp Mew ?$B$G$O!"?(BSummary ?$B%b!<%I$K0J2<$N$h$&$JJXMx$J%3%^%s%I$,MQ0U$5$l$F$$$^$9!#?(B @end ifset @ifset us Mew provides you with convenient commands in Summary mode as follows: @end ifset

@table @samp @ifset jp @item v ?$B!V?(BSummary ?$B%b!<%I$N$_!W$H!V?(BSummary & Message ?$B%b!<%I!W$N@Z$jBX$(!#?(B ?$B!V?(BSummary ?$B%b!<%I$N$_!W$rA*$s$G$$$k>l9g$O!"?(B@samp{d} ?$B$O<!$N%a%C%;!<%8$rI=?(B ?$B<($7$J$$$N$G!"O"B3$7$F$9$P$d$/?(B @samp{D} ?$B%^!<%/$rIU$1$i$l$k!#?(B @item M-l ?$B8=:_$N9T$r?(B Summary ?$B%b!<%I$NCf1{$K0$5$;$k!#?(B @item C-cC-s Message ?$B%b!<%I$G=gJ}8~CJ3,E*8!:w!#?(B @item C-cC-r Message ?$B%b!<%I$G5UJ}8~CJ3,E*8!:w!#?(B @item y ?$B%a%C%;!<%8!"$"$k$$$O!"%Q!<%H$rF~NO$7$?%U%!%$%kL>$GJ]B8$9$k!#?(BMule ?$B>e$G?(B @samp{C-u} ?$B$H6&$K8F$S=P$9$H!"J]B8$9$k%F%-%9%H$N?(B coding-system ?$B$r;XDj$G$-?(B ?$B$k!#?(B @item # ?$B8=:_$N%a%C%;!<%8$+%Q!<%H$r0u:~$9$k!#?(B @item | ?$B8=:_$N%a%C%;!<%8$+%Q!<%H$r%Q%$%W$G=PNO$9$k!#?(B @item O ?$B%a%C%;!<%8$rHV9f5M$a$7$F!":F$S0lMwI=<($9$k!#?(B @item B ?$B3JG<$5$l$F$$$k%a%C%;!<%8$r<h$j=P$9!#?(B @item D +trash ?$B%U%)%k%@$N%a%C%;!<%8$rA4It>C5n$9$k?(B(@xref{delete mark})?$B!#?(B @item Z ?$B%"%I%l%9D"?(B(@xref{addrbook})?$B$rFI$_9~$s$G>pJs$r99?7$9$k!#?(B@samp{C-uZ} ?$B$G$O!"?(B ?$B%"%I%l%9D"$K2C$(%U%)%k%@$N%j%9%H$b99?7$9$k!#?(B @samp{mew-use-folders-file-p} ?$B$,?(B @samp{t} ?$B$J$i%U%)%k%@$N%j%9%H$r?(B "~/Mail/.folders" ?$B$KJ]B8$9$k!#%G%U%)%k%H$O?(B @samp{t}?$B!#?(B @item C-cC-a ?$B8=:_$N%a%C%;!<%8$N>pJs$r%"%I%l%9D"$KEPO?$9$k?(B(@xref{addrbook})?$B!#?(B @item C-cC-v PGP ?$B$N%P!<%8%g%s$r@ZBX$($k?(B(@xref{pgp-viewing})?$B!#?(B @item C-cC-p ?$B@N$J$,$i$N<+F0=hM}$G$-$J$$?(B PGP ?$B%a%C%;!<%8$r?(B PGP ?$B$KI|9f2=!"8!>Z$5$;$k!#?(B @end ifset @ifset us @item v Toggle "Summary mode only" and "Summary & Message mode". If you choose "Summary mode only", you can quickly put the @samp{D} mark since the next message is not displayed. @item M-l Make the current line to the center of Summary mode. @item C-cC-s Incremental search forward in Message mode. @item C-cC-r Incremental search backward in Message mode. @item y Save this message or this part into the file whose name is specified by you. If executed with @samp{C-u} on Mule, you can specify coding-system for text. @item # Print this message or this part. @item | Send this message or this part via pipe. @item O Pack messages and list them up again. @item B De-capsulate embedded messages in MIME format. @item D Delete all messages in the +trash folder(@xref{delete mark}). @item Z Read Addrbook(@xref{addrbook}) and update its information. If you type @samp{C-u Z}, information of folders is also updated in addition to that of Addrbook. If @samp{mew-use-folders-file-p} is @samp{t}, the list of folders is stored in "~/Mail/.folders". The default value is @samp{t}. @item C-cC-a Register the information on the current message to Addrbook(@xref{addrbook}). @item C-cC-v Select PGP version(@xref{pgp-viewing}). @item C-cC-p Let PGP decrypt and/or verify good-old-PGP messages. @end ifset @end table

@c %%%%%%%%%%%%%%%%% @node sorting, illegal, features, Viewing @ifset jp @section ?$B%a%C%;!<%8$N%=!<%H?(B @end ifset @ifset us @section Sorting messages @end ifset @vindex mew-sort-key-alist @vindex mew-sort-default-key @vindex mew-sort-default-key-alist

@ifset jp ?$B%U%)%k%@Fb$N%a%C%;!<%8$r%=!<%H$9$k$K$O?(B @samp{S} ?$B$r;H$$$^$9!#$3$N$H$-<!$N?(B ?$B$h$&$K$I$N%U%#!<%k%I$G%=!<%H$9$k$+?V$$$F$/$k$N$G!"%=!<%H$7$?$$%U%#!<%k%I?(B ?$BL>$rF~NO$7$F2<$5$$!#?(B @end ifset @ifset us To sort messages in the current folder, use @samp{S}. Then you will be asked to input the field name as follows: @end ifset

@example Sort by? (default date): @end example

@ifset jp ?$B;XDj$7$?%U%#!<%k%I$K=q$+$l$F$$$kJ8;zNs$OC1=c$KJ8;zNsHf3S$G%=!<%H$9$k$Y$-?(B ?$B$G$O$"$j$^$;$s!#$?$H$($P!"?(BSubject: ?$B$O%F%-%9%H$H9M$($F$h$$$N$G$9$,!"?(BDate: ?$B$OF|IU!"?(BX-Mail-Count: ?$B$O?t;z$H9M$($F%=!<%H$9$Y$-$G$9!#$3$N$h$&$KJ8;zNs$r?(B ?$B$I$&<h$j07$&$+$r%b!<%I$H8@$$$^$9!#%=!<%H$K$h$/;XDj$5$l$k%U%#!<%k%IL>$KBP?(B ?$B$9$k%G%U%)%k%H$N%b!<%I$O?(B @samp{mew-sort-key-alist} ?$B$G@_Dj$5$l$F$$$^$9!#?(B @end ifset @ifset us Strings stored in the specified field should not be compared as text in some cases. For example, while Subject: can be considered as text, Date: and X-Mail-Count: should be treated as date and number, respectively. In this way, we call how to treat stored strings "mode". Default modes for typical field names are configured in @samp{mew-sort-key-alist}. @end ifset

@ifset jp ?$B%=!<%H$N%b!<%I$rL@<(E*$K;XDj!"JQ99$7$?$$>l9g$K$O?(B @samp{:} ?$B$G6h@Z$C$F;XDj?(B ?$B$7$^$9!#$?$H$($P?(B X-Mail-Count ?$B%U%#!<%k%I$NFbMF$r?(B(?$B%F%-%9%H$H$7$F$G$O$J$/?(B) ?$B?tCM$H$_$J$7$F%=!<%H$7$?$$>l9g$K$O!"<!$N$h$&$KF~NO$7$^$9!#?(B @end ifset @ifset us When you want to specify the mode of sorting, the mode is followed by @samp{:}. For example, to sort with X-Mail-Count field as arithmetic value (not text), input like this: @end ifset

@example x-mail-count:num @end example

@ifset jp ?$B$J$*!"J8;z$NBgJ8;z!">.J8;z$O6hJL$7$^$;$s!#$^$?!"%U%#!<%k%IL>$d%b!<%I$O?(B @samp{TAB} ?$B$GJd40$G$-$^$9!#?(B @end ifset @ifset us The case distinctions of field names and modes are ignored. And you can complete field names and modes with @samp{TAB}. @end ifset

@ifset jp "Sort by?" ?$B$H?V$+$l$k:]$N%G%U%)%k%H$N%U%#!<%k%IL>$O!"?(B @samp{mew-sort-default-key} ?$B$G@_Dj$G$-$^$9!#0J2<$O!"%G%U%)%k%H$N?(B "date" ?$B$r?(B "x-ml-count" ?$B$KJQ99$9$kNc$G$9!#?(B @end ifset @ifset us The default field name, when you asked "Sort by?", can be specified to @samp{mew-sort-default-key}. The following is an example to change the default value from "date" to "x-ml-count". @end ifset

@example (setq mew-sort-default-key "x-ml-count") @end example

@ifset jp @samp{mew-sort-default-key-alist} ?$B$G!"%U%)%k%@$4$H$K%G%U%)%k%H$N%U%#!<%k?(B ?$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?(B ?$B%H$N%U%#!<%k%IL>$H$7$F?(B @samp{mew-sort-default-key} ?$B$NCM$,;H$o$l$^$9!#0J?(B ?$B2<$O!"?(B+inbox ?$B%U%)%k%@$G$N%G%U%)%k%H$r?(B "subject" ?$B$K!"?(B+mew-dist ?$B%U%)%k%@$G?(B ?$B$N%G%U%)%k%H$r?(B "x-mail-count" ?$B$KJQ99$9$kNc$G$9!#?(B @end ifset @ifset us You can also set a default field name for each folder by @samp{mew-sort-default-key-alist}. For folders not explicitly specified here, @samp{mew-sort-default-key} is used for their default field name. The following is an example that specifies "subject" for the +inbox folder and "x-mail-count" for the +mew-dist folder. @end ifset

@example (setq mew-sort-default-key-alist
'(("+inbox" . "subject")
("+mew-dist" . "x-mail-count"))) @end example

@ifset jp ?$B%=!<%H$K4X$9$k%3%^%s%I$r$^$H$a$k$H0J2<$N$h$&$K$J$j$^$9!#?(B @end ifset @ifset us This is the summary of the sorting commands: @end ifset

@table @samp @ifset jp @item S ?$BF~NO$7$?%U%#!<%k%I$rMQ$$$F%U%)%k%@Fb$N%a%C%;!<%8$r%=!<%H$7$^$9!#?(B @samp{C-u S} ?$B$N$h$&$K?(B prefix ?$B$rIU$1$k$H!"%j!<%8%g%sFb$N%a%C%;!<%8$N$_$r?(B ?$B%=!<%H$7$^$9!#?(B @item mS @samp{*} ?$B%^!<%/$NIU$$$?%a%C%;!<%8$r%=!<%H$7$^$9!#?(B @end ifset @ifset us @item S Sort messages in the current folder. To sort messages in region, invoke it with prefix as @samp{C-u S}. @item mS Sort @samp{*} marked messages. @end ifset @end table

@c %%%%%%%%%%%%%%%%% @node illegal, Composing, sorting, Viewing @ifset jp @section ?$B2=$1$?%a%C%;!<%8?(B @end ifset @ifset us @section Scrambled message @end ifset @vindex mew-decode-quoted

@ifset jp ?$B0J2<$N$h$&$J%a%C%;!<%8$O!"?(Bcharset ?$B$,$J$/!"?(BUS-ASCII ?$B$HG'<1$5$l$F$7$^$&$N?(B ?$B$G!"2=$1$^$9!#?(B @end ifset @ifset us The following message is considered as US-ASCII because of lack of charset. So the body is scrambled. @end ifset

@example @ifset jp To: kazu Subject: ?$B2=$1$k%a%C%;!<%8?(B From: Alice MIME-Version: 1.0 Content-Type: Text/Plain

?$BF|K8l$NKJ8?(B @end ifset @ifset us To: kazu Subject: Scrambled message From: Alice MIME-Version: 1.0 Content-Type: Text/Plain

Japanese comes here. @end ifset @end example

@ifset jp ?$B$3$N$h$&$J>l9g$O!"?(B@samp{C-cC-l} ?$B$r2!$9$H!"J8;z%3!<%I$r@5$7$/JQ49$7I=<($7?(B ?$B$^$9!#?(B @end ifset @ifset us Type @samp{C-cC-l} to convert it into appropriate character set in Mule. @end ifset

@ifset jp ?$B$^$?0J2<$N$h$&$K%a%C%;!<%8$N%X%C%@$,2=$1$k$3$H$,$"$j$^$9!#?(B @end ifset @ifset us Also, some fields in a header are scrambled sometime. @end ifset

@example From: "=?iso-2022-jp?B?GyRCOzNLXE9CSScbKEI=?=" <kazu@@iijlab.net> @end example

@ifset jp ?$B>e$NNc$G$O?(B "=?" ?$B$H?(B "?=" ?$B$G0O$^$l$?ItJ,$O$b$H$b$HF|K8l$G$7$?!#%a%C%;!<%8?(B ?$B$N5,3J$G$O%X%C%@$K$O?(B ASCII ?$B$N$_$,3JG<$G$-$k$HDj$a$i$l$F$$$^$9!#$h$C$F!"?(B ASCII ?$B0J30$NJ8;z%3!<%I$r%X%C%@$K3JG<$9$k$K$O!"$"$k5,B'$K=>$C$F?(B ASCII ?$B$K?(B ?$BId9f2=$9$kI,MW$,$"$j$^$9!#$7$+$7!"$3$NId9f2=$5$l$?J8;zNs$r?(B ?$B!V?(B"?$B!W?(B ?$B$G0O$`?(B ?$B$N$O4V0c$$$G$9!#!V?(B"?$B!W$G0O$^$l$?J8;zNs$O!"$=$N$^$^$N7A$G<h$j07$o$l$^$9!#?(B ?$B$h$C$F!">e$NNc$N?(B "=?" ?$B$H?(B "?=" ?$B$G0O$^$l$?ItJ,$,F|K8l$KI|9f2=$5$l$k$3$H$O?(B ?$B$"$j$^$;$s!#?(B @end ifset @ifset us The string surrounded by "=?" and "?=" in the example above was originally Japanese. The spec of mail defines that only ASCII characters can be contained in a header. So, if a string, whose character set is other than ASCII, to be stored in a header, the string must be encoded into ASCII strings according to the defined rule. But it is certainly illegal to embed the ASCII strings with @samp{"}. Strings surrounded by @samp{"} is treated as is. Therefore, the string between "=?" and "?=" in the example is not decoded into Japanese. @end ifset

@ifset jp ?$B5,3J$KL5Fe$J0lIt$N%a!<%i$G$O$3$N$h$&$J4V0c$$$rJ?5$$GHH$7$^$9!#@5$7$$BP?(B ?$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?(B ?$B$7$F$b$i$&$3$H$G$9!#$7$+$7$=$l$^$GBT$F$J$$?M$O!"0J2<$N@_Dj$r$7$F2<$5$$!#?(B ?$B$3$l$G!V?(B"?$B!WCf$N?(B "=?" ?$B$H?(B "?=" ?$B$G0O$^$l$?ItJ,$,!"?(BSummary ?$B%b!<%I$G$b?(B Message ?$B%b!<%I$G$bI|9f2=$5$l$^$9!#?(B @end ifset @ifset us Several mailers are careless about the spec and made mistakes of this kind. The right way to do is ask the programmers of such mailers to make the programs conformant to the spec. If you cannot wait, do as follows. This makes Mew to decode strings surrounded by "=?" and "?=" both in Summary mode and in Message mode. @end ifset

@example (setq mew-decode-quoted t) @end example

@c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @c Composing @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

@node Composing, header, illegal, Top @ifset jp @chapter ?$B%a%C%;!<%8$r:n@.$9$k?(B @end ifset @ifset us @chapter Composing messages @end ifset @vindex mail-user-agent

@ifset jp ?$B$3$3$G$O%a%C%;!<%8$N:n@.J}K!$K$D$$$F@bL@$7$^$9!#?(BMew ?$B$G$O!"?(BMIME ?$B7A<0$N%a%C?(B ?$B%;!<%8$@$1$r:n@.$G$-$^$9?(B(MIME-Version: ?$B$N$J$$%a%C%;!<%8$O:n@.$G$-$^$;$s?(B)?$B!#?(B @end ifset @ifset us This section shows you how to compose a message. With Mew, you can create only MIME messages(messages without MIME-Version: cannot be composed). @end ifset

@ifset jp ?$B?7$7$$%a%C%;!<%8$r=q$/$?$a$K!"?(BDraft ?$B%b!<%I$K09T$9$k$K$O!"<!$N<jCJ$,$"$j?(B ?$B$^$9!#?(B @end ifset @ifset us The followings are methods to enter Draft mode to write a new message. @end ifset

@enumerate @ifset jp @item @samp{M-x mew-send} ?$B$HF~NO$9$k!#?(B @item @samp{mail-user-agent} ?$B$,@_Dj$5$l$F$$$k>l9g!"?(B@samp{C-xm} ?$B$HF~NO$9$k!#?(B @item Summary ?$B%b!<%I$G?(B @samp{w} ?$B$r2!$9!#?(B @end ifset @ifset us @item Type @samp{M-x mew-send}. @item Type @samp{C-xm} if @samp{mail-user-agent} is configured. @item Press @samp{w} in Summary mode. @end ifset @end enumerate

@ifset jp ?$B$9$k$H!"0J2<$N$h$&$J%P%C%U%!$,MQ0U$5$l$^$9!#?(B @end ifset @ifset us Then a buffer like the following is prepared. @end ifset

@example To: Subject: X-Mailer:@value{X-Mailer:} ---- @end example

@ifset jp ?$B$3$l$r?(B Draft ?$B%b!<%I$H$$$$$^$9!#?(BDraft ?$B%b!<%I$K$*$$$F!"?(B"----" ?$B$h$j>e$r%X%C?(B ?$B%@!"2<$rKJ8$H8F$S$^$9!#?(B @end ifset @ifset us We call this "Draft mode". In Draft mode, we call the region above "----" header. Also the region below "----" body. @end ifset

@ifset jp ?$B$^$?%a%C%;!<%8$X$NJVEz?(B(@samp{a} ?$B$d?(B @samp{A})?$B$dE>Aw?(B(@samp{f} ?$B$d?(B @samp{F}) ?$B$G$b?(B Summary ?$B%b!<%I$+$i?(B Draft ?$B%b!<%I$X09T$7$^$9!#?(B @end ifset @ifset us Also, replying a message (@samp{a} or @samp{A}) and/or forwarding messages (@samp{f} or @samp{F}) lead you to Draft mode from Summary mode. @end ifset

@ifset jp ?$BAp9F$O!"?(B+draft ?$B%U%)%k%@$N2<$K:n@.$5$l$^$9!#F1;~$KJ#?t$NAp9F$r;}$D$3$H$,?(B ?$B2DG=$G$9!#?(B @end ifset @ifset us A draft is temporary stored under the +draft folder. You can write multiple messages at the same time. @end ifset

@ifset jp ?$B0J2<!"?(BDraft ?$B%b!<%I$N;H$$J}$r@bL@$7$^$9!#?(B @end ifset @ifset us Now let's see how to use Draft mode. @end ifset

@menu @ifset jp * header:: ?$B%X%C%@$NJd40?(B * cheader:: ?$B%X%C%@$N=[4DE*$JJd40?(B * addrbook:: ?$B%"%I%l%9D"?(B * send:: ?$B%a%C%;!<%8$NAw?.?(B * cite:: ?$B0zMQ?(B * mime-comp:: ?$B%^%k%A%Q!<%H$N:n@.?(B * charset-guess:: ?$BJ8;z%3!<%I$N?dB,?(B * reply:: ?$B%a%C%;!<%8$X$NJVEz$H08@h$N7hDj?(B * forward:: ?$B%a%C%;!<%8$NE>Aw?(B * pgp-shortcut:: PGP ?$B$rMxMQ$9$k?(B * mark-b-comp:: ?$B%^!<%/$r;H$C$??(B PGP/MIME ?$B$N:n@.?(B * pgp-key:: PGP ?$B$N80$NG[I[?(B @end ifset @ifset us * header:: Completions in a header * cheader:: Circular completion in a header * addrbook:: Address Book * send:: Sending a message * cite:: Citation * mime-comp:: Composing multipart * charset-guess:: Charset guess * reply:: Replying to a message and deciding recipients * forward:: Forwarding messages * pgp-shortcut:: Using PGP * mark-b-comp:: Mark based composer * pgp-key:: PGP key distribution @end ifset @end menu

@c %%%%%%%%%%%%%%%%% @node header, cheader, Composing, Composing @ifset jp @section ?$B%X%C%@$NJd40?(B @end ifset @ifset us @section Completions in a header @end ifset @vindex mew-fields @vindex mew-field-completion-switch

@ifset jp ?$B%X%C%@$G$O?(B @samp{TAB} ?$B$KBP$7!"0J2<$h$&$K3F%U%#!<%k%IMQ$N405!G=$,3d$jEv$F?(B ?$B$i$l$F$$$^$9!#?(B @end ifset @ifset us In header, completions each field are assigned to @samp{TAB} as follows: @end ifset

@itemize @minus @ifset jp @item ?$B%U%#!<%k%IL>$NJd40?(B @item ?$B%"%I%l%9$NC;=LL>$NJd40$HE83+?(B (To:?$B!"?(BCc: ?$B$J$I?(B) @item ?$B%U%)%k%@L>$NJd40?(B (Fcc:) @end ifset @ifset us @item Field completion @item Address completion and expansion (To:, Cc:, etc) @item Folder completion (Fcc:) @end ifset @end itemize

@ifset jp <?$B%U%#!<%k%IL>$NJd40?(B> @end ifset @ifset us <Field completion> @end ifset

@ifset jp ?$B9TF,$NC18lCf$G!"$7$+$b!">e$N9T$N:G8e$,?(B "," ?$B$G=*$k7QB39T$G$J$1$l$P!"?(B @samp{TAB} ?$B$G?(B @samp{mew-fields} ?$B$KDj5A$5$l$F$$$k%U%#!<%k%IL>$rJd40$G$-$^?(B ?$B$9!#?(B @end ifset @ifset us If the cursor is on the beginning of a line and the previous line does not end with ",", you can complete field defined in the @samp{mew-fields} variable with @samp{TAB}. @end ifset

@example To: kazu@@mew.org R@samp{TAB} @end example

@ifset jp ?$B>e5-$N>l=j$G?(B @samp{TAB} ?$B$r2!$9$H0J2<$N$h$&$K$J$j$^$9!#?(B @end ifset @ifset us At the point above, if you type @samp{TAB}, you get: @end ifset

@example To: kazu@@mew.org Reply-To: @end example

@ifset jp <?$B%"%I%l%9$NC;=LL>$NJd40$HE83+?(B> @end ifset @ifset us <Address completion and expansion> @end ifset

@ifset jp Mew ?$B$G$O!"%"%I%l%9D"$H$$$&5!G=$r;H$C$F!"D9$/J,$+$j$K$/$$%"%I%l%9$KC;$/3P?(B ?$B$($d$9$$C;=LL>$rIU$1$i$l$^$9!#$?$H$($P!"0J2<$N$h$&$K@_Dj$7$?$H$7$^$9!#?(B @end ifset @ifset us You can define an easy-to-remember short name for a long or hard-to-remember address with Mew's Addrbook feature. For example, consider the following configuration: @end ifset

@example pooh: winnie-the-pooh@@100acre.woodwest.uk @end example

@ifset jp ?$B$3$l$O!"%"%I%l%9?(B "winnie-the-pooh@@100acre.woodwest.uk" ?$B$K?(B "pooh" ?$B$H$$$&?(B ?$BC;=LL>IU$1$F$$$k$3$H$K$J$j$^$9!#$3$NC;=LL>$O!"DL>o?(B "~/.im/Addrbook" ?$B$H$$?(B ?$B$&%U%!%$%k$K@_Dj$7$^$9!#%"%I%l%9D"$N5!G=$N>Y$K$D$$$F$O!"?(B @xref{addrbook} ?$B$r;2>H$7$F2<$5$$!#?(B @end ifset @ifset us This means to replace the string "pooh" with "winnie-the-pooh@@100acre.woodwest.uk". Note that short names should usually be configured in "~/.im/Addrbook". For more information about Addrbook, please refer to @xref{addrbook}. @end ifset

@ifset jp Draft ?$B%b!<%I$N%X%C%@Fb$G!"$+$D!"%"%I%l%9$r=q$/$Y$-%U%#!<%k%I>e$G!"$7$+$b!"?(B 1 ?$BJ8;z0J>e$NJ8;zNs$,A0$K$"$k>l=j$G?(B @samp{TAB} ?$B$rBG$D$H!"%"%I%l%9$NC;=LL>?(B ?$B$,Jd40$5$l$^$9!#?(B @end ifset @ifset us In a header in Draft mode and on the field supposed to write addresses and one or more characters precede, you can complete an short name for address with @samp{TAB}. @end ifset

@ifset jp ?$BNc$r5s$2$F$_$^$9!#?(B @end ifset @ifset us Let's look at the following example. @end ifset

@example To: piglet@@beech.tree.uk,
po@samp{TAB} @end example

@ifset jp ?$B$3$N$h$&$K?(B @samp{TAB} ?$B$r2!$9$H!"?(B(?$BB>$K8uJd$,L5$1$l$P?(B) "pooh" ?$B$^$GJd40$5$l?(B ?$B$^$9!#?(B @end ifset @ifset us If you input @samp{TAB} up above, "pooh" is completed (unless other candidates exist). @end ifset

@example To: piglet@@beech.tree.uk,
pooh@samp{TAB} @end example

@ifset jp ?$B$b$&0lEY?(B @samp{TAB} ?$B$r2!$9$H?(B "winnie-the-pooh@@100acre.woodwest.uk" ?$B$KE8?(B ?$B3+$5$l$^$9!#?(B @end ifset @ifset us One more type of @samp{TAB} expands it to "winnie-the-pooh@@100acre.woodwest.uk". @end ifset

@example To: piglet@@beech.tree.uk,
winnie-the-pooh@@100acre.woodwest.uk @end example

@ifset jp ?$B%"%I%l%9$,Jd40$G$-$J$$>l=j$G?(B @samp{TAB} ?$B$rBG$D$H!"C1$K?(B @samp{TAB} ?$B$,F~$j?(B ?$B$^$9!#$?$H$($P!"0J2<$NNc$r9M$($F2<$5$$!#?(B @end ifset @ifset us If you type @samp{TAB} at improper point for address completion, @samp{TAB} is inserted. Consider the following example: @end ifset

@example To: pooh,@samp{TAB} @end example

@ifset jp ?$B$3$N>l9g!"C1$K?(B @samp{TAB} ?$B$,A^F~$5$l$^$9!#?(B @end ifset @ifset us In this case, @samp{TAB} is just inserted. @end ifset

@ifset jp "@@"?$B$G=*$kJ8;zNs$O6/@)E*$KE83+$7$^$9!#$?$H$($P!"0J2<$N$h$&$K;w$?$h$&$J?(B ?$BC;=LL>$,$"$C$?>l9g$r9M$($F2<$5$$!#?(B @end ifset @ifset us A string ended with "@@" is explicitly expanded. Consider the following case where similar short names are defined. @end ifset

@example pooh: winnie-the-pooh@@100acre.woodwest.uk pooh-pooh: pooh-pooh@@somewhere.jp @end example

@ifset jp "pooh" ?$B$r?(B "winnie-the-pooh@@100acre.woodwest.uk" ?$B$K6/@)E*$KE83+$9$k$K$O!"?(B ?$B0J2<$N$h$&$K$7$^$9!#?(B @end ifset @ifset us To expand "pooh" to "winnie-the-pooh@@100acre.woodwest.uk", take this way. @end ifset

@example To: pooh@@@samp{TAB} @end example

@ifset jp <?$B%U%)%k%@L>$NJd40?(B> @end ifset @ifset us <Folder completion> @end ifset

@ifset jp Fcc: ?$B$J$I$N$h$&$K%U%)%k%@$rJd40$9$Y$-$H$3$m$G$O!"?(B@samp{TAB} ?$B$G%U%)%k%@$r?(B ?$BJd40$G$-$^$9!#0J2<Nc$r5s$2$F$_$^$9!#?(B @end ifset @ifset us At a point, such as Fcc:, supposed to complete a folder, you can complete a folder with @samp{TAB}. Let's look at an example. @end ifset

@example Fcc: @samp{TAB} @end example

@ifset jp "+" ?$B$,Jd40$5$l$^$9!#?(B @end ifset @ifset us Here, "+" is completed. @end ifset

@example Fcc: +@samp{TAB} @end example

@ifset jp @samp{TAB}?$B$r$b$&?(B1?$BEY2!$9$H8uJd$,I=<($5$l$k$N$G!"8uJd$r8+$J$,$iE,@Z$JJ8;z?(B ?$B$rF~NO$7$^$9!#?(B @end ifset @ifset us One more type of @samp{TAB} shows candidates. Please input appropriate characters then type @samp{TAB}. @end ifset

@example Fcc: +B@samp{TAB} @end example

@ifset jp ?$B8uJd$,0l0U$KDj$^$l$PJd40$5$l$^$9!#?(B @end ifset @ifset us If a candidate can be solely decided, you get a completion. @end ifset

@example Fcc: +Backup @end example

@ifset jp <?$B@_Dj$N%R%s%H?(B> @end ifset @ifset us <Hints of customization> @end ifset

@ifset jp ?$B%"%I%l%9$NC;=LL>$H%U%)%k%@L>$r$I$N%U%#!<%k%I$GJd40$G$-$k$h$&$K$9$k$+$O!"?(B @samp{mew-field-completion-switch} ?$B$GDj5A$G$-$^$9!#%G%U%)%k%H$G$O0J2<$N?(B ?$B$h$&$K@k8@$5$l$F$$$^$9!#?(B @end ifset @ifset us You can define which field allows address and folder completion in @samp{mew-field-completion-switch}. The following declaration is used by default. @end ifset

@example (defvar mew-field-completion-switch
'(("To:" . mew-complete-address)
("Cc:" . mew-complete-address)
("Dcc:" . mew-complete-address)
("Bcc:" . mew-complete-address)
("Reply-To:" . mew-complete-address)
("Fcc:" . mew-complete-folder)
("Resent-To:" . mew-complete-address)
("Resent-Cc:" . mew-complete-address)
("Config:" . mew-complete-config))) @end example

@ifset jp Config: ?$B$NJd40$K4X$7$F$O?(B @xref{config} ?$B$r;2>H$7$F2<$5$$!#?(B @end ifset @ifset us Please refer to @xref{config} to know completion for Config:. @end ifset

@c %%%%%%%%%%%%%%%%% @node cheader, addrbook, header, Composing @ifset jp @section ?$B%X%C%@$N=[4DE*$JJd40?(B @end ifset @ifset us @section Circular completions in a header @end ifset @vindex mew-mail-domain-list @vindex mew-from-list @vindex mew-from @vindex mew-field-circular-completion-switch

@ifset jp ?$B%X%C%@$G$O!"?(B@samp{C-cTAB} ?$B$K=[4DE*$JJd405!G=$,3d$jEv$F$i$l$F$$$^$9!#=[4D?(B ?$BE*$JJd405!G=$H$O!"$"$k%j%9%H$N$"$kCM$,$=$N%j%9%H$N<!$NCM$KCV$-49$($i$l$k?(B ?$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?(B ?$BE*$JJd405!G=$O!"0J2<$N$h$&$K%U%#!<%k%I$4$H$K0[$J$j$^$9!#?(B @end ifset @ifset us In a header, circular completions are assigned to @samp{C-cTAB}. Circular completion means that a value of alist is replaced by the next value of the list. The end of the list is considered continuous to the top of the list. Circular completions in a header are different for each field as follows: @end ifset

@itemize @minus @ifset jp @item ?$B%I%a%$%sL>$N=[4DE*$JJd40?(B (To:?$B!"?(BCc: ?$B$J$I?(B) @item From: ?$B$N=[4DE*$JJd40?(B (From:) @end ifset @ifset us @item Circular completion of domain name (To:, Cc:, etc) @item Circular completion of From: (From:) @end ifset @end itemize

@ifset jp <?$B%I%a%$%sL>$N=[4DE*$JJd40?(B> @end ifset @ifset us <Circular completion of domain name> @end ifset

@ifset jp ?$B%"%I%l%9$r=q$/$Y$-%U%#!<%k%I$G$O!"?(B@samp{C-cTAB} ?$B$G%I%a%$%s$rJd40$7$^$9!#?(B ?$BJd40$N8uJd$O?(B @samp{mew-mail-domain-list} ?$B$+$iA*$P$l$^$9!#?(B @end ifset @ifset us On a field where addresses are written, use @samp{C-cTAB} for domain completion. Candidates are selected from @samp{mew-mail-domain-list}. @end ifset

@example To: kazu@@@samp{C-cTAB} @end example

@ifset jp ?$B>e5-$N>l=j$N$h$&$K8uJd$,0l0U$KDj$^$i$J$$>l9g$O!"?(B @samp{mew-mail-domain-list} ?$B$N:G=i$N%I%a%$%sL>$,A^F~$5$l$^$9!#?(B @end ifset @ifset us If you try to complete just after "@@" as up above, the first domain of @samp{mew-mail-domain-list} is inserted. @end ifset

@example To: kazu@@mew.org@samp{C-cTAB} @end example

@ifset jp ?$BJd40$5$l$?8e!"$5$i$K?(B @samp{C-cTAB} ?$B$r2!$9$H?(B @samp{mew-mail-domain-list} ?$B$N<!$N8uJd$KJQ49$7$^$9!#?(B @end ifset @ifset us After completion, one more type of @samp{C-cTAB} inserts the next domain of @samp{mew-mail-domain-list}. This completion is looped. @end ifset

@example To: kazu@@wide.ad.jp @end example

@ifset jp ?$B$^$?!"0J2<$NJd40$,0l0U$KDj$^$l$P!"$=$N8uJd$rA^F~$7$^$9!#?(B @end ifset @ifset us If a candidate can be solely decided, it is inserted. @end ifset

@example To: kazu@@w@samp{C-cTAB} @end example

@ifset jp ?$B>e5-$NNc$O<!$N$h$&$K$J$j$^$9!#?(B @end ifset @ifset us The example up above gets: @end ifset

@example To: kazu@@wide.ad.jp @end example

@ifset jp <From: ?$B$N=[4DE*$JJd40?(B> @end ifset @ifset us <Circular completion of From:> @end ifset

@ifset jp From: ?$B%U%#!<%k%I>e$G$O!"?(B@samp{C-cTAB} ?$B$O?(B@samp{mew-from-list} ?$B$NCM$r=[4D?(B ?$BE*$KJd40$7$^$9!#$3$N%j%9%H$N:G=i$NCM?(B(?$BJLL>?(B @samp{mew-from})?$B$O!"<!$N$h$&$K?(B ?$B4{$KA^F~$5$l$F$$$k$+$b$7$l$^$;$s!#?(B @end ifset @ifset us On the From: field, @samp{C-cTAB} circularly completes its value from @samp{mew-from-list}. The first value of the list (aka @samp{mew-from}) may have already inserted as follow: @end ifset

@example @ifset jp From: Kazu Yamamoto (?$B;3KI'?(B) <Kazu@@Mew.org> @end ifset @ifset us From: Kazu Yamamoto <Kazu@@Mew.org> @end ifset @end example

@ifset jp ?$BCM$N>l=j$J$i$I$3$G$b9=$$$^$;$s$,!"?(B@samp{C-cTAB} ?$B$HF~NO$9$k$H!"?(B ?$B$3$NCM$r?(B @samp{mew-from-list} ?$B$N<!$NCM$HCV$-49$($^$9!#$?$H$($P!"?(B @end ifset @ifset us Typing @samp{C-cTAB} anywhere on the value replaces the value with the next value of @samp{mew-from-list}. For example, @end ifset

@example @ifset jp From: Kazu Yamamoto (?$B;3KI'?(B) <Kazu@@Mew.org>@samp{C-cTAB} @end ifset @ifset us From: Kazu Yamamoto <Kazu@@Mew.org>@samp{C-cTAB} @end ifset @end example

@ifset jp ?$B$O0J2<$N$h$&$K$J$j$^$9!#?(B @end ifset @ifset us becomes as follows: @end ifset

@example From: Kazuhiko Yamamoto <kazu@@wide.ad.jp> @end example

@ifset jp ?$B=[4DE*$JJd40$N%U%#!<%k%I$H4X?t$NBP1~$O!"?(B @samp{mew-field-circular-completion-switch} ?$B$GDj5A$G$-$^$9!#%G%U%)%k%H$G?(B ?$B$O0J2<$N$h$&$K@k8@$5$l$F$$$^$9!#?(B @end ifset @ifset us You can define association of field key and circular completion function in @samp{mew-field-circular-completion-switch}. The following declaration is used by default. @end ifset

@example (defvar mew-field-circular-completion-switch
'(("To:" . mew-circular-complete-domain)
("Cc:" . mew-circular-complete-domain)
("Dcc:" . mew-circular-complete-domain)
("Bcc:" . mew-circular-complete-domain)
("Reply-To:" . mew-circular-complete-domain)
("Resent-To:" . mew-circular-complete-domain)
("Resent-Cc:" . mew-circular-complete-domain)
("From:" . mew-circular-complete-from)
("Resent-From:" . mew-circular-complete-from)
("Config:" . mew-circular-complete-config))) @end example

@ifset jp Config: ?$B$N=[4DE*$JJd40$K4X$7$F$O?(B @xref{config} ?$B$r;2>H$7$F2<$5$$!#?(B @end ifset @ifset us Please refer to @xref{config} to know circular completion for Config:. @end ifset

@c %%%%%%%%%%%%%%%%% @node addrbook, send, cheader, Composing @ifset jp @section ?$B%"%I%l%9D"?(B @end ifset @ifset us @section Address Book @end ifset @vindex mew-lisp-max-length @vindex mew-addrbook-override-by-newone

@ifset jp Mew 1.94 ?$B$+$i%"%I%l%9$N?(B alias ?$B$H%Z%C%H%M!<%`$,%"%I%l%9D"$KE}9g$5$l$^$7$?!#?(B alias ("~/.im/Aliases")?$B$H%Z%C%H%M!<%`?(B("~/.im/Petname")?$B$O:#8e@Q6KE*$K$OJ]?(B ?$B<i$5$l$^$;$s$N$G!"$G$-$l$P%"%I%l%9D"?(B("~/.im/Addrbook")?$B$K>h$j49$($F2<$5$$!#?(B ?$B%"%I%l%9D"$K$O?(B 2 ?$B$D$N=q<0$,MQ0U$5$l$F$$$^$9!#0lJ}$O!VE83+5,B'!W$r;XDj$9?(B ?$B$k=q<0!"B>J}$O!V8D?M>pJs!W$r5-=R$9$k$?$a$N=q<0$G$9!#?(B @end ifset @ifset us Mew 1.94 provides an address book which integrates aliases and Petname. After this, neither aliases("~/.im/Aliases") nor Petname("~/.im/Petname") will be maintained. So, please migrate to the address book("~/.im/Addrbook"). The address book provides 2 formats. One is to specify expansion rules, the other is to define personal information. @end ifset

@ifset jp ?$B$^$:!"!VE83+5,B'!W$r5-=R$9$k$?$a$N=q<0$r<($7$^$9!#?(B @end ifset @ifset us First, let's look at the format to specify expansion rules. @end ifset

@example <shortname>: <address1>[, <address2>, <address3>,...] @end example

@ifset jp ?$B$3$N$h$&$KC;=LL>$HE83+$9$Y$-%"%I%l%9$r?(B @samp{:} ?$B$G6h@Z$C$F=q$-$^$9!#J#?t?(B ?$B$N%"%I%l%9$KE83+$9$k>l9g$O!"$=$l$i$N%"%I%l%9$r?(B @samp{,} ?$B$G6h@Z$j$^$9!#?(B (?$B$3$l$O!"?(BTo: ?$B$J$I$G%"%I%l%9$,?(B @samp{,} ?$B$G6h@Z$i$l$F$$$k$N$HF1$8$G$9!#?(B) @samp{,} ?$B$N8e$m$K6uGr$rF~$l$F$b9=$$$^$;$s!#0J2<$KNc$r<($7$^$9!#?(B @end ifset @ifset us In this way, you should specify a short name and a full address separating by @samp{:}. If you want to expand the short name to multiple addresses, specify them separating by @samp{,}. (This is exactly same as addresses separated by @samp{,} in the To: field, for instance.) SPC is allowed after @samp{,}. The following is an example: @end ifset

@example pooh: winnie-the-pooh@@100acre.woodwest.uk piglet: piglet@@beech.tree.uk friends: pooh, piglet @end example

@ifset jp Mew ?$B$G$OB?CJ$NE83+$,2DG=$G$9!#$?$H$($P$3$NNc$G!"<!$N$h$&$K?(B "friends" ?$B$r?(B ?$BE83+$7$F$_$^$7$g$&!#?(B @end ifset @ifset us Multi-level expansion is possible. For example, let's expand "friends" as follows: @end ifset

@example To: friends@samp{TAB} @end example

@ifset jp "friends" ?$BFbIt$G?(B "pooh" ?$B$H?(B "piglet" ?$B$KE83+$5$l!"$5$i$K$=$l$>$l$,E83+$5$l?(B ?$B$k$N$G!"<!$N$h$&$K$J$j$^$9!#?(B @end ifset @ifset us "friends" is expanded to "pooh" and "piglet" internally, then each word is also expand resulting as follows: @end ifset

@example To: winnie-the-pooh@@100acre.woodwest.uk, piglet@@beech.tree.uk @end example

@ifset jp ?$B<!$K!"!V8D?M>pJs!W$r5-=R$9$k$?$a$N=q<0$r<($7$^$9!#?(B @end ifset @ifset us Next, the format to define personal information is shown below: @end ifset

@example <shortname> <address1>[, <address2>, <address3>,...] <nickname> <fullname> @end example

@ifset jp ?$B$3$N$h$&$K?(B 4 ?$B$D$NMWAG$r6uGr$G6h@Z$j$^$9!#?(B<shortname> ?$B$,C;=LL>$G$9!#?(B <nickname> ?$B$H?(B <fullname> ?$B$O$=$l$>$l%K%C%/%M!<%`$H@5<0$J;aL>$G$"$j!"F|K(B ?$B8l$G$b9=$$$^$;$s!#?(B2 ?$BHVLMWAG$O%"%I%l%9$G$9!#J#?t$N%"%I%l%9$r$=$N?M$,;}$C?(B ?$B$F$$$k>l9g$O!"?(B@samp{,} ?$B$G6h@Z$C$F=q$-$^$9!#?(B@samp{,} ?$B$N8e$K6uGr$rF~$l$F$b?(B ?$B9=$$$^$;$s!#$D$^$j!"$3$N6uGr$OMWAG$N6h@Z$j$G$O$"$j$^$;$s!#$^$?!"?(B@samp{"} ?$B$G0O$^$l$?6uGr$bMWAG$N6h@Z$j$K$O$J$j$^$;$s!#0J2<$KNc$r<($7$^$9!#?(B @end ifset @ifset us In this way, four elements are separated by SPC. <shortname> is a short name. <nickname> and <fullname> are his/her nickname and his/her full name, respectively. The second element is his/her addresses. If he/she has multiple addresses, enumerate them separating by @samp{,}. SPC is allowed after @samp{,}. So, this SPC is not the separator of the elements. SPC surrounded by @samp{"} is not the separator, neither. Let's see an example: @end ifset

@example kazu kazu@@mew.org, kazu@@iijlab.net Kazu-kun "Kazuhiko Yamamoto" @end example

@ifset jp ?$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?(B ?$BCV$-49$($i$l$F$$$-$^$9!#0J2<$NNc$r9M$($F2<$5$$!#?(B @end ifset @ifset us Unlike the format of expansion rules, the format of personal information means that each address will be replaced one by one. Consider the following example: @end ifset

@example To: kazu@samp{TAB} @end example

@ifset jp "kazu" ?$B$N8e$G?(B @samp{TAB} ?$B$rBG$D$H!"?(B"kazu@@mew.org" ?$B$KCV$-49$o$j$^$9!#?(B @end ifset @ifset us Typing @samp{TAB} after "kazu" leads to "kazu@@mew.org". @end ifset

@example To: kazu@@mew.org@samp{TAB} @end example

@ifset jp ?$B<!$K?(B "kazu@@mew.org" ?$B$N8e$G?(B @samp{TAB} ?$B$rBG$D$H!"?(B"kazu@@iijlab.net" ?$B$KCV?(B ?$B$-49$o$j$^$9!#?(B @end ifset @ifset us Typing @samp{TAB} after "kazu@@mew.org" makes "kazu@@iijlab.net" appeared. @end ifset

@example To: kazu@@iijlab.net@samp{TAB} @end example

@ifset jp ?$B$5$i$K?(B "kazu@@iijlab.net" ?$B$N8e$G?(B @samp{TAB} ?$B$rBG$D$H!"?(B"kazu@@mew.org" ?$B$K?(B ?$BLa$j$^$9!#$3$N$h$&$K?(B @samp{TAB} ?$B$r2!$9$H!"%"%I%l%9$,=[4DE*$KCV49$5$l$^$9!#?(B ?$B%"%I%l%9$r7hDj$7$?8e$O!"@5<0L>>N$,IU2C$G$-$^$9!#?(B @end ifset @ifset us Then "kazu@@mew.org" will appear again if you type @samp{TAB} after "kazu@@iijlab.net". In this way, each address is replaced one by one. After deciding an address, you can add its full name. @end ifset

@example To: kazu@@mew.org@samp{M-TAB} @end example

@ifset jp ?$B$3$N$h$&$K?(B @samp{M-TAB} ?$B$r2!$9$H!"0J2<$N$h$&$K@5<0L>>N$,IU2C$5$l$^$9!#?(B @end ifset @ifset us Like this, typing @samp{M-TAB} replace the address with the following format. @end ifset

@example To: Kazuhiko Yamamoto <kazu@@mew.org> @end example

@ifset jp ?$B!V8D?M>pJs!W$N=q<0$G$O!"3FMWAG$r>JN,$G$-$^$9!#Cf4V$NMWAG$r>JN,$9$k>l9g$O!"?(B @samp{*} ?$B$H=q$$$F2<$5$$!#0J2<$K!"%"%I%l%9$KBP$7$F%K%C%/%M!<%`$N$_$rDj5A?(B ?$B$9$kNc$r<($7$^$9!#?(B @end ifset @ifset us In the format of personal information, you can omit each element. When you want to omit intermediate element, specify @samp{*}. The following is an example to define nicknames for addresses. @end ifset

@example * kazu@@mew.org, kazu@@iijlab.net Kazu-kun @end example

@ifset jp ?$B%K%C%/%M!<%`$O?(B Summary ?$B%b!<%I$G$N%"%I%l%9$NCV$-49$($H!"?(BDraft ?$B%b!<%I$G$N?(B ?$B0zMQ5-9f$NCV$-49$(?(B(@xref{cite})?$B$KMxMQ$5$l$^$9!#?(B @end ifset @ifset us The nickname is used to replace addresses in Summary mode and to replace the citation prefix(@xref{cite}) in Draft mode. @end ifset

@ifset jp ?$B%"%I%l%9D"$N%3%a%s%HJ8;z$O?(B @samp{;} ?$B$H?(B @samp{#} ?$B$G$9!#?(B@samp{;} ?$B$O9TF,$K?(B ?$B$"$k>l9g$N$_%3%a%s%H$H$J$j!"$=$N9T$,L5;k$5$l$^$9!#?(B@samp{#} ?$B$OG$0U$N>l=j?(B ?$B$G%3%a%s%H$H$J$j!"$=$3$+$i9TKv$^$G$,L5;k$5$l$^$9!#?(B @end ifset @ifset us The comment letters are @samp{;} and @samp{#}. @samp{;} is valid only when it appears in the beginning of lines. The entire line is ignored. @samp{#} is valid everywhere. The strings between @samp{#} and the end of the line is ignored. @end ifset

@ifset jp ?$B<B$O%"%I%l%9D"0J30$K$b!"<+F0E*$KDI2C$5$l$kC;=LL>$,$"$j$^$9!#%a%C%;!<%8$r?(B ?$BAw?.$7$?>l9g!"?(BTo: ?$B$H?(B Cc: ?$B$K$"$k%"%I%l%9$O!"%f!<%6L>$,C;=LL>$H$7$FEPO?$5?(B ?$B$l$^$9!#0J2<$NNc$r9M$($F2<$5$$!#?(B @end ifset @ifset us As a matter of fact, there are short names to be defined automatically. When you send a message, addresses on the To: and Cc: field are automatically registered with their user names as short names. Consider the following: @end ifset

@example To: kazu@@mew.org @end example

@ifset jp ?$B$3$N%a%C%;!<%8$rAw?.$9$k$H!"%"%I%l%9?(B "kazu@@mew.org" ?$B$KBP$7!"C;=LL>?(B "kazu" ?$B$,<+F0EPO?$5$l$^$9!#$?$@$7!"$9$G$K?(B "kazu" ?$B$H$$$&C;=LL>$,<+F0EPO??(B ?$B$5$l$F$$$k$J$i!"?(B@samp{mew-addrbook-override-by-newone} ?$B$NCM$K1~$8$F>e=q?(B ?$B$-$9$k$+$r7hDj$7$^$9!#?(B@samp{nil} ?$B$J$i8E$$@_Dj$r;D$7!"$=$l0J30$J$i>e=q$-?(B ?$B$7$^$9!#E83+$N:]$O!"%"%I%l%9D"$NJ}$,M%@h$5$l$^$9!#%"%I%l%9D"$KL5$$C;=LL>?(B ?$B$N$_$,M-8z$K$J$j$^$9!#<+F0EPO?$5$l$k$N$ODL>o?(B 1000 ?$B8D?(B (@samp{mew-lisp-max-length})?$B$N%"%I%l%9$^$G$G$9!#$=$l$r1[$($FEPO?$9$k$H8E?(B ?$B$$$b$N$+$i>C$($F$$$-$^$9!#$3$l$i$N>pJs$O?(B Mew ?$B$r=*N;$9$k:]$K!"?(B "~/Mail/.mew-alias" ?$B$KJ]B8$5$l$^$9!#?(B @end ifset @ifset us When this message is sent, a short name "kazu" is automatically registered for the address "kazu@@mew.org". If there is already a short name of "kazu", the next action is decided according to @samp{mew-addrbook-override-by-newone}. If @samp{nil}, the old entry remains. Otherwise, the new entry overrides the old one. When expanded, the address book is prior to the automatic short name. So, only automatic short names which do not exist in the address book are valid. The limit number of automatic short names is 1000(@samp{mew-lisp-max-length}). If the number is over 1000, the oldest entry is removed. This information is automatically saved to "~/Mail/.mew-alias". @end ifset

@ifset jp Summary ?$B%b!<%I$K$O!"8=:_FI$s$G$$$k%a%C%;!<%8$N>pJs$r?(B Addrbook ?$B$KEPO?$9$k?(B ?$B5!G=$,$"$j$^$9!#E83+5,B'$rEPO?$9$k$K$O?(B @samp{C-cC-a}?$B!"8D?M>pJs$rEPO?$9$k?(B ?$B$K$O?(B@samp{C-uC-cC-a} ?$B$HF~NO$7$F2<$5$$!#0J2<$K8D?M>pJs$rEPO?$7$F$$$kNc$r?(B ?$B<($7$^$9!#?(B @end ifset @ifset us Summary mode provide the feature to register the information of the current message into Addrbook. To register a expansion rule, type @samp{C-cC-a}. To register personal information, type @samp{C-uC-cC-a}. @end ifset

@example #If you want to register this entry, type C-c C-c. #If you want to NOT register this entry, type C-c C-q. Shortname: kazu Addresses: kazu@@mew.org Nickname: Name: Kazuhiko Yamamoto Comments: @end example

@ifset jp ?$BI,MW$G$"$l$P2CI.D{@5$7$^$9!#<B:]$KEPO?$9$k$K$O?(B @samp{C-cC-c}?$B!"EPO?$r<h$j?(B ?$B;_$a$k>l9g$O?(B @samp{C-cC-q}?$B$HF~NO$7$F2<$5$$!#?(B @end ifset @ifset us Add or modify the information if necessary. To register this information, type @samp{C-cC-c}. To quit the registration, type @samp{C-cC-q} @end ifset

@c %%%%%%%%%%%%%%%%% @node send, cite, addrbook, Composing @ifset jp @section ?$B%a%C%;!<%8$NAw?.?(B @end ifset @ifset us @section Sending a message @end ifset @vindex mew-signature-file @vindex mew-signature-as-lastpart @vindex mew-signature-insert-last

@ifset jp ?$BAp9F$r=q$->e$2Aw?.$9$k=`Hw$,$G$-$?$i!"?(B@samp{C-cC-m C-cC-c} ?$B$HF~NO$7$F2<?(B ?$B$5$$!#?(B @end ifset @ifset us When you are ready to send a draft, type @samp{C-cC-m C-cC-c}. @end ifset

@ifset jp ?$B$?$H$($P!"0J2<$N$h$&$J%a%C%;!<%8$rAw$k>l9g$r9M$($^$9!#?(B @end ifset @ifset us For instance, let's consider the following message to be sent. @end ifset

@example @ifset jp To: pooh Subject: PGP/MIME ?$B$r;H$*$&$h?(B X-Mailer:@value{X-Mailer:} ---- Mew ?$B$,%;%-%e%j%F%#!&%^%k%A%Q!<%H$r%5%]!<%H$7$^$7$?!#?(B

--?$B$+$:?(B @end ifset @ifset us To: pooh Subject: Let's use PGP/MIME X-Mailer:@value{X-Mailer:} ---- Mew starts walking with security multipart. Enjoy PGP/MIME!

--Kazu @end ifset @end example

@ifset jp @samp{C-cC-m} ?$B$^$GF~NO$9$k$H!"0J2<$N$h$&$K$J$j$^$9!#?(B @end ifset @ifset us After typing @samp{C-cC-m}, you see: @end ifset

@example @ifset jp To: winnie-the-pooh@@100acre.woodwest.uk Subject: PGP/MIME =?iso-2022-jp?B?GyRCJHI7SCQqJCYkaBsoQg==?= X-Mailer:@value{X-Mailer:} Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit

Mew ?$B$,%;%-%e%j%F%#!&%^%k%A%Q!<%H$r%5%]!<%H$7$^$7$?!#?(B

--?$B$+$:?(B @end ifset @ifset us To: winnie-the-pooh@@100acre.woodwest.uk Subject: Let's use PGP/MIME X-Mailer:@value{X-Mailer:} Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit

Mew starts walking with security multipart. Enjoy PGP/MIME!

--Kazu @end ifset @end example

@ifset jp ?$B$3$3$GCm0U$7$FD:$-$?$$$N$O!"?(BContent-Type: ?$B$K?(B Text/Plain ?$B$rA*$S!"?(Bcharset ?$B$r?dB,$7$F$$$k$3$H$G$9!#?(B @end ifset @ifset us You should note that Mew automatically selects Text/Plain for Content-Type: and guesses the charset parameter. @end ifset

@ifset jp ?$B<!$K?(B @samp{C-cC-c} ?$B$HF~NO$9$k$HDL>o$N%F%-%9%H%a%C%;!<%8$rAw$l$^$9!#%a%C?(B ?$B%;!<%8$O%P%C%/%0%i%s%I$GAw?.$5$l$^$9!#$3$N$h$&$K?(B @samp{C-cC-m} ?$B$O?(B MIME ?$B$N:n@.!"?(B@samp{C-cC-c} ?$B$OAw?.$G$9!#?(BMew ?$B$G$O!V$G$-$k$@$18+$?$^$^$N%a%C%;!<?(B ?$B%8$rAw?.$9$k!W$H$$$&%]%j%7!<$,$"$k$N$G!"%f!<%6$KL@<(E*$K?(B MIME ?$B$r:n$C$F$b?(B ?$B$i$&$3$H$K$7$F$$$^$9?(B(?$B:#$^$G$KM>J,$J?(B .signature ?$B$d?(B Fcc: ?$B$,>!<j$KIU$1$i$l?(B ?$B$F$$$d$J;W$$$r$7$??M$O$$$^$;$s$+!)?(B :p)?$B!#?(B @end ifset @ifset us Type @samp{C-cC-c} to send this text message. It is sent background. As you learned, @samp{C-cC-m} is to create a MIME message and @samp{C-cC-c} is to send it. Mew has a policy that a message should be transferred exactly as you look in the last time. So, you are supposed to create MIME explicitly(How many people have embarrassed experiences due to automatic insertion of an extra .signature and Fcc:? :p). @end ifset

@ifset jp ?$B%(%i!<$,5/$-$?>l9g$O!"?(B"*Mew watch*" ?$B%P%C%U%!$rI=<($7$^$9!#%(%i!<$,@8$8$F?(B ?$B>C$($J$+$C$??(B "*Mew watch*" ?$B%P%C%U%!$O!"?(B@samp{C-cC-q} ?$B$G>C$;$^$9!#B?$/$N?(B ?$B>l9g!"Ap9F$O?(B +draft ?$B%U%)%k%@$K;D$C$F$$$^$9!#$=$3$G!"?(BSummary ?$B%b!<%I$G?(B @samp{g} ?$B$H2!$7$F?(B +draft ?$B%U%)%k%@$K0$7!"?(B+draft ?$B%U%)%k%@$N?(B Summary ?$B%b!<?(B ?$B%I$G?(B @samp{E} ?$B$r2!$7$F:FJT=8$7$F2<$5$$!#?(B @end ifset @ifset us When an error occurs, Mew displays "*Mew watch*" buffer. You can erase "*Mew watch*" buffer with @samp{C-cC-q}. In most case, the draft remains in the +draft folder. So, go to the +draft folder from any Summary mode with @samp{g} and type @samp{E} in Summary mode for the +draft folder to edit it again. @end ifset

@ifset jp ?$B%a%C%;!<%8$NAw?.$,=*$C$F$$$J$$$N$K!"?(B@samp{C-xC-c} ?$B$G?(B Emacs ?$B$r=*N;$5$;$h?(B ?$B$&$H$9$k$H!"?(B @end ifset @ifset us If you try to exit Emacs with @samp{C-xC-c} before the sending process is not completed, you are asked as follows: @end ifset

@example Active processes exist; kill them and exit anyway? (yes or no) @end example

@ifset jp ?$B$H?V$+$l$^$9!#?(B"*Mew watch*" ?$B%P%C%U%!$,$J$/$J$C$F$+$i=*N;$5$;$F2<$5$$!#?(B @end ifset @ifset us Please wait until the "*Mew watch*" buffer will disappear and give a try again. @end ifset

@ifset jp @samp{C-cC-m} ?$B$O>JN,$G$-$^$9!#$3$N>l9g!"?(BMIME?$B$r<+F0E*$K:n$C$?8e$K?(B @end ifset @ifset us You can omit @samp{C-cC-m}. If you do so, Mew automatically creates MIME and asks you as follows: @end ifset

@example The header was modified. Send this message? (y or n) @end example

@ifset jp ?$B$H?V$$$F$-$^$9$N$G!"?(B@samp{y} ?$B$rF~NO$7$F2<$5$$!#?(BMew?$B$G$O!"8+$?$^$^$N%a%C%;!<?(B ?$B%8$rAw?.$9$k$3$H$r%b%C%H!<$K$7$F$$$k$N$G!"?(BMew ?$B$,>!<j$K%a%C%;!<%8$r=q$-49?(B ?$B$($?>l9g$O!"$3$N$h$&$K<ALd$r<u$1$^$9!#?(B @end ifset @ifset us Please type @samp{y} here. Remember Mew has a policy to send a message as you watch. So, when Mew modifies the message it asks you such a question. @end ifset

@ifset jp ?$B$9$Y$F$N%a%C%;!<%8:n@.J}K!$G?(B @samp{C-cC-m} ?$B$r>JN,$7$F9=$$$^$;$s!#$?$@$7!"?(B ?$B8+$?$^$^$N%a%C%;!<%8$rAw?.$7$?$$?M$O!"?(B@samp{C-cC-m C-cC-c} ?$B$HF~NO$9$kJJ?(B ?$B$rIU$1$k$3$H$r$*4+$a$7$^$9!#?(B @end ifset @ifset us You can omit @samp{C-cC-m} in all composing method described below. But I do recommend to have a custom to type @samp{C-cC-m C-cC-c}. @end ifset

@ifset jp ?$B%+!<%=%k$N$"$k>l=j$K?(B "~/.signature" ?$B$rA^F~$9$k%3%^%s%I$O?(B @samp{C-cTAB} ?$B$G$9!#%7%0%K%A%c%U%!%$%k$O!"?(B@samp{mew-signature-file} ?$B$G@_Dj$G$-$^$9!#?(B @samp{mew-signature-as-lastpart} ?$B$d?(B @samp{mew-signature-insert-last} ?$B$r?(B ?$B@_Dj$9$k$3$H$G!"?(B@samp{C-cTAB} ?$B$NF0:n$r%+%9%?%^%$%:$G$-$^$9!#?(B @end ifset @ifset us To insert "~/.signature" on the cursor point, type @samp{C-cTAB}. You can define your own signature file to @samp{mew-signature-file}. Setting @samp{mew-signature-as-lastpart} and @samp{mew-signature-insert-last}, you can customize the action of @samp{C-cTAB}. @end ifset

@ifset jp ?$B=P$F$-$?%3%^%s%I$r0J2<$K$^$H$a$^$9!#?(B @end ifset @ifset us Here is a summary for commands up above. @end ifset

@table @samp @ifset jp @item C-cC-m MIME ?$B$r:n@.$9$k!#?(BCharset ?$B$N?dB,!"%U%!%$%k9=B$$r%^%k%A%Q!<%H$XJQ49$J$I!#?(B @item C-cC-c ?$B%a%C%;!<%8$rAw?.$9$k!#?(B @item C-uC-cC-c ?$B%a%C%;!<%8$rAw?.$9$k$,!"Ap9F$O>C$5$J$$!#J#?t$N?M$KFbMF$r>/$7$:$DJQ$($J$,?(B ?$B$i%a%C%;!<%8$rAw$j$?$$>l9g$KJXMx!#?(B @item C-cTAB ?$B%+!<%=%k$N0LCV$K?(B "~/.signature" ?$B$rA^F~$9$k!#?(B @end ifset @ifset us @item C-cC-m Make a MIME message. Charset guess, mapping directory structure to multipart, and so on. @item C-cC-c Send this message. @item C-uC-cC-c Send this message without killing the draft. This is convenient to send messages to multiple people modifying its content a little. @item C-cTAB Insert "~/.signature" on the cursor point. @end ifset @end table

@c %%%%%%%%%%%%%%%%% @node cite, mime-comp, send, Composing @ifset jp @section ?$B0zMQ?(B @end ifset @ifset us @section Citation @end ifset @vindex mew-addrbook-for-cite-label @vindex mew-addrbook-for-cite-prefix @vindex mail-citation-hook

@ifset jp Summary ?$B%b!<%I$N?(B @samp{a} ?$B$d?(B @samp{A} ?$B$r;H$C$F%a%C%;!<%8$KJVEz$9$k$?$a$N?(B ?$BAp9F$rMQ0U$9$k$H!"?(BEmacs ?$B$,?(B3?$BJ,3d$5$l$^$9!#>e$,8=:_$N?(B Summary ?$B%b!<%I!"Cf$,?(B Message ?$B%b!<%I!"2<$,?(B Draft ?$B%b!<%I$G$9!#?(B @end ifset @ifset us If you use @samp{a} or @samp{A} in Summary mode, a draft for reply is prepared and Emacs is split into three windows. The top is Summary mode, the middle is Message mode, and the bottom is Draft mode. @end ifset

@ifset jp Message ?$B%b!<%I$N%F%-%9%H$r0zMQ$9$k%3%^%s%I$r0J2<$K<($7$^$9!#?(B @end ifset @ifset us Here are commands to cite text from Message mode to Draft mode. @end ifset

@table @samp @ifset jp @item C-cC-y Message ?$B%b!<%I$+$i%a%C%;!<%8$N0lIt$r%3%T!<$7!"0zMQ%i%Y%k$H0zMQ5-9fIU$G%Z!<?(B ?$B%9%H$9$k!#?(B @enumerate @item ?$B$*$*$^$+$K8@$($P!"?(BMessage ?$B%b!<%I$NKJ8$,%3%T!<$5$l$k!#$?$H$($P!"?(B Text/Plain ?$B$,I=<($5$l$F$$$k$H!"?(BMessage ?$B%b!<%IA4BN$,%3%T!<$5$l$k!#?(B Message/Rfc822 ?$B$,I=<($5$l$F$$$k>l9g$O!"%X%C%@$r=|$$$?KJ8$,%3%T!<$5$l$k!#?(B @item @samp{C-u} ?$B$H6&$K8F$P$l$k$H!"%X%C%@$,$"$l$P%X%C%@$r%3%T!<$9$k!#?(B @item Emacs ?$B$N%^!<%/$,$"$k$H!"$=$N%^!<%/$H%+!<%=%k$N4V$,BP>]$H$J$k!#?(B @end enumerate @item C-cC-t Message ?$B%b!<%I$+$i%a%C%;!<%8$N0lIt$r%3%T!<$7!"0zMQ%i%Y%k$H0zMQ5-9f$J$7$G?(B ?$B%Z!<%9%H$9$k!#?(B @end ifset @ifset us @item C-cC-y Copy and paste a part of message from Message mode WITH citation prefix and label. @enumerate @item Roughly speaking, it copies the body in Message mode. For example, if Text/Plain is displayed, the entire Message mode is copied. If Message/Rfc822 is displayed, the body without the header is copied. @item If called with @samp{C-u}, the header is also copied if exists. @item If an Emacs mark exists, the target is the region between the mark and the cursor. @end enumerate @item C-cC-t Copy and paste a part of message from Message mode WITHOUT citation prefix and label. @end ifset @end table

@ifset jp ?$B%G%U%)%k%H$N0zMQ%i%Y%k$H0zMQ5-9f$O0J2<$N$h$&$K$J$j$^$9!#?(B @end ifset @ifset us The default label and prefix is as follows: @end ifset

@example @ifset jp From: SUMIKAWA Munechika <sumikawa@@ebina.hitachi.co.jp> Subject: Wine Date: Wed, 23 Jul 1997 11:40:50 +0900

> ?$B$*$O$h$&$+$i$*$d$9$_$^$G%K!<%H$G$*$J$8$_$N3Q@n$G$9!#?(B > > ?$B$5$F!"$H$m$1$k%o%$%s:n@o$G$9$,!"Dj@PDL$j?(B '90 ?$B$N%k%I!<$N?(B > ?$B%+%Y%k%M!&%=!<%S%K%g%s$rA@$$$?$$$H;W$$$^$9!#%T%N%N%"!<%k?(B > ?$B$,$A$g$C$T$j%V%l%s%I$7$F$"$k$H$$$$$+$b!#?(B @end ifset @ifset us From: SUMIKAWA Munechika <sumikawa@@ebina.hitachi.co.jp> Subject: Wine Date: Wed, 23 Jul 1997 11:40:50 +0900

> Hi, it's Sumikawa, the neat from good morning to good night. > > Talking the party of wonderful wine, I would propose Cabernet > Sauvignon, Bordeaux, '90. It would be great if Pinot Noir > is blended a bit. @end ifset @end example

@ifset jp Draft ?$B%b!<%I$G$O?(B Message ?$B%b!<%I?(B("*mew message*"?$B%P%C%U%!?(B)?$B$KI=<($5$l$F$$$k?(B ?$B$b$N$J$i$J$s$G$b0zMQ$G$-$^$9!#$D$^$j!"J#?t$N%a%C%;!<%8$r4JC1$K0zMQ$G$-$k?(B ?$B$N$G$9!#0zMQ$7$?$$%a%C%;!<%8$rI=<($5$;$F!"KJ8$r0zMQ$9$k<j=g$r!"0zMQ$7$??(B ?$B$$%a%C%;!<%8$N2s?t$@$17+$jJV$7$F2<$5$$!#$=$N$?$a$N?(B3?$BJ,3d$G$9!#?(B @end ifset @ifset us In Draft mode, you can cite any text displayed in Message mode("*mew message*" buffer). So, you can cite text from multiple messages easily. Select a message in Summary mode and display it in Message mode, then cite it in Draft mode. Please repeat this procedure as you like. Triple windows are prepared for this purpose. @end ifset

@ifset jp Mew ?$B$O?(B supercite ?$B$H%j%s%/$G$-$^$9$,!"?(Bsupercite ?$B$rMxMQ$7$h$&$H;W$&A0$K!"?(B ?$B0J2<$N$h$&$K@_Dj$7$F$_$F2<$5$$!#?(B @end ifset @ifset us You can use "supercite" with Mew but before you start using it, configure as follows. @end ifset

@example (setq mew-cite-prefix-function 'mew-cite-prefix-username) @end example

@ifset jp ?$B$3$N@_Dj$r$7$F$*$/$H!"0J2<$N$h$&$K0zMQ5-9f$K%f!<%6L>$,IU$/$h$&$K$J$j$^$9!#?(B @end ifset @ifset us With this configuration, the citation prefix is preceded by a user name. @end ifset

@example @ifset jp From: SUMIKAWA Munechika <sumikawa@@ebina.hitachi.co.jp> Subject: Wine Date: Wed, 23 Jul 1997 11:40:50 +0900

sumikawa> ?$B$*$O$h$&$+$i$*$d$9$_$^$G%K!<%H$G$*$J$8$_$N3Q@n$G$9!#?(B sumikawa> sumikawa> ?$B$5$F!"$H$m$1$k%o%$%s:n@o$G$9$,!"Dj@PDL$j?(B '89 ?$B$N%k%I!<$N?(B sumikawa> ?$B%+%Y%k%M!&%=!<%S%K%g%s$rA@$$$?$$$H;W$$$^$9!#%T%N%N%"!<%k?(B sumikawa> ?$B$,$A$g$C$T$j%V%l%s%I$7$F$"$k$H$$$$$+$b!#?(B @end ifset @ifset us From: SUMIKAWA Munechika <sumikawa@@ebina.hitachi.co.jp> Subject: Wine Date: Wed, 23 Jul 1997 11:40:50 +0900

sumikawa> Hi, it's Sumikawa, the neat from good morning to good night. sumikawa> sumikawa> Talking the party of wonderful wine, I would propose Cabernet sumikawa> Sauvignon, Bordeaux, '89. It would be great if Pinot Noir sumikawa> is blended a bit. @end ifset @end example

@ifset jp ?$B$5$i$K!"0J2<$N@_Dj$r2C$($F$_$^$7$g$&!#?(B @end ifset @ifset us In addition to the configuration above, add the following. @end ifset

@example (setq mew-addrbook-for-cite-label 'nickname) (setq mew-addrbook-for-cite-prefix 'nickname) @end example

@ifset jp ?$B:G=i$N@_Dj$G%i%Y%k$NCf$N%"%I%l%9$,%K%C%/%M!<%`?(B(@xref{addrbook})?$B$KJQ$o$j?(B ?$B$^$9!#$^$?!"<!$N@_Dj$G0zMQ5-9f$N%f!<%6L>$NItJ,$,%K%C%/%M!<%`$KCV$-49$o$j?(B ?$B$^$9!#?(B @end ifset @ifset us With the first line, an address in the citation label is replaced with its nickname(@xref{addrbook}). The second line indicates that a user name in the prefix is replaced with its nickname. @end ifset

@example @ifset jp From: ?$B$9$_$C$A?(B Subject: Wine Date: Wed, 23 Jul 1997 11:40:50 +0900

?$B$9$_$C$A?(B> ?$B$*$O$h$&$+$i$*$d$9$_$^$G%K!<%H$G$*$J$8$_$N3Q@n$G$9!#?(B ?$B$9$_$C$A?(B> ?$B$9$_$C$A?(B> ?$B$5$F!"$H$m$1$k%o%$%s:n@o$G$9$,!"Dj@PDL$j?(B '89 ?$B$N%k%I!<$N?(B ?$B$9$_$C$A?(B> ?$B%+%Y%k%M!&%=!<%S%K%g%s$rA@$$$?$$$H;W$$$^$9!#%T%N%N%"!<%k?(B ?$B$9$_$C$A?(B> ?$B$,$A$g$C$T$j%V%l%s%I$7$F$"$k$H$$$$$+$b!#?(B @end ifset @ifset us From: sumitch Subject: Wine Date: Wed, 23 Jul 1997 11:40:50 +0900

sumitch> Hi, it's Sumikawa, the neat from good morning to good night. sumitch> sumitch> Talking the party of wonderful wine, I would propose Cabernet sumitch> Sauvignon, Bordeaux, '89. It would be great if Pinot Noir sumitch> is blended a bit. @end ifset @end example

@ifset jp ?$B$b$7!"0zMQ$NMM<0$,>e5-$G$O$J$/0J2<$N$h$&$K$J$k$J$i!"?(B @samp{mail-citation-hook} ?$B$,Dj5A$5$l$F$$$k$N$+$b$7$l$^$;$s!#?(B @end ifset @ifset us If you get the following citation style instead of up above, @samp{mail-citation-hook} might be defined. @end ifset

@example In article ..... @end example

@ifset jp Mew ?$BFH<+$N0zMQMM<0$r;H$$$?$$$J$i!"0J2<$N9T$r?(B ".emacs" ?$B$K2C$($F2<$5$$!#?(B @end ifset @ifset us To use Mew original citation style, put the following into your ".emacs". @end ifset

@example (setq mail-citation-hook nil) @end example

@c %%%%%%%%%%%%%%%%% @node mime-comp, charset-guess, cite, Composing @ifset jp @section ?$B%^%k%A%Q!<%H$N:n@.?(B @end ifset @ifset us @section Composing multipart @end ifset

@ifset jp ?$B$5$F!"$3$3$G%^%k%A%Q!<%H$N:n$jJ}$rHdO*$7$^$7$g$&!#?(B @end ifset @ifset us OK. Let's see how to create multipart. @end ifset

@ifset jp ?$B$?$H$($P!"?(B+draft/1 ?$B$G%a%C%;!<%8$r=q$$$F$$$k$H$-$K!"?(B@samp{C-cC-a} ?$B$HF~NO?(B ?$B$9$k$H!"Ap9F$N0lHV2<$K?(B @end ifset @ifset us When you are writing a message in +draft/1 and type @samp{C-cC-a}, the following lines are inserted at the bottom of the draft. @end ifset

@example ----------------------------- attachments -----------------------------
Multipart/Mixed 1/
1 Text/Plain(guess) CoverPage*
2 . --------0-1-2-3-4-5-6-7-8-9-------------------------------------------- @end example

@ifset jp ?$B$H$$$&9T$,A^F~$5$l$^$9!#?(B"1/" ?$B$O%^%k%A%Q!<%H$r9=C[$9$k$?$a$N0l;~E*$J%G%#?(B ?$B%l%/%H%j$G!"<BBN$O?(B "~/Mail/draft/mime/1" ?$B$G$9!#%Q!<%H?(B 1 ?$B$N?(B CoverPage ?$B$O?(B ?$BKJ8$r0UL#$7$^$9!#$3$3$G?(B Draft ?$B%b!<%I$O<!$N$h$&$K$J$C$F$$$k$G$7$g$&!#?(B @end ifset @ifset us "1/" is a temporary directory to create multipart and locates "~/Mail/draft/mime/1". The part 1, "Coverpage", refers to the body. Now the entire draft looks like: @end ifset

@example @ifset jp To: mew-dist Subject: ?$B$3$3$,%X%C%@?(B X-Mailer:@value{X-Mailer:} ---- ?$BKJ8$@$h!#?(B

----------------------------- attachments -----------------------------
Multipart/Mixed 1/
1 Text/Plain(guess) CoverPage*
2 . --------0-1-2-3-4-5-6-7-8-9-------------------------------------------- @end ifset @ifset us To: mew-dist Subject: This is header X-Mailer:@value{X-Mailer:} ---- This is body.

----------------------------- attachments -----------------------------
Multipart/Mixed 1/
1 Text/Plain(guess) CoverPage*
2 . --------0-1-2-3-4-5-6-7-8-9-------------------------------------------- @end ifset @end example

@ifset jp 3?$B$D$NNN0h$r0J2<$N$h$&$K8F$V$3$H$K$7$^$9!#?(B @end ifset @ifset us Here we call three regions as follows: @end ifset

@itemize @bullet @ifset jp @item "----" ?$B$h$j>e$r?(B ?$B!V%X%C%@!W?(B @item "----" ?$B$+$i?(B "attachments" ?$B$^$G$r!VKJ8!W?(B @item "attachments" ?$B$h$j2<$r!VE:IUNN0h!W?(B @end ifset @ifset us @item the region above "----" @samp{header} @item the region from "----" to "attachments" @samp{body} @item the region below "attachments" @samp{attachments} @end ifset @end itemize

@ifset jp Draft ?$B%b!<%I$G$O!"%j!<%8%g%s$K$h$C$F%-!<3dEv$,0c$$$^$9!#?(B @end ifset @ifset us In Draft mode, key bindings are different on each region. @end ifset

@ifset jp ?$B$?$H$($P!"?(B@samp{TAB} ?$B$O0J2<$N$h$&$K$J$j$^$9!#?(B @end ifset @ifset us To @samp{TAB}, for instance, functions are assigned as follows: @end ifset

@table @asis @ifset jp @item ?$B%X%C%@?(B ?$B$5$^$6$^$JJd40!#?(B @item ?$BKJ8?(B TAB ?$B$NA^F~!#?(B @item ?$BE:IUNN0h?(B ?$B$J$K$b$7$J$$!#?(B @end ifset @ifset us @item header Completions. @item body Insert TAB. @item attachments Do nothing. @end ifset @end table

@ifset jp @samp{c} ?$B$@$H0J2<$N$h$&$K$J$j$^$9!#?(B @end ifset @ifset us To @samp{c}, functions are assigned as follows: @end ifset

@table @asis @ifset jp @item ?$B%X%C%@?(B c ?$B$rA^F~!#?(B @item ?$BKJ8?(B c ?$B$rA^F~!#?(B @item ?$BE:IUNN0h?(B ?$B%U%!%$%k$N%3%T!<!#?(B @end ifset @ifset us @item header Insert c. @item body Insert c. @item attachments Copy a file. @end ifset @end table

@ifset jp ?$B0J2<!"E:IUNN0h$G$N%-!<3dEv$G$9!#?(B @end ifset @ifset us The following is a summary of commands in attachments. @end ifset

@table @samp @ifset jp @item C-p ?$B8=:_$N%G%#%l%/%H%j$NA0$N%U%!%$%k$X0!#?(B @item C-n ?$B8=:_$N%G%#%l%/%H%j$N8e$N%U%!%$%k$X0!#?(B @item C-f 1 ?$BHVL%5%V%G%#%l%/%H%j$K0!#?(B @item C-b ?$B?F%G%#%l%/%H%j$K0!#?(B @item c ?$B%U%!%$%k$N%3%T!<!#?(B"." ?$B>e$GM-8z!#%M%C%H%o!<%/7PM3$G$b2D!#%j%b!<%H$N%U%!%$?(B ?$B%k$r%3%T!<$9$k>l9g$O!"?(B"/[user@@]hostname:/filepath"?$B$N7A<0$G%U%!%$%k$r;X?(B ?$BDj!#?(B @item l ?$B%U%!%$%k$X%7%s%C%j%/%j%s%/$rD%$k!#?(B"." ?$B>e$GM-8z!#E:IU%U%!%$%k$r?(B @samp{f} ?$B$r;H$C$FFI$_9~$s$GJT=8$9$k>l9g$O!"<BBN$rJT=8$7$F$7$^$o$J$$$h$&?(B ?$B$K!"?(B@samp{l} ?$B$G$O$J$/?(B @samp{c} ?$B$G%3%T!<$9$Y$-!#?(B @item d ?$B%U%!%$%k$H%G%#%l%/%H%j$N>C5n!#?(B @item m ?$B%5%V%G%#%l%/%H%j?(B(?$B$D$^$j%^%k%A%Q!<%H?(B)?$B$N:n@.!#?(B"." ?$B>e$GM-8z!#?(B @item f ?$B%U%!%$%k$r%P%C%U%!$KFI$_9~$`!#?(B @item F ?$B?75,%U%!%$%k$r%P%C%U%!$KFI$_9~$`!#?(B"." ?$B>e$GM-8z!#?(B @item y Message ?$B%b!<%I$KI=<($5$l$F$$$k%a%C%;!<%8$K%j%s%/$rD%$k!#?(B"." ?$B>e$GM-8z!#?(B @item e external-body ?$B$NF~NO!#?(B"." ?$B>e$GM-8z!#?(B @item a ?$B2;$r%5%s%W%j%s%0$7%*!<%G%#%*%U%!%$%k$H$7$FA^F~!#?(B"." ?$B>e$GM-8z!#?(B @item p ?$BF~NO$5$l$?%f!<%6$N?(B PGP ?$B8x3+80$r<h$j=P$9!#?(B"." ?$B>e$GM-8z!#?(B @item D ?$B$A$g$C$H$7$?@bL@?(B(Content-Description:)?$B$NF~NO!#?(B @item T ?$B%G!<%?7??(B(Content-Type:)?$B$NJQ99!#?(B @item C Text/* ?$B7?$N%G!<%?$N?(B charset ?$B$r;XDj$9$k!#?(B @item P ?$B<u?.B&$G$3$N%Q!<%H$rJ]B8$9$k:]$N%U%!%$%kL>?(B(Content-Disposition:)?$B$NJQ99!#?(B ?$B%U%!%$%kL>$NF~NO$N:]$K!"C1$K?(B @samp{RET}?$B$r2!$9$HCM$,>C$($k!#$=$7$F!"Aw?.?(B ?$BB&$N%U%!%$%kL>$,?(B @samp{*} ?$B$H6&$KI=<($5$l$k!#?(B @end ifset @ifset us @item C-p Go to the previous file in the current directory. @item C-n Go to the next file in the current directory. @item C-f Go to the first subdirectory. @item C-b Go to the parent directory. @item c Copy a file (via networks) on ".". To copy a remote file, use the "/[user@@]hostname:/filepath" syntax. @item l Link a file with a symbolic link on ".". If you want to edit the attached file, you should @samp{c} instead of @samp{l} so that you don't edit the original file. @item d Delete this file or this directory. @item m Create a subdirectory(i.e. multipart) on ".". @item f Open this file into a buffer. @item F Open a new file into a buffer on ".". @item y Link the message which is displayed in Message mode on ".". @item e Input external-body on ".". @item a Sampling voice and insert as audio file on ".". @item p Extract the PGP key for the inputed user on ".". @item D Input a description(Content-Description:). @item T Change the data type(Content-Type:). @item C Specify charset for a Text/* object. @item P Specify a file name(Content-Disposition:) to save this part in the receiver side. If you type just @samp{RET} without any string, its value is cleared. Then the file name in the sender side is displayed with @samp{*}. @end ifset @end table

@ifset jp ?$BE:IUNN0h$G$O!"%U%!%$%k$N%5%U%#%C%/%9$K$h$C$F%G!<%?$r<h$j07$$$^$9!#8=:_%5?(B ?$B%]!<%H$7$F$$$k%5%U%#%C%/%9$O0J2<$NDL$j$G$9!#?(B @end ifset @ifset us In attachments, data types are guessed by suffix. The current supported suffixes are as follows: @end ifset

@example [0-9]+ Message/Rfc822 @end example

@ifset jp @samp{c} ?$B$G%U%!%$%k$r%3%T!<$9$k$H!"$?$H$($P<!$N$h$&$K$J$j$^$9!#%3%T!<$9?(B ?$B$k$H$-$N%U%!%$%kL>$O!"E,@Z$J%G!<%?7?$r?dB,$G$-$k$h$&%5%U%#%C%/%9$K5$$rIU?(B ?$B$1$l$P$J$s$G$b$h$$$G$9!#?(B @end ifset @ifset us For instance, if you copy files with @samp{c}, the part becomes as follows:(Please choose an appropriate suffix for the file name so that Mew can guesses its data type.) @end ifset

@ifset jp @example ----------------------------- attachments -----------------------------
Multipart/Mixed 1/
1 Text/Plain(guess) CoverPage* B 2 Image/Gif MagicPoint ?$B$N%m%4?(B mgp.gif Q 3 Application/Postscript ?$B;qNA?(B ohp.ps
4 . --------0-1-2-3-4-5-6-7-8-9-------------------------------------------- @end example @end ifset @ifset us @example ----------------------------- attachments -----------------------------
Multipart/Mixed 1/
1 Text/Plain(guess) CoverPage* B 2 Image/Gif MagicPoint logo mgp.gif Q 3 Application/Postscript Presentation Material ohp.ps
4 . --------0-1-2-3-4-5-6-7-8-9-------------------------------------------- @end example @end ifset

@ifset jp ?$B3F9T$O!"?(B

@itemize @minus @item ?$B%^!<%/?(B(Content-Transfer-Encoding:) @item ?$B%Q!<%HHV9f?(B @item ?$B%G!<%?$N7??(B(Content-Type:) @item ?$B@bL@?(B(Content-Description:) @item ?$B%U%!%$%kL>?(B(Content-Disposition:) @end itemize

?$B$+$i9=@.$5$l$F$$$^$9!#?(B @end ifset @ifset us Each line of multipart consists of

@itemize @minus @item marks (Content-Transfer-Encoding:) @item part number @item data type (Content-Type:) @item description (Content-Description:) @item file name (Content-Disposition:). @end itemize @end ifset

@ifset jp ?$B%^!<%/?(B(Content-Transfer-Encoding:)?$B$rJQ99$9$kJ}K!$O!"?(B@xref{mark-b-comp} ?$B$r;2>H$7$F2<$5$$!#%G!<%?$N7??(B(Content-Type:)?$B$O?(B @samp{T} ?$B$K$h$C$FJQ$($i$l?(B ?$B$^$9!#@bL@?(B(Content-Description:)?$B$O?(B @samp{D} ?$B$GF~NO$G$-$^$9!#$3$N@bL@$N%+?(B ?$B%i%`$O!"?(B@xref{mark-b-comp} ?$B$G@bL@$9$k0E9f2=$N:]$K>e=q$-$5$l$^$9!#?(B @end ifset @ifset us Please refer to @xref{mark-b-comp} to know how to change mark (Content-Transfer-Encoding:). You can change data types(Content-Type:) by @samp{T} at any time. You can also insert descriptions(Content-Description:) by @samp{D}. This description column is overwritten when encrypted as described in @xref{mark-b-comp}. @end ifset

@ifset jp ?$BBh?(B5?$B%+%i%`$KI=<($5$l$k$N$O!"<B:]$K$O%3%T!<$7$?%U%!%$%kL>$+?(B Content-Disposition:?$B!"$D$^$j!"<u?.<T$,$=$N%Q!<%H$rJ]B8$9$k:]$N%U%!%$%kL>?(B ?$B$G$9!#?(BContent-Disposition: ?$B$NCM$,$"$l$P!"$=$l$,I=<($5$l$^$9!#$J$1$l$P!"?(B ?$B%3%T!<$7$?%U%!%$%kL>$K?(B @samp{*} ?$B$rIU2C$7$FI=<($7$^$9!#%U%!%$%k$r%3%T!<$7?(B ?$B$?:]$N?(B Content-Disposition: ?$B$NCM$O!"%3%T!<$7$?%U%!%$%kL>$,;XDj$5$l$F$$$^?(B ?$B$9!#$?$@$7!"?(BMessage/* ?$B$H?(B Multipart/* ?$B$K$O?(B Content-Disposition: ?$B$O@_Dj$5?(B ?$B$l$^$;$s!#?(BContent-Disposition: ?$B$r;XDj$9$k$K$O!"?(B@samp{P} ?$B$rMxMQ$7$F2<$5$$!#?(B @end ifset @ifset us Strictly speaking, the fifth column is the copied file name or the value of Content-Disposition:, namely the file name to which the receiver saves the part. If Content-Disposition: exists, Mew displays it. Otherwise, Mew displays the copied file name with @samp{*} appended. When you copy a file, the file name is specified as Content-Disposition:. But this is not true for both Message/* and Multipart/*. To specify Content-Disposition:, use @samp{P}. @end ifset

@ifset jp ?$B%U%!%$%k$O%7%s%0%k%Q!<%H$K!"%G%#%l%/%H%j$O%^%k%A%Q!<%H$KBP1~$7$^$9!#$G?(B ?$B$9$+$i!"%U%!%$%k9=B$$r:n$C$F$$$/463P$GJ#;($J%^%k%A%Q!<%H$r:n@.$G$-$^$9!#?(B ?$B4JC1$G$7$g!)?(B @end ifset @ifset us Files mean singlepart while directories are regarding with multipart. So, you can create very complex multipart MIME as if you created file system. Very easy, isn't it? @end ifset

@ifset jp ?$B%G%#%l%/%H%j$N%G%U%)%k%H$N?(B Content-Type: ?$B$O?(B Multipart/Mixed ?$B$G$9!#$3$l$b?(B @samp{T} ?$B$K$h$C$FJQ99$G$-$^$9!#?(B @end ifset @ifset us The default data type for directories is Multipart/Mixed. Of course, you can change it by @samp{T}. @end ifset

@ifset jp ?$B$5$F!"$*9%$_$N%^%k%A%Q!<%H$,:n@.$G$-$?$i!"?(B@samp{C-cC-m} ?$B$H%?%$%W$7$^$7$g?(B ?$B$&!#$"!<!<!<$iIT;W5D!#%U%!%$%k9=B$$,%^%k%A%Q!<%H$XJQ49$5$l$k$G$O$"$j$^$;?(B ?$B$s$+!#$`$m$s!"B?CJ$N%^%k%A%Q!<%H$b%5%]!<%H$7$F$$$^$9!#$"$H$O!"?(B @samp{C-cC-c} ?$B$GAw$k$@$1$G$9!#?(B @end ifset @ifset us After creating multipart, type @samp{C-cC-m}. Amazing! The created file system is transformed to multipart MIME. Of course, multipart of multipart is supported. Just type @samp{C-cC-c} to send it. @end ifset

@ifset jp MIME ?$B$NJ8K!$,J,$+$C$F$$$J$$?M$O!"?(B@samp{C-cC-m} ?$B$N8e$KAp9F$rJQ99$7$J$$$h?(B ?$B$&$K$7$^$7$g$&!#$b$7!"$I$&$7$F$bAp9F$r=$@5$9$k$H$-$O!"!V:G=i$N6-3&$NA0$H?(B ?$B:G8e$N6-3&$N8e$OL5;k$5$l$k!W$3$H$KCm0U$7$F2<$5$$!#?(B @end ifset @ifset us If you don't know MIME syntax, please don't modify after @samp{C-cC-m}. If you really want to modify it, please note that the region before the first boundary and the region after the last boundary are ignored. @end ifset

@ifset jp ?$B%^%k%A%Q!<%H$NJQ498e!"$d$C$Q$j85$KLa$7$?$$$H;W$C$?$i!"?(B@samp{C-cC-u} ?$B$r;H$C?(B ?$B$F2<$5$$!#?(B(@samp{C-xu} ?$B$d?(B @samp{C-_} ?$B$G$O$J$$$3$H$KCm0U!#?(B) @end ifset @ifset us After transforming multipart, if you want it back, use @samp{C-cC-u}. (Please note that it's not @samp{C-xu} nor @samp{C-_}. @end ifset

@ifset jp ?$B%Q!<%H$N<BBN$,30It$K$"$k?(B external-body ?$B$r:n@.$9$k%3%^%s%I?(B@samp{e} ?$B$K$D$$?(B ?$B$F@bL@$7$^$7$g$&!#?(Baccess-type ?$B$K?(B ftp ?$B$+?(B anon-ftp ?$B$rF~NO$9$k$H$-$O!"?(B ange-ftp ?$B$N$*$+$2$G%j%b!<%H$N%U%!%$%kL>$,Jd40$G$-$^$9!#?(Baccess-type ?$B$,?(B local-file ?$B$N>l9g$O!"$b$A$m$s%U%!%$%kL>$rJd40$G$-$^$9!#?(B @end ifset @ifset us Let's consider Message/External-body by @samp{e}. If access-type is "ftp" or "anon-ftp", you can enjoy completion for a remote file name thanks to ange-ftp. If access-type is "local-file", of course, file completion is available. @end ifset

@ifset jp ?$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!"?(B ?$B0lHV>e$N%^%k%A%Q!<%HItJ,$G?(B @samp{d} ?$B$r2!$7$F2<$5$$!#?(B @end ifset @ifset us If you want to quit creating multipart and to get back to singlepart, type @samp{d} in the top level multipart. @end ifset

@c %%%%%%%%%%%%%%%%% @node charset-guess, reply, mime-comp, Composing @ifset jp @section ?$BJ8;z%3!<%I$N?dB,?(B @end ifset @ifset us @section Charset guess @end ifset

@ifset jp Mew ?$B$O%7%s%0%k%Q!<%H$H%^%k%A%Q!<%H$NN>J}$KBP$7!"?(Bcharset ?$B$r?dB,$9$k5!G=$r?(B ?$B;}$C$F$$$^$9!#?(B @end ifset @ifset us Mew has charset guess mechanisms for both singlepart and multipart. @end ifset

@ifset jp <?$B%7%s%0%k%Q!<%H?(B> @end ifset @ifset us <Singlepart> @end ifset

@ifset jp Draft ?$B%b!<%I$G?(B @samp{C-cC-m} ?$B$HF~NO$9$k$H!"?(BMew ?$B$OKJ8$N?(B charset ?$B$r?dB,$7?(B ?$B$^$9!#?(BBilingual Emacs ?$B$G$O!"?(B7?$B%S%C%H$NJ8;z%3!<%I$KBP$7?(B US-ASCII ?$B$rA*$S!"?(B8 ?$B%S%C%H$NJ8;z%3!<%I$KBP$7?(B ISO-8859-1 ?$B$rA*Br$7$^$9!#?(BMule ?$B$G$O!"?(BMule ?$B$GDj$a?(B ?$B$i$l$?J8;z%3!<%I$NFbItI=8=$+$i?(B charset ?$B$r?dB,$7$^$9!#?(B @end ifset @ifset us When you type @samp{C-cC-m} on Draft mode, Mew guesses a charset from its body. On Bilingual Emacs, US-ASCII is chosen for 7bit charset while ISO-8859-1 is selected for 8bit charset. On Mule, a charset is chosen based on its internal representation. @end ifset

@ifset jp <?$B%^%k%A%Q!<%H?(B> @end ifset @ifset us <Multipart> @end ifset

@ifset jp ?$B%F%-%9%H%U%!%$%k$rE:IUNN0h$KE:IU$7$?:]$K$O!"0J2<$N$h$&$K?(B "(guess)" ?$B$HI=?(B ?$B<($5$l$^$9!#?(B @end ifset @ifset us When you attach textfile on attachments region, the string "(guess)" is displayed as follows: @end ifset

@example ----------------------------- attachments -----------------------------
Multipart/Mixed 1/
1 Text/Plain(guess) CoverPage*
2 Text/Plain(guess) textfile
3 . --------0-1-2-3-4-5-6-7-8-9-------------------------------------------- @end example

@ifset jp ?$B%7%s%0%k%Q!<%H$H%^%k%A%Q!<%H$G?(B charset ?$B$r?dB,$9$k$3$H$N0c$$$O!"%G!<%?$,?(B ?$B$I$3$KB8:_$9$k$+$G$9!#%7%s%0%k%Q!<%H$O%P%C%U%!$K3JG<$5$l$F$$$^$9$,!"%^%k?(B ?$B%A%Q!<%H$N$=$l$>$l$N%U%!%$%k$O%G%#%9%/>e$KB8:_$7$^$9!#?(Bcharset ?$B$r?dB,$9$k?(B ?$B$?$a$K$O!"?(BMew ?$B$O$3$l$i$N%U%!%$%k$r%P%C%U%!$KFI$_9~$_!"$=$7$F%7%s%0%k%Q!<?(B ?$B%H$HF1$8MWNN$GJ8;z%3!<%I$r?dB,$7$^$9!#?(B @end ifset @ifset us The difference of charset guess for singlepart and multipart is where the data locates. Singlepart is stored in buffer while each file of multipart is stored in disk. To guess a charset, Mew thus reads a file into buffer and uses the charset guess algorithm of singlepart. @end ifset

@ifset jp Bilingual Emacs ?$B$G$O!"?(BMew ?$B$O%U%!%$%k$r$=$N$^$^$N7A<0$GFI$_9~$_$^$9!#$G$9?(B ?$B$+$i!"?(B7?$B%S%C%H$N%U%!%$%k$K$O?(B US-ASCII ?$B$,!"?(B8?$B%S%C%H$N%U%!%$%k$K$O?(B ISO-8859-1 ?$B$,A*$P$l$^$9!#?(B @end ifset @ifset us On Bilingual Emacs, Mew reads a file as it is. So, if the file is 7bit, US-ASCII is chosen. Otherwise ISO-8859-1 is selected. @end ifset

@ifset jp Mule ?$B$G$O!"?(BMew ?$B$O%U%!%$%k$r$=$N%5%$%H$N4D6-?(B(?$B$D$^$j!"?(Bauto conversion)?$B$K=>$C?(B ?$B$F%U%!%$%k$rFI$_9~$_$^$9!#$3$N4D6-$O%5%$%H$4$H$K$h$C$F0[$J$j$^$9!#F|K8l?(B ?$B$N4D6-$G$O!"?(BMule ?$B$O?(B 2022-JP?$B!"?(BEUC-Japan?$B!"$=$7$F!"?(BShift_JIS ?$B$r8+;v$K?dB,$7!"?(B ?$BF|K8lMQ$NFbItI=5-$KJQ49$7$F%P%C%U%!$K3JG<$7$^$9!#?(BMew ?$B$O!"$3$NFbItI=5-$+?(B ?$B$i?(B charset ?$B$r?dB,$7$^$9!#$h$C$F!"?(BISO-2022-JP?$B!"?(BEUC-Japan?$B!"$=$7$F!"?(B Shift_JIS ?$B$N%U%!%$%k$r0BA4$KE:IU$G$-$^$9!#?(BMule ?$B$G$3$N4D6-$r7hDj$9$k4X?t?(B ?$B$O!"?(Bset[up]-<language>-environment ?$B$H$$$&L>A0$G$9$+$i!">$$$3$H$,CN$j?(B ?$B$?$$$J$i$3$l$i$N4X?t$N@bL@$rFI$s$G2<$5$$!#?(B @end ifset @ifset us On Mule, Mew reads a file according to the local convention(i.e. auto conversion). The convention is really site dependent. In Japan, ISO-2022-JP, EUC-Japan, and Shift_JIS is neatly guessed and stored in buffer as internal representation for Japanese. Mew decides a charset from the internal representation. That is, you can safely attach ISO-2022-JP, EUC-Japan, and Shift_JIS text files. Functions to decide local convention are called set[up]-<language>-environment. For more information about local convention, read their descriptions. @end ifset

@ifset jp ?$B$b$7!"%U%!%$%k$N?(B charset ?$B$rL@<(E*$K;XDj$7$?$$$J$i!"?(B@samp{C} ?$B$r;H$C$F2<$5?(B ?$B$$!#E57?E*$J;HMQNc$O!"F|K?(B ISO-8859-1 ?$B$N%U%!%$%k$rE:IU$9$k$3$H$G$9!#$3?(B ?$B$NNc$N>l9g!"E:IUNN0h$O0J2<$N$h$&$K$J$j$^$9!#?(B @end ifset @ifset us If you want to explicitly specify charset for a file, use @samp{C} on attachments. A typical example is to attach ISO-8859-1 file in Japanese environment. The attachments region becomes as follows: @end ifset

@example ----------------------------- attachments -----------------------------
Multipart/Mixed 1/
1 Text/Plain(guess) CoverPage*
2 Text/Plain(iso-8859-1) textfile
3 . --------0-1-2-3-4-5-6-7-8-9-------------------------------------------- @end example

@ifset jp Bilingual Emacs ?$B$G$O?(B @samp{C} ?$B$OMxMQ$G$-$^$;$s!#?(B @end ifset @ifset us Note that @samp{C} is not available on Bilingual Emacs. @end ifset

@c %%%%%%%%%%%%%%%%% @node reply, forward, charset-guess, Composing @ifset jp @section ?$B%a%C%;!<%8$X$NJVEz$H08@h$N7hDj?(B @end ifset @ifset us @section Replying to a message and deciding recipients @end ifset @vindex mew-mail-address-list @vindex mew-noreplyto-to-list @vindex mew-noreplyto-cc-list @vindex mew-replyto-to-list @vindex mew-replyto-cc-list @vindex mew-fromme-to-list @vindex mew-fromme-cc-list

@ifset jp ?$B?75,$K%a%C%;!<%8$r=q$/>l9g$O!"?(BTo: ?$B$d?(B Cc: ?$B$r<+J,$G=q$/$3$H$K$J$j$^$9!#0l?(B ?$BJ}?(B Summary ?$B%b!<%I$G?(B @samp{a} ?$B$d?(B @samp{A} ?$B$r;H$C$F!"$"$k%a%C%;!<%8$KJVEz?(B ?$B$7$h$&$H$9$k$H!"?(BTo: ?$B$d?(B Cc: ?$B$O<+F0E*$KMQ0U$5$l$^$9!#?(B @end ifset @ifset us While you specify addresses of the To: and Cc: field for a new message by yourself, addresses are automatically prepared for a reply message. @end ifset

@ifset jp ?$BJVEz$N:]!"?(BMew ?$B$O0J2<$N$h$&$J<j=g$K=>$C$F?(B To: ?$B$d?(B Cc: ?$B$rMQ0U$7$^$9!#?(B @end ifset @ifset us For a reply message, Mew prepares addresses for the To: and Cc: fields according to the following rules: @end ifset

@ifset jp @table @asis @item ?$BJVEz$9$k%a%C%;!<%8$N?(B From: ?$B$,<+J,0J30$N>l9g?(B: @table @asis @item ?$BJVEz$9$k%a%C%;!<%8$K?(B Reply-To: ?$B$,$J$$>l9g?(B: @table @asis @item ?$BJVEz$9$k%a%C%;!<%8$N?(B From: ?$B$r?(B To: ?$B$X?(B (1) @item ?$BJVEz$9$k%a%C%;!<%8$N?(B To: ?$B$H?(B Cc: ?$B$r?(B Cc: ?$B$X?(B (2) @end table @item ?$BJVEz$9$k%a%C%;!<%8$K?(B Reply-To: ?$B$,$"$k>l9g?(B: @table @asis @item ?$BJVEz$9$k%a%C%;!<%8$N?(B From: ?$B$H?(B Reply-To: ?$B$r?(B To: ?$B$X?(B (3) @item ?$BJVEz$9$k%a%C%;!<%8$N?(B To: ?$B$H?(B Cc: ?$B$r?(B Cc: ?$B$X?(B (4) @end table @end table @item ?$BJVEz$9$k%a%C%;!<%8$N?(B From: ?$B$,<+J,$G$"$k>l9g?(B: @table @asis @item ?$BJVEz$9$k%a%C%;!<%8$N?(B To: ?$B$r?(B To: ?$B$X?(B (5) @item ?$BJVEz$9$k%a%C%;!<%8$N?(B Cc: ?$B$r?(B Cc: ?$B$X?(B (6) @end table @end table @end ifset @ifset us @table @asis @item If From: of the message to be replied is not from me: @table @asis @item Reply-To: doesn't exist in the message to be replied @table @asis @item Copy From: of the message to be replied to To: (1) @item Copy To: and Cc: of the message to be replied to Cc: (2) @end table @item Reply-To: exists in the message to be replied @table @asis @item Copy From: and Reply-To: of the message to be replied to To: (3) @item Copy To: and Cc: of the message to be replied to Cc: (4) @end table @end table @item If From: of a message to be replied is from me: @table @asis @item Copy To: of the message to be replied to To: (5) @item Copy Cc: of the message to be replied to Cc: (6) @end table @end table @end ifset

@ifset jp ?$B$?$@$7!"$"$k%"%I%l%9$,J#?t$"$k>l9g$O!"<+F0E*$K?(B 1 ?$B$D$K$J$j$^$9!#$^$?!"F??(B ?$BL>$N08@h$rI=$9?(B ":;" ?$B$G=*$k%"%I%l%9$b!"<+F0E*$K>C5n$5$l$^$9!#?(B @end ifset @ifset us If there are multiple entries for a certain address, they are uniquefied. Addresses ended with ":;", which stands for anonymous recipients, are automatically removed. @end ifset

@ifset jp ?$B<+J,$N%"%I%l%9$O<+F0E*$K>C5n$5$l$^$9!#<+J,$N%"%I%l%9$rDj5A$9$k$K$O?(B @samp{mew-mail-address-list} ?$B$r;H$$$^$9!#0J2<$KNc$r<($7$^$9!#?(B @end ifset @ifset us Your addresses are automatically removed. To define your multiple addresses, please use @samp{mew-mail-address-list}. An example is as follows: @end ifset

@example (setq mew-mail-address-list
'("pooh@@[a-z]*.aist-nara.ac.jp"
"pooh@@mew.org"
"winnie@@iijlab.net")) @end example

@ifset jp (1) ?$B!A?(B (6) ?$B$G$I$N%U%#!<%k%I$r%3%T!<$9$k$+$O!"0J2<$NJQ?t$G;XDj$G$-$^$9!#?(B @end ifset @ifset us You can customize which fields are copied in the case (1)-(6) with the following variables: @end ifset

@itemize @asis @item (1) @samp{mew-noreplyto-to-list} @item (2) @samp{mew-noreplyto-cc-list} @item (3) @samp{mew-replyto-to-list} @item (4) @samp{mew-replyto-cc-list} @item (5) @samp{mew-fromme-to-list} @item (6) @samp{mew-fromme-cc-list} @end itemize

@ifset jp Reply-To: ?$B$,$"$k>l9g$K!"?(BReply-To: ?$B$@$1$KJVEz$7$?$$$H;W$&$J$i!"0J2<$N$h$&?(B ?$B$K@_Dj$9$l$P$h$$$G$7$g$&!#?(B @end ifset @ifset us If you want to reply only to the address specified by Reply-To:, configure as follows: @end ifset

@example (setq mew-replyto-to-list '("Reply-To:")) (setq mew-replyto-cc-list nil) @end example

@ifset jp @samp{a} ?$B$d?(B @samp{A} ?$B$r?(B @samp{C-u} ?$BIU$G8F$S=P$9$H!"JVEz$9$k%a%C%;!<%8$N?(B From: ?$B$,?(B To: ?$B$KF~$j!"?(BCc: ?$B$O6u$K$J$j$^$9!#Aw?.<T$N$_$KJVEz$9$k>l9g$KMxMQ?(B ?$B$7$^$9!#?(B @end ifset @ifset us If @samp{a} or @samp{A} is executed with @samp{C-u}, From: of the message to be replied is copied to To:, and Cc: becomes empty. You can use this to reply the sender only. @end ifset

@c %%%%%%%%%%%%%%%%% @node forward, pgp-shortcut, reply, Composing @ifset jp @section ?$B%a%C%;!<%8$NE>Aw?(B @end ifset @ifset us @section Forwarding messages @end ifset @vindex mew-field-delete-for-forwarding

@ifset jp ?$B%a%C%;!<%8$rE>Aw$9$k$K$O!"?(BSummary ?$B%b!<%I$G?(B @samp{f} ?$B$d?(B @samp{F} ?$B$rMxMQ$7?(B ?$B$^$9!#$9$k$H!"?(BDraft ?$B%b!<%I$K09T$7!"$"$i$+$8$a%a%C%;!<%8$,E:IUNN0h$KE:IU?(B ?$B$5$l$?Ap9F$,=`Hw$5$l$^$9!#?(B @end ifset @ifset us To forward messages, type @samp{f} or @samp{F} in Summary mode. Then, Draft mode appears and the messages are already attached to the attachments region. @end ifset

@ifset jp ?$B$^$??(B Draft ?$B%b!<%I$GE:IUNN0h$rMQ0U$7!"%a%C%;!<%8$r%3%T!<?(B(@samp{c})?$B$7$?$j?(B ?$B%a%C%;!<%8$K%j%s%/?(B(@samp{l})?$B$rD%$C$?$j$7$F$b!"%a%C%;!<%8$rE>Aw$G$-$^$9!#?(B ?$B%U%!%$%kL>$,?t;z?(B([0-9]+)?$B$N>l9g$O!"<+F0E*$K%a%C%;!<%8$@$HH=CG$5$l$^$9!#$^?(B ?$B$?!"E:IUNN0h$G?(B @samp{y} ?$B$r;H$&$H!"?(BMessage ?$B%b!<%I$KI=<($7$F$$$k%a%C%;!<%8?(B ?$B$K%j%s%/$rD%$k$N$GJXMx$G$9!#?(B @end ifset @ifset us Also, you can prepare the attachments region by yourself, then copy(@samp{c}) the messages or make links(@samp{l}) to the messages. If the file name of the messages is numeric([0-9]+), they are automatically considered as messages. @samp{y} is very convenient because it make a link to the message displayed in Message mode. @end ifset

@ifset jp ?$BDL>o$OE:IU$7$?%a%C%;!<%8$NA4BN$,E>Aw$5$l$^$9!#$b$7!"%X%C%@$N0lIt$r:o$j$??(B ?$B$$>l9g$O!"?(B@samp{mew-field-delete-for-forwarding} ?$B$rDj5A$7$F2<$5$$!#0J2<?(B ?$B$K?(B "Received:" ?$B$H?(B "Return-Path:" ?$B$rE>Aw;~$K:o$k$?$a$N@_DjNc$r<($7$^$9!#?(B @end ifset @ifset us By default, the entire message is forwarded. If you want to remove some parts of its header, define @samp{mew-field-delete-for-forwarding}. The following is an example to remove "Received:" and "Return-Path:" when forwarded. @end ifset

@example (setq mew-field-delete-for-forwarding '("Received:" "Return-Path:")) @end example

@c %%%%%%%%%%%%%%%%% @node pgp-shortcut, mark-b-comp, forward, Composing @ifset jp @section PGP ?$B$rMxMQ$9$k?(B @end ifset @ifset us @section Using PGP @end ifset

@ifset jp ?$B$3$3$G$O!"%F%-%9%H$G$"$kKJ8$r?(B PGP ?$B$G=pL>$7$?$j0E9f2=$7$?$j$9$kJ}K!$K$D?(B ?$B$$$F@bL@$7$^$9!#=P$F$/$k%3%^%s%I$O0J2<$NDL$j$G$9!#?(B @end ifset @ifset us This section describes to sign or encrypt "text only" message with PGP. The following commands are explained. @end ifset

@table @samp @ifset jp @item C-cC-s ?$BAp9FA4BN$r?(B PGP ?$B$G=pL>$9$k!#%Q%9%U%l!<%:$rF~NO$9$k$3$H!#?(B @item C-cC-e ?$BAp9FA4BN$r?(B PGP ?$B$G0E9f2=$9$k!#?(B @item C-cC-b ?$BAp9FA4BN$r?(B PGP ?$B$G=pL>8e0E9f2=$9$k!#%Q%9%U%l!<%:$rF~NO$9$k$3$H!#?(B @item C-cC-r ?$BAp9FA4BN$r?(B PGP ?$B$G0E9f2=8e=pL>$9$k!#%Q%9%U%l!<%:$rF~NO$9$k$3$H!#?(B @end ifset @ifset us @item C-cC-s Sign the entire draft with PGP. Input your passphrase. @item C-cC-e Encrypt the entire draft with PGP. @item C-cC-b Sign then encrypt the entire draft with PGP. Input your passphrase. @item C-cC-r Encrypt then sign the entire draft with PGP. Input your passphrase. @end ifset @end table

@ifset jp ?$B%a%C%;!<%8$r0E9f2=$9$k$K$O<u?.<T$N8x3+80$r;HMQ$7$^$9!#5U$K=pL>$9$k$K$O<+?(B ?$BJ,$NHkL)80$r;H$$$^$9!#$h$C$F!"=pL>$9$k$?$a$K$O%Q%9%U%l!<%:$rF~NO$9$kI,MW?(B ?$B$,$"$j$^$9!#$?$@$7!"%Q%9%U%l!<%:$NJ]B85!G=$r;H$C$F$*$j!"%Q%9%U%l!<%:$,J]?(B ?$BB8$5$l$F$$$k>l9g$O!"%Q%9%U%l!<%:$rF~NO$9$kI,MW$O$"$j$^$;$s?(B (@xref{pgp-viewing})?$B!#?(B @end ifset @ifset us To encrypt a message, receivers' public keys are used. In the contrary, your secret key is used to sign a message. So, you need to input your pass-phrase when sign up. Note that if you use the pass-phrase cache and if pass-phrases are cached, you do not have to type your pass-phrase(@xref{pgp-viewing}). @end ifset

@ifset jp ?$B$3$l$i$O!"<!@a$G@bL@$9$k%^!<%/$r;H$C$??(B PGP/MIME ?$B$N:n@.J}K!$N>JN,J}K!$KEv?(B ?$B$?$j$^$9!#?(B @end ifset @ifset us They are shortcut methods of mark based composing described in the next subsection. @end ifset

@ifset jp Mew ?$B$G?(B PGP ?$B$r;H$&$?$a$K$O!"?(BPGP ?$B$N?(B userid ?$B$H$7$F%"%I%l%9$rA*$VI,MW$,$"$j?(B ?$B$^$9?(B(?$BNc?(B "Kazuhiko Yamamoto <kazu@@mew.org>")?$B!#?(B @end ifset @ifset us If you use PGP with Mew, you have to select Email address for your PGP userid(e.g. "Kazuhiko Yamamoto <kazu@@mew.org>"). @end ifset

@ifset jp ?$B0J9_$N@bL@$G$O!"<!$NNc$r<h$j>e$2$^$9!#?(B @end ifset @ifset us Let's use the following example for further explanations. @end ifset

@example @ifset jp To: pooh Subject: PGP/MIME ?$B$r;H$*$&$h?(B X-Mailer:@value{X-Mailer:} ---- Mew ?$B$,%;%-%e%j%F%#!&%^%k%A%Q!<%H$r%5%]!<%H$7$^$7$?!#?(B

--?$B$+$:?(B @end ifset @ifset us To: pooh Subject: Let's PGP/MIME X-Mailer:@value{X-Mailer:} ---- Mew starts walking with security multipart. Enjoy PGP/MIME!

--Kazu @end ifset @end example

@ifset jp ?$B=pL>$9$k$K$O!"?(B@samp{C-cC-s} ?$B$HF~NO$7$^$9!#$9$k$H!"<!$N%a%C%;!<%8$,F@$i$l?(B ?$B$^$9!#?(B @end ifset @ifset us To sign with PGP, type @samp{C-cC-s} resulting in the following. @end ifset

@example @ifset jp To: winnie-the-pooh@@100acre.woodwest.uk Subject: PGP/MIME =?iso-2022-jp?B?GyRCJHI7SCQqJCYkaBsoQg==?= X-Mailer:@value{X-Mailer:} Mime-Version: 1.0 Content-Type: Multipart/Signed;
protocol="application/pgp-signature";
micalg="pgp-md5";
boundary="--Security_Multipart(Sat_Nov_16_03:55:00_1996)--" Content-Transfer-Encoding: 7bit

----Security_Multipart(Sat_Nov_16_03:55:00_1996)-- Content-Type: Text/Plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit

Mew ?$B$,%;%-%e%j%F%#!&%^%k%A%Q!<%H$r%5%]!<%H$7$^$7$?!#?(B

--?$B$+$:?(B

----Security_Multipart(Sat_Nov_16_03:55:00_1996)-- Content-Type: Application/Pgp-Signature Content-Transfer-Encoding: 7bit

-----BEGIN PGP MESSAGE----- Version: 2.6.3i

iQCVAwUAMoy8ig9kihyeT3RNAQHt7AQAySDg4n8pOp/YuLaAp68Un/YDtWS0FnOC 7EqHJd6fyViPBnZq8d+uGikA7kOBTz+8Kcv+hN6I7BrQVJGEzd0Y9yHHhXvZj++1 0D09vgWL5G/Zfk/JMnLBt/BZ1ppOhJPT/L5qi2abk+mBVMKxQe071lfFEfvjF1C2 8trTXm/bBz4= =TvAG -----END PGP MESSAGE-----

----Security_Multipart(Sat_Nov_16_03:55:00_1996)---- @end ifset @ifset us To: winnie-the-pooh@@100acre.woodwest.uk Subject: Let's PGP/MIME X-Mailer:@value{X-Mailer:} Mime-Version: 1.0 Content-Type: Multipart/Signed;
protocol="application/pgp-signature";
micalg="pgp-md5";
boundary="--Security_Multipart(Sat_Nov_16_03:55:00_1996)--" Content-Transfer-Encoding: 7bit

----Security_Multipart(Sat_Nov_16_03:55:00_1996)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit

Mew starts walking with security multipart. Enjoy PGP/MIME!

--Kazu

----Security_Multipart(Sat_Nov_16_03:55:00_1996)-- Content-Type: Application/Pgp-Signature Content-Transfer-Encoding: 7bit

-----BEGIN PGP MESSAGE----- Version: 2.6.3i

iQCVAwUAMoy8ig9kihyeT3RNAQHt7AQAySDg4n8pOp/YuLaAp68Un/YDtWS0FnOC 7EqHJd6fyViPBnZq8d+uGikA7kOBTz+8Kcv+hN6I7BrQVJGEzd0Y9yHHhXvZj++1 0D09vgWL5G/Zfk/JMnLBt/BZ1ppOhJPT/L5qi2abk+mBVMKxQe071lfFEfvjF1C2 8trTXm/bBz4= =TvAG -----END PGP MESSAGE-----

----Security_Multipart(Sat_Nov_16_03:55:00_1996)---- @end ifset @end example

@ifset jp @samp{C-cC-c} ?$B$GAw?.$7$F2<$5$$!#?(B @end ifset @ifset us Type @samp{C-cC-c} to send it. @end ifset

@ifset jp ?$B0E9f2=$9$k$K$O!"?(B@samp{C-cC-e} ?$B$HF~NO$7$F2<$5$$!#<!$N$h$&$K$J$j$^$9!#?(B @end ifset @ifset us To encrypt with PGP, type @samp{C-cC-e}. You get the following message. @end ifset

@example @ifset jp To: winnie-the-pooh@@100acre.woodwest.uk Subject: PGP/MIME =?iso-2022-jp?B?GyRCJHI7SCQqJCYkaBsoQg==?= X-Mailer:@value{X-Mailer:} Mime-Version: 1.0 Content-Type: Multipart/Encrypted;
protocol="application/pgp-encrypted";
boundary="--Security_Multipart(Sat_Nov_16_03:57:47_1996)--" Content-Transfer-Encoding: 7bit

----Security_Multipart(Sat_Nov_16_03:57:47_1996)-- Content-Type: Application/Pgp-Encrypted Content-Transfer-Encoding: 7bit

Version: 1

----Security_Multipart(Sat_Nov_16_03:57:47_1996)-- Content-Type: Application/Octet-Stream Content-Transfer-Encoding: 7bit

-----BEGIN PGP MESSAGE----- Version: 2.6.3i

hIwDD2SKHJ5PdE0BA/9gUkcQYVfT+3LrUmcgLkNepuOnDfjADHrWiNo10t4ijyf8 ODBpUBXoBdTg08eNLAWmRFhiJPmI+mxpF6cYFZXhr7gVpa0Qzp3Gr9nYvngRPKNK qUiQjA/ORR3c1TBawufB19jJ9RdU2f0BidhzOSbzsJh1LTgUZu/7Qyd02LxyEqYA AACbrV867PeoFyFc9MVfqTUR6Zw6kGBAlnVYjqQgBhuuyG79vbAbDJMhFiRpoRPf 0MqEewxRonwKOik/PoKnLrwFg77Cb5pxRqMiWPyECJnqtX7r7Wg1c8kqPD0VRjI9 GhHPiG/RmNbpbj/5g6zZri1YBCe8qxIS0QKa3YO7HRDcdBFARr22RaFGFtgdBQ6X cZB+qNeEaKXt3AneTWc= =djCr -----END PGP MESSAGE-----

----Security_Multipart(Sat_Nov_16_03:57:47_1996)---- @end ifset @ifset us To: winnie-the-pooh@@100acre.woodwest.uk Subject: Let's PGP/MIME X-Mailer:@value{X-Mailer:} Mime-Version: 1.0 Content-Type: Multipart/Encrypted;
protocol="application/pgp-encrypted";
boundary="--Security_Multipart(Sat_Nov_16_03:57:47_1996)--" Content-Transfer-Encoding: 7bit

----Security_Multipart(Sat_Nov_16_03:57:47_1996)-- Content-Type: Application/Pgp-Encrypted Content-Transfer-Encoding: 7bit

Version: 1

----Security_Multipart(Sat_Nov_16_03:57:47_1996)-- Content-Type: Application/Octet-Stream Content-Transfer-Encoding: 7bit

-----BEGIN PGP MESSAGE----- Version: 2.6.3i

hIwDD2SKHJ5PdE0BA/9gUkcQYVfT+3LrUmcgLkNepuOnDfjADHrWiNo10t4ijyf8 ODBpUBXoBdTg08eNLAWmRFhiJPmI+mxpF6cYFZXhr7gVpa0Qzp3Gr9nYvngRPKNK qUiQjA/ORR3c1TBawufB19jJ9RdU2f0BidhzOSbzsJh1LTgUZu/7Qyd02LxyEqYA AACbrV867PeoFyFc9MVfqTUR6Zw6kGBAlnVYjqQgBhuuyG79vbAbDJMhFiRpoRPf 0MqEewxRonwKOik/PoKnLrwFg77Cb5pxRqMiWPyECJnqtX7r7Wg1c8kqPD0VRjI9 GhHPiG/RmNbpbj/5g6zZri1YBCe8qxIS0QKa3YO7HRDcdBFARr22RaFGFtgdBQ6X cZB+qNeEaKXt3AneTWc= =djCr -----END PGP MESSAGE-----

----Security_Multipart(Sat_Nov_16_03:57:47_1996)---- @end ifset @end example

@ifset jp @samp{C-cC-c} ?$B$GAw?.$7$F2<$5$$!#$3$N%a%C%;!<%8$O!"<u?.<T$N8x3+80$K2C$($F!"?(B ?$B<+J,$N8x3+80$G$b0E9f2=$5$l$F$$$^$9!#$G$9$+$i!"J]B8$7$?%a%C%;!<%8$rI|9f2=?(B ?$B$G$-$^$9?(B(?$BNc?(B @samp{g} ?$B$G?(B +Backup ?$B$K0$7$?$H$-?(B)?$B!#?(B @end ifset @ifset us Type @samp{C-cC-c} to send it. This message is encrypted with your public key in addition to the receivers. So you can decrypt backup messages(e.g. Visiting to +Backup with @samp{g}). @end ifset

@ifset jp ?$B=pL>8e0E9f2=$9$k$K$O!"?(B@samp{C-cC-b} ?$B$HF~NO$7$^$9!#0E9f2=8e=pL>$9$k$K$O!"?(B @samp{C-cC-r} ?$B$H%?%$%W$7$^$9!#$$$:$l$N>l9g$b!"?(B@samp{C-cC-c} ?$B$GAw?.$7$F2<?(B ?$B$5$$!#?(B @end ifset @ifset us To sign a draft and then encrypt it, type @samp{C-cC-b}. To encrypt a draft and then sign it, type @samp{C-cC-r}. In either case, type @samp{C-cC-c} to send the draft. @end ifset

@ifset jp PGP ?$B$G=pL>$r;$?$j!"0E9f2=$7$?$j$7$F%a%C%;!<%8$rAw$m$&$H;W$C$F$$$F$b!"?(B ?$B$&$C$+$jK:$l$k$3$H$,$"$j$^$9!#$=$N$?$a!"%a%C%;!<%8$r:n@.$9$k%3%^%s%I?(B @samp{C-cC-m} ?$B$KBP$7!"I,MW$K1~$8$F?(B PGP ?$B$r5/F0$5$;$k5!G=$,$"$j$^$9!#?(B @end ifset @ifset us It is very likely that you forget to sign and/or encrypt a draft even if you want to do so. To resolve this, Mew provides automatic PGP mechanism for the massage creation function, @samp{C-cC-m} @end ifset

@ifset jp ?$B:n@.$9$k$9$Y$F$N%a%C%;!<%8$N%W%i%$%P%7$rJ]8n$7$?$$$J$i!"?(B @samp{mew-protect-privacy-always} ?$B$r?(B @samp{t} ?$B$K$7$F!"?(B @samp{mew-protect-privacy-always-type} ?$B$KMxMQ$7$?$$%5!<%S%9$r@_Dj$7$^$9!#?(B @end ifset @ifset us If you want to protect privacy of all drafts, set @samp{mew-protect-privacy-always} to @samp{t} and set @samp{mew-protect-privacy-always-type} to one of PGP services. @end ifset

@ifset jp ?$B0E9f2=$5$l$?%a%C%;!<%8$KBP$9$kJVEz%a%C%;!<%8$N%W%i%$%P%7$rJ]8n$7$?$$$J$i!"?(B @samp{mew-protect-privacy-encrypted} ?$B$r?(B @samp{t} ?$B$K$7$F!"?(B @samp{mew-protect-privacy-encrypted-type} ?$B$KMxMQ$7$?$$%5!<%S%9$r@_Dj$7$^?(B ?$B$9!#$3$N@_Dj$O!"0E9f2=$5$l$?%a%C%;!<%8$X$NJVEz$9$k>l9g!">e5-$N$9$Y$F$N%a!<?(B ?$B%k$KBP$9$k@_Dj$h$j$bM%@h$5$l$^$9!#?(B @end ifset @ifset us If you want to protect privacy of drafts replying encrypted messages, set @samp{mew-protect-privacy-encrypted} to @samp{t} and set @samp{mew-protect-privacy-encrypted-type} to one of PGP services. This configuration is preferred to the configuration for all drafts described above in the case of replying encrypted messages. @end ifset

@ifset jp ?$B0J2<$KMxMQ$G$-$k%5!<%S%9$r<($7$^$9!#$+$C$3Fb$O$=$l$>$l$N%5!<%S%9$rI=$9%7?(B ?$B%s%k$G$9!#?(B@samp{C-cC-m} ?$B$7$?:]$KMxMQ$5$l$k%5!<%S%9$O!"%b!<%I%i%$%s$KI=?(B ?$B<($5$l$^$9!#?(B @end ifset @ifset us The following services are available. The strings in brace are symbol of each service. The service applied when @samp{C-cC-m} is displayed in the mode line. @end ifset

@ifset jp @table @asis @item pgp-signature (PS) ?$B=pL>?(B @item pgp-encryption (PE) ?$B0E9f2=?(B @item pgp-signature-encryption (PSPE) ?$B=pL>8e0E9f2=?(B @item pgp-encryption-signature (PEPS) ?$B0E9f2=8e=pL>?(B @end table @end ifset @ifset us @table @asis @item pgp-signature (PS) Sign @item pgp-encryption (PE) Encrypt @item pgp-signature-encryption (PSPE) Sign then encrypt @item pgp-encryption-signature (PEPS) Encrypt then sign @end table @end ifset

@ifset jp ?$B0J2<$NNc$O!"$9$Y$F$N%a!<%k$KBP$7?(B @samp{C-cC-m} ?$B$G=pL>$9$k@_Dj$G$9!#?(B @end ifset @ifset us The following example is to sign all drafts when @samp{C-cC-m}. @end ifset

@example (setq mew-protect-privacy-always t) (setq mew-protect-privacy-always-type 'pgp-signature) @end example

@ifset jp ?$B0J2<$NNc$O!"0E9f2=$5$l$?%a%C%;!<%8$X$NJVEz%a%C%;!<%8$KBP$7!"?(B @samp{C-cC-m} ?$B$G0E9f2=$9$k@_Dj$G$9!#?(B @end ifset @ifset us The following example is to encrypt drafts replying encrypted messages when @samp{C-cC-m}. @end ifset

@example (setq mew-protect-privacy-encrypted t) (setq mew-protect-privacy-encrypted-type 'pgp-encryption) @end example

@ifset jp Draft ?$B%b!<%I$G$O!"?(B@samp{C-cC-pC-a} ?$B$G?(B @samp{mew-protect-privacy-always}?$B!"?(B @samp{C-cC-pC-e} ?$B$G?(B @samp{mew-protect-privacy-encrypted} ?$B$NCM$rH?E>$G$-?(B ?$B$^$9!#?(B @end ifset @ifset us In Draft mode, @samp{C-cC-pC-a} toggles @samp{mew-protect-privacy-always} and @samp{C-cC-pC-e} toggles @samp{mew-protect-privacy-encrypted}. @end ifset

@ifset jp Draft ?$B%b!<%I$K$*$$$F8=:_=q$$$F$$$kAp9FBP$7$F$N$_$"$i$+$8$a%5!<%S%9$r;XDj?(B ?$B$7$F$*$-!"Aw?.;~$K%5!<%S%9$r;$3$H$rK:$l$J$$$h$&$K$G$-$^$9!#8=:_$NAp9F?(B ?$B$KBP$7?(B @samp{C-cC-m} ?$B$G;$l$k%5!<%S%9$r;XDj$9$k$K$O!"?(B @samp{C-cC-pC-d} ?$B$KB3$$$F>e5-$N%5!<%S%9$N?(B 1 ?$B$D$rF~NO$7$F2<$5$$!#?(B @end ifset @ifset us You can specify privacy services for the current draft in Draft mode beforehand so that you don't forget to apply the privacy services when sending. To set privacy services to the current draft evaluated when @samp{C-cC-m}, type @samp{C-cC-pC-d} then input one of privacy services above. @end ifset

@c %%%%%%%%%%%%%%%%% @node mark-b-comp, pgp-key, pgp-shortcut, Composing @ifset jp @section ?$B%^!<%/$r;H$C$??(B PGP/MIME ?$B$N:n@.?(B @end ifset @ifset us @section Mark based composer @end ifset

@ifset jp PGP/MIME ?$B$r%5%]!<%H$9$k$?$a$K!"%^!<%/$r;H$C$?:n@.J}K!$,Ds6!$5$l$F$$$^$9!#?(B ?$B0JA0$NNc$r;W$$=P$7$F$_$^$7$g$&!#?(B @end ifset @ifset us To support PGP/MIME, mark based composing is provided. Remember the previous example. @end ifset

@ifset jp @example ----------------------------- attachments -----------------------------
Multipart/Mixed 1/
1 Text/Plain(guess) CoverPage* B 2 Image/Gif MagicPoint ?$B$N%m%4?(B mgp.gif Q 3 Application/Postscript ?$B;qNA?(B ohp.ps
4 . --------0-1-2-3-4-5-6-7-8-9-------------------------------------------- @end example @end ifset @ifset us @example ----------------------------- attachments -----------------------------
Multipart/Mixed 1/
1 Text/Plain(guess) CoverPage* B 2 Image/Gif MagicPoint logo mgp.gif Q 3 Application/Postscript Presentation Material ohp.ps
4 . --------0-1-2-3-4-5-6-7-8-9-------------------------------------------- @end example @end ifset

@ifset jp ?$B9TF,$K?(B @samp{B} ?$B$d?(B @samp{Q} ?$B$H$$$C$?%^!<%/$,$"$j$^$9!#$3$N%^!<%/$OId9f2=?(B ?$B$r0UL#$7$F$$$^$9!#?(BMew ?$B$G$O!"?7$7$$35G0!VId9f2=!W$rF3F~$7$F$$$^$9!#Id9f2=?(B ?$B$K$O!"?(BBase64, Quoted-Printable, Gzip64(Gzip + Base64), PGP ?$B$G=pL>?(B, PGP?$B$G?(B ?$B0E9f2=$J$I$,$"$j$^$9!#?(B @end ifset @ifset us You can find the @samp{B} mark and the @samp{Q} mark at the beginning of line. Mew provides you with a new concept of "encoding". Encoding includes Base64, Quoted-Printable, Gzip64(Gzip + Base64), sign with PGP, encrypt with PGP. @end ifset

@ifset jp ?$B8=:_<!$N?(B 6 ?$B$D$N%^!<%/$,%5%]!<%H$5$l$F$$$^$9!#?(B @end ifset @ifset us Currently 6 marks are prepared. @end ifset

@table @samp @ifset jp @item " " ?$BId9f2=$7$J$$!#$?$@$7!"?(B8?$B%S%C%H$N%F%-%9%H$OId9f2=$5$l$k$+$b$7$l$J$$!#?(B @item B Base64 @item Q Quoted-Printable @item G Gzip64(gzip ?$B05=L$7?(B Base64 ?$B$GId9f2=$9$k!#?(BMew ?$B$,<B83E*$K:NMQ$7$F$$$k!#Aj<j?(B ?$B$,?(B Mew ?$B$r;H$C$F$$$J$$>l9g$O!";HMQ$9$Y$-$G$O$J$$!#?(B) @item PS PGP ?$B$GEE;R=pL>!#?(B @item PE PGP ?$B$G0E9f2=!#?(B @end ifset @ifset us @item " " No encoding. But 8bit text would be encoded. @item B Base64 @item Q Quoted-Printable @item G Gzip64(compressed with gzip then encoded with Base64. This is experimental. Don't use this if receivers don't use Mew.) @item PS Sign with PGP @item PE Encrypt with PGP @end ifset @end table

@ifset jp ?$BE:IUNN0h$G$N%^!<%/$K4X78$9$k?7$7$$%-!<3dEv$O0J2<$NDL$j$G$9!#?(B @end ifset @ifset us Additional key binding for marks in attachments is as follows: @end ifset

@table @samp @ifset jp @item B Base64 ?$B$GId9f2=$9$k$?$a?(B @samp{B} ?$B%^!<%/$rIU$1$k!#?(B @item Q Quoted-Printable ?$B$GId9f2=$9$k$?$a?(B @samp{Q} ?$B%^!<%/$rIU$1$k!#?(B @item G Gzip64 ?$B$GId9f2=$9$k$?$a?(B @samp{G} ?$B%^!<%/$rIU$1$k!#$?$@$7!"?(BText/Plain ?$B$H?(B Application/Postscript ?$B$G$7$+<B9T$G$-$J$$!#$3$l0J30$N7?$K$O05=L$OL50UL#?(B ?$B$G$"$k!#$J$<$J$i!"?(Bjpeg ?$B$J$I$O$"$i$+$8$a05=L$5$l$F$$$k$+$i!#?(B @item S PGP ?$B$G=pL>$9$k$?$a?(B @samp{PS} ?$B%^!<%/$rIU$1$k!#?(B @item E PGP ?$B$G0E9f2=$9$k$?$a?(B @samp{PE} ?$B%^!<%/$rIU$1$k!#<u?.<T$N%"%I%l%9$rF~NO$9?(B ?$B$k!#?(B @item U ?$BId9f2=$r85$KLa$9!#85!9$N%^!<%/$KLa$k!#?(B @end ifset @ifset us @item B Put the @samp{B} mark to encode with Base64. @item Q Put the @samp{Q} mark to encode with Quoted-Printable. @item G Put the @samp{G} mark to encode with Gzip64. This is applicable only to Text/Plain and Application/Postscript since compression is not effective other objects. For example, JPEG is already compressed. @item S Put the @samp{PS} mark to sign with PGP. @item E Put the @samp{PE} mark to encrypt with PGP. Input decryptors' addresses. @item U Unmark. The original mark appears. @end ifset @end table

@ifset jp ?$B<!$NNc$r9M$($F$_$^$7$g$&!#%Q!<%H?(B 2 ?$B$O?(B PGP ?$B$G=pL>$5$l!"?(B"kazu" ?$BMQ$K?(B PGP ?$B$G?(B ?$B0E9f2=$5$l$^$9!#0B?4$7$F2<$5$$!#@bL@$NItJ,$O>e=q$-$5$l$F$$$^$9$,!"J]B8$5?(B ?$B$l$F$$$^$9!#%Q!<%H?(B 3 ?$B$O?(B Gzip64 ?$B$GId9f2=$5$l$^$9!#?(B @end ifset @ifset us Consider the following example. The second part will be signed with PGP then encrypted with PGP for "kazu". Take it easy! It's description is overwritten but saved. The third part will be encoded with Gzip64. @end ifset

@ifset jp @example ----------------------------- attachments -----------------------------
Multipart/Mixed 1/
1 Text/Plain(guess) CoverPage* PSPE 2 Image/Gif kazu@@mew.org mgp.gif G 3 Application/Postscript ?$B;qNA?(B ohp.ps
4 . --------0-1-2-3-4-5-6-7-8-9-------------------------------------------- @end example @end ifset @ifset us @example ----------------------------- attachments -----------------------------
Multipart/Mixed 1/
1 Text/Plain(guess) CoverPage* PSPE 2 Image/Gif kazu@@mew.org mgp.gif G 3 Application/Postscript Presentation Material ohp.ps
4 . --------0-1-2-3-4-5-6-7-8-9-------------------------------------------- @end example @end ifset

@ifset jp ?$BE,59%^!<%/$rIU$1$?8e$O!"?(B@samp{C-cC-m} ?$B$G?(B MIME(PGP/MIME?$B$J$I?(B) ?$B$r:n@.$7!"?(B @samp{C-cC-c} ?$B$GAw?.$7$F2<$5$$!#?(B @end ifset @ifset us After putting marks, type @samp{C-cC-m} to create PGP/MIME and then press @samp{C-cC-c} to send it. @end ifset

@c %%%%%%%%%%%%%%%%% @node pgp-key, Marks, mark-b-comp, Composing @ifset jp @section PGP ?$B$N80$NG[I[?(B @end ifset @ifset us @section PGP key distribution @end ifset

@ifset jp PGP ?$B$N8x3+80$rG[I[$9$k$K$O!"?(BDraft ?$B%b!<%I$NE:IUNN0h$G?(B @samp{p} ?$B$r2!$7$F2<?(B ?$B$5$$!#$@$l$N8x3+80$rG[I[$9$k$+?R$M$i$l$^$9!#<+J,$N8x3+80$G$"$l$P!"C1$K?(B @samp{RET} ?$B$HF~NO$7$F2<$5$$!#B>?M$N8x3+80$G$"$l$P!"Jd40$rMxMQ$7$J$,$i$=?(B ?$B$N?M$N%"%I%l%9$rF~NO$7$F2<$5$$!#?(BPGP ?$B$N8x3+80$O!"?(BApplication/Pgp-keys ?$B$H?(B ?$B$$$&%G!<%?7?$GG[Aw$5$l$^$9!#?(B @end ifset @ifset us To distribute a PGP public key, please use @samp{p} on attachments in Draft mode. It asks whose public key you want to distribute. Just type @samp{RET} if it is yours. If you want to distribute another person's, input his Email address with completion. The PGP public key will distributed as Content-Type: Application/Pgp-keys. @end ifset

@ifset jp Summary ?$B%b!<%I!"$"$k$$$O!"?(BVirtual ?$B%b!<%I$G%a%C%;!<%8$rFI$s$G$$$k:]$K!"$"?(B ?$B$k%Q!<%H$N%G!<%?7?$,?(B Application/Pgp-keys ?$B$G$"$l$P!"?(BMew ?$B$O?(B PGP ?$B$N8x3+80?(B ?$B%j%s%0$K$=$l$rEPO?$7$h$&$H$7$^$9!#?(BMew ?$B$O!"!V?.MQEY!W$H!VM-8z@-!W$rA4$/9M?(B ?$BN8$7$J$$$3$H$KCm0U$7$F2<$5$$!#$3$l$i$NCM$r@_Dj$9$k$N$O!"$"$J$?<+?H$G$9!#?(B ?$B@_Dj$K$O!"?(B"pgp -ke" ?$B$H?(B "pgp -ks" ?$B$r;H$C$F2<$5$$!#$b$7!"!V?.MQEY!W$H!VM-?(B ?$B8z@-!W$N0UL#$,J,$+$i$J$1$l$P!"?(BPGP ?$B$r;H$C$F<+J,$N%W%i%$%P%7$rJ]8n$7$h$&$H?(B ?$B$9$kA0$K!"?(BPGP ?$B$,Ds6!$9$k!V?.MQ$NNX!W$H$O2?$+$r3X$V$Y$-$G$9!#?(B @end ifset @ifset us If Mew finds that the part is Application/Pgp-keys, it tries to add the PGP public key onto your PGP public keyring. Remember that Mew is careless about both TRUST and VALIDITY. It is YOU who set these values. Please use "pgp -ke" and "pgp -ks" to change them. If you don't know what TRUST and VALIDITY is, you should learn the web of trust system provided by PGP BEFORE using PGP to protect your privacy. @end ifset

@c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @c Marks @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

@node Marks, delete mark, pgp-key, Top @ifset jp @chapter ?$BL{2w$J%^!<%/$?$A?(B @end ifset @ifset us @chapter Funny marks @end ifset

@ifset jp ?$B$3$3$G$O!"?(BSummary ?$B%b!<%I$GMxMQ$G$-$k%^!<%/$K$D$$$F@bL@$7$^$9!#%^!<%/$O0J?(B ?$B2<$N$h$&$K!"?t;z$N1&$KIU$-$^$9!#?(B @end ifset @ifset us Here are described marks in Summary mode. Mark is displayed right side of message number as follows: @end ifset

@example @ifset jp
1D 07/17 ?$B$$$H$B$e$s?(B v6: items to be no in6_pcbnotify()?$B$,$J$K$b?(B
2o 07/18 ?$B2NBe@h@8?(B Re: behavior after ?$B$3$l!"?(Bmark-ring ?$B$,$I$s$I?(B
3* 07/19 ?$B$N$`$5$s?(B refile info. ?$BG5B<$G$9!#CY$/$J$j$^$7$?!#?(B @end ifset @ifset us
1D 07/17 Itojun v6: items to be no in6_pcbnotify() doesn't
2o 07/18 Utashiro Re: behavior after I'm afraid that mark-ring
38 07/19 Nom-sun refile info. Sorry for my late respon @end ifset @end example

@ifset jp ?$B8=:_MxMQ$G$-$k%^!<%/$O0J2<$N?(B4?$B$D$G$9!#?(B @end ifset @ifset us There are four marks at present. @end ifset

@table @samp @ifset jp @item D ?$B>C5n$N%^!<%/!#?(B @item o ?$B@0F"$D$^$j!"%U%)%k%@$r0$5$;$k%^!<%/!#?(B @item @@ ?$BJ#?t$N%a%C%;!<%8$r0lEY$K07$&$?$a$N%^!<%/!#?(B @item * ?$B8e$+$iFI$_JV$9$?$a$N%^!<%/!#?(B @end ifset @ifset us @item D The mark to delete. @item o The mark to refile, that is, to move a message to another folder. @item @@ The mark to process messages at the same time. @item * The mark to review. @end ifset @end table

@ifset jp ?$B0J2<$=$l$>$l$K$D$$$F@bL@$7$^$9!#?(B @end ifset @ifset us They are explained step by step. @end ifset

@menu @ifset jp * delete mark:: ?$B>C5n?(B @samp{D} * refile mark:: ?$B@0F(B @samp{o} * multi mark:: ?$BJ#?t?(B @samp{@@} * review mark:: ?$BI|=,?(B @samp{*} * unmark:: ?$B%^!<%/$N>C5n?(B * mark level:: ?$B%^!<%/$N6/$5?(B @end ifset @ifset us * delete mark:: Delete @samp{D} * refile mark:: Refile @samp{o} * multi mark:: Multiple @samp{@@} * review mark:: Review @samp{*} * unmark:: Deleting marks * mark level:: Mark strength @end ifset @end menu

@c %%%%%%%%%%%%%%%%% @node delete mark, refile mark, Marks, Marks @ifset jp @section ?$B>C5n?(B @samp{D} @end ifset @ifset us @section Delete @samp{D} @end ifset @vindex mew-msg-rm-policy @vindex mew-msg-rm-folder-list

@ifset jp ?$B%a%C%;!<%8$r>C5n$9$k$K$O!"$^$:?(B Summary ?$B%b!<%I$G?(B @samp{d} ?$B$r2!$7$F!"?(B @samp{D} ?$B%^!<%/$rIU$1$^$9!#%^!<%/$rIU$1$?$@$1$G$O2?$b5/$3$i$J$$$N$G!"4V?(B ?$B0c$C$F?(B @samp{d} ?$B$r2!$7$F$bBg>fIW$G$9!#%G%U%)%k%H$G$O!"?(B@samp{x} ?$B$r2!$9$H?(B @samp{D} ?$B%^!<%/$NIU$$$?%a%C%;!<%8$,?(B +trash ?$B%U%)%k%@$K0$7$^$9!#?(B @end ifset @ifset us If you want to delete a message, type @samp{d} in Summary mode to put the @samp{D} mark on it. Take it easy. Since putting the @samp{D} mark causes nothing, mistakes are not fatal. By default, typing @samp{x} moves messages marked with @samp{D} to the +trash folder. @end ifset

@ifset jp +trash ?$B%U%)%k%@Fb$N%a%C%;!<%8$r<B:]$K>C5n$9$k$K$O!"%G%U%)%k%H$G$O0J2<$N?(B 2 ?$B$D$NJ}K!$,$"$j$^$9!#?(B @end ifset @ifset us To delete messages in the +trash folder really, there are two methods by default. @end ifset

@enumerate @item @ifset jp Summary ?$B%b!<%I$G?(B @samp{D} ?$B$r<B9T$9$k!#?(B @end ifset @ifset us Type @samp{D} in Summary mode. @end ifset @item @ifset jp +trash ?$B%U%)%k%@Fb$G?(B @samp{D} ?$B%^!<%/$rIU$1$F!"?(B@samp{x} ?$B$r2!$9!#?(B @end ifset @ifset us Put the @samp{D} mark in the +trash folder then type @samp{x}. @end ifset @end enumerate

@ifset jp ?$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$$$&?(B ?$B%G%U%)%k%H$H$O!"?(B@samp{mew-msg-rm-policy} ?$B$,?(B@samp{'trashonly} ?$B$G$"$k$H$$?(B ?$B$&$3$H$G$9!#?(B@samp{mew-msg-rm-policy} ?$B$O0J2<$N$h$&$JCM$r$H$l$^$9!#$=$l$>?(B ?$B$l$N@bL@$O?(B @samp{x} ?$B$r2!$7$?:]$NF0:n$K$D$$$F$G$9!#?(B @end ifset @ifset us So far, the word "by default" was repeated. This means that @samp{mew-msg-rm-policy} is set to @samp{'trashonly}. You can set one of the following values to @samp{mew-msg-rm-policy}. Each explanation is about action when @samp{x} is pressed. @end ifset

@table @samp @item 'totrash @ifset jp +trash ?$B%U%)%k%@0J30$N%U%)%k%@$G$O!"?(B@samp{D}?$B%^!<%/$NIU$$$?%a%C%;!<%8$,?(B +trash ?$B%U%)%k%@$K0$7$^$9!#?(B+trash ?$B%U%)%k%@$G$OC1$K%^!<%/$,>C$($^$9!#?(B @end ifset @ifset us Refile to the +trash folder if not in the +trash folder. Just umark the 'D' mark if in the +trash folder. @end ifset @item 'always @ifset jp @samp{D} ?$B%^!<%/$NIU$$$?%a%C%;!<%8$O<B:]$K>C5n$5$l$^$9!#?(B @end ifset @ifset us Really remove messages marked with 'D' always anyway. @end ifset @item 'trashonly @ifset jp +trash ?$B%U%)%k%@$N?(B @samp{D} ?$B%^!<%/$NIU$$$?%a%C%;!<%8$O!"<B:]$K>C5n$5$l$^?(B ?$B$9!#$=$l0J30$N%U%)%k%@$K$"$k?(B @samp{D} ?$B%^!<%/$NIU$$$?%a%C%;!<%8$O!"?(B+trash ?$B%U%)%k%@$K0$7$^$9!#?(B @end ifset @ifset us Really remove messages marked with 'D' if in the +trash folder. In other fonders, refile to the +trash folder. @end ifset @item 'uselist @ifset jp @samp{mew-msg-rm-folder-list} ?$B$G;XDj$5$l$?%U%)%k%@$N?(B @samp{D} ?$B%^!<%/$NIU?(B ?$B$$$?%a%C%;!<%8$O!"<B:]$K>C5n$5$l$^$9!#$=$l0J30$N%U%)%k%@$K$"$k?(B @samp{D} ?$B%^!<%/$NIU$$$?%a%C%;!<%8$O!"?(B+trash ?$B%U%)%k%@$K0$7$^$9!#?(B @end ifset @ifset us Really remove messages marked with 'D' if in a folder found in @samp{mew-msg-rm-folder-list}. In other folders, refile to the +trash folder. @end ifset @ifset jp @item ?$B$=$l0J30?(B @samp{'totrash} ?$B$HF1MM$K07$o$l$^$9!#?(B @end ifset @ifset us @item other values Considered as 'trashonly. @end ifset @end table

@ifset jp ?$B<+J,$N9%$-$J$h$&$K?(B @samp{x} ?$B$NF0:n$r%+%9%?%^%$%:$7$F2<$5$$!#?(B @end ifset @ifset us Customize the action of @samp{x} as you like. @end ifset

@ifset jp ?$B$9$Y$F$N?(B @samp{*} ?$B%^!<%/$r?(B @samp{D} ?$B$KJQ49$G$-$l$P!"0lEY$K$?$/$5$s$N?(B @samp{D} ?$B%^!<%/$rIU$1$l$FJXMx$G$9!#$3$l$K$O!"?(B@samp{md} ?$B$rMxMQ$7$F2<$5$$!#?(B @end ifset @ifset us It is convenient if you can change the @samp{*} mark to the @samp{D} mark since you can put many the @samp{D} marks at once. To achieve this, use @samp{md}. @end ifset

@ifset jp ?$B0J2<$K!"?(B@samp{D} ?$B%^!<%/$K4X$9$k%3%^%s%I$r$^$H$a$^$9!#?(B @end ifset @ifset us The following is a summary regarding with the @samp{D} mark. @end ifset

@table @samp @ifset jp @item d @samp{D} ?$B%^!<%/$rIU$1$k!#?(B @item x @samp{D} ?$B%^!<%/$NIU$$$?%a%C%;!<%8$r?(B @samp{mew-msg-rm-policy} ?$B$K=>$C$F=h?(B ?$BM}$9$k!#?(B @item md @samp{*} ?$B%^!<%/$9$Y$F$r?(B @samp{D}?$B%^!<%/$KJQ49$9$k!#?(B @end ifset @ifset us @item d Put the @samp{D} mark. @item x Process messages marked with @samp{D} according to @samp{mew-msg-rm-policy}. @item md Change all @samp{*} mark to the @samp{D} mark. @end ifset @end table

@c %%%%%%%%%%%%%%%%% @node refile mark, multi mark, delete mark, Marks @ifset jp @section ?$B@0F(B @samp{o} @end ifset @ifset us @section Refile @samp{o} @end ifset

@ifset jp ?$B%a%C%;!<%8$r@0F$k$K$O?(B @samp{o} ?$B$r2!$7$F!"@0F@h$N%U%)%k%@$rF~NO$7!"?(B @samp{o} ?$B%^!<%/$rIU$1$^$9!#@0F@h$N%U%)%k%@$O!"8-$/?dB,$7$F$/$l$k$N$G!"?(B ?$B$[$I$s$I$N>l9g$O%U%)%k%@L>$rF~NO$9$kBe$o$j$K?(B @samp{RET} ?$B$r2!$9$@$1$G$9!#?(B "," ?$B$G6h@Z$C$FJ#?t$N%U%)%k%@$rF~NO$9$k$3$H$b$G$-$^$9!#$b$A$m$s!"?(B @samp{TAB} ?$B$GJd40$G$-$^$9!#>$/$O?(B @xref{Refile} ?$B$r;2>H$7$F2<$5$$!#?(B @end ifset @ifset us To refile a message, type @samp{o} and input a folder name, then @samp{o} is put. A folder is guessed neatly, so most time what you should to is just type @samp{RET}. For more information, refer to @xref{Refile}. @end ifset

@ifset jp @samp{o} ?$B%^!<%/$NIU$$$?%a%C%;!<%8$N>e$G?(B @samp{o} ?$B$r2!$9$H!"@0F@h$rDI2C?(B ?$B$7$?$jJQ99$7$?$j$G$-$^$9!#$^$?!"<B:]$N@0F?(B @samp{x} ?$B$HF~NO$5$l$?$H$-$K?(B ?$B<B9T$5$l$^$9!#?(B @end ifset @ifset us If you type @samp{o} on a message marked with @samp{o}, the refile folder is shown. When typing @samp{x}, messages marked with @samp{o} are actually refiled. @end ifset

@ifset jp ?$B0J2<$K!"?(B@samp{o} ?$B%^!<%/$K4X$9$k%3%^%s%I$r$^$H$a$^$9!#?(B @end ifset @ifset us A summary about the @samp{o} mark is here. @end ifset

@table @samp @ifset jp @item o @samp{o} ?$B%^!<%/$rIU$1$k!#?(B @item x @samp{o} ?$B%^!<%/$NIU$$$?%a%C%;!<%8$r@0F$k!#?(B @item mo @samp{*} ?$B%^!<%/$NIU$$$?%a%C%;!<%8$KBP$7F~NO$5$l$?%U%)%k%@$X@0F$k$?$a?(B ?$B$N?(B @samp{o} ?$B%^!<%/$rIU$1$k!#?(B @end ifset @ifset us @item o Put the @samp{o} mark. @item x Refile messages marked with @samp{o} @item mo Change all @samp{*} marks to the @samp{o} mark to be refiled. @end ifset @end table

@c %%%%%%%%%%%%%%%%% @node multi mark, review mark, refile mark, Marks @ifset jp @section ?$BJ#?t?(B @samp{@@} @end ifset @ifset us @section Multiple @samp{@@} @end ifset

@ifset jp ?$BJ#?t$N%a%C%;!<%8$r0lEY$K<h$j07$&$?$a$K$O!"?(B@samp{@@} ?$B%^!<%/$rIU$1$^$9!#?(B @samp{@@} ?$B%^!<%/$,IU$$$?C1?t!?J#?t$N%a%C%;!<%8$r<h$j07$&%3%^%s%I$O0J2<$N?(B ?$BDL$j$G$9!#?(B @end ifset @ifset us To process multiple messages, put the @samp{@@} mark. Here is a summary concerned with the @samp{@@} mark. @end ifset

@table @samp @ifset jp @item @@ @samp{@@} ?$B%^!<%/$rIU$1$k!#?(B @item F @samp{@@} ?$B%^!<%/$NIU$$$?%a%C%;!<%8$r?(B MIME ?$B7A<0$GE>Aw$9$k$?$a$NAp9F$r=`Hw!#?(B @item M-s @samp{@@} ?$B%^!<%/$NIU$$$?%a%C%;!<%8$r?(B "unshar" ?$B$NF~NO$H$7$FEO$9!#$D$^$j!"?(B shar (?$B$N8e$K?(B split)?$B$5$l$?%G!<%?$r<h$j=P$9!#?(B @item M-t @samp{@@} ?$B%^!<%/$NIU$$$?%a%C%;!<%8$r?(B "uumerge" ?$B$NF~NO$H$7$FEO$9!#$D$^$j!"?(B uuencode(?$B$N8e$K?(B split)?$B$5$l$?%G!<%?$r<h$j=P$9!#?(B @item M-b @samp{@@} ?$B%^!<%/$NIU$$$?%a%C%;!<%8$K3JG<$5$l$F$$$k%a%C%;!<%8$r<h$j=P$9!#?(B @item J ?$BBg$-$J%a%C%;!<%8$O?(B Message/Partial ?$B$H$7$FJ#?t$KJ,3d$5$l$F$$$k>l9g$,$"$k!#?(B ?$B$3$N%3%^%s%I$O!"?(B@samp{@@} ?$B%^!<%/$NIU$$$??(B Message/Partial ?$B$N%a%C%;!<%8$+?(B ?$B$i85$N%a%C%;!<%8$r@8@.$9$k!#?(B @end ifset @ifset us @item @@ Put the @samp{@@} mark. @item F Prepare a draft to forward multiple messages marked with @samp{@@} in MIME format. @item M-s Apply unshar on messages marked with @samp{@@}. @item M-t Apply "uudecode" on messages marked with @samp{@@}. @item M-b De-capsulate messages embedded in the messages marked with @samp{@@}. @item J A large message is occasionally fragmented into multiple messages whose Content-Type: is Message/Partial. This command produces the original message from Message/Partial messages marked with @samp{@@}. @end ifset @end table

@ifset jp @samp{M-s} ?$B$d?(B @samp{M-t} ?$B$G$O!"?(B@samp{@@} ?$B%^!<%/$NIU$$$?%a%C%;!<%8$NHV9f?(B ?$B$,$-$A$s$HJ,3d=g$K$J$C$F$$$kI,MW$,$"$j$^$9?(B(?$BHV9f$O$H$S$H$S$G$b9=$$$^$;$s?(B)?$B!#?(B ?$B$A$c$s$H=gHV$K$J$C$F$J$$$J$i!"?(B@samp{S} ?$B$G%=!<%H$9$k$H$h$$$+$b$7$l$^$;$s!#?(B @end ifset @ifset us For @samp{M-s} and @samp{M-t}, messages marked with @samp{@@} are supposed to be in order(numbers can be discrete). If out of order, sorting with @samp{S} would help. @end ifset

@c %%%%%%%%%%%%%%%%% @node review mark, unmark, multi mark, Marks @ifset jp @section ?$BI|=,?(B @samp{*} @end ifset @ifset us @section Review @samp{*} @end ifset

@ifset jp ?$B8e$+$iFI$_JV$7$?$$%a%C%;!<%8$K$O!"?(B@samp{*} ?$B$G?(B @samp{*} ?$B%^!<%/$rIU$1$F2<?(B ?$B$5$$!#$^$?!"A*Br%3%^%s%I?(B @samp{?} ?$B$r;H$&$H!"F~NO$7$?>r7o$K%^%C%A$9$k%a%C?(B ?$B%;!<%8$K?(B@samp{*} ?$B%^!<%/$,IU$-$^$9?(B(?$B>$/$O!"?(B@xref{Pick} ?$B$r;2>H$7$F2<$5$$?(B)?$B!#?(B @samp{N} ?$B$d?(B @samp{P} ?$B$G?(B @samp{*} ?$B%^!<%/$NIU$$$?%a%C%;!<%8$K0$7I=<($G?(B ?$B$-$^$9!#?(B @end ifset @ifset us Please put the @samp{*} mark onto messages that you want to review later. @samp{?} also put the @samp{*} mark onto matched messages(for more information, refer to @xref{Pick}). Use @samp{N} and @samp{P} to walk around messages marked with @samp{*}. @end ifset

@ifset jp ?$B0J2<$K!"?(B@samp{*} ?$B$K4XO"$9$k%3%^%s%I$r<($7$^$9!#?(B @end ifset @ifset us Here is a summary for @samp{*} commands. @end ifset

@table @samp @ifset jp @item * @samp{*} ?$B%^!<%/$rIU$1$k!#?(B @item N ?$B2<J}8~$N?(B @samp{*} ?$B%^!<%/$NIU$$$?%a%C%;!<%8$X0$7I=<(!#?(B @item P ?$B>eJ}8~$N?(B @samp{*} ?$B%^!<%/$NIU$$$?%a%C%;!<%8$X0$7I=<(!#?(B @item ma ?$B%^!<%/$NIU$$$F$$$J$$%a%C%;!<%8$9$Y$F$K?(B @samp{*} ?$B%^!<%/$rIU$1$k!#?(B @item mr ?$BF~NO$7$?@55,I=8=$K%^%C%A$7$?%a%C%;!<%8$K?(B @samp{*} ?$B%^!<%/$rIU$1$k!#?(B @item md @samp{*} ?$B%^!<%/$r?(B @samp{D} ?$B%^!<%/$KJQ49!#A*Br%3%^%s%I?(B @samp{?} ?$B$GA*$s$@?(B ?$B%a%C%;!<%8$r>C5n$9$k$H$-$KJXMx!#?(B @item mo @samp{*} ?$B%^!<%/$r?(B @samp{o} ?$B%^!<%/$KJQ49!#A*Br%3%^%s%I?(B @samp{?} ?$B$GA*$s$@?(B ?$B%a%C%;!<%8$r$"$k%U%)%k%@$K@0F$k>l9g$KJXMx!#?(B @end ifset @ifset us @item * Put the @samp{*} mark. @item N Jump to the message marked with @samp{*} below and display it. @item P Jump to the message marked with @samp{*} above and display it. @item ma Put the @samp{*} mark to all unmarked messages. @item mr Put the @samp{*} mark to all matching messages with inputed regular expression. @item md Change @samp{*} marks to @samp{D} mark. It is useful to delete messages selected by @samp{?}. @item mo Change the @samp{*} marks to the @samp{o} mark. It is useful to refile messages selected by @samp{?}. @end ifset @end table

@c %%%%%%%%%%%%%%%%% @node unmark, mark level, review mark, Marks @ifset jp @section ?$B%^!<%/$N>C5n?(B @end ifset @ifset us @section Deleting marks @end ifset

@ifset jp @samp{o} ?$B%^!<%/$d?(B @samp{D} ?$B%^!<%/$,IU$$$?%a%C%;!<%8$O!"%^!<%/<B9T%3%^%s?(B ?$B%I?(B @samp{x} ?$B$r2!$5$J$$8B$j=hM}$5$l$^$;$s!#$h$C$F!"?(B@samp{x} ?$B$r2!$9A0$K!"?(B ?$B%^!<%/$r<h$j;_$a$k%3%^%s%I?(B @samp{u} ?$B$G%^!<%/$r>C$;$P!"8m$C$F%a%C%;!<%8$r?(B ?$B>C$9$3$H$O$"$j$^$;$s!#?(B @end ifset @ifset us Refiling and deleting is not processed unless you type @samp{x}. So, if you press @samp{u} to unmark before you type @samp{x}, messages do not disappear accidentally. @end ifset

@ifset jp ?$B0J2<$K%^!<%/$r>C5n$9$k%3%^%s%I$r$^$H$a$^$9!#?(B @end ifset @ifset us Here is a summary for unmark commands. @end ifset

@table @samp @ifset jp @item u ?$B8=:_$N%a%C%;!<%8$N%^!<%/$r>C$9!#?(B @item U ?$BF~NO$7$?%^!<%/$,IU$$$F$$$k$9$Y$F$N%a%C%;!<%8$N%^!<%/$r>C$9!#?(B @end ifset @ifset us @item u Cancel the mark on this message. @item U Cancel all marks according to what you input. @end ifset @end table

@c %%%%%%%%%%%%%%%%% @node mark level, Refile, unmark, Marks @ifset jp @section ?$B%^!<%/$N6/$5?(B @end ifset @ifset us @section Mark strength @end ifset

@ifset jp ?$B%^!<%/$K$O!V6/$$%^!<%/!W$H!V<e$$%^!<%/!W$,$"$j$^$9!#F1$8%l%Y%k$N%^!<%/$O?(B ?$B>e=q$-$G$-$^$9!#6/$$%^!<%/$O<e$$%^!<%/$r>e=q$-$G$-$^$9!#?(B @end ifset @ifset us Marks are classified into two categories, "strong mark" and "weak mark". The same level mark can be overwritten. A strong mark can overwrite a weak mark. @end ifset

@ifset jp ?$B%^!<%/$rIU$1$?:]$NF0:n$O!"0J2<$NDL$j$G$9!#?(B @end ifset @ifset us When you put a mark, the following action is taken. @end ifset

@table @asis @ifset jp @item ?$B6/$$%^!<%/?(B :: @samp{o} ?$B$H?(B @samp{D} ?$B?7$?$K%^!<%/$7$?$H$-$O!"<!$N%a%C%;!<%8$rI=<(!#>e=q$-$7$?>l9g$O!"$=$N9T$K?(B ?$BN1$^$k!#?(B @item ?$B<e$$%^!<%/?(B :: @samp{*} ?$B$H?(B @samp{@@} ?$B>o$K$=$N9T$KN1$^$k!#?(B @end ifset @ifset us @item Strong marks :: @samp{o} and @samp{D} If marks an unmarked message, display the next message. If overwrites, stay the current line. @item Weak marks :: @samp{*} and @samp{@@} Stay the current line always. @end ifset @end table

@ifset jp ?$B6/$$%^!<%/$rIU$1$?8e$K%+!<%=%k$,F0$/J}8~$K$D$$$F$O!"?(B@xref{level-one} ?$B$r?(B ?$B;2>H$7$F2<$5$$!#?(B @end ifset @ifset us Refer to @xref{level-one} to know which direction the cursor moves after putting a strong mark. @end ifset

@ifset jp ?$B%^!<%/$O0J2<$N$h$&$K8r49$G$-$^$9!#?(B @end ifset @ifset us You can exchange marks as follows: @end ifset

@table @samp @ifset jp @item m@@ @samp{*} -> @samp{@@} :: ?$BA*Br%3%^%s%I?(B @samp{?} ?$B$GA*$S!"?(B"uumerge" ?$B$r5/F0?(B ?$B$9$k%3%^%s%I?(B @samp{M-t} ?$B$rMxMQ$9$k>l9g$KJXMx!#?(B @item m* @samp{@@} -> @samp{*} @item ms @samp{@@} <-> @samp{*} @item md @samp{*} -> @samp{D} :: ?$BA*Br%3%^%s%I?(B @samp{?} ?$B$GA*$s$@%a%C%;!<%8$r>C5n$9$k$H?(B ?$B$-$KJXMx!#?(B @item mo @samp{*} -> @samp{o} :: ?$BA*Br%3%^%s%I?(B @samp{?} ?$B$GA*$s$@%a%C%;!<%8$r$"$k%U%)%k?(B ?$B%@$K@0F$k>l9g$KJXMx!#?(B @end ifset @ifset us @item m@@ @samp{*} -> @samp{@@} :: It is useful when you pick messages by @samp{?} then pass them to "uumerge" with @samp{M-t}. @item m* @samp{@@} -> @samp{*} @item ms @samp{@@} <-> @samp{*} @item md @samp{*} -> @samp{D} :: It is useful when you put @samp{D} marks to messages picked by @samp{?}. @item mo @samp{*} -> @samp{o} :: It is useful when you put @samp{o} marks to messages picked by @samp{?}. @end ifset @end table

@c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @c Refile @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

@node Refile, by-folder, mark level, Top @ifset jp @chapter ?$B3Z!9@0M}@0F(B @end ifset @ifset us @chapter Happy refiling @end ifset

@ifset jp 1?$BF|$K?tI4$N%a%C%;!<%8$r<u$1<h$k$h$&$K$J$k$H@0M}@0FBgJQ$K$J$j$^$9?(B(?$B$(!"?(B ?$B$=$s$J$K<u$1<h$i$J$$$G$9$C$F!)?(B ?$B9,$;$G$9$M?(B :) ?$B!#?(BMew ?$B$G$O!"?(B@samp{o} ?$B$G%a%C?(B ?$B%;!<%8$r@0F$k:]$K!"@0F@h$r?dB,$7%G%U%)%k%HCM$H$7$FI=<($7$F$/$l$^$9!#?(B ?$B$?$H$($P!"<!$N$h$&$K$J$j$^$9!#?(B @end ifset @ifset us When you come to receive hundreds of messages in a day(don't you believe it?), refiling messages becomes a very tough job. Mew neatly guesses default folders where the message is supposed to be refiled when you type @samp{o}. You can see an example below. @end ifset

@example Folder name (+work/mew-dist): + @end example

@ifset jp ?$B$b$7!"?(B() ?$B$NCf$N%G%U%)%k%HCM$,<+J,$N4uK>DL$j$G$"$l$P!"?(B@samp{RET} ?$B$r2!$9$@?(B ?$B$1$G$h$$$N$G$9!#@0F@h$,7hDj$7$F$$$k%a%C%;!<%8$K$O!"?(B@samp{o} ?$B%^!<%/$,IU?(B ?$B$-$^$9!#?(B @end ifset @ifset us If the default value in () is proper, just type @samp{RET}. The messages will be marked with @samp{o} if its refiling folders are decided. @end ifset

@ifset jp ?$B$3$N@0F@h$N?dB,$,8-$1$l$P8-$$Dx%f!<%6$O3Z$K$J$j$^$9!#?(BMew ?$B$G$O0J2<$N$h$&?(B ?$B$J%k!<%k$,MQ0U$5$l$F$$$^$9!#?(B @end ifset @ifset us As you know, the more excellent refiling guess algorithms become, the less user's job troublesome. Mew provides you with the following rules. @end ifset

@menu @ifset jp * by-folder:: ?$B%a!<%j%s%0%j%9%HMQ$N%U%)%k%@$+$i?dB,?(B * by-alist:: ?$B;XDj$7$?%k!<%k$+$i?dB,?(B * by-thread:: ?$BBPOC4X78$+$i?dB,?(B * by-from-folder:: ?$B8D?MMQ$N%U%)%k%@$+$i?dB,?(B * by-from:: From: ?$B$+$i?dB,?(B * by-newsgroups:: Newsgroups: ?$B$+$i?dB,?(B * by-default:: ?$B%G%U%)%k%H$N5,B'?(B * guess-rule:: ?$B%k!<%k$N@)8f?(B * auto-refile:: ?$B<+F0$G@0M}@0F(B @end ifset @ifset us * by-folder:: Guess by mailing-list folders * by-alist:: Guess by user defined rules * by-thread:: Guess by thread * by-from-folder:: Guess by private folders * by-from:: Guess by From: * by-newsgroups:: Guess by Newsgroups: * by-default:: Guess by default rule * guess-rule:: Controlling rules * auto-refile:: Auto refile @end ifset @end menu

@c %%%%%%%%%%%%%%%%% @node by-folder, by-alist, Refile, Refile @ifset jp @section ?$B%a!<%j%s%0%j%9%HMQ$N%U%)%k%@$+$i?dB,?(B @end ifset @ifset us @section Guess by mailing-list folders @end ifset

@ifset jp ?$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?(B ?$B@0M}$9$k$3$H$OB?$$$H;W$$$^$9!#?(BMew ?$B$G$O%a!<%j%s%0%j%9%H08$KFO$$$?%a%C%;!<?(B ?$B%8$KBP$7$F!"$=$lMQ$N%U%)%k%@$r?dB,$9$k5!G=$,$"$j$^$9!#?(B @end ifset @ifset us Many users tend to refile messages destined to a mailing-list to a folder whose name is the same as the mailing-list. Mew provides a mechanism to guess a mailing-list folder for messages destined to mailing-lists. @end ifset

@ifset jp ?$B$?$H$($P!"?(B+misc/pooh-lovers ?$B$H$$$&%U%)%k%@$,$"$C$?$H$7$^$7$g$&!#<!$N$h$&?(B ?$B$J%a%C%;!<%8$O!"$3$N%U%)%k%@$K@0F$l$P$h$$2DG=@-$,9b$$$H$$$($^$9!#?(B @end ifset @ifset us Suppose that you have a folder named +misc/pooh-lovers. The following message is probably to be refiled to this folder. @end ifset

@example To: pooh-lovers@@mew.org @end example

@ifset jp ?$B$3$N$h$&$K!"?(BTo: ?$B$d?(B Cc: ?$B$N%"%I%l%9$,!"%U%)%k%@L>$N0lHV1&B&$K%^%C%A$9$k$b?(B ?$B$N$,$J$$$+C5$9$o$1$G$9!#%U%)%k%@$r3,AX2=$7$F$$$J$$?M$,B?$$$h$&$G$9$,!"?(B Mew ?$B$r;H$&8B$j!"3,AX2=$7$J$$<j$O$"$j$^$;$s!#?(B @end ifset @ifset us Likewise, Mew searches a matching folder forward with addresses on To: and Cc:. There are many people who don't use recursive folders. With Mew, however, you would not be smart if you don't use it. @end ifset

@ifset jp ?$B$5$F!"1T$$?M$O<!$N$h$&$K8D?M$N%"%I%l%9$,?(B To: ?$B$d?(B Cc: ?$B$K$"$k>l9g!":$$k$N$G?(B ?$B$O$J$$$+$H;W$&$G$7$g$&!#?(B @end ifset @ifset us Smart users may wonder that they get a trouble in the following situation where private addresses are on To: or Cc:. @end ifset

@example To: piglet@@mew.org Cc: pooh-lovers@@mew.org @end example

@ifset jp ?$B$?$H$($P!"?(Bpooh ?$B$O?(B pooh-lovers ?$B$N0l0w$G$9$+$i!"$3$N%a%C%;!<%8$,FO$-$^$9!#?(B ?$B$7$+$7!"?(Bpiglet ?$B$HCg$,$$$$$N$G!"?(B+from/piglet ?$B$K%^%C%A$7$F$7$^$$$^$9!#?(B @end ifset @ifset us Since pooh is a member of pooh-lovers, he receives this message. But he has a folder for his friend, pooh. So, +from/piglet may be chosen. @end ifset

@ifset jp ?$B$=$3$G!"?(BMew ?$B$G$OL5;k$9$k%U%)%k%@$r@_Dj$G$-$k$h$&$K$J$C$F$$$^$9!#%G%U%)%k?(B ?$B%H$G$O!"?(B+from ?$B0J2<$rL5;k$7$^$9!#$G$9$+$i!"8D?M$+$i$N%a%C%;!<%8$O?(B +from ?$B0J2<$K$K<}$a$F2<$5$$?(B @end ifset @ifset us To avoid this, Mew allows you to specify which folders are to be ignored. The default is +from. So, please take a convention to refile personal messages under +from. @end ifset

@ifset jp ?$B8uJd$,7hDj$G$-$?$i?(B @end ifset @ifset us When Mew guesses a candidate by the folders, it asks you: @end ifset

@example Folder name (+misc/pooh-lovers): + @end example

@ifset jp ?$B$H?V$$$F$-$^$9!#$"$C$F$$$l$P?(B @samp{RET} ?$B$r!"0c$C$F$$$l$P$*K>$_$N%U%)%k%@?(B ?$B$rF~NO$7$F2<$5$$!#?(B @end ifset @ifset us Just type @samp{RET} if the default is exactly what you want. @end ifset

@ifset jp @samp{o} ?$B$G?7$7$$%U%)%k%@$r;XDj$9$k$H!"$=$N%U%)%k%@$,<+F0E*$K:n@.$5$l!"?(B ?$B<!$+$i$O?dB,MQ$N8uJd$K$b2C$o$j$^$9!#JXMx$G$7$g!)?(B @end ifset @ifset us If you specify a new folder with @samp{o}, the folder is created and added to the folder list to be used for guess. Convenient, isn't it? @end ifset

@ifset jp ?$B$3$N5!G=$rDs6!$9$k4X?t$O?(B @samp{mew-refile-guess-by-folder} ?$B$G$9!#?(B @end ifset @ifset us The function name to provide this feature is @samp{mew-refile-guess-by-folder}. @end ifset

@c %%%%%%%%%%%%%%%%% @node by-alist, by-thread, by-folder, Refile @ifset jp @section ?$B;XDj$7$?%k!<%k$+$i?dB,?(B @end ifset @ifset us @section Guess by user defined rules @end ifset @vindex mew-refile-guess-alist

@ifset jp ?$B%U%)%k%@L>$+$i?dB,$9$k5!G=$@$1$G$O!";W$&$h$&$J%U%)%k%@$r?dB,$7$F$/$l$J$$?(B ?$B>l9g$,$"$j$^$9!#$?$H$($P!"?(BTo: ?$B$,?(B staff@@mew.org ?$B$G$"$k%a%C%;!<%8$H?(B To: ?$B$,?(B staff@@iijlab.net ?$B$G$"$k%a%C%;!<%8$KBP$7!"%U%)%k%@L>$+$i$N?dB,$G$OF1?(B ?$B$8%U%)%k%@?(B(?$B$?$H$($P!"?(B"+net/staff")?$B$,A*$P$l$F$7$^$$$^$9!#$=$3$G!"?(BMew ?$B$G$O!"?(B ?$BJQ?t?(B @samp{mew-refile-guess-alist} ?$B$KL@<(E*$K%k!<%k$r@_Dj$G$-$^$9!#?(B @end ifset @ifset us There are some cases where the refile guess mechanism by folders doesn't work as you wish. For example, for both a message whose To: is staff@@mew.org and another message whose To: is staff@@iijlab.net, the same folder would be selected with guess by folders(e.g. "+net/staff"). So, Mew allows you to define your own rules explicitly. @end ifset

@ifset jp 1?$B$DNc$r5s$2$F$_$^$7$g$&!#?(B @end ifset @ifset us Let's look at an example. @end ifset

@example (setq mew-refile-guess-alist
'(("To:"
("staff@@mew.org" . "+net/mew/staff")
("staff@@iijlab.net" . "+net/iijlab/staff")
))) @end example

@ifset jp ?$B$3$l$O!"%a%C%;!<%8%X%C%@Cf$N?(B To: ?$B$N2#$NJ8;zNs$K?(B staff@@mew.org ?$B$,$"$l$P?(B +net/mew/staff ?$B$X!"?(Bstaff@@iijlab.net ?$B$,$"$l$P?(B +net/iijlab/staff ?$B$X@0F?(B ?$B$k$H$$$&0UL#$G$9!#?(B @end ifset @ifset us This means that if To: contains staff@@mew.org +net/mew/staff is selected and if To: has staff@@iijlab.net +net/iijlab/staff is chosen. @end ifset

@ifset jp ?$B%k!<%k$O!"0J2<$N$h$&$K=q$-$^$9!#?(B @end ifset @ifset us The format of this rule is as follow: @end ifset

@example rule ::= '((<key> <alist>) (<key> <alist>) (<key> <alist>) ...) @end example

@ifset jp ?$BA4BN$O?(B (<key> <alist>) ?$B$N%j%9%H$G$9!#?(B<key> ?$B$O%U%#!<%k%IL>$r=q$-$^$9!#?(B <alist> ?$B$O0J2<$N$h$&$K$J$j$^$9!#?(B @end ifset @ifset us The whole is a list of (<key> <alist>). A field name is specified for <key>. The format for <alist> is as follows: @end ifset

@example <alist> ::= (<value> . <folder>|<rule>) (<value> . <folder>|<rule>) ... @end example

@ifset jp <value> ?$B$O?(B <key> ?$B$G<($7$?%U%#!<%k%I$K$/$kCM$G$9!#?(B<folder> ?$B$O?(B <key> ?$B$K%^%C?(B ?$B%A$7$?:]$K$I$N%U%)%k%@$K@0F$k$+$r0UL#$7$F$$$^$9!#?(B<value> ?$B$H?(B <folder> ?$B$r?(B @samp{.} ?$B$G6h@Z$k$N$rK:$l$J$$$G2<$5$$!#?(B<folder> ?$B$NBe$j$K?(B <rule> ?$B$r:F?(B ?$B5"E*$K5-=R$9$k$3$H$b$G$-$^$9!#?(B @end ifset @ifset us <value> is a field value for <key>. <folder> means a folder to be chosen if matched. Please note that <value> and <folder> is separated with @samp{.}. @end ifset

@ifset jp ?$BFC<l$J?(B <key> ?$B$H$7$F?(B @samp{nil} ?$B$H?(B @samp{t} ?$B$,$"$j$^$9!#?(B@samp{nil} ?$B$O!"2??(B ?$B$b?dB,$G$-$J$+$C$?>l9g$KJV$9?(B <value> ?$B$r;XDj$9$k$?$a$KMQ$$$^$9!#?(B@samp{t} ?$B$O!"?dB,$7$?CM$K2C$($FJV$9?(B <value> ?$B$r;X<($9$k$?$a$K;H$$$^$9!#?(B @end ifset @ifset us There are two special <key>s: @samp{nil} and @samp{t}. @samp{nil} is used to specify <value> to be returned when nothing is guessed. @samp{t} is for <value> to be returned in addition to guessed values. @end ifset

@ifset jp ?$B@55,I=8=$rCN$C$F$$$k?M$O!"0J2<$N$h$&$JJ#;($J%k!<%k$r@_Dj$G$-$^$9!#?(B @end ifset @ifset us If you know regular expression, a more advanced rule can be defined like this. @end ifset

@example (setq mew-refile-guess-alist
'(("Newsgroups:"
("^nifty\.\([^ ]+\)" . "+Nifty/\1")
(".*" . "+rec/news"))
("To:"
("\(inet\|wide\)@@wnoc-fuk" . "+wide/\1-wnoc-fuk"))
("From:"
("uucp@@" . "+adm/uucp")
("ftpsync@@" . "+adm/ftpsync"))
(nil . "+unknown"))) @end example

@ifset jp ?$B$3$N5!G=$rDs6!$9$k4X?t$O?(B @samp{mew-refile-guess-by-alist} ?$B$G$9!#?(B @end ifset @ifset us The function name to provide this feature is @samp{mew-refile-guess-by-alist}. @end ifset

@c %%%%%%%%%%%%%%%%% @node by-thread, by-from-folder, by-alist, Refile @ifset jp @section ?$BBPOC4X78$+$i?dB,?(B @end ifset @ifset us @section Guess by thread @end ifset @vindex mew-lisp-max-length

@ifset jp Mew ?$B$K$O!"@0F$h$&$H$7$F$$$k%a%C%;!<%8$N?F$N%a%C%;!<%8$,0JA0@0F$l$??(B ?$B%U%)%k%@$rA*Br$7$F$/$l$k5!G=$,$"$j$^$9!#?(B @end ifset @ifset us Mew provides a mechanism to guess a folder where the parent message of a current message was refiled before. @end ifset

@ifset jp ?$B$?$H$($P!"?(Bpooh?$B!"?(Bpiglet?$B!"?(Broo ?$B$H$N4V$G!"K*L*$r<h$j$K9T$3$&$H$$$&OCBj$,@9$j?(B ?$B>e$,$C$?$H$7$^$7$g$&!#?(Bpooh ?$B$O!"?(B+project/honey ?$B$H$$$&%U%)%k%@$r:n$C$F!":G?(B ?$B=i$N%a%C%;!<%8$r$=$3$K?(B ?$B@0F$?$H$7$^$7$g$&!#0J9_!"?(B3?$B?M$N4V$N%a%C%;!<%8$,?(B ?$B$-$A$s$H$7$?JVEz$G$"$k$+$.$j!"?(B+project/honey ?$B$r?dB,$7$F$/$l$^$9!#?(B @end ifset @ifset us For example, pooh, piglet, and roo had a chat to go and get honey. So, pooh made +project/honey then refiled the message to it. The further messages, if they are properly replied, they are supposed to be refiled to +project/honey. @end ifset

@ifset jp ?$B$"$k%a%C%;!<%8$r$I$3$KJ]B8$7$?$+$H$$$&>pJs$O!"?(B "~/Mail/.mew-refile-msgid-alist" ?$B$KJ]B8$5$l$F$$$^$9!#$3$N>pJs$r2a5n2?DL?(B ?$B$N%a%C%;!<%8$K4X$7$FJ]B8$9$k$+$O!"?(B@samp{mew-lisp-max-length} ?$B$G7hDj$7$^?(B ?$B$9!#%G%U%)%k%H$O?(B 1000 ?$BDL$G$9!#?(B2000 ?$BDL$K$7$?$$>l9g$O?(B"~/.emacs" ?$BCf$G0J2<$N?(B ?$B$h$&$K@_Dj$7$F2<$5$$!#?(B @end ifset @ifset us Information that which folder was chosen for messages is stored to "~/Mail/.mew-refile-msgid-alist". @samp{mew-lisp-max-length} controls the amount of this information. The default value is 1000 messages. If you want limits it to 2000 messages, put the following to "~/.emacs". @end ifset

@example (setq mew-lisp-max-length 2000) @end example

@ifset jp ?$B$3$N5!G=$rDs6!$9$k4X?t$O?(B @samp{mew-refile-guess-by-thread} ?$B$G$9!#?(B @end ifset @ifset us The function name to provide this feature is @samp{mew-refile-guess-by-message-id}. @end ifset

@c %%%%%%%%%%%%%%%%% @node by-from-folder, by-from, by-thread, Refile @ifset jp @section ?$B8D?MMQ$N%U%)%k%@$+$i?dB,?(B @end ifset @ifset us @section Guess by private folders @end ifset @vindex mew-refile-guess-from-me-is-special

@ifset jp @xref{by-folder} ?$B$G@bL@$7$?%a!<%j%s%0%j%9%HMQ$N%U%)%k%@$r?dB,$9$k$K2C$(?(B ?$B$F!"8D?MMQ$N%U%)%k%@$r?dB,$9$k5!G=$,$"$j$^$9!#8D?MMQ$N%U%)%k%@$O?(B +from ?$B0J2<$K$"$j$^$9$+$i!"?(B+from ?$B0J2<$N%U%)%k%@$rA*Br$9$k5!G=$@$H$b$$$($^$9!#0J?(B ?$B2<$NNc$r9M$($F$_$^$7$g$&!#?(B @end ifset @ifset us In addition to the mechanism to select a mailing-list folder described in @xref{by-folder}, Mew provides a mechanism to choose a private folder. Since private folders locate under +from, we can say that this mechanism select a folder from the folders under +from. Let's see the following example: @end ifset

@example To: pooh@@mew.org From: piglet@@mew.org @end example

@ifset jp piglet ?$B$+$i?(B pooh ?$B$K%a%C%;!<%8$,Mh$^$7$?!#?(Bpooh ?$B$,$3$N5!G=$r;H$&$H!"?(BFrom: ?$B$r<j$,$+$j$K?(B +from/piglet ?$B$,A*Br$5$l$^$9!#?(B(+from ?$B0J2<$O3,AX2=$5$l$F$$$F?(B ?$B$b9=$$$^$;$s!#$^$?!"%U%)%k%@L>$O%f!<%6L>$@$1$G$O$J$/%"%I%l%9A4BN$G$b?(B OK ?$B$G$9!#?(B) @end ifset @ifset us pooh received a message from piglet. If pooh uses this mechanism, +from/piglet will be chosen according to From:. (Folders under +from can be recurse. And you can select the entire address for a folder name instead of the user part.) @end ifset

@ifset jp ?$B$3$N5!G=$rDs6!$9$k4X?t$O!"?(B@samp{mew-refile-guess-by-from-folder} ?$B$H$$$$$^$9!#?(B @end ifset @ifset us The function to provide this feature is @samp{mew-refile-guess-by-from-folder}. @end ifset

@ifset jp ?$B<!$K!"?(Bpooh ?$B$,?(B piglet ?$B$KJVEz$7$?>l9g$r9M$($^$7$g$&!#?(Bpooh ?$B$O<+J,<+?H$K?(B Cc: ?$B$7$F$$$?$N$G!"<+J,$K%a%C%;!<%8$,La$C$F$-$^$7$?!#?(B @end ifset @ifset us Next, let's consider a care where pooh replied to piglet. Since pooh Cc:ed the message to himself, the message was also delivered to him. @end ifset

@example To: piglet@@mew.org Cc: pooh@@mew.org From: pooh@@mew.org @end example

@ifset jp pooh ?$B$NN)>l$K$J$C$F9M$($F$_$F2<$5$$!#$3$N%a%C%;!<%8$r?(B +from/pooh ?$B$K@0F(B ?$B$9$k$+!"$"$k$$$O?(B +from/piglet ?$B$K@0F$k$N$+$O!"9%$_$,J,$+$l$k$H$3$m$G$7$g?(B ?$B$&!#$=$3$G!"$I$A$i$rA*Br$9$k$N$+%+%9%?%^%$%:$G$-$k$h$&$K$J$C$F$$$^$9!#?(B @end ifset @ifset us How do you feel if you are pooh? You may want to refile this to +from/pooh. Also, you may want to move this to +from/piglet. So, it can be customized. @end ifset

@ifset jp @samp{mew-refile-guess-from-me-is-special} ?$B$,?(B @samp{t} ?$B$J$i!"?(B @samp{mew-refile-guess-by-from-folder} ?$B$O!"?(BFrom: ?$B$,<+J,$N%"%I%l%9$N>l9g?(B ?$B$K!"?(BTo: ?$B$H?(B Cc: ?$B$K$"$k%"%I%l%9$r$b$H$K!"?(B+from ?$B0J2<$N%U%)%k%@$rA*Br$7$^$9!#?(B @end ifset @ifset us If @samp{mew-refile-guess-from-me-is-special} is @samp{t} and if an address in From: is yourself, @samp{mew-refile-guess-by-from-folder} select a folder under +from according to To: and/or Cc:. @end ifset

@c %%%%%%%%%%%%%%%%% @node by-from, by-newsgroups, by-from-folder, Refile @ifset jp @section From: ?$B$+$i?dB,?(B @end ifset @ifset us @section Guess by From: @end ifset @vindex mew-lisp-max-length @vindex mew-refile-guess-from-me-is-special

@ifset jp From: ?$B$KF10l$N%"%I%l%9$r;}$D%a%C%;!<%8$,!"$+$D$F$I$3$K@0F$l$?$+$K$h$C?(B ?$B$F?dB,$9$k5!G=$,$"$j$^$9!#?(B @end ifset @ifset us Mew also provides a mechanism to guess a folder by the place where a message that has the same From: field is refiled. @end ifset

@ifset jp ?$B$?$H$($P!"?(Bpiglet ?$B$O?(B piglet@@beech.tree.uk ?$B$H?(B p-p-p@@mew.org ?$B$N?(B 2 ?$B$D$N%"?(B ?$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!"?(B pooh ?$B$O$=$l$i$r?(B +from/piglet ?$B$K@0F$?$$$H;W$C$F$$$^$9!#$b$A$m$s!"0J2<?(B ?$B$N$h$&$KL@<(E*$K%k!<%k$r=q$1$P<B8=$G$-$^$9!#?(B @end ifset @ifset us Suppose that piglet has two addresses, piglet@@beech.tree.uk and p-p-p@@mew.org. pooh wants to refile messages from piglet to +from/piglet no matter what his From: is. This policy can, of course, be implemented if pooh specifies rules explicitly as follows: @end ifset

@example (setq mew-refile-guess-alist
'(("From:"
("piglet@@beech.tree.uk" . "+from/piglet")
("p-p-p@@mew.org" . "+from/piglet")))) @end example

@ifset jp ?$B$7$+$7!"$$$A$$$A%k!<%k$r=q$/$N$OLLE]$G$9!#$=$3$G!"$^$:?(B From: ?$B$,?(B piglet@@beech.tree.uk ?$B$G$"$k%a%C%;!<%8$r?(B +from/piglet ?$B$K@0F$^$9!#$3$l?(B ?$B$G%U%)%k%@?(B +from/piglet ?$B$,:n@.$5$l$^$9!#<!$K!"?(BFrom: ?$B$,?(B p-p-p@@mew.org ?$B$G?(B ?$B$"$k%a!<%k$r?(B +from/piglet ?$B$K@0F$?$H$7$^$9!#$3$3$G?(B Mew ?$B$O!"?(B p-p-p@@mew.org ?$B$,?(B +from/piglet ?$B$K@0F$l$?$3$H$r3X=,$7$^$9!#0J8e?(B From: ?$B$,?(B p-p-p@@mew.org ?$B$G$"$k%a%C%;!<%8$r@0F$h$&$H$9$k$H!"?(B+from/piglet ?$B$r?(B ?$BA*Br$9$k$h$&$K$J$j$^$9!#?(B @end ifset @ifset us But such a work may bother you. So, first refile a message whose From: is piglet@@beech.tree.uk to +from/piglet. At this time, +from/piglet is created. Next, refile a message whose From: is p-p-p@@mew.org to +from/piglet. Here Mews learns that p-p-p@@mew.org was refiled to +from/piglet. After this, when messages whose From: is p-p-p@@mew.org are refiled, +from/piglet is chosen. @end ifset

@ifset jp ?$B$=$NB>!"5!3#$+$i$/$k%a%C%;!<%8$O!"$$$D$b?(B +adm/misc ?$B$KF~$l$k$3$H$K$7$?$$?(B ?$B>l9g$J$I$b!"L@<(E*$J%k!<%k$r=q$+$:$K:Q$^$;$i$l$^$9!#?(B @end ifset @ifset us For another example, you can refile messages from machinery to +adm/misc without defining an explicit rule. @end ifset

@ifset jp From: ?$B$H%U%)%k%@$N>pJs$O!"?(B"~/Mail/.mew-refile-from-alist" ?$B$KJ]B8$5$l$F$$?(B ?$B$^$9!#$3$N>pJs$r2a5n2?DL$N%a%C%;!<%8$K4X$7$FJ]B8$9$k$+$O!"?(B @xref{by-thread} ?$B$HF1MM$K?(B @samp{mew-lisp-max-length} ?$B$G7hDj$7$^$9!#?(B @end ifset @ifset us Information for relationship between From: and folder is stored to "~/Mail/.mew-refile-from-alist". @samp{mew-lisp-max-length} controls the amount of this information as the same as @xref{by-thread}. @end ifset

@ifset jp ?$B$3$N5!G=$rDs6!$9$k4X?t$O?(B @samp{mew-refile-guess-by-from} ?$B$G$9!#?(B @end ifset @ifset us The function name to provide this feature is @samp{mew-refile-guess-by-from}. @end ifset

@ifset jp @samp{mew-refile-guess-from-me-is-special} ?$B$,?(B @samp{t} ?$B$N>l9g!"?(B @samp{mew-refile-guess-by-from} ?$B$O?(B @samp{mew-refile-guess-by-from-folder}(@xref{by-from-folder})?$B$HF1MM$JF0?(B ?$B$-$r$7$^$9!#?(B @end ifset @ifset us If the value of @samp{mew-refile-guess-from-me-is-special} is @samp{t}, @samp{mew-refile-guess-by-from} acts as @samp{mew-refile-guess-by-from-folder}(@xref{by-from-folder}). @end ifset

@c %%%%%%%%%%%%%%%%% @node by-newsgroups, by-default, by-from, Refile @ifset jp @section Newsgroups: ?$B$+$i?dB,?(B @end ifset @ifset us @section Guess by Newsgroups: @end ifset

@ifset jp ?$B%M%C%H%K%e!<%9$r%a%C%;!<%8$G<u$1$F?(B Mew ?$B$GFI$s$G$$$k?M$N$?$a$K!"?(B Newsgroups: ?$B$+$i%U%)%k%@$r?dB,$9$k5!G=$rMQ0U$7$^$7$?!#>-Mh?(B Mew ?$B$,%M%C%H?(B ?$B%K%e!<%9$r%5%]!<%H$7$?>l9g$K$bM-8z$G$7$g$&!#4X?tL>$O?(B @samp{mew-refile-guess-by-newsgroups} ?$B$G$9!#?(B @end ifset @ifset us For those who read NetNews received by Email with Mew, Mew provides a mechanism to guess a folder by Newsgroups:. It will be also useful when Mew integrates NetNews in the future. The function name to provide this feature is @samp{mew-refile-guess-by-newsgroups}. @end ifset

@c %%%%%%%%%%%%%%%%% @node by-default, guess-rule, by-newsgroups, Refile @ifset jp @section ?$B%G%U%)%k%H$N5,B'?(B @end ifset @ifset us @section Guess by default rule @end ifset @vindex mew-refile-guess-strip-domainpart

@ifset jp ?$B%G%U%)%k%H$N5,B'$O!"?(BFrom: ?$B$+$i%"%I%l%9L>$r@Z$j=P$7$F!"?(B @samp{+from/user@@domain} ?$B$rA*$V$h$&$K$J$C$F$$$^$9!#$?$@$7!"?(B @samp{mew-refile-guess-strip-domainpart} ?$B$,?(B @samp{t} ?$B$J$i%f!<%6L>$r@Z$j?(B ?$B=P$9$N$G!"?(B@samp{+from/user} ?$B$,A*Br$5$l$^$9!#?(B @end ifset @ifset us The default rule is extract an address from From: and chooses @samp{+from/user@@domain}. But if @samp{mew-refile-guess-strip-domainpart} is @samp{t}, it extracts the user part. So, @samp{+from/user} is chosen. @end ifset

@ifset jp ?$B4X?tL>$O!"?(B@samp{mew-refile-guess-by-default} ?$B$G$9!#?(B @end ifset @ifset us The function name is @samp{mew-refile-guess-by-default}. @end ifset

@c %%%%%%%%%%%%%%%%% @node guess-rule, auto-refile, by-default, Refile @ifset jp @section ?$B%k!<%k$N@)8f?(B @end ifset @ifset us @section Controlling rules @end ifset @vindex mew-refile-guess-control @vindex mew-refile-ctrl-multi

@ifset jp Mew ?$B$G$O!"%U%)%k%@?dB,$N%k!<%k$r?(B2?$B$D$NJQ?t!"?(B @samp{mew-refile-guess-control} ?$B$H?(B @samp{mew-refile-ctrl-multi} ?$B$G@)8f$7?(B ?$B$^$9!#?(B@samp{mew-refile-guess-control} ?$B$O!"8F$S=P$94X?t$r=g$KDj5A$7$^$9!#?(B ?$B8uJd$rJ#?t$K$7$?$$>l9g$O?(B @samp{mew-refile-ctrl-multi} ?$B$r?(B @samp{t} ?$B$K!"C1?(B ?$B?t$K$7$?$$>l9g$O?(B @samp{nil} ?$B$K@_Dj$7$^$9!#?(B @end ifset @ifset us Mew controls guess rules by two variables, @samp{mew-refile-guess-control} and @samp{mew-refile-ctrl-multi}. If you want multiple candidates, set @samp{mew-refile-ctrl-multi} @samp{t}. Otherwise, set it @samp{nil}. @end ifset

@ifset jp ?$BI8=`$G$O!"?(B@samp{mew-refile-guess-control} ?$B$O0J2<$N$h$&$K@k8@$5$l$F$$$^$9?(B (?$B@k8@$J$N$G?(B @samp{defvar} ?$B$,;H$o$l$F$$$^$9?(B)?$B!#?(B @end ifset @ifset us By default, @samp{mew-refile-guess-control} is declared as follows(since it is a declaration, @samp{defvar} is used): @end ifset

@example (defvar mew-refile-guess-control
'(mew-refile-guess-by-alist
mew-refile-ctrl-throw
mew-refile-guess-by-newsgroups
mew-refile-guess-by-folder
mew-refile-ctrl-throw
mew-refile-ctrl-auto-boundary
mew-refile-guess-by-thread
mew-refile-ctrl-throw
mew-refile-guess-by-from-folder
mew-refile-ctrl-throw
mew-refile-guess-by-from
mew-refile-ctrl-throw
mew-refile-guess-by-default)) @end example

@ifset jp Mew ?$B$O?(B @samp{mew-refile-guess-control} ?$B$KJB$Y$i$l$?4X?t$r=gHV$K$9$Y$F<B?(B ?$B9T$7$^$9!#3F!9$N4X?t$,J#?t$N8uJd$r?dB,$9$k$3$H$,$"$j$^$9!#?(B @end ifset @ifset us Mew executes every function defined in @samp{mew-refile-guess-control} in order. Each function may guess multiple candidates. @end ifset

@ifset jp @samp{mew-refile-guess-control} ?$B$NF0:nNc$H$7$F0J2<$r9M$($F$_$^$7$g$&!#?(B @end ifset @ifset us Let's see the following example of @samp{mew-refile-guess-control} action. @end ifset

@table @samp @ifset jp @item mew-refile-guess-by-alist
?$B$,?(B +aaa, +bbb ?$B$r?dB,!#?(B @item mew-refile-guess-by-folder
?$B$,?(B +ccc, +ddd ?$B$r?dB,!#?(B @item mew-refile-guess-by-default
?$B$,?(B +eee ?$B$r?dB,!#?(B @end ifset @ifset us @item mew-refile-guess-by-alist
guessed +aaa, +bbb. @item mew-refile-guess-by-folder
guessed +ccc, +ddd. @item mew-refile-guess-by-default
guessed +eee. @end ifset @end table

@ifset jp +aaa ?$B!A?(B +eee ?$B$9$Y$F$r%f!<%6$KDs<($7$FM_$7$$>l9g$O!"?(B @samp{mew-refile-ctrl-multi} ?$B$r?(B @samp{t} ?$B$K?(B, +aaa ?$B$@$1$rDs<($7$FM_$7$$>l?(B ?$B9g$O!"?(B@samp{nil} ?$B$K@_Dj$7$^$9!#?(B @end ifset @ifset us If you want to provide all candidates, +aaa - +eee, set @samp{mew-refile-ctrl-multi} @samp{t}. If you want to provide +aaa only, set it @samp{nil}. @end ifset

@ifset jp ?$B$^$?!"?(B+aaa ?$B!A?(B +ddd ?$B$ODs<($7$FM_$7$$$1$l$I$b$=$l0J9_$O$$$i$J$$!"$D$^$j!"?(B +eee ?$B$rDs<($9$k$N$O@h$K<B9T$5$l$?4X?t72$,2?$b?dB,$G$-$J$+$C$?$H$-$@$1$K?(B ?$B$7$?$$>l9g$O!"?(B@samp{mew-refile-ctrl-multi} ?$B$r?(B @samp{t} ?$B$K$7$F!"?(B @samp{mew-refile-guess-by-folder} ?$B$H?(B @samp{mew-refile-guess-by-default} ?$B$N4V$K?(B @samp{mew-refile-ctrl-throw} ?$B$rF~$l$F2<$5$$!#?(B @end ifset @ifset us If you want +aaa - +ddd but don't want left candidates, in other words, you want +eee only when no candidate is guessed by functions executed before, set @samp{mew-refile-ctrl-multi} @samp{t} and insert @samp{mew-refile-ctrl-throw} between @samp{mew-refile-guess-by-folder} and @samp{mew-refile-guess-by-default}. @end ifset

@ifset jp @samp{C-uo} ?$B$O!"$3$N?dB,$NN.$l$r?(B Message ?$B%P%C%U%!$KI=<($7$^$9!#?(B @end ifset @ifset us @samp{C-uo} displays the flow of guess rules in Message buffer. @end ifset

@c %%%%%%%%%%%%%%%%% @node auto-refile, Pick, guess-rule, Refile @ifset jp @section ?$B<+F0$G@0M}@0F(B @end ifset @ifset us @section Auto refile @end ifset @vindex mew-refile-auto-refile-skip-any-mark

@ifset jp ?$BKhF|%a%C%;!<%8$r$?$/$5$s$b$i$&?M$O!"$^$@@0F$F$$$J$$%a%C%;!<%8$r?(B +inbox ?$B%U%)%k%@$KBgNL$KN/$a$F$7$^$&$3$H$,$"$j$^$9!#$=$s$J$H$-$O!"!V%a%C?(B ?$B%;!<%8C#$h!"$H$K$+$/?(B +inbox ?$B%U%)%k%@$+$i$I$3$+$K9T$C$F$7$^$(!W$H6+$S$?$/?(B ?$B$J$k$3$H$,$"$k$G$7$g$&!#?(BMew ?$B$O!"$=$s$J$o$,$^$^$J$rK~B-$5$;$k$?$a$N<+F0@0?(B ?$BM}@0F4X?t$rDs6!$7$F$$$^$9!#?(B:) @samp{M-o} ?$B$,$=$N<vJ8$G$9!#?(B @end ifset @ifset us Those who receives many messages everyday is prone to store thousands of messages in the +inbox folder. In such a case, they may want to speak out like this, "Hey messages, get out of the +inbox folder to somewhere". Mew provides a feature to satisfy such laziness. :) @samp{M-o} is the spell. @end ifset

@ifset jp ?$B$3$N4X?t$r<B9T$9$k$H!"8=:_$N%U%)%k%@Fb$NFCDj$N%a%C%;!<%8$KBP$7$F!"<+F0E*?(B ?$B$K?(B @samp{o} ?$B%^!<%/$rIU$1$F$/$l$^$9!#FCDj$N%a%C%;!<%8$H$O!"?(B @samp{mew-refile-auto-refile-skip-any-mark} ?$B$,?(B @samp{nil}?$B$J$i!"?(B@samp{o} ?$B$d?(B @samp{D} ?$B%^!<%/$,IU$$$F$$$J$$%a%C%;!<%8$G$9!#?(B @samp{mew-refile-auto-refile-skip-any-mark} ?$B$,?(B @samp{t} ?$B$J$i!"$J$K$b%^!<?(B ?$B%/$,IU$$$F$J$$%a%C%;!<%8$G$9!#?(B @samp{mew-refile-auto-refile-skip-any-mark} ?$B$N%G%U%)%k%HCM$O?(B @samp{nil} ?$B$G$9!#$^$?!"?(B@samp{C-u} ?$BIU$G8F$S=P$9$H!"?(B @samp{mew-refile-auto-refile-skip-any-mark} ?$B$NCM$H$O4X78$J$/?(B @samp{*} ?$B%^!<?(B ?$B%/$NIU$$$?%a%C%;!<%8$rBP>]$K$7$^$9!#?(B @end ifset @ifset us When you execute this function, it marks specific messages with @samp{o}. The specific messages mean messages which are not marked with @samp{o} nor @samp{D} if @samp{mew-refile-auto-refile-skip-any-mark} is @samp{nil}. If @samp{mew-refile-auto-refile-skip-any-mark} is @samp{t}, they mean non-marked messages. The default value of @samp{mew-refile-auto-refile-skip-any-mark} is @samp{nil}. If executed with @samp{C-u}, the targets mean messages marked with @samp{*} regardless the value of @samp{mew-refile-auto-refile-skip-any-mark}. @end ifset

@ifset jp ?$B@0F@h$N7hDj$K$O!"@h$K@bL@$7$??dB,4X?t72$,F/$/$h$&$K$J$C$F$$$^$9!#$3$N4X?(B ?$B?t$O!"?(B@samp{o} ?$B$rIU$1$k$@$1$G$9$N$G!"?(B@samp{x} ?$B$r2!$5$J$$8B$j<B:]$K%a%C%;!<?(B ?$B%8$,$I$3$+$K9T$C$F$7$^$&$3$H$O$"$j$^$;$s!#?(B @end ifset @ifset us Refile rule is the same described in the previous section. Please note that what this function does is just mark messages with @samp{o}. Messages are not refiled until you will press @samp{x}. @end ifset

@ifset jp Mew ?$B$N@0F@h?dB,$O$"$^$j$K$b8-$9$.$k$N$G!"$3$N5!G=$K$O5X$H$J$C$F$7$^$$$9!#?(B ?$B$H$$$&$N$O!"?(BMew ?$B$,?dB,5!G=$r%U%k$K;H$C$F>!<j$K@0F$F$7$^$&$H!"BgDq$N%f!<?(B ?$B%6$O$I$3$K%a%C%;!<%8$,@0F$l$?$+J,$+$i$J$/$J$C$F$7$^$&$N$+$i$G$9!#?(B:) ?$B$=$N$?$a$K!"?(BMew ?$B$,;H$&?dB,4X?t$r@)8B$9$k5!G=$,Ds6!$5$l$F$$$^$9!#A0$K=P$F?(B ?$B$-$?@k8@$r$b$&0lEY;W$$=P$7$F2<$5$$!#?(B @end ifset @ifset us Mew's refile mechanism is so smart that it would be harmful for this function. That is, most users would not understand where messages have been refiled if Mew made most use of its guess mechanism. :) For this reason, break is provided to limit usage of guess functions. Recall the declaration up above. @end ifset

@example (defvar mew-refile-guess-control
'(mew-refile-guess-by-alist
mew-refile-ctrl-throw
mew-refile-guess-by-newsgroups
mew-refile-guess-by-folder
mew-refile-ctrl-throw
mew-refile-ctrl-auto-boundary
mew-refile-guess-by-thread
mew-refile-ctrl-throw
mew-refile-guess-by-from-folder
mew-refile-ctrl-throw
mew-refile-guess-by-from
mew-refile-ctrl-throw
mew-refile-guess-by-default)) @end example

@ifset jp @samp{mew-refile-guess-control} ?$B$NCf$K?(B @samp{mew-refile-ctrl-auto-boundary} ?$B$H$$$&4X?t$,$"$j$^$9!#$3$l$,$=$N;E?(B ?$B3]$G$9!#<+F0@0M}@0F$H$-$K8B$j!"?(BMew ?$B$O$3$N4X?t$h$j2<$K5-=R$7$F$"$k?dB,?(B ?$B$rL5;k$7$^$9!#?(B@samp{mew-refile-ctrl-auto-boundary} ?$B$h$j>e$K5-=R$7$F$$$k?(B ?$B4X?t$,2?$b?dB,$G$-$J$+$C$?>l9g$O!"$=$N%a%C%;!<%8$K$O?(B @samp{o} ?$B$,IU$-$^$;?(B ?$B$s!#GKLG$,K,$l$kA0$K?(B @samp{mew-refile-ctrl-auto-boundary} ?$B$N8f;%$rE=$C$F?(B ?$B2<$5$$!#?(B @end ifset @ifset us You can find the @samp{mew-refile-ctrl-auto-boundary} function in @samp{mew-refile-guess-control}. Only when auto refile is used, Mew ignores guess functions below this function. If guess functions above @samp{mew-refile-ctrl-auto-boundary} didn't guess any folder for a message, the message is not marked with @samp{o}. Insert @samp{mew-refile-ctrl-auto-boundary} before you ruin. @end ifset

@c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @c Pick @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

@node Pick, condition, auto-refile, Top @ifset jp @chapter ?$B$*LN%a%C%;!<%8$rA*Br$9$k$K$O?(B @end ifset @ifset us @chapter How to select message which you want @end ifset

@ifset jp ?$B$?$H$($P!"?(BSubject: ?$B$K?(B party ?$B$H$$$&J8;z$,4^$^$l$F$$$k%a%C%;!<%8$r8+$D$1=P?(B ?$B$7$?$j!"?(BFrom: ?$B$,?(B kazu@@mew.org ?$B$G$"$k%a%C%;!<%8$rA*Br$7$?$$$H;W$&$3$H$,?(B ?$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?(B Mew ?$B$O?(B 3 ?$B$DDs6!$7$F$$$^$9!#?(B @end ifset @ifset us You may want to pick up messages whose Subject: contains a string "party" and whose From: is kazu@@mew.org. Mew provides three methods to accomplish this. @end ifset

@table @samp @ifset jp @item ? ?$BF~NO$7$?>r7o$K9g$&%a%C%;!<%8$K?(B @samp{*} ?$B%^!<%/$rIU$1$k!#8=:_$N?(B Summary ?$B%b!<%I$N0lMw$rMxMQ$9$k!#?(B@samp{?} ?$B$r2!$7$?8e$K!">r7o$rF~NO$7$F2<$5$$!#?(B @item / ?$BF~NO$7$?>r7o$K9g$&%a%C%;!<%8$r?(B Summary ?$B%b!<%I$K0lMwI=<($9$k!#8=:_$N?(B Summary ?$B%b!<%I$N0lMw$O>e=q$-$5$l$^$9!#?(B@samp{/} ?$B$r2!$7$?8e$K!"%U%)%k%@L>?(B ?$B$H>r7o$rF~NO$7$F2<$5$$!#?(B @item V ?$BJ#?t$N%U%)%k%@$+$iF~NO$7$?>r7o$K9g$&%a%C%;!<%8$r8+$D$1=P$7$F?(B Virtual ?$B%b!<?(B ?$B%I$K0lMwI=<($9$k!#A`:n$O!"?(B@xref{virtual} ?$B$r;2>H$7$F2<$5$$!#?(B @end ifset @ifset us @item ? Pick messages according to a pick pattern which you input, then put the @samp{*} mark onto them. @item / Pick messages according to a pick pattern which you input, then list them up. @item V Go to Virtual mode which gives a single view to picked messages from multiple folders. Enter a virtual folder name, comma-separated folders, and pick pattern. For more information, please refer to @xref{virtual}. @end ifset @end table

@ifset jp ?$B0J2<>r7o$NF~NOJ}K!$H?(B Virtual ?$B%b!<%I$KIU$$$F2r@b$7$^$9!#?(B @end ifset @ifset us Following sections describes how to input conditions and Virtual mode in detail. @end ifset

@menu @ifset jp * condition:: ?$B>r7o$NF~NOJ}K!?(B * virtual:: Virtual ?$B%b!<%I?(B @end ifset @ifset us * condition:: How to input conditions * virtual:: Virtual mode @end ifset @end menu

@c %%%%%%%%%%%%%%%%% @node condition, virtual, Pick, Pick @ifset jp @section ?$B>r7o$NF~NOJ}K!?(B @end ifset @ifset us @section How to input conditions @end ifset

@ifset jp Mew ?$B$,>r7o$NF~NO$r%f!<%6$KB%$9$H$-$O0J2<$N$h$&$K?V$$$F$-$^$9!#?(B @end ifset @ifset us When Mew asks a user to input pick pattern, the following message is displayed. @end ifset

@example pick pattern: @end example

@ifset jp ?$B0J2<$K<($9%-!<%o!<%I$rAH$_9g$o$;$F>r7o$rF~NO$7$F2<$5$$!#?(B @end ifset @ifset us Input pick pattern combining the following keywords: @end ifset

@table @samp @ifset jp @item field=string ?$B%U%#!<%k%I?(B field ?$B$KJ8;zNs?(B string ?$B$,4^$^$l$F$$$k$H$-%^%C%A!#%U%#!<%k%I?(B field ?$B$,!"?(Bhead?$B!"?(Bbody?$B!"$*$h$S!"?(Ball ?$B$N>l9g$O!"$=$l$>$l%X%C%@A4BN!"KJ8!"%a%C?(B ?$B%;!<%8A4BN$r0UL#$9$k!#?(B @item <pattern1> & <pattern2> <pattern1> ?$B$+$D?(B <pattern2> ?$B$N$H$-%^%C%A!#?(B @item <pattern1> | <pattern2> <pattern1> ?$B$^$?$O?(B <pattern2> ?$B$N$H$-%^%C%A!#?(B @item ! <pattern> <pattern> ?$B$G$J$$$H$-%^%C%A!#?(B @item ( <pattern> ) <pattern> ?$B$NFbMF$r@h$KI>2A!#?(B @end ifset @ifset us @item field=string Match if the "field" field contains the "string" string. If you specify "head", "body" or "all" as "field", it means the entire header, the body, and the entire message, respectively. @item <pattern1> & <pattern2> Match if <pattern1> AND <pattern2>. @item <pattern1> | <pattern2> Match if <pattern1> OR <pattern2>. @item ! <pattern> Match if not <pattern>. @item ( <pattern> ) Evaluate <pattern> first. @end ifset @end table

@ifset jp ?$B0J2<$KNc$r<($7$^$9!#?(B @end ifset @ifset us Some examples are shown below. @end ifset

@ifset jp (a) From: ?$B$K?(B kazu ?$B$+4^$^$l$k%a%C%;!<%8?(B @end ifset @ifset us (a) Messages whose From: contains "kazu". @end ifset

@example from=kazu @end example

@ifset jp (b) To: ?$B$,?(B mew?$B!"$^$?$O!"?(BCc: ?$B$,?(B mew ?$B$G$"$k%a%C%;!<%8?(B @end ifset @ifset us (b) Messages whose To: contains "mew" OR Cc: contains "mew". @end ifset

@example to=mew | cc=mew @end example

@ifset jp (c) To: ?$B$,?(B mew?$B!"$^$?$O!"?(BCc: ?$B$,?(B mew ?$B$G!"$+$D!"?(Bfrom ?$B$,?(B kazu ?$B$G$"$k?(B ?$B%a%C%;!<%8?(B @end ifset @ifset us (c) Messages whose To: contains "mew" OR Cc: contains "mew" AND From: contains "kazu". @end ifset

@example (to=mew | cc=mew) & from=kazu @end example

@ifset jp ?$B8e$ON`?d$7$F2<$5$$!#?(B @end ifset @ifset us Now you can guess how to input more complex patterns. @end ifset

@c %%%%%%%%%%%%%%%%% @node virtual, Quit, condition, Pick @ifset jp @section Virtual ?$B%b!<%I?(B @end ifset @ifset us @section Virtual mode @end ifset

@ifset jp Virtual ?$B%b!<%I$O!"J#?t$N%U%)%k%@$+$iF~NO$7$?>r7o$K9g$&%a%C%;!<%8$rA*$S$@?(B ?$B$7!"C10l$N2>A[E*$J%U%)%k%@$H$7$F07$$$^$9!#?(BSummary ?$B%b!<%I$G?(B @samp{V} ?$B$r2!?(B ?$B$9$H!"?(BVirtual ?$B%b!<%I$,:n$l$^$9!#?(B @end ifset @ifset us Virtual mode gives you a single view for matching messages from multiple folders. Press @samp{V} in Summary mode to enter Virtual mode. @end ifset

@ifset jp ?$B:G=i$K!"2>A[%U%)%k%@L>$r?V$+$l$^$9!#?(B @end ifset @ifset us First you are asked a name of virtual folder @end ifset

@example Virtual folder name (virtual) : @end example

@ifset jp ?$BG$0U$NJ8;zNs$rF~NO$7$F2<$5$$!#C1$K?(B @samp{RET} ?$B$r2!$9$H!"?(B"++virtual" ?$B$K$J?(B ?$B$j$^$9!#<!$K!"C1?t$^$?$OJ#?t$N%U%)%k%@L>$rF~NO$7$^$9!#J#?t$N%U%)%k%@$rF~?(B ?$BNO$9$k>l9g$O!"?(B"," ?$B$G6h@Z$C$F2<$5$$!#$b$A$m$s!"?(B@samp{TAB} ?$B$GJd40$G$-$^$9!#?(B @end ifset @ifset us Input an appropriate string. If you type just @samp{RET}, "++virtual" is selected. Then you are asked to input a single or multiple folder name. If you want to specify multiple folders, please separate them with ",". Of course, you can complete folder names with @samp{TAB}. @end ifset

@example Folder name (+inbox) : +inbox, +mew @end example

@ifset jp ?$B$=$7$F!">r7o$rF~NO$7$^$9!#?(B @end ifset @ifset us Now input conditions. @end ifset

@example pick pattern: @end example

@ifset jp ?$B$9$k$H2>A[%U%)%k%@$,$G$-$"$,$j$^$9!#?(BVirtual ?$B%b!<%I$O!"@0F>C5n!"8!:w$J?(B ?$B$I0lIt$N%3%^%s%I$r=|$$$F!"?(BSummary ?$B%b!<%I$H0l=o$G$9!#2>A[%U%)%k%@$O$^$5$7?(B ?$B$/2>A[$G$"$j!"%U%!%$%k%7%9%F%`$J$I$K$OB8:_$7$J$$$3$H$KCm0U$7$F2<$5$$!#?(B Emacs ?$B$r=*N;$9$k$H!"2>A[%U%)%k%@$O$J$/$J$j$^$9!#?(B @end ifset @ifset us OK. You get a Virtual mode. In Virtual mode, you can use same commands that you can find in Summary mode except refile, delete, pick and etc. You should take note that Virtual folder is really virtual and it does not exist in file system. If you exit Mew, it then disappears. @end ifset

@c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @c Quit @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

@node Quit, Customize, virtual, Top @ifset jp @chapter ?$B0l5Y$_?(B @end ifset @ifset us @chapter Give me a break @end ifset

@ifset jp Mew ?$B$r=*N;$5$;$?$j!"0l;~CfCG$5$;$?$j!"$=$N%b!<%I?(B(?$B@53N$K$O%P%C%U%!?(B)?$B$r>C5n?(B ?$B$9$kJ}K!$r0J2<$K<($7$^$9!#?(B @end ifset @ifset us Here are how to quit and suspend Mew and how to erase a mode(buffer). @end ifset

@ifset jp <Summary ?$B%b!<%I$H?(B Virtual ?$B%b!<%I?(B> @end ifset @ifset us <Summary mode and Virtual mode> @end ifset

@table @samp @ifset jp @item q Mew ?$B$r0l;~CfCG$7!"B>$N%P%C%U%!$K@Z$jBX$($^$9!#?(BMew ?$BMQ$N%P%C%U%!$O$9$Y$F;D$C?(B ?$B$F$$$^$9$+$i!"%P%C%U%!A`:n$GA*$Y$P:F3+$G$-$^$9!#?(B @item Q Mew ?$B$r=*N;$7$^$9!#?(BMew ?$B$,;H$C$?$9$Y$F$N%P%C%U%!$r>C5n$7$^$9!#?(B @item C-cC-q ?$B$=$N%b!<%I?(B(?$B@53N$K$O%P%C%U%!?(B)?$B$r>C5n$7$^$9!#?(B @end ifset @ifset us @item q Suspend Mew then switch to another buffer. All buffers of Mew remain, so you can resume with buffer operations. @item Q Quit Mew. All buffers of Mew are erased. @item C-cC-q Erase the current mode(buffer). @end ifset @end table

@ifset jp <Draft ?$B%b!<%I?(B> @end ifset @ifset us <Draft mode> @end ifset

@table @samp @ifset jp @item C-cC-q ?$B$=$NAp9F$r>C5n$7$^$9!#?(B @end ifset @ifset us @item C-cC-q Erase the draft. @end ifset @end table

@ifset jp <"*Mew watch*" ?$B%P%C%U%!?(B> @end ifset @ifset us <"*Mew watch*" buffer> @end ifset

@table @samp @ifset jp @item C-cC-q ?$B$=$N%P%C%U%!$r>C5n$7$^$9!#?(B @end ifset @ifset us @item C-cC-q Erase the current buffer. @end ifset @end table

@c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @c Customize @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

@node Customize, level-one, Quit, Top @ifset jp @chapter ?$B<+J,9%$_$N?(B Mew ?$B$K$9$k$K$O?(B @end ifset @ifset us @chapter Customizing Mew @end ifset

@ifset jp ?$B$3$3$G$O!"?(BMew ?$B$N%G%U%)%k%H$NF0:n$rJQ99$7!"<+J,9%$_$N?(B Mew ?$B$K$9$kJ}K!$r@b?(B ?$BL@$7$^$9!#<g$K?(B "~/.emacs" ?$B$G@_Dj$7$F2<$5$$!#?(B @end ifset @ifset us Here are explained how to change default setting of Mew and make Mew your favorite. Edit "~/.emacs" to do it! @end ifset

@menu @ifset jp * level-one:: ?$B=i5i?(B * level-two:: ?$BCf5i?(B * level-three:: ?$B>e5i?(B * hooks:: ?$B%U%C%/?(B * config:: IM Config @end ifset @ifset us * level-one:: Beginner course * level-two:: Junior course * level-three:: Senior course * hooks:: Hooks * config:: IM Config @end ifset @end menu

@c %%%%%%%%%%%%%%%%% @node level-one, level-two, Customize, Customize @ifset jp @section ?$B=i5i?(B @end ifset @ifset us @section Beginner course @end ifset @vindex mew-draft-mode-hook @vindex mew-from @vindex mew-fcc @vindex mew-cc @vindex mew-dcc @vindex mew-window-use-full @vindex mew-summary-show-direction @vindex mew-summary-mark-direction

@ifset jp ?$B$3$3$G$O!"0J2<$NJQ?t$K$D$$$F@bL@$7$^$9!#?(B @end ifset @ifset us Here are described the following variables. @end ifset

@itemize @minus @item mew-draft-mode-hook @item mew-from @item mew-fcc @item mew-cc @item mew-dcc @item mew-window-use-full @item mew-summary-show-direction @item mew-summary-mark-direction @end itemize

@ifset jp Draft ?$B%b!<%I$G$O!"%U%C%/$r?(B @samp{text-mode-hook}?$B!"?(B @samp{mew-draft-mode-hook} ?$B$N=g$GI>2A$7$^$9!#?(B@samp{text-mode-hook} ?$B$G?(B @samp{auto-fill-mode} ?$B$r@_Dj$7$F$$$J$$?M$O!"?(B @samp{mew-draft-mode-hook} ?$B$r0J2<$N$h$&$K@_Dj$9$k$N$,$h$$$+$b$7$l$^$;$s!#?(B @end ifset @ifset us Draft mode evaluates @samp{text-mode-hook} and @samp{mew-draft-mode-hook} in order. If you don't set @samp{auto-fill-mode} to @samp{text-mode-hook}, It would be useful to define @samp{mew-draft-mode-hook} as follows: @end ifset

@example (setq mew-draft-mode-hook (function (lambda () (auto-fill-mode 1)))) @end example

@ifset jp ?$BEE;R%a!<%k$N4IM}<T$,@_Dj$7$F$$$k$N$H$O0c$&%"%I%l%9$GAw?.$7$?$$$3$H$,$"$j?(B ?$B$^$9!#$?$H$($P!"4IM}<T$N@_Dj$,4E$/!"ITMW$J%[%9%HL>$,IU$$$F$7$^$&>l9g$J$I?(B ?$B$G$9?(B(?$B$3$N>l9g$O4IM}<T$KMj$_@_Dj$r=$@5$7$F$b$i$&$N$,0lHV$G$9?(B)?$B!#?(BMew ?$B$G$OAp?(B ?$B9F$N%X%C%@$K?(B From: ?$B%"%I%l%9$,$"$l$P!"$=$l$,$=$N$^$^?(B From: ?$B$H$J$j$^$9!#Jd?(B ?$B40$r;H$$$J$,$i=q$$$F2<$5$$!#$$$D$bAp9F$K?(B From: ?$B$rMQ0U$9$k$K$O!"0J2<$NNc?(B ?$B$N$h$&$K?(B @samp{mew-from} ?$B$r;XDj$7$F2<$5$$!#?(B @end ifset @ifset us You may want to use another address than which your Email manager defined. An example is the case that a host name appears in your Email address since the configuration by your Email manager is imperfect. (In this case, ask him to resolve this problem first.) If From: is specified on a draft, Mew treats it as it is. You can specify From: with completion. If you want to prepare From: in drafts, set @samp{mew-from} as follows: @end ifset

@example @ifset jp (setq mew-from "Kazu Yamamoto (?$B;3KI'?(B) <Kazu@@Mew.org>") @end ifset @ifset us (setq mew-from "Kazu Yamamoto <Kazu@@Mew.org>") @end ifset @end example

@ifset jp From: ?$B9T$r<+J,$G;XDj$G$-$k$H$$$&$3$H$O!"4JC1$K$@$l$+$K$J$j$9$^$;$k$H$$$&?(B ?$B$3$H$G$9!#$/$l$0$l$b$3$N5!G=$r;H$C$?$$$?$:$i$r$7$J$$$G2<$5$$!#$^$?!"B>?M?(B ?$B$bMF0W$K$@$l$+$K$J$j$9$^$;$k$3$H$KCm0U$7$F2<$5$$!#Bg@Z$JMQ7o$O!"?(BPGP/MIME ?$B$GJ]8n$7$FAw$j$^$7$g$&!#?(B @end ifset @ifset us This feature means that you cannot trust From: in all cases. I would sincerely ask all Mew users NOT to cheat others with this feature. And please note that a bad guy can set himself up as another guy very easily. For important messages, use PGP/MIME. @end ifset

@ifset jp ?$BKh2s?(B Fcc: ?$B$G%P%C%/%"%C%W$r<h$j$?$$?M$O!"0J2<$r?(B .emacs ?$B$K@_Dj$7$F2<$5$$!#?(B @end ifset @ifset us If you want to back up your messages every time when you write them with Fcc:, put the following line into ".emacs". @end ifset

@example (setq mew-fcc "+Backup") @end example

@ifset jp ?$B<+J,$X?(B Cc:(Dcc:) ?$B$7$?$$?M$O?(B @samp{mew-cc}(@samp{mew-dcc})?$B$r@_Dj$7$F2<$5?(B ?$B$$!#?(B @end ifset @ifset us Define @samp{mew-cc}(@samp{mew-dcc}) to use Cc:(Dcc:). @end ifset

@ifset jp ?$B$$$D$b?(B Emacs ?$B$N%U%l!<%`A4BN$G?(B Mew ?$B$r;H$$$?$$?M$O!"0J2<$N@_Dj$r$7$F2<$5$$!#?(B @end ifset @ifset us If you want to use Mew with full Emacs frame, set like this. @end ifset

@example (setq mew-window-use-full t) @end example

@ifset jp Summary ?$B%b!<%I$N?(B @samp{SPC} ?$B$O!"?(B@samp{mew-summary-show-direction} ?$B$K$h$C?(B ?$B$F!"<!$N%a%C%;!<%8$NI=<($N;EJ}$,JQ$o$j$^$9!#$^$?F1MM$K!"6/$$%^!<%/$rIU$1?(B ?$B$?8e%+!<%=%k$,F0$/J}8~$O?(B @samp{mew-summary-mark-direction} ?$B$K$h$j;XDj$G?(B ?$B$-$^$9!#0J2<$NCM$r@_Dj$G$-$^$9!#?(B @end ifset @ifset us @samp{SPC} in Summary mode decide the next action to view a message according to @samp{mew-summary-show-direction}. Likewise, you can specify the cursor direction after putting a strong mark by @samp{mew-summary-mark-direction}. You can select one from the following candidates. @end ifset

@table @samp @ifset jp @item up ?$B>e$N%a%C%;!<%8$rI=<($9$k!#?(B @item down ?$B2<$N%a%C%;!<%8$rI=<($9$k!#?(B @item next ?$BFI$_?J$a$F$$$kJ}8~$N<!$N%a%C%;!<%8$rI=<($9$k!#?(B @item stop ?$B<!$OI=<($7$J$$!#?(B @end ifset @ifset us @item up Display the message above. @item down Display the message below. @item next Display the next message in the direction. @item stop Do not display the next message. @end ifset @end table

@ifset jp ?$BN>J}$H$b%G%U%)%k%H$O?(B @samp{next} ?$B$G$9!#$$$D$b%a%C%;!<%8$r2<$+$iFI$`?M$O!"?(B ?$B0J2<$N$h$&$K$9$l$P$h$$$G$7$g$&!#?(B @end ifset @ifset us The default value for both is @samp{next}. If you read messages from the bottom, set as follows: @end ifset

@example (setq mew-summary-show-direction 'up) @end example

@c %%%%%%%%%%%%%%%%% @node level-two, level-three, level-one, Customize @ifset jp @section ?$BCf5i?(B @end ifset @ifset us @section Junior course @end ifset @vindex mew-use-highlight-cursor-line @vindex mew-use-highlight-mouse-line @vindex mew-use-highlight-mark @vindex mew-use-highlight-header @vindex mew-use-highlight-body @vindex mew-use-highlight-url @vindex mew-use-highlight-x-face @vindex mew-highlight-mark-folder-list

@ifset jp ?$B$3$3$G$O!"0J2<$NJQ?t$K$D$$$F@bL@$7$^$9!#?(B @end ifset @ifset us Here are described the following variables. @end ifset

@itemize @minus @item mew-use-highlight-cursor-line @item mew-use-highlight-mouse-line @item mew-use-highlight-mark @item mew-use-highlight-header @item mew-use-highlight-body @item mew-use-highlight-url @item mew-use-highlight-x-face @end itemize

@ifset jp @samp{mew-use-highlight-cursor-line} ?$B$,?(B @samp{t} ?$B$N>l9g!"?(BSummary ?$B%b!<%I?(B ?$B$G%+!<%=%k$N$"$k9T$K2<@~$,0z$+$l$^$9!#%G%U%)%k%H$O?(B @samp{t} ?$B$G$9!#?(B @end ifset @ifset us If @samp{mew-use-highlight-cursor-line} is @samp{t}, underline is put on the cursor line in Summary mode. The default is @samp{t}. @end ifset

@ifset jp XEmacs ?$B$G$O?(B @samp{mew-use-highlight-mouse-line} ?$B$,?(B @samp{t} ?$B$N>l9g!"?(B Summary ?$B%b!<%I$G%^%&%9$N$"$k9T$K?'$,$D$-$^$9!#??Cf$N%?%s$r%/%j%C%/$7$J?(B ?$B$,$i!"%^%&%9$@$1$G%a%C%;!<%8$rFI$`:]$K$O$H$F$bJXMx$G$9!#?(BXEmacs ?$B$G$N%G%U%)?(B ?$B%k%H$NCM$O!"?(B@samp{t} ?$B$K$J$C$F$$$^$9!#?(B @end ifset @ifset us If @samp{mew-use-highlight-mouse-line} is @samp{t} on XEmacs, the mouse line is painted in Summary mode. This is very convenient to read messages clicking the middle button of the mouse. The default value on XEmacs is @samp{t}. @end ifset

@ifset jp @samp{mew-use-highlight-mark} ?$B$,?(B @samp{t} ?$B$G!"$+$D!"?(B @samp{mew-highlight-mark-folder-list} ?$B$KNs5s$7$?%U%)%k%@$,?(B Summary ?$B%b!<?(B ?$B%I$G$"$k>l9g!"%^!<%/$NIU$$$F$$$k9T$K?'$,$D$-$^$9!#?(B @samp{mew-highlight-mark-folder-list} ?$B$N%G%U%)%k%H$O?(B '("+inbox") ?$B$G$"$j!"?(B @samp{mew-use-highlight-mark} ?$B$N%G%U%)%k%H$O?(B @samp{t} ?$B$G$9!#?(B @samp{mew-highlight-mark-folder-list} ?$B$r?(B @samp{t} ?$B$K@_Dj$9$k$H!"?(B ?$B$9$Y$F$N%U%)%k%@$G?'$,IU$/$h$&$K$J$j$^$9!#?(B @end ifset @ifset us If @samp{mew-use-highlight-mark} is @samp{t} and you are in Summary mode on one of folders enumerated in @samp{mew-highlight-mark-folder-list}, marked lines are painted. The default of @samp{mew-highlight-mark-folder-list} is '("+inbox") and that of @samp{mew-use-highlight-mark}is @samp{t}. If @samp{mew-highlight-mark-folder-list} is set to @samp{t}, marked lines in all folders are painted. @end ifset

@ifset jp @samp{mew-use-highlight-header} ?$B$,?(B @samp{t} ?$B$N>l9g!"?(BMessage ?$B%b!<%I$H?(B Draft ?$B%b!<%I$G%X%C%@$,?'IU$1$5$l$^$9!#%G%U%)%k%H$O?(B @samp{t} ?$B$G$9!#?(B @end ifset @ifset us If @samp{mew-use-highlight-header} is @samp{t}, a header is painted in both Message mode and Draft mode. The default is @samp{t}. @end ifset

@ifset jp @samp{mew-use-highlight-body} ?$B$,?(B @samp{t} ?$B$N>l9g!"?(BMessage ?$B%b!<%I$H?(B Draft ?$B%b!<%I$GKJ8$,?'IU$1$5$l$^$9!#%G%U%)%k%H$O?(B @samp{nil} ?$B$G$9!#?(B @end ifset @ifset us If @samp{mew-use-highlight-body} is @samp{t}, a body is painted in both Message mode and Draft mode. The default is @samp{nil}. @end ifset

@ifset jp @samp{mew-use-highlight-url} ?$B$,?(B @samp{t} ?$B$N>l9g!"?(BMessage ?$B%b!<%I$N?(B URL ?$B$r?(B ?$B<($9J8;zNs$,6/D4$5$l$^$9!#%G%U%)%k%H$O?(B @samp{t} ?$B$G$9!#?(B @end ifset @ifset us If @samp{mew-use-highlight-url} is @samp{t} , strings containing URL are emphasized in Message mode. The default is @samp{t}. @end ifset

@ifset jp @samp{mew-use-highlight-x-face} ?$B$,?(B @samp{t} ?$B$G!"$+$D?(B XEmacs ?$B$r;H$C$F$$$k?(B ?$B>l9g!"%X%C%@Cf$N?(B X-Face: ?$B$,?(B Message ?$B%b!<%I$G%"%$%3%s2=$5$l$^$9!#?(BXEmacs ?$B$G$N%G%U%)%k%H$O?(B @samp{t} ?$B$G$9!#?(B @end ifset @ifset us If @samp{mew-use-highlight-x-face} is @samp{t} on XEmacs, X-Face: in a header is iconified in Message mode. The default value on XEmacs is @samp{t}. @end ifset

@c %%%%%%%%%%%%%%%%% @node level-three, hooks, level-two, Customize @ifset jp @section ?$B>e5i?(B @end ifset @ifset us @section Senior course @end ifset @vindex mew-header-alist @vindex mew-cite-fields @vindex mew-cite-format @vindex mew-cite-prefix

@ifset jp ?$B$3$3$G$O!"0J2<$NJQ?t$K$D$$$F@bL@$7$^$9!#?(B @end ifset @ifset us Here are described the following variables. @end ifset

@itemize @minus @item mew-header-alist @item mew-cite-fields @item mew-cite-format @item mew-cite-prefix @end itemize

@ifset jp ?$B$$$D$bF~$l$FM_$7$$%X%C%@$O!"?(B@samp{mew-header-alist} ?$B$KO"A[%j%9%H7A<0$GDj?(B ?$B5A$7$F2<$5$$!#0J2<$KNc$r<($7$^$9!#?(B @end ifset @ifset us Set header fields that you want to insert every time when you write messages to @samp{mew-header-alist} as an associate list. The following is an example. @end ifset

@example (setq mew-header-alist
'(("X-fingerprint:" . "6B 63 38 88 67 5E 96 8E CE A4 62 73 3F 11 64 94")
("X-URL:" . "http://www.mew.org/~kazu/"))) @end example

@ifset jp ?$B0zMQ%i%Y%k$O!"0zMQ$9$k%U%#!<%k%I$r?(B @samp{mew-cite-fields}?$B!"%i%Y%k$N=q<0?(B ?$B$r?(B @samp{mew-cite-format} ?$B$KDj5A$7$^$9!#0zMQ5-9f$O?(B @samp{mew-cite-prefix} ?$B$K;XDj$7$^$9!#%G%U%)%k%H$O!"0J2<$N$h$&$K$J$C$F$$?(B ?$B$^$9!#?(B @end ifset @ifset us To customize citation label, define field to cite in @samp{mew-cite-fields} and format in @samp{mew-cite-format}. Define citation symbol to @samp{mew-cite-prefix}. The default declaration is as follows: @end ifset

@example (defvar mew-cite-fields '("From:" "Subject:" "Date:")) (defvar mew-cite-format "From: %s0ubject: %s0ate: %s0) (defvar mew-cite-prefix "> ") @end example

@ifset jp ?$B0zMQ%i%Y%k$K?(B Message-ID: ?$B$r2C$(!"%f!<%6L>IU$N0zMQ5-9f$K$9$k$K$O!"0J2<$N?(B ?$B$h$&$K$7$^$9!#?(B @end ifset @ifset us To add Message-ID: to citation label and to change the prefix with a user name, take this way. @end ifset

@example (setq mew-cite-fields '("From:" "Subject:" "Date:" "Message-ID:")) (setq mew-cite-format "From: %s0ubject: %s0ate: %s0essage-ID: %s0) (setq mew-cite-prefix-function 'mew-cite-prefix-username) @end example

@c %%%%%%%%%%%%%%%%% @node hooks, config, level-three, Customize @ifset jp @section ?$B%U%C%/?(B @end ifset @ifset us @section Hooks @end ifset @vindex mew-env-hook @vindex mew-init-hook @vindex mew-summary-mode-hook @vindex mew-virtual-mode-hook @vindex mew-message-mode-hook @vindex mew-message-hook @vindex mew-addrbook-mode-hook @vindex mew-draft-mode-hook @vindex mew-draft-mode-newdraft-hook @vindex mew-draft-mode-reedit-hook @vindex mew-cite-hook @vindex mew-before-cite-hook @vindex mew-make-message-hook @vindex mew-send-hook @vindex mew-real-send-hook @vindex mew-quit-hook @vindex mew-suspend-hook @vindex mew-summary-inc-sentinel-hook @vindex mew-summary-scan-sentinel-hook @vindex mew-summary-exec-hook @vindex mew-syntax-format-hook

@ifset jp Mew ?$B$GMQ0U$5$l$F$$$k%U%C%/$r$^$H$a$^$9!#?(B @end ifset @ifset us Here is a summary of hooks used in Mew. @end ifset

@table @samp @ifset jp @item mew-env-hook Mew ?$B$N5/F0;~$N4D6-$,@_Dj$5$l$kA0$KI>2A$5$l$k!#?(B @item mew-init-hook Mew ?$B$N5/F0;~$KI>2A$5$l$k!#?(B @item mew-summary-mode-hook Summary ?$B%b!<%I$KF~$k$H$-$KI>2A$5$l$k!#?(B @item mew-virtual-mode-hook Virtual ?$B%b!<%I$KF~$k$H$-$KI>2A$5$l$k!#?(B @item mew-message-mode-hook Message ?$B%b!<%I$KF~$k$H$-$KI>2A$5$l$k!#?(B @item mew-message-hook ?$B%a%C%;!<%8$,?(B Message ?$B%b!<%I$GI=<($5$l$kEY$KI>2A$5$l$k!#?(B @item mew-addrbook-mode-hook ?$B%"%I%l%9D"$NEPO?%b!<%I$KF~$k$H$-$KI>2A$5$l$k!#?(B @item mew-draft-mode-hook Draft ?$B%b!<%I$KF~$k$H$-$KI>2A$5$l$k!#?(B @item mew-draft-mode-newdraft-hook Draft ?$B%b!<%I$K$*$$$F?7$7$$Ap9F$,MQ0U$5$l$?:]$KI>2A$5$l$k!#?(B @item mew-draft-mode-reedit-hook Draft ?$B%b!<%I$K$*$$$F8E$$Ap9F$r:FJT=8$7$?:]$KI>2A$5$l$k!#?(B @item mew-cite-hook Draft ?$B%b!<%I$G0zMQ$9$k:]$K8F$P$l$k!#DL>o?(B supercite ?$B$r@_Dj$9$k$?$a$K;H$&!#?(B @item mew-before-cite-hook Draft ?$B%b!<%I$G%a%C%;!<%8$r0zMQ$9$kD>A0$K8F$P$l$k!#?(B @item mew-make-message-hook Draft ?$B%b!<%I$G?(B MIME ?$B%a%C%;!<%8$r:n$kA0!"$D$^$j?(B @samp{C-cC-m} ?$B$N:]$N:G=i$KI>2A$5$l$k!#?(B ?$BNc!'?(B(add-hook 'mew-make-message-hook 'ispell-message) @item mew-send-hook ?$B%a%C%;!<%8$rAw?.$9$kA0$KI>2A$5$l$k!#8=:_$G$OL50UL#$G$"$j!"8_49@-$N$?$a$K?(B ?$B;D$7$F$"$k!#?(B @item mew-real-send-hook ?$B%a%C%;!<%8$rAw?.$9$kA0$KI>2A$5$l$k!#?(B @item mew-quit-hook Mew ?$B$N=*N;;~$KI>2A$5$l$k!#?(B @item mew-suspend-hook Mew ?$B$r0l;~CfCG$7$?:]$KI>2A$5$l$k!#?(B @item mew-summary-inc-sentinel-hook imget ?$B$,=*N;$9$k:]$KI>2A$5$l$k!#?(B @item mew-summary-scan-sentinel-hook imls ?$B$,=*N;$9$k:]$KI>2A$5$l$k!#?(B @item mew-summary-exec-hook Summary ?$B%b!<%I$N?(B @samp{x} ?$B$N<B9T$,=*N;$9$k:]$KI>2A$5$l$k!#?(B @item mew-syntax-format-hook ?$B%^%k%A%Q!<%H$N=q<0$r:n@.$9$k4X?t?(B @samp{mew-syntax-format} ?$B$,8F$P$l$?:]$K?(B ?$BI>2A$5$l$k!#?(B @end ifset @ifset us @item mew-env-hook Evaluated at initialize time before setting environment. @item mew-init-hook Evaluated when Mew starts. @item mew-summary-mode-hook Evaluated at the entrance of Summary mode. @item mew-virtual-mode-hook Evaluated at the entrance of Virtual mode. @item mew-message-mode-hook Evaluated at the entrance of Message mode. @item mew-message-hook Evaluated every time when messages are displayed in Message mode. @item mew-addrbook-mode-hook Evaluated at the entrance of Addrbook mode. @item mew-draft-mode-hook Evaluated at the entrance of Draft mode. @item mew-draft-mode-newdraft-hook Evaluated in Draft mode only when new draft is prepared. @item mew-draft-mode-reedit-hook Evaluated in Draft mode only when an existing draft is used as draft. @item mew-cite-hook Evaluated every time when you cite a message. It is usually used for supercite. @item mew-before-cite-hook Evaluated before citation. @item mew-make-message-hook Evaluated before making a message in Draft mode (i.e. in the begging phase of @samp{C-cC-m}). An example: (add-hook 'mew-make-message-hook 'ispell-message) @item mew-send-hook Evaluated before sending a message in Draft mode. This hook is meaningless now and is remained for backward-compatibility. @item mew-real-send-hook Evaluated before really sending a message in Draft mode. @item mew-quit-hook Evaluated at exit of Mew. @item mew-suspend-hook Evaluated when suspended. @item mew-summary-inc-sentinel-hook Evaluated when "inc" is finished. @item mew-summary-scan-sentinel-hook Evaluated when "scan" is finished. @item mew-summary-exec-hook Evaluated when @samp{x} in Summary mode is finished. @item mew-syntax-format-hook Evaluated when the function @samp{mew-syntax-format}, which creates the multipart format, is called. @end ifset @end table

@c %%%%%%%%%%%%%%%%% @node config, XEmacs, hooks, Customize @ifset jp @section Config @end ifset @ifset us @section Config @end ifset @vindex mew-config-insert-when-prepared @vindex mew-config-insert-when-composed

@ifset jp IM ?$B$N?(B "Config" ?$B%U%!%$%k$K?(B case ?$BJ8$r5-=R$9$k$H?(B imget ?$B$d?(B imput ?$B$N5sF0$rJQ?(B ?$B2=$5$;$i$l$^$9!#$?$H$($P!"?(BConfig ?$B$,0J2<$N$h$&$K5-=R$5$l$F$$$?$H$7$^$7$g?(B ?$B$&!#?(B @end ifset @ifset us If you specify "case" blocks in your IM "Config" file, you can change actions of imget and imput. Suppose that the followings are specified in Config. @end ifset

@example Imget.Src=pop/apop:kazu@@mail.mew.org User=kazu FromDomain=Mew.org case wide Imget.Src=pop/rpop:robby@@mx.wide.ad.jp User=robby FromDomain=wide.ad.jp case iijlab Imget.Src=imap:kazu@@mailbox.iijlab.net FromDomain=iijlab.net @end example

@ifset jp ?$BDL>o$G$O!"?(Bimget ?$B$O?(B APOP ?$B$r;H$C$F?(B mail.mew.org ?$B$+$i?(B kazu ?$B$N%a%C%;!<%8$rFI?(B ?$B$_9~$_$^$9!#$^$?!"?(Bimput ?$B$OAw?.$5$l$k%a%C%;!<%8$K?(B From: ?$B$,$J$$>l9g?(B (mew-from ?$B$,?(B nil ?$B$N>l9g$J$I?(B)?$B!"%f!<%6L>$G$"$k?(B kazu ?$B$H?(B Mew.org ?$B$r?(B @@ ?$B$GO"?(B ?$B7k$7$?J8;zNs$r?(B From: ?$B$K;XDj$7$^$9!#?(B @end ifset @ifset us By default, imget retrieves kazu's messages from mail.mew.org by APOP. And if the From: field doesn't exist in a message to be sent(e.g. when mew-from is set to nil), the user name "kazu" and Mew.org is concatenated with "@@" then imput specifies it in the From: field. @end ifset

@ifset jp ?$B$b$7?(B --config=wide ?$B$,;XDj$5$l$k$H!"?(Bimget ?$B$O?(B RPOP ?$B$r;H$C$F?(B mx.wide.ad.jp ?$B$+$i?(B robby ?$B$N%a%C%;!<%8$rFI$_9~$_$^$9!#$^$?!"?(Bimput ?$B$O?(B From: ?$B$KBP$7?(B robby@@wide.ad.jp ?$B$rA*$V$h$&$K$J$j$^$9!#?(B @end ifset @ifset us If you specify --config=wide to imget, it retrieves robby's messages from mx.wide.ad.jp by RPOP. Also, imput chooses robby@@wide.ad.jp for the From: field. @end ifset

@ifset jp ?$B$3$N$h$&$K?(B imget ?$B$d?(B imput ?$B$O!"?(B--config ?$B%*%W%7%g%s$G;XDj$5$l$?J8;zNs$r$b?(B ?$B$H$K!"M-8z$J?(B case ?$BJ8$rA*Br$7$^$9!#>e$NNc$+$iL@$i$+$G$9$,!"$3$N5!G=$r;H$&?(B ?$B$HFI$_9~$`%a!<%k%C%/%9$dAw?.;~$N?(B From: ?$B$rJQ99$G$-$FJXMx$G$9!#?(B @end ifset @ifset us In this way, imget and imput selects valid case block according to the --config option. As you see above, with this feature, it is very convenient since you can change mailbox and your address. @end ifset

@ifset jp Mew ?$B$O5/F0;~$K?(B Config ?$B$N?(B case ?$BJ8$rD4$Y$^$9!#$b$7!"?(B1 ?$B<oN`0J>e$N?(B case ?$B$,$"?(B ?$B$k>l9g!"?(B@samp{mew-config-list} ?$B$K@_Dj$7$^$9!#?(B--config ?$B$,;XDj$5$l$J$$>l9g?(B ?$B$KFI$^$l$kItJ,$O!"?(Bdefault ?$B$H$$$&J8;zNs$GI=8=$5$l$^$9!#>e$NNc$G$O!"?(B @samp{mew-config-list} ?$B$K$O!"?(B'("default" "wide" "iijlab") ?$B$,@_Dj$5$l$^?(B ?$B$9!#?(B @end ifset @ifset us When Mew boots up, it investigates case statements. If there are one or more kinds of case statements, @samp{mew-config-list} is set. The block to be read when --config is not specified is represented as "default". In the case up above, '("default" "wide" "iijlab") is set to @samp{mew-config-list}. @end ifset

@ifset jp Summary ?$B%b!<%I$G?(B @samp{C} ?$B$r2!$9$H!"?(B@samp{mew-config-list} ?$B$rJd40$N8uJd?(B ?$B$H$7$FMxMQ$7$J$,$i!"?(Bimget ?$B$KEO$9?(B --config ?$B$NCM$rA*Br$G$-$^$9!#%G%U%)%k%H?(B ?$B$G$O?(B "default" ?$B$G$9!#$b$7B>$NCM$,@_Dj$5$l$F$$$?>l9g!"$?$H$($P?(B "wide" ?$B$,?(B ?$B@_Dj$5$l$F$$$?>l9g!"?(B@samp{i} ?$B$O<!$N$h$&$KI=<($7$^$9!#?(B @end ifset @ifset us If you type @samp{C} in Summary mode, you can complete the value to be specified with the --config option for imget, using @samp{mew-config-list} as candidates. The default value is "default". If other value is selected, say "wide", @samp{i} displays the following message. @end ifset

@example Getting +inbox (wide)... @end example

@ifset jp imput ?$B$K?(B case ?$B$NA*Br$r;X<($9$k$K$O!"Aw?.$9$k%a%C%;!<%8$N%X%C%@Cf$N?(B Config: ?$B%U%#!<%k%I$G;XDj$G$-$^$9!#?(BDraft ?$B%b!<%I$G$O!"?(B@xref{header} ?$B$G@bL@?(B ?$B$7$?$h$&$K!"?(BConfig: ?$B$H$$$&%U%#!<%k%IL>$r?(B @samp{TAB} ?$B$GJd40$G$-$^$9!#$^$?!"?(B @samp{mew-config-list} ?$B$NCM$r?(B @samp{TAB} ?$B$GJd402DG=$G$9!#$5$i$K!"?(B @samp{C-cTAB} ?$B$r;H$($P!"?(B@samp{mew-config-list} ?$B$NCM$r=[4DE*$KJd40$G$-$^?(B ?$B$9!#?(B @end ifset @ifset us To specify case block to imput, you can use the Config: field in a message to be sent. In Draft mode, you can complete the Config: field itself by @samp{TAB} as described in @xref{header}. Also, you can complete its value by @samp{TAB} using @samp{mew-config-list} as candidates. Moreover, you can use circular completion of @samp{mew-config-list} by @samp{C-cTAB}. @end ifset

@ifset jp ?$B$7$+$7!"<+J,$GCM$rA*$V$N$O$a$s$I$&$G$9!#?(BMew ?$B$O@0F@h$N%U%)%k%@$r?dB,$9$k?(B ?$B$N$@$+$i!"?(BConfig: ?$B$NCM$b?dB,$7$FM_$7$$$H;W$&$G$7$g$&!#$b$A$m$s!"?(BMew ?$B$O?(B Config: ?$B$NCM$r?dB,$G$-$^$9!#?(BConfig: ?$B$N?dB,%k!<%k$O!"?(B @samp{mew-config-guess-alist} ?$B$K@_Dj$G$-$^$9!#=q<0$O!"?(B@xref{by-alist} ?$B$G?(B ?$B@bL@$7$??(B @samp{mew-refile-guess-alist} ?$B$HF1$8$G$9!#?(B @end ifset @ifset us However, you may think this is a boring job. You would want Mew to guess a value of Config: because Mew can guess refile folders. Of course, Mew supports this kind of guess feature. You can specify your guess rule to @samp{mew-config-guess-alist}. Its syntax is exactly the same as @samp{mew-refile-guess-alist} explained in @xref{by-alist}. @end ifset

@ifset jp 1 ?$B$DNc$r5s$2$F$_$^$7$g$&!#?(B @end ifset @ifset us Let's look at one example: @end ifset

@example (setq mew-config-guess-alist
'(("To:"
("wide.ad.jp" . "wide")
("mew.org" . "mew")))) @end example

@ifset jp ?$B$3$N>l9g!"?(BTo: ?$B$,?(B wide.ad.jp ?$B$K9gCW$9$l$P?(B "Config: wide" ?$B$r!"?(Bmew.org ?$B$K%^%C?(B ?$B%A$9$l$P?(B "Config: mew" ?$B$rA^F~$7$^$9!#?(B @end ifset @ifset us In this case, if To: matches wide.ad.jp, "Config: wide" is inserted. If it matches mew.org, "Config: mew" is inserted. @end ifset

@ifset jp ?$B$3$N?dB,$rMxMQ$7$F?(B Config: ?$B$rA^F~$G$-$k%?%$%_%s%0$O0J2<$N?(B 3 ?$B$D$G$9!#?(B @end ifset @ifset us There are three changes that you can insert the Config: field with this feature. @end ifset

@enumerate @item @ifset jp @samp{mew-config-insert-when-prepared} ?$B$,?(B @samp{t} ?$B$J$i!"Ap9F$rMQ0U$7$??(B ?$B;~E@!#?(B @end ifset @ifset us When a draft is prepared if @samp{mew-config-insert-when-prepared} is @samp{t}. @end ifset @item @ifset jp @samp{mew-config-insert-when-composed} ?$B$,?(B @samp{t} ?$B$J$i!"?(B @samp{C-cC-m} ?$B$G%a%C%;!<%8$r:n@.$7$?;~E@!#?(B @end ifset @ifset us When a message is composed by @samp{C-cC-m} if @samp{mew-config-insert-when-composed} is @samp{t}. @end ifset @item @ifset jp @samp{C-cC-o} ?$B$HF~NO$7$?G$0U$N;~E@!#?(B @end ifset @ifset us Anytime when you type @samp{C-cC-o}. @end ifset @end enumerate

@ifset jp ?$B;29M$^$G$K=q$-$^$9$,!"%[%9%HL>$G?(B Config ?$B$rJQ99$7$?$$>l9g$O!"0J2<$N9T$r?(B ".emacs" ?$B$KF~$l$k$H$h$$$G$7$g$&!#?(B @end ifset @ifset us This is just for your information. If you want select Config: by hostname, put the following line in your ".emacs". @end ifset

@example (setq mew-config-guess-alist
(list (cons nil (system-name)))) @end example

@c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @c XEmacs @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

@node XEmacs, Convention, config, Top @ifset jp @chapter ?$B%"%$%3%s$N$"$k@83h?(B @end ifset @ifset us @chapter Life with icons @end ifset @vindex mew-multipart-icon-position

@ifset jp XEmacs ?$B$G?(B Mew ?$B$r;H$($P!"%"%$%3%s!&%Y!<%9$N%$%s%?!<%U%'%$%9$G%a%C%;!<%8$r?(B ?$BFI$_=q$-$G$-$^$9!#%"%$%3%s!&%Y!<%9$N%$%s%?!<%U%'%$%9$O!"=>Mh$N%-!<F~NO$K?(B ?$B$h$k%$%s%?!<%U%'%$%9$H?FOB@-$,9b$$$h$&$K@_7W$5$l$F$$$^$9!#?(B @end ifset @ifset us If you use Mew on XEmacs, you can read and/or write messages with icon-based interface. The icon-based interface was designed totally equivalent to the original key-based interface. @end ifset

@ifset jp ?$B%"%$%3%s!&%$%s%?!<%U%'%$%9$N;H$$J}$O?(B.....?$B!"@bL@$9$k$^$G$b$"$j$^$;$s!#D>?(B ?$B46E*$K$o$+$k$O$:$G$9!#$G$b>/$7$@$1<j$[$I$-$r!#?(B @end ifset @ifset us So, how to use the icon-based interface? I believe that it is intuitive enough that no future explanation is necessary. Nonetheless, some basic rules are shown below. @end ifset

@ifset jp Summary?$B!"?(BVirtual?$B!"$*$h$S!"?(BDraft ?$B%b!<%I$NI8=`$N%"%$%3%s$KB+G{$5$l$F$$$k5!?(B ?$BG=$rMxMQ$9$k$K$O!":8%?%s$r%/%j%C%/$7$F2<$5$$!#?(B @end ifset @ifset us To execute a function bounded to each BASIC icon in Summary, Virtual, and Draft mode toolbar, click the left button of your mouse. @end ifset

@ifset jp ?$B%^%k%A%Q!<%H$N%a%C%;!<%8$rFI$_=q$-$9$k:]$KI=<($5$l$k%"%$%3%s$O!":8%?%s?(B ?$B$N%/%j%C%/$G$=$N%P!<$rI=<($7!"1&%?%s$r2!$9$H%]%C%W%"%C%W!&%a%K%e!<$,I=?(B ?$B<($5$l$^$9!#$3$N%a%K%e!<$N$*$+$2$G!"%Q!<%H$KBP$7$5$^$6$^$J=hM}$,2DG=$H$J$C?(B ?$B$F$$$^$9!#?(B @end ifset @ifset us For multipart messages, multipart icons appears in toolbars. Clicking the left button on a multipart icon visualizes the part. When you press the multipart icon, a popup menu appears. Thanks to this menu, many operations can be applied to the part. @end ifset

@ifset jp ?$B%^%k%A%Q!<%H$N%"%$%3%s$O!"%G%U%)%k%H$GI8=`$N%"%$%3%s$N1&$KI=<($5$l$^$9!#?(B ?$B:8$KI=<($9$k$N$,9%$-$J?M$O!"0J2<$N$h$&$K@_Dj$7$F2<$5$$!#?(B @end ifset @ifset us By default, multipart icons are displayed at the right size of the basic icons in toolbars. If you like the left size, configure as follows: @end ifset

@example (setq mew-multipart-icon-position 'left) @end example

@c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @c Message Convention @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

@node Convention, MIME, XEmacs, Top @ifset jp @chapter ?$B%a%C%;!<%8$N:nK!?(B @end ifset @ifset us @chapter Email convention @end ifset

@ifset jp ?$B%a%C%;!<%8$r$d$j$H$j$9$k:]$K$O!":GDc8B$N%^%J!<$,$"$j$^$9!#%^%J!<$r<i$C$F?(B ?$B$$$J$$%a%C%;!<%8$OFI$_$K$/$$$?$a!"BgJQB;$7$^$9!#4J7i$+$DE,@Z$JJ8>O$r=q$-!"?(B ?$B$J$k$Y$/Aj<j$KM}2r$7$F$b$i$($k$h$&EXNO$7$^$7$g$&!#?(B @end ifset @ifset us When you exchange messages with other people, you should obey minimum manner. It gives a bad impression to the people if you violate the manner since such messages are hard to read. We always should try to write concise yet comprehensive explanations and make an effort to make receivers well-understood. @end ifset

@ifset jp ?$B%a%C%;!<%8$r=q$/:]$K5$$rIU$1$k$Y$-9`L0J2<$K<($7$^$9!#?(B @end ifset @ifset us We should take good care of the following items. @end ifset

@table @asis @ifset jp @item To: ?$B$H?(B Cc: ?$B$r@5$7$/=q$/?(B To: ?$B$,LN?M$G!"?(BCc: ?$B$O;29M$^$G$KAw$jIU$1$k?M$G$9!#<+J,$N%"%I%l%9$,?(B Cc: ?$B$N>l9g$O!"FI$_Ht$P$9?M$,$$$^$9$+$iCm0U$7$F2<$5$$!#$^$?!"ITI,MW$J%"%I%l%9?(B ?$B$r?(B To: ?$B$d?(B Cc: ?$B$K=q$$$F!"Aj<j$KLBOG$r$+$1$J$$$h$&$K$7$^$7$g$&!#?(B @end ifset @ifset us @item Fill To: and Cc: fields precisely To: is for target receivers and Cc: is for those who are received for their information. If his address is not on To:, he might skip to read the message. We should take care not to deliver to wrong people by mistaking the addresses. @end ifset

@ifset jp @item To: ?$B$H?(B Cc: ?$B$K=q$/%"%I%l%9$N?t$O>/$J$/$9$k?(B ?$B%"%I%l%9$r$?$/$5$s?(B To: ?$B$d?(B Cc: ?$B$K=q$/$N$O$h$/$J$$$3$H$G$9!#LLE]$G$b%a!<%j?(B ?$B%s%0%j%9%H$r:n$j$^$7$g$&!#?(B @end ifset @ifset us @item The number of addresses To: and Cc: should be small It is discouraged to specify a lot of mail addresses on To: and Cc:. You should create a mailing-list instead. @end ifset

@ifset jp @item Subject: ?$B$K$OKJ8$NFbMF$rE*3N$KC;$/=q$/?(B Subject: ?$B$r8+$FFI$`$+7h$a$k?M$,$$$^$9$+$i!"ITE,@Z$J?(B Subject: ?$B$@$HFI$s$G?(B ?$B$b$i$($J$$$+$b$7$l$^$;$s!#D9$$?(B Subject: ?$B$OFI$_$K$/$$$N$G;_$a$^$7$g$&!#?(B @end ifset @ifset us @item Write a short and clear summary of body in Subject: There are people who decide to read contents from their Subject:. So, they might skip messages with improper Subject:. We should not write a long subject since it is hard to read. @end ifset

@ifset jp @item ?$B2~9T$O9TKv$r!"6u9T$O2~CJMn$rI=$9!#?(B1?$B9T$OH>3Q?(B70?$BJ8;zDxEY$K$H$I$a$k?(B ?$B0UL#$b$J$/?(B1?$B9T$*$-$K=q$$$?$j!"$J$s9T$K$bEO$C$F2~9T$7$J$$$N$OFI$_$E$i$$$G?(B ?$B$9!#$H$/$K9T$,D9$$$H0zMQ$9$k$N$K:$$j$^$9!#$^$?!"9TF,$K$$$/$D$+$N6uGrJ8;z?(B ?$B$rF~$l$F1&$K$h$;$F=q$/?M$,$$$^$9$,!"$3$l$bL50UL#$G$9!#%F%-%9%H$NI=<($O!"?(B ?$B;H$C$F$$$k%3%s%T%e!<%?$G$^$A$^$A$G$9$+$i!"7k6I<+J,$N%3%s%T%e!<%?$G$_$?$a?(B ?$B$,$h$/$F$b!"B>?M$N%3%s%T%e!<%?$G$=$&$G$"$k$H$O8B$i$J$$$N$G$9!#?(B @end ifset @ifset us @item Carriage return means end of line and null line expresses end of paragraph. One line should be limited to 70 characters or so. It is very hard to read if you write a message on every other line or in a long line without folding. Especially long lines are trouble to cite. Some people write a message with indent but it is meaningless. Text is displayed differently on each machines, so even if the layout is excellent on your machine, it might not be so on other machines. @end ifset

@ifset jp @item ?$BI,MW$JItJ,$@$1$r0zMQ$9$k?(B ?$BLLE]$G$bITMW$JItJ,$O:o$j$^$7$g$&!#?(BMew ?$B$r;H$C$F$$$l$P!"0zMQ$O3Z>!$N$O$:$G?(B ?$B$9!#?(B @end ifset @ifset us @item Cite only necessary sentences You should not bother to remove unnecessary sentences. With Mew, citation must be a piece of cake. @end ifset

@ifset jp @item ?$B%7%0%K%A%c$O4JAG$K$9$k?(B ?$BD9$$%7%0%K%A%c$OC1$J$k<+8JK~B-$G$9!#?(B @end ifset @ifset us @item Make your signature simple A long signature is just self-satisfaction. @end ifset

@ifset jp @item ?$B$$$?$:$i%a%C%;!<%8$rAw$i$J$$?(B ?$B$3$s$J$3$H$OCm0U$7$?$/$"$j$^$;$s$,!"$=$l$G$bIT9,$N%a%C%;!<%8$J$I$rAw$C$F?(B ?$B$/$k?M$,$$$^$9!#?M3J$r5?$o$l$k$3$H$rM}2r$9$Y$-$G$9!#?(B @end ifset @ifset us @item Do not send prank messages I don't want to warn this kind of stuff. Nonetheless, someone sends Happy or Unhappy messages to others. You should understand that people doubt your character. @end ifset

@ifset jp @item ?$BAj<j$NFI$a$k%G!<%?$N$_$rE:IU$9$k?(B ?$B$J$s$N9g0U$b$J$7$KAw$C$F$h$$%G!<%?$O%F%-%9%H$N$_$G$9!#$=$l0J30$N%G!<%?$r?(B ?$BAw$k>l9g$O!"$"$i$+$8$aAj<j$KAw$C$F$h$$$+3NG'$r$H$j$^$7$g$&!#%a!<%j%s%0%j?(B ?$B%9%H$K$O!"%F%-%9%H$N$_$rEj9F$9$k$N$,L5Fq$G$7$g$&!#?(B @end ifset @ifset us @item Attach data files that the receivers can read It is text only that you can send without any agreement with the receivers. If you want to send data files other than text, you should make an agreement with the receivers. To mailing-list, you should send text only. @end ifset @end table

@ifset jp ?$B$^$?!"%$%s%?!<%M%C%H$N%^%J!<$O?(B RFC1855 ?$B$rFI$`$H$$$$$G$7$g$&!#?(B@xref{Bib} ?$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$??(B ?$BF~Lg=q$r?(B WWW ?$B$G8x3+$7$F$$$^$9!#6=L#$,$"$l$P!"0J2<$N?(B URL ?$B$K%"%/%;%9$7$F2<?(B ?$B$5$$!#?(B

@example http://www.mew.org/~kazu/doc/japanese.html @end example @end ifset

@ifset us If you wish to learn manner on the Internet more comprehensively, please refer to RFC1855(@xref{Bib}). @end ifset

@c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @c MIME @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

@node MIME, mime-ct, Convention, Top @ifset jp @chapter MIME ?$B$C$F$J$!$K!)?(B @end ifset @ifset us @chapter What's MIME? @end ifset

@ifset jp ?$B:#$^$G$N%a%C%;!<%8!"@53N$K$O?(B RFC822 ?$B%a%C%;!<%8$O!"KJ8$K%F%-%9%H$7$+3JG<?(B ?$B$G$-$J$$5,3J$G$7$?!#?(BMIME ?$B$O?(B RFC822 ?$B$r3HD%$7$?B?La%C%;!<%8$G$9!#?(B @end ifset @ifset us Messages so far, more exactly RFC822 messages, cannot contain objects other than text. MIME is multi-purpose message to extend RFC822. @end ifset

@ifset jp MIME ?$B$O!"%X%C%@$K?(B @end ifset @ifset us MIME has @end ifset

@example MIME-Version: 1.0 @end example

@ifset jp ?$B$H$$$&%U%#!<%k%I$r;}$A$^$9!#$3$N%U%#!<%k%I$,$J$$>l9g$O!"?(BRFC822 ?$B%a%C%;!<?(B ?$B%8$G$9!#?(BMIME ?$B$G$O!"%G!<%?$N7?$r<($9?(B Content-Type: ?$B$HId9f2=J}<0$r<($9?(B Content-Transfer-Encoding: ?$B$,=EMW$J%U%#!<%k%I$G$9!#0J2<$G$O$3$l$i$N%U%#!<?(B ?$B%k%I$d?(B MIME ?$B$NFCD9$K$D$$$F@bL@$7$^$9!#?(B @end ifset @ifset us field in its header. Without this field, it is an RFC822 message. In MIME, Content-Type: to indicate data type and Content-Transfer-Encoding to specify encoding are important fields. The following sections describe these fields and feature of MIME. @end ifset

@menu @ifset jp * mime-ct:: ?$B%G!<%?$N7?$N;XDj?(B * mime-cte:: ?$B0BA4$JId9f2=?(B * mime-multi:: ?$B%^%k%A%Q!<%H?(B * mime-header:: ?$B%X%C%@$N3HD%?(B @end ifset @ifset us * mime-ct:: Labeling data type * mime-cte:: Encoding for transport-safe * mime-multi:: Multipart structure * mime-header:: Header extensions @end ifset @end menu

@c %%%%%%%%%%%%%%%%% @node mime-ct, mime-cte, MIME, MIME @ifset jp @section ?$B%G!<%?$N7?;XDj?(B @end ifset @ifset us @section Labeling data type @end ifset

@ifset jp MIME ?$B$G$O!"?(BContent-Type:(?$B0J2<?(B CT:)?$B$H$$$&%U%#!<%k%I$K%G!<%?$N7?$r;XDj$G$-?(B ?$B$^$9!#0J2<$O!"KJ8$,?(B US-ASCII ?$B$G$"$k?(B MIME ?$B$NNc$G$9!#?(B @end ifset @ifset us With MIME, data type can be specified in Content-Type:(CT:) field. The following is an example message whose body is US-ASCII text. @end ifset

@example MIME-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: hello From: Kazu

Hi all, @end example

@ifset jp CT: ?$B$,>JN,$5$l$?>l9g$O!"?(BText/Plain; charset=us-ascii ?$B$H$7$F<h$j07$o$l$^?(B ?$B$9!#$^$?!"?(BCT: Text/Plain ?$B$N$H$-$K!"?(Bcharset ?$B$,>JN,$5$l$k$H?(B US-ASCII ?$B$H2r?(B ?$B<a$5$l$^$9!#?(B @end ifset @ifset us If CT: is omitted, the content is treated as "Text/Plain; charset=us-ascii". And if CT: is "Text/Plain" and charset is not specified, its charset is considered as US-ASCII. @end ifset

@ifset jp ?$B$3$N$h$&$K?(B MIME ?$B$G$O!"?(BCT: ?$B$,%F%-%9%H$N>l9g$O!"?(Bcharset ?$B$GJ8;z%3!<%I$r;XDj?(B ?$B$G$-$^$9!#F|K8l$K$O?(B ISO-2022-JP ?$B$r;H$$$^$9!#?(B @end ifset @ifset us Likewise, if CT: is text, charset can be specified in the context of MIME. For Japanese, ISO-2022-JP is used. @end ifset

@ifset jp MIME ?$B$G$O!"KJ8$KJ#?t$N%G!<%?$r3JG<$G$-$^$9!#$3$l$r%^%k%A%Q!<%H$H$$$$$^?(B ?$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%#?(B ?$B$+$i9=@.$5$l$F$$$^$9!#?(BCT: ?$B$O%X%C%@$@$1$G$J$/!"%3%s%F%s%H%X%C%@Cf$K$b8=$l?(B ?$B$^$9!#5U$K!"%X%C%@$OFC<l$J%3%s%F%s%H%X%C%@$@$H9M$($F$b9=$$$^$;$s!#?(B @end ifset @ifset us MIME can embed multiple objects in its body, so called multipart. Each part in multipart consists of content-header and content-body. CT: appears in content-header as well as header. In the contrary, you can take header as a special type of content-header. @end ifset

@ifset jp ?$B>$/$O!"?(B@xref{mime-multi} ?$B$r;2>H$7$F2<$5$$!#?(B @end ifset @ifset us For more information, please refer to @xref{mime-multi}. @end ifset

@ifset jp ?$B0J2<$K=EMW$J?(B CT: ?$B$r<($7$^$9!#?(B @end ifset @ifset us Important CT: is listed below. @end ifset

@table @samp @ifset jp @item Text/Plain ?$B%F%-%9%H?(B @item Message/Rfc822 MIME ?$B$r4^$`%a%C%;!<%8!#%X%C%@$HKJ8$H$$$&9=B$$,$"$k!#?(B @item Multipart/Mixed ?$B%^%k%A%Q!<%H?(B @item Application/Postscript PostScript @item Application/Octet-Stream ?$B%P%$%H%9%H%j!<%`!#%P%$%J%j%U%!%$%k$H;W$C$F$h$$!#?(B @item Image/Gif GIF @item Image/Jpeg JPEG @item Audio/Basic AU ?$B7A<0$N2;@<%U%!%$%k?(B @item Video/Mpeg MPEG @item Message/External-Body ?$B%a%C%;!<%8$N30It$K<BBN$,$"$k?(B @end ifset @ifset us @item Text/Plain Text @item Message/Rfc822 Message including MIME which has a header and a body @item Multipart/Mixed Multipart @item Application/Postscript PostScript @item Application/Octet-stream Binary stream. Can be considered as a binary file @item Image/Gif GIF @item Image/Jpeg JPEG @item Audio/Basic Audio file with AU format @item Video/Mpeg MPEG @item Message/External-body An phantom object whose real object exists outside of the message @end ifset @end table

@c %%%%%%%%%%%%%%%%% @node mime-cte, mime-multi, mime-ct, MIME @ifset jp @section ?$B0BA4$JId9f2=?(B @end ifset @ifset us @section Encoding for transport-safe @end ifset

@ifset jp ?$B0JA0$+$i%P%$%J%j$rG[Aw$9$k$?$a$K?(B uuencode ?$B$H$$$&Id9f2=%W%m%0%i%`$,;H$o$l?(B ?$B$F$$$^$7$?!#?(Buuencode ?$B$O!"?(B8?$B%S%C%H?(B3?$BJ8;z$r?(B6?$B%S%C%H?(B4?$BJ8;z$KJQ49$7$^$9$,!"JQ49?(B ?$B8e$K$?$/$5$s$N5-9f$,8=$l$^$9!#$3$l$i$N5-9f$O%a%C%;!<%8$N%X%C%@$GFC<l$J0U?(B ?$BL#$r;}$D$b$N$,4^$^$l$F$*$j!"%X%C%@$N3HD%$N$?$a$K$OMxMQ$G$-$^$;$s!#?(B @end ifset @ifset us "uuencode" has been used for a long time to transport binary. It encodes three 8-bit characters into four 6-bit characters, however, the result contains many kinds of symbols. Some of them have special meanings in header so they cannot be used to extent header functionality. @end ifset

@ifset jp ?$B$^$?!"6uGrJ8;z$b;H$o$l$F$$$k$N$bLq2p$G$9!#$J$<$J$i!"?(BBITNET ?$B$N%U%!%$%k%7?(B ?$B%9%F%`$K$O!"9TKv$K6uGr$,$"$j$($J$$$N$G$9!#$b$7!"?(Buuencode ?$B$GId9f2=$7$?$H?(B ?$B$-$K!"9TKv$K$?$^$?$^6uGr$,8=$l$?$H$7$^$7$g$&!#$3$l$r?(B BITNET ?$B$N%a%C%;!<%8?(B ?$B%2!<%H%&%'%$$,<u$1<h$k$H!"EvA39TKv$N6uGr$r:o$C$F$7$^$$$^$9!#$h$C$F!"<u?.?(B ?$B<T$O85$N%P%$%J%j%U%!%$%k$rI|85$G$-$^$;$s!#?(B @end ifset @ifset us Space character bothers the transport system. Space character cannot exist in end of line of the file system of BITNET. Suppose that an encoded object with uuencode contains space character in end of line. When a message gateway BITNET received this kind of message, it removes the space character, of course. In the result, receivers cannot decode and extract the original object. @end ifset

@ifset jp ?$B$=$3$G!"?(BMIME ?$B$G$OKJ8MQ$K?(B 2 ?$B$D$NId9f2=J}<0$rDj$a$^$7$?!#?(B @end ifset @ifset us MIME specified 2 encoding methods for body. @end ifset

@table @asis @ifset jp @item Base64 ?$BId9f2=J}<0?(B "0-9A-Za-z/+" ?$B$N?(B64?$BJ8;z$rMQ$$$F!"?(B8?$B%S%C%H?(B3?$BJ8;z$r?(B6?$B%S%C%H?(B4?$BJ8;z$KJQ49$9$k!#85!9?(B ?$B$O?(B PEM ?$B$G9M$(=P$5$l$?!#?(B @item Quoted-Printable ?$BId9f2=J}<0?(B ?$BI=<(IT2DG=$JJ8;z$r?(B "=" ?$B$KB3$1$F?(B16?$B?JI=5-$9$k!#?(B @end ifset @ifset us @item Base64 encoding Encode three 8-bit characters into four 6-bit characters with 64 letters, "0-9A-Za-z/+". PEM originates it. @item Quoted-Printable encoding Represent non-printable characters in hexagonal preceded by "=". @end ifset @end table

@ifset jp ?$B3F%3%s%F%s%H%X%C%@Cf$N?(B Content-Transfer-Encoding:(CTE:)?$B$GId9f2=J}<0$r;X?(B ?$BDj$7$^$9!#<h$jF@$kCM$O0J2<$NDL$j$G$9!#?(B @end ifset @ifset us Encoding is specified by Content-Transfer-Encoding:(CTE:) in content-header. The candidate values are as follows: @end ifset

@table @asis @ifset jp @item 7bit ?$BL5JQ49!#?(B7?$B%S%C%H$N9T$+$i9=@.$5$l$k!#?(B @item 8bit ?$BL5JQ49!#?(B8?$B%S%C%H$N9T$+$i9=@.$5$l$k!#?(B @item binary ?$BL5JQ49!#?(B8?$B%S%C%H$N%G!<%?!&%9%H%j!<%`!#?(B @item base64 Base64 ?$B$GId9f2=$7$?!#?(B7?$B%S%C%H$N9T$+$i9=@.$5$l$k!#?(B @item quoted-printable Quoted-Printable ?$B$GId9f2=$7$?!#?(B7?$B%S%C%H$N9T$+$i9=@.$5$l$k!#?(B @end ifset @ifset us @item 7bit No encoding is applied. The content consists of 7 bit lines. @item 8bit No encoding is applied. The content consists of 8 bit lines. @item binary No encoding is applied. The content is 8 bit stream. @item base64 Encoded with Base64. The content consists of 7 bit lines. @item quoted-printable Encoded with Quoted-Printable. The content consists of 7 bit lines. @end ifset @end table

@ifset jp CTE: ?$B$,>JN,$5$l$?>l9g$O?(B @samp{7bit} ?$B$H$7$F07$o$l$^$9!#?(B @end ifset @ifset us If CTE: is omitted, it is treated as @samp{7bit}. @end ifset

@ifset jp ISO-2022-JP ?$B$O?(B7?$B%S%C%H$NJ8;z%3!<%I$G$9$+$i!"?(BCTE: ?$B$O?(B 7bit ?$B$G$9!#$D$^$j!"?(B CTE: ?$B$O>JN,$7$F9=$$$^$;$s!#$b$A$m$s!"?(Bbase64 ?$B$d?(B quoted-printable ?$B$GId9f2=?(B ?$B$7$F$b9=$$$^$;$s$,!"%U%)%k%@$K$"$k%a%C%;!<%8$r?(B more ?$B$J$I$GD>@$a$J$/$J?(B ?$B$k$N$G!"$*4+$a$G$O$"$j$^$;$s!#?(B @end ifset @ifset us Since ISO-2022-JP is 7bit character set, CTE: is 7bit. That it, CTE: can be omitted. You may encode it with base64 or quoted-printable, of course. However, you cannot read messages in folder directly with such a encoding, I don't recommend. @end ifset

@c %%%%%%%%%%%%%%%%% @node mime-multi, mime-header, mime-cte, MIME @ifset jp @section ?$B%^%k%A%Q!<%H?(B @end ifset @ifset us @section Multipart structure @end ifset

@ifset jp CT: ?$B$,?(B Multipart ?$B$G$"$k>l9g!"$=$N%3%s%F%s%H%G%#$K$OJ#?t$N%G!<%?$,3JG<?(B ?$B$5$l$k$3$H$r0UL#$7$^$9!#%G!<%?$N6-3&$O?(B boundary ?$B$K;XDj$5$l$?J8;zNs$G6h@Z?(B ?$B$i$l$^$9!#0J2<$KNc$r<($7$^$9!#?(B @end ifset @ifset us If CT: is multipart, its content-body has multiple objects. They are separated with a string specified in the "boundary" parameter. Let's look at an example. @end ifset

@example @ifset jp Message-Id: <13060.789566615@@mew.org> From: Kazuhiko Yamamoto =?ISO-2022-JP?B?GyRCOzNLXE9CSScbKEI=?=
<kazu@@mew.org> Subject: =?ISO-2022-JP?B?GyRCPC8kTjMoGyhC?= To: m-sakura@@ccs.mt.nec.co.jp Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary=simple Content-Transfer-Encoding: 7bit

--simple Content-Type: Text/Plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit

?$BF`NIL>J*!V</!W$N3($rAw$j$^$9!#?(B

--?$B$+$:?(B

--simple Content-Type: Image/Gif Content-Transfer-Encoding: base64 Content-Description: "Deer on the Nara park"

R0lGODdhFwG8ANUAABETDCoYDC8lFi4dJxcnKTMwLkUUC04uG2opEkgeJ04yMWg4Ly1FLVJG NWdSMywyTks1Tmc3RjdRVjNcalRMUG9UU1xbY051eG9pcIcxEp5bM8d1NI1VSJhrVrRwUpR0 cKZ1dcN9WXuHOWmHc7WJN6yLbcyEWNCZdDZjjml0i5t7im+TmGeRonWly5aLlrCLlK+arJmn pbettMabktWumM+zsrnCrtTLua21ycq6x6/J3NbQ1+bk29na5dzp8+7w8ywAAAAAFwG8AAAG /8CLcPhYtVgNyirWasZYEgDhIWGxRiXWcTIATHS/Hs6K2+1wt59azYtdJnBhKrVaWYcp7==

--simple-- @end ifset @ifset us Message-Id: <13060.789566615@@iijlab.net> From: Kazuhiko Yamamoto =?ISO-2022-JP?B?GyRCOzNLXE9CSScbKEI=?=
<kazu@@iijlab.net> Subject: =?ISO-2022-JP?B?GyRCPC8kTjMoGyhC?= To: m-sakura@@ccs.mt.nec.co.jp Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary=simple Content-Transfer-Encoding: 7bit

--simple Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit

Here is a picture of deer.

--Kazu

--simple Content-Type: Image/Gif Content-Transfer-Encoding: base64 Content-Description: "Deer on the Nara park"

R0lGODdhFwG8ANUAABETDCoYDC8lFi4dJxcnKTMwLkUUC04uG2opEkgeJ04yMWg4Ly1FLVJG NWdSMywyTks1Tmc3RjdRVjNcalRMUG9UU1xbY051eG9pcIcxEp5bM8d1NI1VSJhrVrRwUpR0 cKZ1dcN9WXuHOWmHc7WJN6yLbcyEWNCZdDZjjml0i5t7im+TmGeRonWly5aLlrCLlK+arJmn pbettMabktWumM+zsrnCrtTLua21ycq6x6/J3NbQ1+bk29na5dzp8+7w8ywAAAAAFwG8AAAG /8CLcPhYtVgNyirWasZYEgDhIWGxRiXWcTIATHS/Hs6K2+1wt59azYtdJnBhKrVaWYcp7==

--simple-- @end ifset @end example

@ifset jp ?$B$3$NNc$G$O!"?(B"simple" ?$B$H$$$&J8;zNs$G6h@Z$i$l$F$$$^$9!#?(Bboundary ?$B$K;XDj$5$l?(B ?$B$?J8;zNs$K$O!"@hF,$K?(B "--" ?$B$,IU$-$^$9!#:G8e$N6h@Z$j$K$O!"8e$m$K$b?(B "--" ?$B$,?(B ?$BIU$-$^$9!#?(B @end ifset @ifset us In this case, a string "simple" is used. A string specified in the "boundary" parameter is preceded with "--". The last one is also followed by "--". @end ifset

@ifset jp ?$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!"?(B ?$B%X%C%@$HKJ8$N$h$&$K6u9T$G6h@Z$i$l$^$9!#5U$K$$$&$H!"%X%C%@$HKJ8$O!"$=$l?(B ?$B$>$lFC<l$J%3%s%F%s%H%X%C%@$H%3%s%F%s%H%G%#$G$9!#?(B @end ifset @ifset us Each part consists of a content-header and a content-body. They are separated with a null line as header and body. Changing a point of view, header and body is special content-header and special content-body respectively. @end ifset

@ifset jp ?$B%F%-%9%H0J30$r?(B MIME ?$B$GAw?.$9$k>l9g$O!"I,$:%^%k%A%Q!<%H$rMxMQ$9$k$h$&$K$7?(B ?$B$^$7$g$&!#$?$H$($P!"KJ8$K$$$-$J$j?(B Audio/Basic ?$B$r3JG<$G$-$^$9$,!"$=$s$J?(B ?$B%a%C%;!<%8$r<u$1<h$C$?$i$S$C$/$j$7$^$9!#%Q!<%H?(B 1 ?$B$K@bL@$N%F%-%9%H!"%Q!<?(B ?$B%H?(B 2 ?$B$K?(B Audio/Basic ?$B$rF~$l$?J}$,?F@Z$G$7$g$&!#?(B @end ifset @ifset us When you send objects other than text, you should use multipart. Of course, it is not illegal to contain, for example, Audio/Basic in body but the receivers would be really confused. You are kind if you enclose describing text in the first part and embed Audio/Basic in the second part. @end ifset

@ifset jp ?$B%^%k%A%Q!<%H$O!"F~$l;R9=B$$K$G$-$^$9!#$D$^$j!"%^%k%A%Q!<%H$N%^%k%A%Q!<%H?(B ?$B$J$I$b:n@.$G$-$^$9!#?(B @end ifset @ifset us Multipart can take recursive. So, you can enjoy multipart of multipart. @end ifset

@ifset jp ?$B$A$J$_$K6-3&$G$9$,!"A08e$N2~9T$^$G4^$_$^$9!#>e5-$NNc$G$O!"?(B "CRLF--simpleCRLF" ?$B$,6h@Z$j$G$9!#?(B @end ifset @ifset us By the way, preceding CRLF is included in a boundary. For example up above, the boundary is "CRLF--simpleCRLF". @end ifset

@c %%%%%%%%%%%%%%%%% @node mime-header, Kanji, mime-multi, MIME @ifset jp @section ?$B%X%C%@$N3HD%?(B @end ifset @ifset us @section Header extensions @end ifset

@ifset jp ?$B%X%C%@$O%a%C%;!<%8$NG[Aw$K4X$o$k>pJs$r3JG<$7$F$$$k$?$a!"G[Aw%W%m%0%i%`$,?(B ?$B8mF0:n$9$k$h$&$JJ8;zNs$rF~$l$k$Y$-$G$O$"$j$^$;$s!#?(BMIME ?$B$G$O!"%U%#!<%k%I?(B ?$BCM$K?(B ASCII ?$B0J30$NJ8;zNs$r3JG<$9$k>l9g!"0J2<$N$h$&$J7A<0$GId9f2=$7!"0BA4?(B ?$B$JJ8;zNs$KJQ$($FA^F~$7$^$9!#?(B @end ifset @ifset us Header contains information used for transportation, so it should be strongly prohibited to insert improper characters that make transport agents misoperated. With MIME, non-ASCII characters are encoded into transport-safe characters then stored as a field value with the following format. @end ifset

@example =?<charset>?<encoding>?<encoded-string>?= @end example

@ifset jp ?$B;XDj$G$-$k?(B <charset> ?$B$O?(B CT: Text/Plain ?$B$N?(B charset ?$B$HF1$8$G$9!#?(B<encoding> ?$B$K$O!"?(B@samp{B} ?$B$H?(B @samp{Q} ?$BId9f2=J}<0$,$"$j!"A0<T$O?(B Base64 ?$BId9f2=J}<0!"?(B ?$B8e<T$O?(B Quoted-Printable ?$BId9f2=J}<0$N0!<o$r0UL#$7$^$9!#?(B @end ifset @ifset us <charset> is identical to the charset parameter of CT: Text/Plain. For <encoding>, @samp{B} or @samp{Q} is used. The former is exactly base64 and the latter is a kind of Quoted-Printable. @end ifset

@ifset jp ISO-2022-JP ?$B$K$O!"?(B@samp{B} ?$BId9f2=J}<0$,>)Ne$5$l$F$$$^$9$,!"?(B@samp{Q} ?$BId9f?(B ?$B2=J}<0$G$b9=$$$^$;$s!#$7$+$7!"?(B@samp{Q} ?$BId9f2=J}<0$KBP1~$7$F$$$k%$%s%?!<?(B ?$B%U%'%$%9$O$"$^$j$J$$$h$&$G$9?(B(?$B$b$A$m$s?(B Mew ?$B$OBP1~$7$F$$$^$9?(B)?$B!#?(B @end ifset @ifset us For ISO-2022-JP, @samp{B} is encouraged. @samp{Q} is also acceptable, however, few message interfaces support it(of course, Mew does). @end ifset

@ifset jp ?$B$?$H$($P!"?(BSubject: ?$B$K!V;3KI'!W$H=q$$$?>l9g!"0J2<$N$h$&$KId9f2=$5$l$^?(B ?$B$9!#?(B @end ifset @ifset us For instance, the author's Japanese name in Subject: is encoded as follows: @end ifset

@example Subject: =?ISO-2022-JP?B?GyRCOzNLXE9CSScbKEI=?= @end example

@ifset jp ?$B>e5-$N7A<0$GId9f2=$7$F$b$h$$$N$O%U%#!<%k%ICM$G$"$C$F!"%Q%i%a!<%?CM$G$O$"?(B ?$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?(B ?$B$J$C$F$$$k?(B @samp{=} ?$B$,!"%Q%i%a!<%?L>$H%Q%i%a!<%?CM$N6h@Z$jJ8;z$H=E$J$C$F?(B ?$B$$$k$3$H$,5s$2$i$l$^$9!#%Q%i%a!<%?$rId9f2=$9$k$K$O!"JL$N7A<0$rMxMQ$7$^$9!#?(B ?$B0J2<$K!"!VF|K8l$N%U%!%$%k!W$H$$$&%U%!%$%kL>$r%Q%i%a!<%?CM$K;XDj$7$?Nc$r?(B ?$B<($7$^$9!#?(B @end ifset @ifset us It is not parameter values but field values that this format can handle. One of the reasons why this format must not be applied to parameter values is that the "=" keyword conflicts the separator between parameter names and parameter values. To encode non-ASCII characters in a parameter value, another format should be used. Please see the following example to understand the differences: @end ifset

@example Content-Disposition: attachment;
filename*=iso-2022-jp''%1B%24BF%7CK%5C8l%24N%25U%25%21%25%24%25k%1B%28B @end example

@c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @c Kanji @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

@node Kanji, rfc822, mime-header, Top @ifset jp @chapter ?$BSK8F4A;z%3!<%I?(B @end ifset @ifset us @chapter Ahhh, Kanji code @end ifset

@ifset jp ?$B$3$3$G$O!"Hs?(B ASCII ?$BJ8;z$r%a%C%;!<%8$G;H$&$?$a$K?M!9$,J3F.$7$F$-$?Nr;K$r4A;z?(B ?$B$rNc$K<h$C$F?6$jJV$j$^$9!#?(B @end ifset @ifset us "Kanji" is main characters for Japanese which typically have meanings and two sounds. The total number of Kanji usually used is over 3,000. Kanji was originated from Chinese characters and had been modified and simplified in Japan for a long time.

There are also about 80 characters, so called "Hiragana", each expresses just one sound and has a soft shape. Kanji is mainly used for nouns and beginning portion of verbs while Hiragana is used for other parts including last portion of verbs. Japanese sentences typically consist of Kanji in 30% and Hiragana in 70%. There is one more character set, called "Katakana", which is another notation of Hiragana. Katakana has exactly same sound of Hiragana and a little hard shape and is used to express exported words from other countries based on their sounds.

I describe an example of struggle history for non-alphabetical character set in messaging system. @end ifset

@menu @ifset jp * rfc822:: ?$BEE;R%a!<%k$HCO0h2=?(B * mime-comes:: MIME ?$B$NEP>l?(B * canonical:: ?$B@55,2=$N35G0?(B @end ifset @ifset us * rfc822:: Email and localization * mime-comes:: The appearance of MIME * canonical:: The concept of canonicalization @end ifset @end menu

@c %%%%%%%%%%%%%%%%% @node rfc822, mime-comes, Kanji, Kanji @ifset jp @section ?$BEE;R%a!<%k$HCO0h2=?(B @end ifset @ifset us @section Email and localization @end ifset

@ifset jp 1982?$BG/!"8_49@-$rJ]>Z$9$k$?$a$K!"EE;R%a!<%k$N5,3J?(B RFC822 ?$B$,5-=R$5$l$^$7$?!#?(B ?$BEE;R%a!<%k$O%"%a%j%+0i$A$G$"$C$?$?$a!";DG0$J$,$iKJ8$d%X%C%@$K$O!"?(BASCII ?$BJ8;zNs$7$+3JG<$G$-$J$$5,3J$G$7$?!#?(B @end ifset @ifset us A spec of Email, RFC822, was defined with a hope to ensure interoperability in 1982. Since Email was grown in America, its header and body could not contains other character sets than US-ASCII. @end ifset

@ifset jp ?$B$7$+$7!"1Q8l0J30$N8@8l$rJl9q8l$H$7$F$$$k?MC#$K$O$H$F$bITJX$G$9!#$=$3$G!"?(B ?$BG[Aw$K4X$o$k%X%C%@$O$H$b$+$/!"KJ8$KJl9q8l$r3JG<$9$k$?$a?(B RFC822 ?$B$O$5$^$6?(B ?$B$^$J9q$G3HD%$5$l$^$7$?!#?(B @end ifset @ifset us It is, however, very inconvenient for people whose language is not English. So, despite of extension of header, many people from various countries extended RFC822 messages to contain non-English characters from their native language. @end ifset

@ifset jp ?$B%h!<%m%C%Q=t9q$G$O!"%&%`%i%&%H?(B(?$B%"%/%;%s%H?(B)?$BJ8;z$rI=$9?(B8?$B%S%C%H?(B1?$BJ8;z$N%3!<%I?(B Latin 1 ?$B$,$h$/;H$o$l$k$h$&$K$J$j$^$7$?!#?(BLatin 1 ?$B$O?(B ISO-8859-1 ?$B$H8F$P$l$k?(B ?$B$3$H$,$"$j$^$9!#?(B @end ifset @ifset us In Europe, Latin 1 started to be used that presents umlaut(accent) characters by 8 bit word. Latin 1 is sometime called ISO-8859-1. @end ifset

@ifset jp ?$BF|K$O!"?(B7?$B%S%C%H?(B2?$BJ8;z$N?(B JIS ?$B%3!<%I!"?(BUNIX ?$B$G$h$/;H$o$l$k?(B 8?$B%S%C%H?(B2?$BJ8;z$N?(B EUC ?$B%3!<%I!"%Q%=%3%s$G;H$o$l$F$$$k?(B 8?$B%S%C%H?(B2?$BJ8;z$N?(B SJIS ?$B%3!<%I$,B8:_$7$^?(B ?$B$7$?!#F|K%$%s%?!<%M%C%H$NA0?H$G$"$k?(B JUNET ?$B$N@h6n<TC#$O!"G[Aw$N$?$a$N?(B ?$B%3!<%I$H$7$F?(B JIS ?$B%3!<%I$r?(B ESC ?$B%7!<%1%s%9$G@Z$jBX$($k!"$$$o$f$k?(B JUNET ?$B%3!<?(B ?$B%I$rA*$S$^$7$?!#?(B @end ifset @ifset us In Japan, there are three major codes, (1) JIS code which is 7-bit 2 characters, (2) EUC code which is 8-bit 2 characters and is used in UNIX, (3) SJIS which is 8-bit 2 characters and is used in PCs. Pioneers of JUNET which is the antecedent of Japanese Internet chose a switch mechanism of ASCII and JIS with ESC sequence, so called JUNET code, for transportation. @end ifset

@ifset jp JUNET ?$B%3!<%I$O?(B ISO-2022-JP ?$B$H8F$P$l$k$3$H$,$"$j$^$9!#?(BISO-2022-JP ?$B$r;H$(?(B ?$B$P!"J#?t$NJ8;z%3!<%I$r@Z$jBX$($k$@$1$G$J$/!";H$o$l$F$$$kJ8;z%3!<%I$,2?$+?(B ?$B$H$$$&>pJs$rF@$i$l$^$9!#?(B @end ifset @ifset us JUNET code is sometime called ISO-2022-JP. With JUNET code, we can tell what their character sets are in addition to switch them. @end ifset

@ifset jp Latin 1 ?$B$d?(B ISO-2022-JP ?$B$K8+$i$l$kKJ8$N3HD%$O!"$"$/$^$GCO0h$K8BDj$5$l$??(B ?$B?B;N6(Dj$G$9!#?(BRFC822 ?$B$r;H$&8B$j!"CO0h4V$r1[$($F%a%C%;!<%8$r$d$j$H$j$9$k?(B ?$B$K$O!"7k6I1Q8l$r;H$&$7$+$J$$$N$G$9!#?(B @end ifset @ifset us The extension such as Latin 1 and JUNET code is an agreement within the region. You are compelled to use English to send a message across regions in the context of RFC822. @end ifset

@ifset jp RFC822 ?$B$O5-=R$,[#Kf$J$N$G!"%X%C%@$dKJ8$K?(B 7 ?$B%S%C%HJ8;z$G$"$k?(B ISO-2022-JP ?$B$rF~$l$F$b$h$$$h$&$KFI$a$^$9!#$?$V$s!"$3$N@bL@$rFI$a$P8m2r$,2r$1$k$G$7$g?(B ?$B$&!#!V?(BRFC822 ?$B$O!"%X%C%@$HKJ8$N%7%s%?%C%/%9?(B(?$B9=J8?(B)?$B$r?(B7?$B%S%C%H!"$=$l$i$N%;%^?(B ?$B%s%F%#%C%/%9?(B(?$B0UL#?(B)?$B$r?(B US-ASCII ?$B$HDj$a$F$$$^$9!#?(BISO-2022-JP ?$B$N%7%s%?%C%/%9?(B ?$B$O?(B RFC822 ?$B$K=>$C$F$$$^$9$,!"%;%^%s%F%#%C%/%9$O?(B RFC822 ?$B$K0cH?$7$F$$$^$9!#!W?(B @end ifset @ifset us RFC822 is so ambiguous that we misunderstand that JUNET code can be used for header and body since it is 7 bit. Probably this is a good explanation to blow away your misunderstanding. "RFC822 defines that the syntax of header and body is 7bit and the semantics of header and body is US-ASCII". JUNET code is syntactically legal but its semantics is illegal. @end ifset

@c %%%%%%%%%%%%%%%%% @node mime-comes, canonical, rfc822, Kanji @ifset jp @section MIME ?$B$NEP>l?(B @end ifset @ifset us @section The appearance of MIME @end ifset

@ifset jp ?$B3($d2;@<$J$I$rG[Aw$7$?$$!"CO0h2=$5$l$??(B RFC 822 ?$B$N2M$166$H$J$k5,3J$,M_$7?(B ?$B$$$J$I$NMWK>$rK~$?$9$?$a$K!"?(B1992?$BG/$K?(B MIME ?$B$,5,Dj$5$l$^$7$?!#?(BMIME ?$B$G$O!"?(B ?$B%F%-%9%H$NJ8;z%3!<%I$r?(B charset ?$B$H$$$&%Q%i%a!<%?$K;XDj$G$-$^$9!#$?$H$($P!"?(B ISO-2022-JP ?$B$O0J2<$N$h$&$K;XDj$7$^$9!#?(B @end ifset @ifset us To satisfy users' desire such as transportation of picture and audio and to bridge localized RFC822, MIME was defined in 1992. With MIME, the character parameter can be specified. Since JUNET code is called ISO-2022-JP, Japanese message looks as follows: @end ifset

@example @ifset jp Content-Type: Text/Plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit

?$BF|K8l$N%F%-%9%H?(B @end ifset @ifset us Content-Type: Text/Plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit

Japanese text. @end ifset @end example

@ifset jp ?$B$3$N?(B charset ?$B$OLr$KN)$D$N$G$7$g$&$+!)?(B ?$B$b$A$m$s$G$9!#?(Bcharset ?$B$O!"%$%s%?!<?(B ?$B%U%'%$%9$K@5$7$/%F%-%9%H$NJ8;z%3!<%I$rEA$($kLr3d$r2L$?$7$^$9!#%N%k%&%'!<?(B ?$B$N?M$,?(B ISO-8859-1 ?$B$GF|K%a%C%;!<%8$rAw$C$F$-$?$H$7$^$7$g$&!#?(BISO-8859-1 ?$B$KBP1~$7$F$$$k%$%s%?!<%U%'%$%9$J$i!"BP1~$9$k%U%)%s%H$GI=<($9$l$P$$$$$7!"?(B ?$BBP1~$7$F$$$J$$$J$iL5;k$9$l$P$$$$$N$G$9!#?(BMew ?$B$G$O!"?(BMule ?$B$NFbIt%3!<%I$KJQ?(B ?$B49$9$k4X?t$N0z?t$K?(B charset ?$B$rMxMQ$7$F$$$^$9!#?(B @end ifset @ifset us Is this charset useful? Absolutely! The charset parameter can tell user interface an exact character set. Suppose that a Norway guy send a message with ISO-8859-1 to Japanese. If his interface supports ISO-8859-1 then it is no problem to display the body. Otherwise the interface can safely ignore the body. Mew makes use of the charset parameter to convert messages to Mule's internal representation. @end ifset

@ifset jp ?$B!V?(BISO-2022-JP ?$B$N>e0L8_495,3J$G$"$j!"$5$^$6$^$JJ8;z%3!<%I$r3JG<$G$-$k?(B ISO-2022-JP-2 ?$B$J$I$r;H$($P?(B charset ?$B$J$IMW$i$J$$!#$J$<$J$i?(B ISO-2022-JP-2 ?$B<+BN$KJ8;z%3!<%I$N>pJs$,4^$^$l$F$$$k$+$i!W$H$$$&?M$,$$$^$9!#$7$+$7!"$3$l?(B ?$B$i$N?M$O?(B MIME ?$B$rM}2r$G$-$F$$$k$H$O;W$($^$;$s!#?(B @end ifset @ifset us Some people say like this; "If we use ISO-2022-JP-2 which is upper compatible to ISO-2022-JP and can handle numerous character set, the charset parameter is not necessary since ISO-2022-JP-2 itself contains information about character set." Maybe, just maybe, such people don't understand MIME. @end ifset

@ifset jp ?$B3N$+$KM}A[E*$K$$$($P!"$3$N<gD%$O@5$7$$$N$G$9!#$7$+$7!"?(BMIME ?$B$O8=<B<g5A$G?(B ?$B$9!#?(BMIME ?$B$O%f!<%6$,L@F|$+$i?(B ISO-2022-JP-2 ?$B$r;H$&$h$&$K$J$k$H$$$&BgC@$J2>?(B ?$BDj$O$7$F$$$^$;$s!#$^$?!"@$$NCf$KB8:_$9$k@H<e$JG[Aw%W%m%0%i%`$G$b0BDj$7$F?(B ?$BF0$/$h$&$K9MN8$5$l$F$$$^$9!#@$$NCf$O!"$=$s$J$K$*9T57$N$h$$%W%m%0%i%`$P$+?(B ?$B$j$G$O$J$$$7!"$?$/$5$s$N;q8;$r;H$($k$[$IK-$+$G$b$J$$$N$G$9!#!VL@F|$+$i?(B UNICODE ?$B$r;H$(!W$H8@$o$l$?$i$$$d$G$7$g$&!)?(B @end ifset @ifset us Ideally speaking, this assessment is correct. But MIME takes a practical stance. MIME does not suppose that all people in the world will start using ISO-2022-JP-2 tomorrow. Moreover, MIME is designed to be robust against unstable transfer programs. All transfer program in the world are not well implemented. And all site cannot use rich resources. If you ask to use UNICODE as of today, how do you feel? @end ifset

@ifset jp MIME ?$B$O!"$5$^$6$^$KCO0h2=$5$l$?%a%C%;!<%8$N2M$166$H$7$F?(B charset ?$B$rMQ0U$7?(B ?$B$^$7$?!#?(BMIME ?$B$GA}$($?:n6H$O!"?(Bcharset ?$B$NA^F~$@$1$G$"$j!":#$^$GDL$j2f!9$O?(B ISO-2022-JP ?$B$r;H$($^$9!#?(BISO-2022-JP-2 ?$B$rI8=`$K$7$?$$$J$i!"?(BISO-2022-JP-2 ?$B$r%G%U%)%k%H$G;H$&CO0h$r9-$2$F$$$1$P$h$$$N$G$9!#$3$N0UL#$G!"?(B ISO-2022-JP-2 ?$B$H?(B MIME ?$B$OAjH?$7$F$O$J$/!"5U$K!"?(BISO-2022-JP-2 ?$B$NIa5Z$N$?$a?(B ?$B$K?(B MIME ?$B$rMxMQ$G$-$k$H8@$($^$9!#$b$A$m$sJ8;z%3!<%I$NId9f2=J}<0$G$"$k?(B ISO-2022-xx ?$B$K?(B charset ?$B$H$$$&C18l$,Aj1~$7$/$J$$$N$O!"?(BMIME ?$B$N3+H/<T$bG'$a?(B ?$B$F$$$k$H$3$m$G$9!#?(B @end ifset @ifset us MIME provides the charset parameter to bridge between numerous localized regions. The additional procedure under MIME is to label the charset parameter and we can use ISO-2022-JP as we used to. If you wish to make ISO-2022-JP-2 an Internet standard, you should make an effort to spread region where ISO-2022-JP-2 is used by default. Likewise, ISO-2022-JP-2 and MIME is not inconsistent. Rather, ISO-2022-JP-2 can make most use of MIME to make itself widely spread. Of course, the name of "charset" is not proper for character switching mechanisms such as ISO-2022-xx. @end ifset

@ifset jp MIME ?$B$r;H$($P!"Hs?(B ASCII ?$BJ8;z$r?(B ASCII ?$BJ8;zNs$KId9f2=$7!"%X%C%@$KA^F~$G$-?(B ?$B$^$9!#$3$N$h$&$JOHAH$G!"EE;R%a!<%k$NG[Aw%W%m%0%i%`$N8mF0:n$rKI;_$7!"$^$?!"?(B ?$B%X%C%@$K1Q8l0J30$N8@8l$r=q$/$3$H$r<B8=$7$F$$$k$N$G$9!#$b$&!"?(BSubject: ?$B$K?(B ?$B!VF|K8l$r=q$$$F$O$$$1$^$;$s!W$J$s$F8@$o$J$/$F$h$/$J$j$^$7$?!#?(B:) @end ifset @ifset us With MIME, you can encode non-ASCII character set and insert it into header. This scheme prevents errors of Email transfer programs and makes it possible to convey non-ASCII strings in header. We don't have to say "Do not use Japanese on Subject:" anymore! @end ifset

@ifset jp MIME ?$B$OCO0h2=$5$l$??(B RFC 822 ?$B$r6X;_$9$k5,3J$G$O$"$j$^$;$s!#$h$C$F!"?(BMIME ?$B$N%$%s%?!<%U%'%$%9$O!"0J2<$N$h$&$JF0:n$,K>$^$l$F$$$^$9!#?(B @end ifset @ifset us MIME is not a spec to prohibit localized RFC822. So, MIME interfaces are supposed to act as follows: @end ifset

@ifset jp ?$BFI$`$H$-?(B @end ifset @ifset us Viewing @end ifset

@enumerate @ifset jp @item ?$B%f!<%6$,%G%U%)%k%H$N?(B charset ?$B$rA*$Y$k$h$&$K$7$F$*$/!#?(B @item MIME-Version: ?$B$,$J$$%a%C%;!<%8$N>l9g$O!"KJ8$r%G%U%)%k%H$N?(B charset ?$B$H$7?(B ?$B$F07$&!#?(B @item MIME-Version: ?$B$,$"$j!"?(BContent-Type: ?$B$,$J$$>l9g$O!"?(BUS-ASCII ?$B$H$7$F07$&!#?(B @item MIME-Version: ?$B$H?(B Content-Type: ?$B$,$"$k>l9g$O!"?(BContent-Type: ?$B$K;X<($5$l$??(B charset ?$B$rMxMQ$9$k!#?(B @end ifset @ifset us @item Allow user to choose a default charset. @item If MIME-Version: doesn't exist, the body is treated as the default charset. @item If MIME-Version: exists and Content-Type: is not provided, the body is treated as US-ASCII. @item If both MIME-Version: and Content-Type: exist, specified charset is used. @end ifset @end enumerate

@ifset jp ?$B=q$/$H$-?(B @end ifset @ifset us Composing @end ifset

@enumerate @ifset jp @item MIME-Version: ?$B$H?(B Content-Type: Text/Plain ?$B$N?(B charset ?$B$rI,$:IU$1$k!#?(B @item charset ?$B$K$O!":G>.8B$NJ8;z=89g$rA*$V$h$&$K$9$k!#$?$H$($P!"1Q8l$@$1$J$i?(B US-ASCII ?$B$rA*$V$h$&$K$9$k!#$3$l$r<i$i$J$$$H!"FI$a$k$Y$-%a%C%;!<%8$,FI$a?(B ?$B$J$/$J$k2DG=@-$,$"$k!#$?$H$($P!"?(BUS-ASCII ?$B$@$1$J$N$K!"?(BISO-2022-JP ?$B$H=q$$?(B ?$B$F$"$k$H!"?(BUS-ASCII ?$B$K$7$+BP1~$7$F$J$$%a!<%i$GFI$a$J$$$+$b$7$l$J$$!#?(B @end ifset @ifset us @item Specify MIME-Version:, Content-Type:, and its charset. @item Choose minimum character set for charset. For instance, US-ASCII for English. If the rule is violated, it is likely that a message to be read cannot be read. For instance, consider a message labeled ISO-2022-JP whose body is US-ASCII in fact. Mailers which support US-ASCII only could not handle such a message. @end ifset @end enumerate

@ifset jp ?$B%9%W!<%k$d%U%)%k%@$K?(B ISO-2022-JP ?$B$r?(B EUC-Japan ?$B$KJQ99$7$F3JG<$9$k>l9g$O!"?(B ?$BL5>r7o$KJQ49$7$F$O$$$1$^$;$s!#$-$A$s$H?(B charset ?$B$r3N$+$a!"?(BISO-2022-JP ?$B$@?(B ?$B$1$r?(B EUC-Japan ?$B$KJQ49$9$k$h$&$K$7$F2<$5$$!#?(B @end ifset @ifset us If you store messages in a spool or folders after conversion from ISO-2022-JP to EUC-Japan, please don't be blind. You should check charset out, and convert only ISO-2022-JP messages to EUC-Japan. @end ifset

@ifset jp ?$B%X%C%@$KHs?(B ASCII ?$BJ8;z$rA^F~$9$k5!G=$O?(B MIME ?$B$N0l5!G=$G$9$,!"<B:]$K$O!"?(B MIME-Version: ?$B%U%#!<%k%I$OI,MW$"$j$^$;$s!#?(B @end ifset @ifset us Insertion of non-ASCII in header is one of MIME features but in fact MIME-Version: is not necessary. @end ifset

@c %%%%%%%%%%%%%%%%% @node canonical, Policy, mime-comes, Kanji @ifset jp @section ?$B@55,2=$N35G0?(B @end ifset @ifset us @section The concept of canonicalization @end ifset

@ifset jp ?$B;DG0$J$,$i!"@$$NCf$N%3%s%T%e!<%?$O!"%G!<%?$r$5$^$6$^$JJ}K!$GI=8=$7$^$9!#?(B ?$B0J2<$K$h$/MxMQ$5$l$F$$$k?(B OS ?$B$H$=$N9TKv$r<($7$^$9!#?(B @end ifset @ifset us Unfortunately, each computer in the world represents data with its own format. The followings are end of lines used in major OSes. @end ifset

@itemize @minus @item UNIX :: LF(0x0a) @item MS-DOS :: CRLF(0x0d0a) @item MacOS :: CR(0x0d) @end itemize

@ifset jp ?$B$h$C$F!"9TKv$K4X$7$F<h$j7h$a$,$J$$$H!"$3$l$i$N?(B OS ?$B4V$G$O0BA4$K%F%-%9%H$,?(B ?$B8r49$G$-$^$;$s!#?(BRFC822 ?$B$G$O!"%a%C%;!<%8$N:FAw$N:]$K9TKv$r?(B CRLF ?$B$KJQ49$9?(B ?$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$$$$$^?(B ?$B$9!#?(BSJIS ?$B$d?(B EUC-Japan ?$B$r?(B ISO-2022-JP ?$B$KD>$9$N$b@55,2=$N0l<o$G$9!#?(B @end ifset @ifset us As you know, if there is no agreement for end of line, text is not transfered between these OSes safely. RFC822 defines to transform end of line into CRLF. This kind of format conversion is called canonicalization. Converting SJIS and EUC-Japan to JUNET code is a kind of canonicalization. @end ifset

@ifset jp ?$B$5$F!"?(BPGP ?$B$N0E9f2=$d=pL>$D$$$F9M$($F$_$^$7$g$&!#$?$H$($P!"?(BMac ?$B$N%f!<%6$,?(B ?$B9TKv$,?(B CR ?$B$G$"$kJ8>O$K=pL>$7?(B UNIX ?$B%f!<%6$KAw$C$?$H$7$^$9!#?(BUNIX ?$B%f!<%6$,?(B ?$B9TKv$r?(B LF ?$B$KJQ49$7=pL>$r3NG'$7$?$H$7$?$i!"8!>Z$,<:GT$9$k$N$OL@$i$+$G$7$g?(B ?$B$&!#$=$3$G!"?(BPGP ?$B$X$NF~NO$O$"$i$+$8$a@55,2=$5$l$F$$$kI,MW$,$"$k$N$,$*J,$+?(B ?$B$j$K$J$k$H;W$$$^$9!#?(B @end ifset @ifset us OK, let's think about encryption and signature with PGP. Suppose that a Mac user signed text whose line breaks are CR then sent it to a UNIX user. If the UNIX user transforms line break to LF then verifies the signature, it is obvious that the verification fails. You thus understand that canonicalization is necessary. @end ifset

@ifset jp PGP ?$B$G0E9f2=$7$?$j=pL>$7$?$j$9$k>l9g$O!"$^$:%F%-%9%H$r?(B ISO-2022-JP ?$B$KJQ?(B ?$B49$7!"9TKv$r?(B CRLF ?$B$KD>$7$F2<$5$$!#?(B @end ifset @ifset us When you encrypt or sign text with PGP, first convert it to ISO-2022-JP then transform its end of lines into CRLF. @end ifset

@c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @c Policy @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

@node Policy, History, canonical, Top @ifset jp @chapter Mew ?$B$N$3$@$o$j?(B @end ifset @ifset us @chapter Mew's policy @end ifset

@ifset jp Mew ?$B$N@:?@$r0l8@$GI=$9$H!"?(B @end ifset @ifset us The following words mention Mew's spirit: @end ifset

@quotation Mew wants something simple or nothing at all. @end quotation

@ifset jp ?$B$H$J$j$^$9!#$D$^$j!"J#;($J5!G=$OMW$i$J$$$N$G$9!#C1=c$G6cL#$5$l$?5!G=$7$+?(B ?$BDs6!$7$^$;$s!#?(B @end ifset @ifset us That is, complicated mechanism is not necessary. What Mew provides is simple yet comprehensive feature. @end ifset

@ifset jp ?$B$?$/$5$s$NJ}$,!V@N;H$C$F$$$?%a!<%i$K$O$3$s$J5!G=$,$"$C$FJXMx$@$+$i!"?(BMew ?$B$K$bIU$12C$($FM_$7$$!W$H$$$$$^$9!#$7$+$7!"$3$s$J@bL@$G$OCx<T$r@bF@$9$k$N?(B ?$B$OFq$7$$$G$7$g$&!#$J$<$J$i!"?(BMew ?$B$OB>$N%W%m%0%i%`$,:#$^$G$d$C$F$$$J$$$3$H?(B ?$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?(B ?$BNOITB-$G$9!#?(B @end ifset @ifset us Many people tell me like this: "A mailer that I used before has this kind of feature and I think it's very convenient. So, please implement it in Mew". Sorry, such a explanation might not convince me. Mew is trying to carry out stuff that other programs have not ever done so. The word "good-old" seems to me not enough. @end ifset

@ifset jp ?$B$b$7<+J,$N0U8+$,@5$7$$$H;W$&$N$G$7$?$i!":,5$6/$/Cx<T$r@bF@$7$F2<$5$$!#Cx?(B ?$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$$?(B ?$B9~$_$dJP8+$,$"$j$^$9!#AG@2$i$7$$%"%$%G%#%"$rM}2r$G$-$J$$$3$H$,B?J,$K$"$k?(B ?$B$G$7$g$&!#$I$&$+!"$/$8$1$J$$$G2<$5$$!#?(B @end ifset @ifset us If you believe in your opinion, please pursue the author patiently. Since I'm hell-of-a busy person I'm prone to forget what you explained before. And because I'm just a man I regret to say I'm subjective. It is quite possible for me not to understand your novel ideas. So, please don't give up! @end ifset

@c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @c History @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

@node History, mh-e, Policy, Top @ifset jp @chapter Mew ?$B$NMh$?F;?(B @end ifset @ifset us @chapter Where did Mew come from? @end ifset

@ifset jp ?$BLr$K$ON)$A$^$;$s$,!"?(BMew ?$B$NNr;K$r$R$b$H$$$F$_$^$7$g$&!#?(B @end ifset @ifset us It might not be useful but let's open the book about Mew's history... @end ifset

@menu @ifset jp * mh-e:: mh-e ?$B$+$i$NC&5Q?(B * birth:: Mew ?$B$NCB@8?(B * pgp:: PGP ?$B$H$N=P2q$$?(B * im:: MH ?$B$+$i$NFHN)?(B * netnews:: ?$B%K%e!<%9$NE}9g?(B @end ifset @ifset us * mh-e:: Departure from mh-e * birth:: Birth of Mew * pgp:: Meet to PGP * im:: Independence from MH * netnews:: Integration of NetNews @end ifset @end menu

@c %%%%%%%%%%%%%%%%% @node mh-e, birth, History, History @ifset jp @section mh-e ?$B$+$i$NC&5Q?(B @end ifset @ifset us @section Departure from mh-e @end ifset

@ifset jp 1993?$BG/$N=)$K?(B WIDE Project ?$B$N?(B FJPEM ?$B$N<B83$K;22C$7$^$7$?!#$=$N$3$m!"]/0f?(B ?$B$5$s$,?(B FJPEM ?$B$r?(B mh-e ?$B$GMxMQ$7$d$9$/$9$k$?$a!"?(Bmhpem ?$B$r:n$j$^$7$?!#?(Bmhpem ?$B$K?(H/$5$l!"?(B1994?$BG/$NE_$O=$O@$NF(Hr9TF0$r7s$M$F?(B mhpem ?$B$N2~NI$KNe$_$^$7$?!#?(B @end ifset @ifset us I took part in the FJPEM research project of WIDE Project in the fall of 1993. At that time, Mine had implemented mhpem to make it convenient to use FJPEM with mh-e. Inspired by mhpem, I spend many time to enhance mhpem as escape from my master thesis in winter 1994. :) @end ifset

@ifset jp mhpem ?$B$O0E9f%a%C%;!<%8$r<+F0E*$KI|9f2=$9$k$*$7$c$l$J%W%m%0%i%`$G$7$?$,!"?(B ?$B$$$/$D$+LdBj$,$"$j$^$7$?!#Bg$-$JLdBj$O!"?(Bmh-e ?$B$,4JC1$K3HD%$G$-$J$$=@Fp@-?(B ?$B$K7g$1$?%W%m%0%i%`$@$C$?$3$H$G$9!#I|9f2=$7$?%a%C%;!<%8$O!"<!$KFI$`$H$-$O?(B ?$BB.$/$J$k$h$&J]B8$7$?$$$H;W$$$^$9$,!"?(Bmh-e ?$B$r2~NI$9$k$N$OFq$7$$$N$G$9!#?(B mh-e ?$B$,%P!<%8%g%s%"%C%W$7!"?(Bmhpem ?$B$,?7$7$$?(B mh-e ?$B$GF0$+$J$+$C$?$H$-!"Cx<T?(B ?$B$O@Z$l$^$7$?!#?(B @end ifset @ifset us mhpem was a lovely program to decrypt cipher messages automatically, however, we met some problems. The biggest one was that mh-e was not flexible enough to enhance some features. I really wanted to cache decrypted message to display it quickly for the second time but it was quite hard to enhance mh-e to do so. When a new version of mh-e was released and it appeared that mhpem didn't work with it, I decided to kick it out. @end ifset

@ifset jp ?$BI|9f2=$7$??(B PEM ?$B$rJ]B8$7$?$$!#?(BMIME ?$B$bJ]B8$7$?$$!#$I$&$7$F!"4JC1$K?(B MIME ?$B$r?(B ?$B<h$j07$($k%$%s%?!<%U%'%$%9$,$J$$$N$+!#$J$<!"J#?t$N%a%C%;!<%8$+$i4JC1$K0z?(B ?$BMQ$G$-$J$$$N$+!#%^!<%/$r6n;H$7$FLLGr$$$3$H$,$G$-$J$$$J$s$F!#%a%C%;!<%8$N?(B ?$B@0FBgJQ$J$N$O$$$d$@!#7k6I!"?(Bmh-e ?$B$r2~NI$9$k$3$H$G$O!"<+J,$NM_$7$$%W%m?(B ?$B%0%i%`$O=q$1$J$+$C$?$N$G$9!#?(B @end ifset @ifset us I want to cache decrypted PEM. Also MIME. Why isn't there a good interface to handle MIME with easy operations? Tell me the reason not to be able to cite multiple messages to one replying message. It's ridiculous that we cannot enjoy cheerful marks. I'd hate to refile messages with difficult operations. All in all, it appeared impossible for me to implement what I want by modifying mh-e. @end ifset

@ifset jp mhpem ?$B$N<+F0I|9f5!G=!"?(Bmhasync ?$B$NHsF14|$J?(B scan ?$B5!G=!"%&%$%s%I%&$NBg$-$5$r?(B ?$BF0E*$KJQ99$G$-$k?(B GNUS ?$B$N5!G=!"%^!<%/$rIU$1$FJ#?t$N%K%e!<%9$r<h$j07$($k?(B gnus-mark ?$B$N5!G=!"?(BVM ?$B$N$h$&$J@0F5!G=!"2r@O$7$?%a%C%;!<%8$NJ]B8!"H~$7$/?(B ?$B=@Fp@-$N$"$k%W%m%0%i%_%s%0%9%?%$%k?(B.... ?$B$5$^$6$^CGJR$,Cx<T$NCf$G?(B1?$B$D$K$^$H?(B ?$B$^$j;O$a$^$7$?!#?(B1994?$BG/?(B3?$B7n!"F`NI$X$N0z1[$7A0$N$3$H$G$7$?!#?(B @end ifset @ifset us Auto decryption in mhpem, asynchronous scan in mhasync, dynamic window setup in GNUS, cheerful mark system for multiple messages in gnus-mark, refile feature in VM, message cache mechanism, and beautiful and flexible programming style.... A pieces of puzzle was gradually getting together in my mind. It was early in the spring of 1994. @end ifset

@c %%%%%%%%%%%%%%%%% @node birth, pgp, mh-e, History @ifset jp @section Mew ?$B$NCB@8?(B @end ifset @ifset us @section Birth of Mew @end ifset

@ifset jp 1994?$BG/?(B4?$B7n!"K3JE*$K?(B Mew ?$B$N@=:n$K<h$j3]$+$j$^$7$?!#0lMwI=<($N=*N;$rBT$?$J?(B ?$B$/$F$h$$5!G=!"F0E*$J%&%$%s%I%&@_Dj!"%^!<%/!"2r@O$7$?%a%C%;!<%8$NJ]B8$J$I?(B ?$B$O!"$*<jK$"$C$?$N$GAa$/$+$i<BAu$5$l$F$$$^$7$?!#?(B @end ifset @ifset us In April 1994, I started to program Mew. Since there were references, inc and scan not to wait the exit, dynamic window configuration, marks, and message cache were implemented in early time. @end ifset

@ifset jp ?$B$O$8$a$N:"$O?(B MIME ?$B$r?(B MIME ?$B%b!<%I$GI=<($7$F$$$^$7$?!#%^%k%A%Q!<%H$N%a%C%;!<?(B ?$B%8$G?(B @samp{SPC} ?$B$r2!$9$H!"?(BSummary ?$B%b!<%I$+$i?(B MIME ?$B%b!<%I$K0$7$F$$$?$N?(B ?$B$G$9!#$7$+$7!"2NBe$5$s$O8@$$$^$7$?!"!V$J$<?(B MIME ?$B%b!<%I$+$"$k$N!)?(B Summary ?$B$@$1$G==J,$G$O$J$$$+!W!#L$iNZ$NMn$A$k;W$$$G$7$?!#?(B @end ifset @ifset us To tell the truth, Mew displayed MIME messages in MIME mode. When you type @samp{SPC} on a multipart MIME message, Mew moved from Summary mode to MIME mode. Utashiro said to me, however, "Why MIME mode? Summary mode is enough, isn't it?". It's a really breakthrough. @end ifset

@ifset jp ?$B$3$N$3$m$NBg$-$J>c32$O!"%a%C%;!<%8$N@0FJ}K!$H?(B MIME ?$B$N:n@.J}K!$G$7$?!#?(B @end ifset @ifset us At this time, big problems were how to refile messages and to compose complex MIME. @end ifset

@ifset jp ?$B3N$+$K?(B VM ?$B$N$h$&$K!"%f!<%6$K$$$A$$$A?(B Lisp ?$B$r=q$+$;$l$P!"@0F4JC1$K$J$j?(B ?$B$^$9!#$7$+$7!"%f!<%6$K$3$^$a$K@_Dj$5$;$k$3$H<+BN$,7y$@$C$?$N$G$9!#!V%a%C?(B ?$B%;!<%8$N%X%C%@$+$iL58B$N2DG=@-$N$"$k@0F@h$rLO:w$9$k$N$OGO</$@!#8B$j$N$"?(B ?$B$k<B:]$N%U%)%k%@$NCf$+$i8uJd$rA*$Y$P$$$$!W!#$3$N%"%$%G%#%"$r;W$$$D$$$?$H?(B ?$B$-$O!"<!$ND+$,Mh$k$N$,BT$A1s$7$+$C$?$b$N$G$9!#@0F5!G=$O!"8e$KG5B<$5$s$K?(B ?$B$h$C$F6/2=$5$l$^$7$?!#?(B @end ifset @ifset us It is certain that if users are always forced to write Lisp, message refile becomes easy. But I really hate to require users to setup Lisp by themselves. "It is ridiculous to try to choose default refile-folder from message header since there are thousands of candidates. Rather, it is quite reasonable to select the default from existing folder". When this idea hit my head, I could not wait for the next morning. After that, refile feature was enhanced by Nomura. @end ifset

@ifset jp ?$BJ#;($J?(B MIME ?$B$r4JC1$K:n@.$9$k$K$O$I$&$9$l$P$h$$$+!)?(B ?$B%f!<%6$K$O:n@.J8K!$H?(B ?$B$+?(B MIME ?$B$N=q<0$J$I$NM}2r$r2!$7$D$1$k$N$O$"$s$^$j$@!#0l8@@bL@$9$l$P!"$@$l?(B ?$B$G$bD>46E*$K?(B MIME ?$B$r:n$l$k$h$&$K$7$?$$!#$3$NEz$($r$/$l$?$N$OLgNS$5$s$G$9!#?(B ?$B!V?(BMIME ?$B$N9=B$$C$F%U%!%$%k%7%9%F%`$K;w$F$$$k$h$M!W!#$=$&$G$9!"%7%s%0%k%Q!<?(B ?$B%H$r%U%!%$%k!"%^%k%A%Q!<%H$r%G%#%l%/%H%j$H9M$($l$P$h$$$N$G$9!#%U%!%$%kA`?(B ?$B:n$O$@$l$K$G$b$G$-$k$7!"%U%!%$%k9=B$$r?(B MIME ?$B$KJQ49$9$k;E;v$O?(B Mew ?$B$,@A$1?(B ?$BIi$$$^$9!#?(B @end ifset @ifset us How to compose complicated MIME message with easy operations? It is a tragedy for users to be compelled to learn a composition grammar. I really wanted to provide simple yet comprehensive method to users. It was Youki that gave me the answer. Yes, MIME is file structure! We can consider that a singlepart is a file while a multipart is a directory. Users can create a file tree without any troubles, of course, and it is a Mew's job to convert the file structure to MIME format. @end ifset

@c %%%%%%%%%%%%%%%%% @node pgp, im, birth, History @ifset jp @section PGP ?$B$H$N=P2q$$?(B @end ifset @ifset us @section Meet to PGP @end ifset

@ifset jp FJPEM ?$B$N<BAu$K5?Ld$r46$8$F$$$?Cx<T$O!"?(B1994?$BG/$N=i2F?(B PGP ?$B$H=P2q$$$^$7$?!#?(B ?$B$=$N$3$m$O?(B PGP 2.5?$B!"$D$^$j!"?(BMIT ?$B$,?(B RSAREF ?$B$r;H$C$F!"?(BRSA ?$B$NFC5v$KDq?($7$J?(B ?$B$$Hs>&MQ$N?(B PGP ?$B$rLO:w$7$F$$$?;~4|$G$9!#?(BPGP 2.6 ?$B$N%j%j!<%9$K$h$C$F!"?(BPhil ?$B$H?(B RSADSI ?$B$OOB2r$7$^$7$?$,!"?(BRSAREF ?$B$r;H$C$F$$$k?(B 2.6 ?$B$OJF9q9q30$X$N;}$A=P?(B ?$B$7$,6X;_$5$l$F$$$^$9!#?(B @end ifset @ifset us I couldn't swipe out reservations to the implementation of FJPEM for a long time, then PGP finally appeared in front of me in the early summer of 1994. At that time, MIT tried to find a solution to make non-commercial PGP legal against the RSA patent, so called PGP 2.5. The release of PGP 2.6 settled down the relationship between Phil and RSADSI, yet PGP 2.6 based on RSAREF was under US export control. @end ifset

@ifset jp ?$B$7$+$7!"?(B2.3a ?$B$r4p$K$7$??(B 2.6ui ?$B$NB8:_$rCN$j!"?(BPGP ?$B%f!<%6$K$J$j$^$7$?!#?(BPGP ?$B$r;O$a$F;H$C$?$H$-$N46F0$OK:$l$i$l$^$;$s!#K7?T$/$5$l$?%W%m%0%i?(B ?$B%`$G$9!#?(B1995?$BG/$NE_!"%5%s%G%#%(%4$G3+$+$l$?DL>N?(B ISOC Security Symposium(NDSS)?$B$H$$$&9q:]2q5D$K;22C$7$^$7$?!#$3$N$H$-!"%W%m%7!<%G%#%s%0?(B ?$B$H6&$K?(B O'Reilly ?$B$+$iH/Gd$5$l$F$9$0$N?(B Simson ?$B$N?(B PGP ?$B$H$$$&K$b$i$$$^$7?(B ?$B$?!#5W!9$KFI$_$U$1$C$?7f:nCf$N7f:n$G$9!#$3$N$h$&$JM}M3$+$i!"?(BPEM ?$B$H?(B MIME ?$B$NE}9g$h$j$b!"?(BPGP ?$B$H?(B MIME ?$B$NE}9g$KNO$rCm$0$h$&$K$J$j$^$7$?!#?(BPGP/MIME ?$B$O?(B ?$B8=:_<B83CJ3,$G$"$j!"I8=`2=$K$O$^$@;~4V$,$+$+$j$^$9!#?(B @end ifset @ifset us Meet to 2.6ui based on 2.3a finally leaded me to be a PGP user. I cannot forget my first impression to PGP. It's a really well-designed program. In the summer of 1995, I took part in NDSS, so called ISOC Security Symposium in San Diego. In addition of the proceedings, PGP by Simson published from O'Reilly was delivered to early registered participants. It's a masterpiece of masterpieces. For these reasons, I have spent time to integrate PGP and MIME rather than to integrate PEM and MIME. @end ifset

@ifset jp ?$B!V0E9f2=$H$+=pL>$O%^!<%/$GI=$;$P$$$$!W$H$$$&%"%$%G%#%"$O!"]/0f$5$s$H>pJs?(B ?$B=hM}A49qBg2q$NO@J8$r=q$$$?$H$-$K65$($F$b$i$$$^$7$?!#%^!<%/$J$i$$$D$G$b9%?(B ?$B$-$J$H$-$K%-%c%s%;%k$G$-$k$H$$$&MxE@$rM}2r$9$k$N$O>/$7;~4V$,$+$+$j$^$7$??(B ?$B$1$I!#?(B @end ifset @ifset us The idea that marks can represent encryption and signature was given by Mine when we wrote a paper for IPSJ together. It took a time a bit to understand its merit that marks could be canceled at any time. @end ifset

@c %%%%%%%%%%%%%%%%% @node im, netnews, pgp, History @ifset jp @section MH ?$B$+$i$NFHN)?(B @end ifset @ifset us @section Independence from MH @end ifset

@ifset jp ?$B!V$&$^$$<w;J$r?)$o$;$F$d$k$+$i$_$s$JJ!2,$K=89g$@!W$N$+$1@<$N$b$H!"?(B1997?$BG/?(B 4?$B7n$K$=$&$=$&$?$k%W%m%0%i%^$,J!2,%I!<%`$N$"$kI4F;$K7k=8$7$^$7$?!#6e=#%7?(B ?$B%9%F%`>pJs5;=Q8&5f=j$K%O%C%/It20$r<Z$j!"6a$/$N%O%$%d%C%H!&%j!<%8%'%s%7!<?(B ?$B$r?2>2$K$7$F!"?(B3?$BGq?(B4?$BF|$K5Z$V?(B MH ?$B$+$i$NFHN):n@o$,3+;O$5$l$^$7$?!#?(B @end ifset @ifset us "Get together in Fukuoka for good sushi!" Under these words, excellent programmers came to Momochi, Fukuoka, where Fukuoka dome locates, in April, 1997. Using Institute of Systems & Information Technologies, Kyushu as a hacking room and Hyatt Regency as sleeping rooms, MH independence project for 3 nights started. @end ifset

@ifset jp ?$B$H$K$+$/?)$Y$k!"5$$KF~$k$^$G%O%C%/$9$k!"$H$3$H$s$^$G5DO@$9$k$H$$$&:n6H$r?(B ?$B$J$s$I$b7+$jJV$7!"J!2,$r8e$K$9$k$3$m$K$O$[$(B Mew ?$B$,?(B MH ?$B$+$iFHN)$7!"?(BIM ?$B$r?(B ?$B;H$&$h$&$K$J$C$F$$$^$7$?!#?(B(?$B$3$N=5$N%(%s%2%k78?t$,9b$+$C$?$N$O8@$&$^$G$b?(B ?$B$"$j$^$;$s!#?(B) @end ifset @ifset us Eating anyway, hacking as we like, and discussing comprehensively. We repeated these steps over and over. As we left Fukuoka, Mew became somehow independent on MH by using IM instead. (Engel's coefficient of this week is, of course, very high...) @end ifset

@ifset jp ?$B$=$N8e$b%a!<%j%s%0%j%9%H$G5DO@$r@o$o$;!"9g0U$r<h$j!"$^$?%O%C%/$9$k$H$$$&?(B ?$B:n6H$r7+$jJV$7!":G8e$K2NBe@h@8$,9bB.2=$NKbK!$r>'$($F!"$h$&$d$/?(B7?$B7nF,$K%Y!<?(B ?$B%?%j%j!<%9$K$3$.$D$1$^$7$?!#?(B @end ifset @ifset us Afterwords, we discussed on mailing list, tried to achieve consensus, and then hacked again and again. Finally master Utashiro casted a spell to make IM much faster then IM beta version was released in early July. @end ifset

@c %%%%%%%%%%%%%%%%% @node netnews, Future, im, History @ifset jp @section ?$B%K%e!<%9$NE}9g?(B @end ifset @ifset us @section Integration of NetNews @end ifset

@ifset jp 1994?$BG/=)$N?(B WIDE ?$B9g=I$G?(B Mew ?$B$N?(B BOF(Birds Of a Feather::?$B0f8MC<2q5D?(B)?$B$r$7$^?(B ?$B$7$?!#$3$N?(B BOF ?$B$G:4Ln$5$s$O!VEE;R%a!<%k$H%K%e!<%9$NCf4V$,%a!<%j%s%0%j%9?(B ?$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?(B ?$B$3$m$K!"0l6Z$N8w$r8+$?;W$$$G$9!#?(BPerl 5 ?$B$,0BDj$7$F$-$?8=:_!"%K%e!<%9$NE}?(B ?$B9g$O4V6a$KGw$C$F$$$^$9!#?(B @end ifset @ifset us In the fall of 1994, I held Mew BOF(Birds Of a Feather) at WIDE camp. Mr. Sano left unforgettable words to me: "Mailing-list is some between Email and NetNews". It's like I saw a light in darkness. Now that Perl 5 become stable, the integration of NetNews is coming soon. @end ifset

@c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @c Future @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

@node Future, Avail, netnews, Top @ifset jp @chapter Mew ?$B$N9T$/F;?(B @end ifset @ifset us @chapter Where will Mew go? @end ifset

@ifset jp Mew 1.95 ?$B$,%P!<%8%g%s?(B 1 ?$B$H$7$F$O:G8e$K$J$kM=Dj$G$9!#0J2<$K?(B Mew 1.95 ?$B$G<B?(B ?$BAu$9$k5!G=$r5s$2$^$9!#?(B @end ifset @ifset us Mew 1.95 would be the last version of the version 1 series. The followings are features to be implemented in Mew 1.95. @end ifset

@table @asis @ifset jp @item ?$B??$NB?8@8lBP1~?(B Mew ?$B$NB?8@8lBP1~$O:#$G$bAG@2$i$7$$$N$G$9$,!"?(B8bit ?$B$N%a%C%;!<%8$r$&$^$/E>?(B ?$BAw$G$-$J$$!"4Z9q8l$N<h$j07$$$,Fq$7$$$J$I$N7gE@$,$"$j$^$9!#$3$l$i$r7gE@$r?(B ?$B=$@5$7$F??$NB?8@8lBP1~$rL;X$7$^$9!#?(B @item MIME ?$B%(%G%#%??(B ?$B8=:_!"%^%k%A%Q!<%H!&%a%C%;!<%8$r:FJT=8$9$k$N$O:$Fq$G$9!#?(BMew 1.95 ?$B$G$O!"?(B ?$B$"$?$+$b?75,%a!<%k$r07$C$F$$$k$+$N$h$&$J:FJT=85!G=$r<B8=$7$^$9!#?(B @item ?$B%+%9%?%^%$%:?(B @samp{defcustom} ?$B$J$I$rMxMQ$7$F!"%+%9%?%^%$%:$rMF0W$K$7$^$9!#?(B @item Draft ?$B%b!<%I$NDj7?=q<0$H%5%V%b!<%I?(B Draft ?$B%b!<%I$GDj7?$NJ8=q$r$"$i$+$8$aMQ0U$7$?$j!"7HBSEEOC%a!<%k$X%a%C%;!<?(B ?$B%8$r=q$/$?$a$KJXMx$J%b!<%I$rMQ0U$7$?$j$7$^$9!#?(B @end ifset @ifset us @item Real multi-lingualization Though The current multi-lingualization feature of Mew is really cool, there are some shortcoming such as inability of 8bit message forwarding, difficulty of Korean processing, etc. Mew 1.95 will aim at real multi-lingualization solving these problems. @item MIME editor Currently, it is hard to re-edit multipart messages. Mew 1.95 will implement a generic mechanism to re-edit multipart messages. @item Customizing Making it easy to customize Mew's options with @samp{defcustom}. @item Template in Draft mode Draft mode will provide template features. For example, a typical greeting sentence can be inserted according to the To: field. @end ifset @end table

@ifset jp Mew 2 ?$B$G$O?(B IM ?$B$+$iFHN)$9$kM=Dj$G$9!#$3$N%W%m%8%'%/%H$O?(B ?$B!V?(BMew 2 ?$B$N5U=1!W?(B ?$B$H8F$P$l$F$$$^$9!#?(B @end ifset @ifset us It is planed that Mew 2 will be independent on IM. @end ifset

@table @asis @ifset jp @item IMAP ?$B%G!<%b%s?(B Mew 1.9x ?$B$N7gE@$N?(B 1 ?$B$D$O!"?(BIM ?$B$r2?EY$b8F$S=P$9$N$G!"?(BPerl ?$B$,5/F0$7?(B IM ?$B$N%U%!?(B ?$B%$%k72$rFI$`;~4V$=$NETEYBT$?$5$l$k$3$H$G$9!#$=$3$G!"%m!<%+%k$N%3%s%T%e!<?(B ?$B%?$K>oCs$9$k?(B IMAP ?$B%G!<%b%s$r:n@.$7!"?(BMew ?$B$O?(B IMAP ?$B%G!<%b%s$HDL?.$9$k$h$&$K?(B ?$B$7$^$9!#?(B @item ?$BA4J88!:w$N%G!<%?%Y!<%9?(B ?$BA4J88!:w$N$?$a$N%G!<%?%Y!<%9$KBP1~$7$^$9!#<B$O8=:_$G$b?(B Namazu ?$B$,MxMQ$G$-?(B ?$B$^$9!#?(B"contrib/00readme-namazu.jis" ?$B$r;2>H$7$F2<$5$$!#?(B @item ?$B?F;R4X78$N%G!<%?%Y!<%9?(B ?$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?(B ?$B%I$,<B8=$G$-$^$9!#$^$?!"%a%C%;!<%8$NL$FI4IM}$b$G$-$k$h$&$K$J$j$^$9!#$R$g$C?(B ?$B$H$9$k$H!"%a%C%;!<%8$N@0F$$$&:n6H$O$^$C$?$/$J$/$J$k$+$b$7$l$^$;$s!#?(B @item ?$B%M%C%H%K%e!<%9?(B ?$B$=$m$=$m%M%C%H%K%e!<%9$K$bBP1~$7$J$$$H$$$1$^$;$s$M!#?(B @end ifset @ifset us @item IMAP daemon One of shortcomings of Mew 1.9x is that users are made to wait every time Perl is executed and reads configuration files. To solve this, we are planing to implement an IMAP daemon running on a local computer and make Mew communicate with it. @item Database for full body search Mew 2 will support database for full body search (WAIS for English?). @item Database for message relations Mew 2 will support database for message relations. Thanks to this, thread can be implemented. Also, it will be possible to manage unread messages. Possibly refiling messages will be unnecessary. @item NetNews Mew 2 will support NetNews. @end ifset @end table

@c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @c Avail @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

@node Avail, ftp, Future, Top @ifset jp @chapter ?$BF~<jJ}K!$H%a!<%j%s%0%j%9%H?(B @end ifset @ifset us @chapter Availability and mailing-list @end ifset

@ifset jp ?$B$3$3$G$O!"?(BMew ?$B$NF~<jJ}K!$H%a!<%j%s%0%j%9%H$K$D$$$F?($l$^$9!#?(B @end ifset @ifset us This chapter describes how to get Mew and related mailing-lists. @end ifset

@menu @ifset jp * ftp:: Mew ?$B$NF~<jJ}K!?(B * ml:: ?$B%a!<%j%s%0%j%9%H?(B @end ifset @ifset us * ftp:: How to get Mew? * ml:: Mailing list @end ifset @end menu

@c %%%%%%%%%%%%%%%%% @node ftp, ml, Avail, Avail @ifset jp @section Mew ?$B$NF~<jJ}K!?(B @end ifset @ifset us @section How to get Mew? @end ifset

@ifset jp Mew?$B$N:G?7%P!<%8%g%s$O0J2<$+$iF~<j$G$-$^$9!#?(B @end ifset @ifset us The latest Mew is available from the following repository. @end ifset

@example ftp://ftp.Mew.org/pub/Mew/mew-current.tar.gz @end example

@ifset jp ?$B$H$-$I$-%5%s%W%k%a%C%;!<%8$,0J2<$N$h$&$KDs6!$5$l$^$9!#?(B @end ifset @ifset us Samples are given time to time under the following file name: @end ifset

@example ftp://ftp.Mew.org/pub/Mew/samples.tar.gz @end example

@c %%%%%%%%%%%%%%%%% @node ml, Ack, ftp, Avail @ifset jp @section ?$B%a!<%j%s%0%j%9%H?(B @end ifset @ifset us @section Mailing list @end ifset

@ifset jp ?$B?7$7$$%P!<%8%g%s$O!"?(B @end ifset @ifset us A new version is announced to @end ifset

@example mew-release@@Mew.org @end example

@ifset jp ?$B$G1Q8l$G%"%J%&%s%9$7$F$$$^$9!#F~$j$?$$?M$O?(B @end ifset @ifset us in English. If you wish to join, please send a message to @end ifset

@example mew-release-ctl@@Mew.org @end example

@ifset jp ?$B08$KKJ8$K?(B "#help" ?$B$H=q$$$FEE;R%a!<%k$rAw$C$F2<$5$$!#?(Bmew-release ?$B$K$OCx?(B ?$B<T0J30$,Ej9F$G$-$J$$$h$&$K@)8B$,2C$($i$l$F$$$^$9!#?(B @end ifset @ifset us whose the first line of its body is "#help" (without quotes). This list is under access control so that nobody but the author can post. @end ifset

@ifset jp Mew ?$B$N<ALd$d5DO@$J$I$O!"?(B

@example mew-dist@@Mew.org @end example

?$B$KF|K8l$GEj9F$G$-$^$9!#?(Bmew-dist ?$B$XF~$j$?$$?M$O?(B

@example mew-dist-ctl@@Mew.org @end example

?$B08$KKJ8$K?(B "#help" ?$B$H=q$$$FEE;R%a!<%k$rAw$C$F2<$5$$!#?(Bmew-dist ?$B$O?(B mew-release ?$B$K4^$^$l$F$$$k$N$G!"?(Bmew-dist ?$B$KEPO?$9$l$P!"<+F0E*$K?(B mew-release ?$B08$NEE;R%a!<%k$r<u$1<h$k$h$&$K$J$j$^$9!#?(B

Mew ?$B$N<ALd$O$G$-$k$@$1?(B mew-dist ?$B$X$*4j$$$7$^$9!#Cx<T$K$O<u$1<h$C$?$9$Y$F?(B ?$B$N<ALd$KEz$($F$$$k;~4V$O$"$j$^$;$s!#?(Bmew-dist ?$B$X<ALd$9$k$H!"B>$N?M$,Ez$(?(B ?$B$F$/$l$k$3$H$r4|BT$G$-$^$9!#?(B @end ifset

@c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @c Ack @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

@node Ack, Copyright, ml, Top @ifset jp @chapter ?$B<U<-?(B @end ifset @ifset us @chapter Acknowledgement @end ifset

@ifset jp ?$B$^$:$O$8$a$K!"]/0f;0;R$5$s$K$*Ni$r=R$Y$?$$$H;W$$$^$9!#H`=w$,?(B mhpem ?$B$r:n?(B ?$B$j?(H/$7$F$/$l$J$+$C$?$i?(B Mew ?$B$r:n$k$3$H$O$J$+$C$?$+$i$G$9!#?(B(?$B$b$&$J$/$J$C?(B ?$B$F$7$^$$$^$7$?$,?(B) mew-url ?$B$d?(B mew-pem ?$B$NB?$/$NItJ,$r=q$$$F$$$^$9!#$^$?!"?(B ?$BJ#;($J%a%C%;!<%8$N:n@.$K%^!<%/$r;H$&$H$$$&%R%s%H$bM?$($F$/$l$^$7$?!#?(B @end ifset @ifset us First and foremost, I would like to thank Mine Sakurai. If she had not have implemented mhpem and inspired me, Mew would not be realistic. She also implemented most part of mew-url and mew-pem(that are obsolete, though). It is she that gives me an idea of mark based composing. To her goes my deepest gratitude. @end ifset

@ifset jp Summary ?$B%b!<%I$r$b$C$H4JAG$K$H=u8@$7$FD:$$$?2NBeOB@5$5$s!"?(BMIME ?$B$H%U%!%$?(B ?$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?(B ?$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$+?(B ?$B$1$rM?$($F$/$l$?:4Ln?8$5$s$K?4$+$i46<U$7$^$9!#?(B @end ifset @ifset us The author of Mew would sincerely like to acknowledge Kazumasa Utashiro for telling me simplicity of Summary mode, Youki Kadobayashi for noticing me a scheme to map file structures to MIME, Motonori Nakamura for his precious suggestions regarding with Email, and Susumu Sano for giving me a hint to integrate Email and NetNews. @end ifset

@ifset jp ?$B$$$D$bAG@2$i$7$$%3!<%I$rDs6!$7$/$l$k<r0f@6N4$5$s!"%a%C%;!<%8$N@0F5!G=$r?(B ?$B8-$/$7$F$/$l$?G5B<G=@.$5$s!"$3$^$a$K1Q8l$rD>$7$F$/$l$k5mEg44M'$5$s!"?(Binfo ?$B$r=q$/5$$K$5$;$F$/$l$?Eg7D0l$5$s!"$"$j$,$H$&$4$6$$$^$9!#?(B @end ifset @ifset us Kiyotaka Sakai always contributes neat codes. Yoshinari Nomura enhanced functionality of message refile. Mikitomo Ushijima always proofreads my poor English. Keiichi Shima encouraged me to write Info. I very much appreciate. @end ifset

I would like to thank David Worenklein for contributing many codes. I'm grateful to Atsushi Shionozaki, Darren Stalder, and David Worenklein for proofreading my paper. I'd like to acknowledge to Scandinavia guys for their good suggestions.

@ifset jp IM ?$B$N:n@.$K6(NO$7$F$/$l$?GkLn=c0lO:$5$s!"3^865A98$5$s!"CfB<AGE5$5$s!"G5?(B ?$BB<G=@.$5$s!"@>OBB'$5$s!"B@ED1Q7{$5$s!"?(BIM ?$B$r9bB.$K$7$F$/$l$?2NBeOB@5$5$s?(B ?$B$K46<U$7$^$9!#?(BMew ?$B$r?(B OS/2 ?$B$GF0$+$9EXNO$H$?$/$5$s$N%F%9%H$r$7$F$/$l$k1|@>?(B ?$BF#OB$5$s$K$*Ni$r?=$7>e$2$^$9!#?(BMew ?$B$,?(B Win95/WNT ?$B$GF0$/$h$&$K$J$C$?$N$O!"?(B ?$B<g$KKL8}=$0l$5$s$H;38}=$J?$5$s$NEXNO$K$h$k$H$3$m$,Bg$-$$$G$9!#?(BMew ?$B$,?(B XEmacs ?$B$G3Z$7$$$N$O!";{@>M50l$5$s$N$*$+$2$G$9!#?(B @end ifset @ifset us My deep gratitude goes to Jun'ichiro Ito, Yoshiaki Kasahara, Motonori Nakamura, Yoshinari Nomura, Kazunori Nishi, and Hidenori Ohta for their help to create IM. My thank also goes to Kazumasa Utashiro for making IM much faster. I would acknowledge to Fujikazu Okunishi for his contribution on OS/2 area and his comprehensive tests. Significant works to run Mew on Win95/WNT were mostly accomplished by Shuichi Kitaguchi and Shuhei Yamaguchi. Yuuichi Teranishi made Mew funny on XEmacs. @end ifset

@ifset jp Mew ?$B$KBP$78%?HE*$JGr0f=(9T$5$s!"8q9>1QN4$5$s!"$=$7$F8eF#=S0l$5$s$K46<U$7?(B ?$B$^$9!#?(B @end ifset @ifset us I would like to express my thanks to devoted users: Hidetaka Koie, Hideyuki Shirai, and Shun-ichi Goto. @end ifset

@ifset jp Mew ?$B$O$?$/$5$s$N?M$N9W8%$N>e$K@.$jN)$C$F$$$^$9!#$3$3$KL>A0$r5s$2$F$$$J$$?(B ?$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!<?(B ?$B%k$KEz$($k;~4V$,<h$l$^$;$s!#JV;v$,5"$C$FMh$J$+$C$??M$O!"K9$_$^$;$s?(B ?$B$G$7$?!#?(B @end ifset @ifset us Mew is supported by contributions from many users. I'd like to express hearty thanks to those who are not listed here. The author is hell-of-a busy guy, so he cannot afford to respond all Emails. I'm so sorry if you have not received my reply. @end ifset

@c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @c Copyright @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

@node Copyright, Author, Ack, Top @ifset jp @chapter ?$BCx:n8"$K$D$$$F?(B @end ifset @ifset us @chapter Copyright @end ifset

@ifset jp Mew ?$B$O0J2<$NCx:n8"$K=>$$$^$9!#?(B

Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999 Mew developing team.@* All rights reserved.

?$BJQ99$NM-L5$K$+$+$o$i$:!"%=!<%9$*$h$S%P%$%J%j7A<0$N:FG[I[$*$h$SMxMQ$O!"0J?(B ?$B2<$N>r7o$rK~$?$7$F$$$l$P!"$3$l$r5v2D$9$k!#?(B

@enumerate @item ?$B%=!<%9!&%3!<%I$N:FG[I[$O!">e5-$NCx:n8"I=<(!"$3$N>r7o9`L"$*$h$S!"0J2<$N?(B ?$BLH@U;v9`$rJ]B8$7$J$1$l$P$J$i$J$$!#?(B @item ?$B%P%$%J%j7A<0$N:FG[I[$O!">e5-$NCx:n8"I=<(!"$3$N>r7o9`L"$*$h$S!"0J2<$NLH?(B ?$B@U;v9`$r!"$=$NG[I[$KIU?o$9$k@bL@=q!"$"$k$$$O$=$NB>$N;qNA$N$$$:$l$+$KL@5-?(B ?$B$7$J$1$l$P$J$i$J$$!#?(B @item ?$BA0$b$C$FFCJL$K5vBz$rF@$J$$8B$j!"$3$N%=%U%H%&%'%"$+$iGI@8$7$?@=IJ$N?d>)$d?(B ?$BHNGdB%?J$N$?$a$K!"$3$N%A!<%`L>$H9W8%<TC#$NL>A0$rMxMQ$7$F$O$J$i$J$$!#?(B @end enumerate

?$B$3$N%=%U%H%&%'%"$O!V$3$N$^$^$N7A$G!WDs6!$5$l!"L@<(E*$"$k$$$O8@30$NJ]>Z?(B ?$B$O!">&MQMxMQ$*$h$SFCDjLX$NE,9g$KBP$9$k8@30$NJ]>Z$b4^$_!"$^$?$3$l$i?(B ?$B$@$1$K8B$i$:!"B8:_$7$J$$!#$?$H$(0J2<$N$h$&$JB;32$N2DG=@-$r<(:6$5$l$F$$?(B ?$B$?$H$7$F$b!"$I$N$h$&$J7A$K$7$m$3$N%=%U%H%&%'%"$NMxMQ$+$iH/@8$7$?LdBj$K?(B ?$B$*$$$F!"$3$N%A!<%`$H9W8%<TC#$O!"?(B(?$BBeBX@=IJ$d%5!<%S%9$ND4C#?(B; ?$BMxMQ8"!"%G!<?(B ?$B%?!"$"$k$$$OMx1W$NB;<:?(B; ?$B$"$k$$$O1D6H$NCfCG$r4^$`!"$^$?$3$l$i$@$1$K8B$i?(B ?$B$:?(B)?$BD>@K!"4V@K!"6vA3$K!"FCJL$K!"D(H3>e!"$"$k$$$O!"I,A3E*$K@8$8?(B ?$B$F$7$^$C$?B;32$KBP$7@UG$$O$J$/!"$$$+$J$k@UG$M}O@>e$G$b7@Ls$NM-L5$K78$o?(B ?$B$i$:87L)$J@UG$$O$J$/!"$^$??(B(?$B2a<:$"$k$$$O$=$NB>$r4^$`?(B)?$BITK!9T0Y$KBP$7$F$b?(B ?$B@UG$$O$J$$!#?(B @end ifset @ifset us Mew conforms the following copyright.

Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999 Mew developing team.@* All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

@enumerate @item Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. @item Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. @item Neither the name of the team nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. @end enumerate

THIS SOFTWARE IS PROVIDED BY THE TEAM AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE TEAM OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. @end ifset

@ifset jp CD ROM ?$B$KF~$l$FG[I[$7$?$$$H$$$&J}$O!"$G$-$k$@$165$($F2<$5$$!#65$($F$/$l?(B ?$B$J$/$F$bE$^$;$s$,!"65$($FD:$1$k$H$"$j$,$?$$$G$9!#G[I[$rCG$C$?$3$H$O?(B ?$B$"$j$^$;$s!#?(B @end ifset @ifset us If you wish to distribute Mew in CD or something, please let me know. I do not go mad even if you don't tell me but I'm very grad if you do so. I have not declined requirements. @end ifset

@ifset jp ?$B$3$N?(B Info ?$B$NCx:n8"$O!"Cx<T$KB0$7$^$9!#G[I[!"MxMQ6&$K<+M3$G$9$,!"L5J]>Z$G?(B ?$B$9!#$^$?!"$3$N?(B Info ?$B$+$iH/@8$7$?Ho32$KBP$7!"Cx<T$O0l@Z@UG$$rIi$$$^$;$s!#?(B @end ifset @ifset us The copyright of this Info belongs to the author. It is granted to copy, modify, redistribute this Info but no warranty. @end ifset

@c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @c Author @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

@node Author, Terminology, Copyright, Top @ifset jp @chapter ?$BCx<T>R2p?(B @end ifset @ifset us @chapter About the author @end ifset

Kazuhiko YAMAMOTO // Kazu

@ifset jp ?$B;3KI'?(B // ?$B$+$:?(B(?$B$/$s?(B) @end ifset

@ifset jp 1970?$BG/!"Fn$rFz$N>>86$rC9$($k3$4_!"El$r%&%0%$$,1K$0@n!"KL$H@>$r$J$@$i$+$J?(B ?$B;3$K0O$^$l$k;38}8)8w;T$K@8$^$l$k!#Cf3X@8$N$H$-$K1G2h!V%&%)!<%2!<%`!W$r8+?(B ?$B$F%;%-%e%j%F%#$K4X?4$r;}$D!#<+A3$HM7$S$J$,$i!"9b9;$^$G8w;T$G2a$4$9!#?(B @end ifset @ifset us In 1970, Kazu was born at Hikari city, Yamaguchi prefecture, Japan, where is surrounded by a beach with "Rainbow pine forest" in the south, by an abundant river in the east, by gentle mountains in the north and the west. When he was a junior high-school student, he watched the movie "War Game", which made him interested in computer security. He had been grown with beautiful nature at Hikari city until high school. @end ifset

@ifset jp 1988?$BG/!"6e=#Bg3X9)3XItEE5$7OF~3X$N$?$aJ!2,$X!#ET2q$N;&H2$5!"1x$l$?3$!"8@?(B ?$BMU$N0c$$$K6l$7$_$J$,$i$bB46H$^$G;j$k!#?(B3?$BG/@8$N$H$-$K=i$a$FEE;R%a!<%k$K?(?(B ?$B$l!"?(B4?$BG/@8$N$3$m$K%$%s%?!<%M%C%H$K<f$+$l$F$$$/!#?(BSun ?$B$KF~<REOJF$r;n$_$k$,!"?(B ?$BIT9,$K$bJF9q$N%S%6H/9T%]%j%7!<$,87$7$/$J$C$?;~4|$H=E$J$j!"<:GT!#?(B @end ifset @ifset us He was moved to Fukuoka city to take a course of electronic engineering at Kyushu university in 1988. Despite of pain from the urban city, the dirty ocean, and the language barrier, he somehow graduated from the university. Email appeared to him in the third year and the Internet fascinated him through the fourth. The trial to be a employee of Sun Microsystems to visit the US failed because US' visa policy became severe at that time. @end ifset

@ifset jp 1992?$BG/!"6e=#Bg3XBg3X1!9)3X8&5f2J>pJs9)3X@l96$X?J3X!#K3JE*$K%$%s%?!<%M%C?(B ?$B%H$N8&5f$K=>;v!#7PO)@)8f$r@lLg$H$9$k!#%;%-%e%j%F%#$NIa5Z3hF0$r3+;O!#=$;N?(B 2?$BG/$N=U$K!"=q$/=q$/$H8@$C$F$J$+$J$+=q$+$J$+$C$?!V%O%C%T!<%M%C%H%o!<%-%s?(B ?$B%0!W$r%j%j!<%9!#?(B @end ifset @ifset us He took a course of Computer Science and Communication Engineering at the graduate school of Kyushu university in 1992. The specialty was Internet routing. He started to make security knowledge and technology widely spread to the Japan portion of the Internet community. He finally released "Happy Networking", one of the most popular beginner's guide of the Internet, in the spring of 1993. @end ifset

@ifset jp 1994?$BG/!"F`NI@hC<2J3X5;=QBg3X1!Bg3X$K=u<j$H$7$F="G$!#Ls?(B4?$BG/$NBg3X6541@83h?(B ?$BCf$K!"?(BMew ?$B$N3+H/$K<h$jAH$`!#!V<c$$$&$A$K%W%m%0%i%`$r=q$3$&!"650i$O:P$r$H$C?(B ?$B$F$+$i$b$G$-$k$h$M!W$H$$$&7kO@$K;j$j!"?(B1998?$BG/?(B IIJ ?$B5;=Q8&5f=j$K?7$?$J8&5f?(B ?$B4D6-$r5a$a$?!#?(B @end ifset @ifset us He moved to Nara Institute of Science and Technology as a research associate in 1994. During the four years of faculty life, he developed Mew. Since he reached a conclusion that he should concentrate on programming in young days and it's possible to educate students when he will became older, he moved to IIJ Research Laboratory in 1998. @end ifset

@ifset jp ?$B8&5fJ,Ln?(B :: ?$B%a%C%;!<%8!&%7%9%F%`!"?(BIP version 6@* ?$B$R$H$3$H?(B :: ?$B!V$&$^$/@bL@$G$-$J$$$b$N$O!"K<AE*$KM%$l$F$$$J$$!W?(B@* ?$B$U$?$3$H?(B :: ?$B!VM%$7$$$b$N$,M%$l$F$$$k!W?(B @end ifset @ifset us Research areas: Messaging system, IP version 6@* Favorite words: "Challenges start everyday."@* Favorite words: "Living is learning. Giving is taking." @end ifset

Email: Kazu@@Mew.org@* URL: http://www.mew.org/~kazu/@* PGP fingerprint: 6B 63 38 88 67 5E 96 8E CE A4 62 73 3F 11 64 94@*

@c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @c Terminology @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

@node Terminology, Bib, Author, Top @ifset jp @chapter ?$BMQ8l=8?(B @end ifset @ifset us @chapter Terminology @end ifset

@ifset jp Mew ?$B$G;H$&C18l$r$^$H$a$^$9!#?(B @end ifset @ifset us Here is terminology for Mew. @end ifset

@table @samp @ifset jp @item ?$B%U%)%k%@?(B ?$B<u$1<h$C$?%a%C%;!<%8$rJ]B8$9$k%U%!%$%k$d%G%#%l%/%H%j?(B @item Summary ?$B%b!<%I?(B ?$B%a%C%;!<%8$N0lMw$rI=<($9$k%b!<%I?(B @item Message ?$B%b!<%I?(B ?$B%F%-%9%H%a%C%;!<%8$NFbMF$rI=<($9$k%b!<%I?(B @item Draft ?$B%b!<%I?(B ?$B%a%C%;!<%8$r=q$$$?$j!":n@.$7$?$j$9$k%b!<%I?(B @item MIME ?$BKJ8$K%F%-%9%H0J30$N%*%V%8%'%/%H$r3JG<$7$?$j!"%X%C%@$KHs?(B ASCII ?$BJ8;z$rA^?(B ?$BF~$7$?$j$G$-$k5,3J!#?(BMIME ?$B$r;H$($P!"KJ8$K%F%-%9%H!"3(!"2;@<$J$I$rF1;~$K?(B ?$B<h$j9~$a!"$^$?!"?(BSubject: ?$B$KF|K8l$r=q$1$k!#?(BMultipurpose Internet Mail Extensions ?$B$NN,>N$G!"!VB?La!<%k!W$H8F$V$3$H$,$"$k!#?(B ?$B>$/$O!"?(B@xref{MIME} ?$B$r;2>H!#?(B @item PGP Phil Zimmermann ?$B;a$,:n@.$7$?0E9f%a%C%;!<%8$dEE;R=pL>$r<B8=$9$k%W%m%0%i%`!#?(B Pretty Good Privacy ?$B$NN,!#?(B @item ?$B%K%e!<%9?(B ?$B%M%C%H%K%e!<%9!"$"$k$$$O!"?(BUSENET ?$B%K%e!<%9$N$3$H!#?(B @item ?$B%a%C%;!<%8?(B ?$BEE;R%a!<%k$d%K%e!<%9!"$"$k$$$O!"?(BMIME ?$B$J$I$NAm>N!#%$%s%?!<%M%C%H%a%C%;!<?(B ?$B%8$N>JN,8l!#?(B @end ifset @ifset us @item folder Directories to save received messages. @item Summary mode A mode to display a list of messages. @item Message mode A mode to display a content of a text message. @item Draft mode A mode to write or compose a message. @item MIME A format to contain objects other than text in a body and to embed non-alphabetical words in a header. With MIME you can enclose text files, picture files and audio files at the same time, and insert your first language such as Japanese into Subject:. It is an acronym of "Multipurpose Internet Mail Extensions". For more information, please refer to @xref{MIME}. @item PGP A program to accomplish encrypted message and digital signature created by Phil Zimmermann. An acronym for "Pretty Good Privacy". @item composer An interface to write or compose a message. Regarding with Mew, it is Draft mode. @item viewer An interface to read or view messages. As far as Mew is concerned, it is Summary mode and Message mode. @item Email A short word for "electronic mail". @item NetNews It was also known as "USENET news". @item message An integrated concept of Email, NetNews, MIME, etc. A short word of "Internet message". @end ifset @end table

@c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @c Bib @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

@node Bib, Variable Index, Terminology, Top @ifset jp @chapter ?$B;29MJ88%?(B @end ifset @ifset us @chapter Bibliography @end ifset

@ifset jp ?$B$3$3$G$O!";29MJ88%$r>R2p$7$^$9!#?(BRFC(Request For Comments) ?$B$O!"%$%s%?!<%M%C?(B ?$B%H$GCN<1$r6&M-$9$k$?$a$K=q$+$l$?J88%$G$9!#$?$H$($P!"0J2<$N%5%$%H$+$iF~<j?(B ?$B$G$-$^$9!#?(B @end ifset @ifset us This section shows you bibliography. RFC(Request For Comments) is a series of documents to share our knowledge about the Internet Protocol suite. It is available, for instance, from the following repository. @end ifset

@example ftp://ftp.isi.edu/in-notes/ @end example

@ifset jp ?$B%$%s%?!<%M%C%H$G$N%^%J!<$O!"0J2<$N?(B RFC ?$B$rFI$s$G3X$s$G2<$5$$!#?(B @end ifset @ifset us Please read the following RFC to learn manner on the Internet. @end ifset

@itemize @bullet @item S. Hambridge, "Netiquette Guidelines", RFC 1855, 1995 @end itemize

@ifset jp ?$B@N$N%F%-%9%H!&%a!<%k$N=q<0$dG[Aw$N;EAH$_$O0J2<$N?(B RFC ?$B$r;2>H$7$^$7$g$&!#?(B @end ifset @ifset us To understand the format of good old text Email and the delivery system, please refer to: @end ifset

@itemize @bullet @item D. Crocker, "Standard for the format of ARPA Internet text messages", RFC 822, 1982 @item J. Postel, "Simple Mail Transfer Protocol", RFC 821, 1982 @end itemize

@ifset jp MIME ?$B$K$D$$$F$O!"0J2<$N?(B RFC ?$B$rFI$s$G2<$5$$!#?(B @end ifset @ifset us MIME is specified in the following RFCs. @end ifset

@itemize @bullet @item N. Freed and N. Borenstein, "Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies", RFC 2045, 1996. @item N. Freed and N. Borenstein, "Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types" RFC 2046, 1996. @item K. Moore, "MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header Extensions for Non-ASCII Text", RFC 2047, 1996. @item N. Freed, J. Klensin and J. Postel, "Multipurpose Internet Mail Extensions (MIME) Part Four: Registration Procedures", RFC 2048, 1996. @item N. Freed and N. Borenstein, "Multipurpose Internet Mail Extensions (MIME) Part Five: Conformance Criteria and Examples", RFC 2049, 1996. @item R. Troost, S. Dorner, K. Moore, "Communicating Presentation Information in Internet Messages: The Content-Disposition Header Field", RFC 2183, 1997. @item N. Free and K. Moore, "MIME Parameter Value and Encoded Word Extensions: Character Sets, Languages, and Continuations", RFC 2231, 1997. @end itemize

@ifset jp ?$B%K%e!<%9$N=q<0$HG[Aw%W%m%H%3%k$O!"0J2<$N?(B RFC ?$B$GDj5A$5$l$F$$$^$9!#?(B @end ifset @ifset us You can find the format and distribution protocol of NetNews in the following RFCs. @end ifset

@itemize @bullet @item M. Horton and R. Adams, "Standard for interchange of USENET messages", RFC 1036, 1987. @item B. Kantor and P. Lapsley, "Network News Transfer Protocol: A Proposed Standard for the Stream-Based Transmission of News", RFC 977, 1986. @end itemize

@ifset jp PGP ?$B$r3X$V$J$i!"0J2<$N=q@R$,$$$$$G$7$g$&!#?(B @end ifset @ifset us The following document contains concise yet comprehensive explanations about PGP. @end ifset

@itemize @bullet @item PGP: Petty Good Privacy, Simson Garfinkel, O'Reilly & Associates, Inc, 1995. @ifset jp (?$BLu=q?(B:: "PGP ?$B0E9f%a!<%k$HEE;R=pL>?(B", Simson Garfinkel ?$BCx?(B, ?$B;3KI'?(B ?$B4FLu?(B, ?$B3t<02q<R%*%i%$%j!<%8%c%Q%s?(B, 1996.) @end ifset @end itemize

@ifset jp PGP ?$B$H?(B MIME ?$B$NE}9g$K$D$$$F$O!"0J2<$r;2>H$7$F2<$5$$!#?(B @end ifset @ifset us For details of an integration of PGP and MIME, please refer to: @end ifset

@itemize @bullet @item J. Galvin, S. Murphy, S. Crocker and N. Freed, "Security Multiparts for MIME: Multipart/Signed and Multipart/Encrypted", RFC 1847, 1995. @item M. Elkins, "MIME Security with Pretty Good Privacy (PGP)", RFC 2015, 1996. @end itemize

@ifset jp ?$B%a!<%k$N4pACCN<1$O!"?(BMew ?$B%K%e!<%9%l%?!<$K$^$H$a$i$l$F$$$^$9!#?(B http://www.Mew.org/ ?$B$r;2>H$7$F2<$5$$!#?(B @end ifset

@c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @c Variable Index @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

@node Variable Index, , Bib, Top @ifset jp @chapter ?$BJQ?t:w0z?(B @end ifset @ifset us @chapter Variable Index @end ifset

@printindex vr

@c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @c Tailer @c %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

@shortcontents @contents @bye