Source

tm / texi / tm-mh-e-ja.texi

Full commit
\input texinfo.tex
@setfilename tm-mh-e-ja.info
@settitle{tm-mh-e 7.71 $B@bL@=q!JF|K\8lHG!K(B}
@direntry
* Tm-Mh-E-Ja::            MIME extension for MH-E mail reader ($BF|K\8lHG(B)
@end direntry
@titlepage
@title tm-mh-e 7.71 $B@bL@=q!JF|K\8lHG!K(B
@author $B<i2,(B $BCNI'(B <morioka@@jaist.ac.jp>
@subtitle 1996/10/15
@end titlepage
@node Top, Introduction, (dir), (dir)
@top tm-mh-e 7.71 $B@bL@=q!JF|K\8lHG!K(B

@ifinfo

This file documents tm-mh-e, a MIME extension for GNUS.@refill

mh-e $B$G(B MIME $B$r3Z$7$`$?$a$N(B package $B$G$"$k(B `tm-mh-e' $B$K$D$$$F@bL@$7$^$9!#(B
@end ifinfo

@menu
* Introduction::                tm-mh-e $B$C$F2?!)(B
* mh-folder-mode::              MH-Folder mode $B$K3HD%$5$l$k5!G=(B
* Automatic MIME Preview::      MIME message $B$N(B inline $BI=<((B
* mule::                        $B9q:]2=(B
* MIME-Edit::                   MIME message $B$N:n@.(B
* Concept Index::               $B35G0:w0z(B
* Variable Index::              $BJQ?t:w0z(B
@end menu

@node Introduction, mh-folder-mode, Top, Top
@chapter tm-mh-e $B$C$F2?!)(B
@cindex tm-mh-e

@strong{tm-mh-e} $B$O(B tm (@ref{(tm-ja)tm-kernel}) $B$r;H$C$F(B mh-e
(@ref{(mh-e)}) $B$N(B MIME (@ref{(tm-ja)MIME}) $B5!G=$r6/2=$9$k$?$a$N(B package 
$B$G$9!#(B@refill

tm-mh-e $B$K$h$C$F6/2=$5$l$k5!G=$O<!$NDL$j$G$9!'(B

@itemize @bullet
@item
tm-view (@ref{(tm-view-ja)}) $B$r;H$C$?(B automatic MIME preview
@item
tm-edit (@ref{(tm-edit-ja)}) $B$r;H$C$?(B MIME message $B$N:n@.(B
@end itemize



@node mh-folder-mode, Automatic MIME Preview, Introduction, Top
@chapter MH-Folder mode $B$K3HD%$5$l$k5!G=(B

@table @kbd
@item @key{M-t}
automatic MIME preview $B$r9T$J$&$+$I$&$+$N(B toggle

@item @key{v}
@code{mime/viewer-mode} $B$KF~$j!"(BMIME message $B$rA`:n$9$k(B

@item @key{.}
message $B$rI=<($9$k(B

@item @key{,}
$BA4$F$N(B field $B$rI=<($7$?>uBV$G!"(Bmessage $B$rI=<($9$k(B

@item @key{M-,}
automatic MIME preview $B$r9T$&A0$N@8$N(B message $B$rI=<($9$k(B

@end table


mime/viewer-mode (@ref{(tm-view-ja)mime/viewer-mode}) $B$O(B MIME message $B$r(B
$B1\Mw$9$k$?$a$N(B mode $B$G!"(Bmessage $B$NCf$r0\F0$7$?$j!"BPOCE*$K(B message $B$NCf(B
$B$N3F(B content $B$r:F@8$7$?$j$9$k$3$H$,$G$-$^$9!#(B


@node Automatic MIME Preview, mule, mh-folder-mode, Top
@chapter MIME message $B$N(B inline $BI=<((B
@cindex XEmacs
@cindex automatic MIME preview

tm-mh-e $B$G$O(B @strong{automatic MIME preview} $B5!G=$rMxMQ$9$k$3$H$,$G$-$^(B
$B$9!#$3$N5!G=$r;H$&$H(B MH-Folder mode (@ref{(mh-e)Reading Mail}) $B$G5-;v$r(B
$BFI$`;~!"DL>oI=<($5$l$k(B show buffer $B$NBe$o$j$K(B tm-view
(@ref{(tm-view-ja)}) $B$G=hM}$5$l$?(B preview buffer $B$rI=<($7$^$9!#(B@refill


$B$3$N$?$a!"(BQuoted-Printable (@ref{(tm-ja)Quoted-Printable}) $B$d(B Base64
(@ref{(tm-ja)Base64}) $B$G(B encode $B$5$l$?5-;v$r(B decode $B$7$FI=<($9$k$3$H$,$G(B
$B$-$^$9!#$"$k$$$O!"(Btext/enriched (@ref{(tm-ja)text/enriched}) $B7A<0$N$h$&(B
$B$J=qBN$dAHHG$K4X$9$k>pJs$r;}$C$?5-;v$r@07A$7$FI=<($G$-$^$9!#EvA3$N$3$H$J(B
$B$,$i!"(Bmultipart (@ref{(tm-ja)multipart}) $B$N5-;v$b@5$7$/=hM}$G$-$^$9!#(B

$B$^$?!"(B@strong{XEmacs} $B$G$O(B text $B$HF1MM$K3($b(B preview buffer $BFb$GI=<($9$k(B
$B$3$H$,$G$-$^$9!#(B@refill

metamail $B$r;H$C$?>l9g$H0[$J$j!"2;$NF~$C$?5-;v$rFI$s$@$H$?$s!"$$$-$J$j!"(B
$B2;$,LD$j=P$7$?$j!"(Bvideo $B$NF~$C$?5-;v$rFI$`$?$S$K(B video $B$,:F@8$5$l$?$j!"(B
anonymous ftp (@ref{(tm-ja)ftp}) $B$d(B mail-server $B$rMxMQ$7$?(B 
external-message $B$NF~$C$?5-;v$rFI$`$?$S$K(B anonymous ftp $B$r<B9T$7$?$j!"(B
mail $B$rAw$C$?$j$9$k$3$H$,KI$2$^$9!#$3$&$7$?(B content $B$O(B preview buffer $B$N(B
$BCf$KF~$C$F:F@8(B command $B$r<B9T$7$?;~$N$_:F@8$5$l$^$9!#(B@refill

$B$7$+$7$J$,$i!"CY$$(B machine $B$r;H$C$F$$$F!"(BMIME $B=hM}$N(B overhead $B$,5$$K$J(B
$B$k>l9g!"(Bautomatic MIME preview $B$rM^;_$9$k$3$H$,$G$-$^$9!#(B


@defvar tm-mh-e/automatic-mime-preview

@code{nil} $B$G$J$$>l9g!"(Bautomatic MIME preview $B$r9T$$$^$9!#(B
@end defvar



@node mule, MIME-Edit, Automatic MIME Preview, Top
@chapter $B9q:]2=(B

MULE (@ref{(tm-ja)mule}), XEmacs/mule, $B$*$h$S!"(Bmule $BE}9gHG(B Emacs (*1) $B$J(B
$B$I$N(B mule $B5!G=$r;}$C$?(B emacs $B$G$O(B MIME charset (@ref{(tm-ja)MIME charset}) $B$*$h$S!"Hs(B MIME message/part $B$KBP$9$k(B newsgroup $BKh$K;XDj$5$l$?(B 
@code{default-mime-charset} $B$G$N(B code $BJQ49$,9T$o$l$^$9!#(B

@noindent
@strong{[Memo]}
@quotation
(*1) 1996 $BG/(B 10 $B7n8=:_!"H>ED(B $B7u0l(B $B;a$H(B RMS $B;a$,3+H/Cf$N(B Emacs $B$G!"(BMULE
$B$N5!G=$N$&$A!"B?8@8l2=$H9q:]2=$K4X$9$k5!G=$,(B merge $B$5$l$?$b$N$r;X$7$F(B
$B$$$^$9!#(B
@end quotation


$B6qBNE*$K$O!"(Bcode $BJQ49$O<!$N$h$&$K9T$o$l$^$9!'(B

@enumerate
@item
$B$b$7!"$"$k(B MIME message $B$N$"$k(B part $B$,(B Content-Type field
(@ref{(tm-ja)Content-Type field}) $B$K(B charset parameter $B$r;}$C$F$$$l$P!"(B
$B$=$N(B MIME charset $B$rMQ$$$F(B code $BJQ49$r9T$&!#(B

@item
message header $B$dHs(B MIME message $B$J$I!"(Bcharset $B$,@k8@$5$l$F$$$J$$>l9g!"(B
Summary Buffer $B>e$N(B @code{default-mime-charset} $B$NCM$G(B code $BJQ49(B
$B$5$l$k!#(B
@end enumerate



@menu
* evil environment::            MTA $B$G(B code $BJQ49$r9T$C$F$$$k>l9g(B
@end menu

@node evil environment,  , mule, mule
@section MTA $B$G(B code $BJQ49$r9T$C$F$$$k>l9g(B

MTA (@ref{(tm-ja)MTA}) $B$G(B EUC $B$d(B Shift_JIS $B$J$I$K(B code $BJQ49$7$F$$$k>l9g!"(B
tm-mh-e $B$N(B default $B$N@_Dj$G$OJ8;z2=$1$7$^$9!#$O$C$-$j8@$C$F!"$3$&$7$?$3(B
$B$H$r9T$J$&$3$H$O$"$^$j4+$a$i$l$?$3$H$G$O$J$$$G$9!#(BMIME$B$N(B charset $B@k8@$,(B
$B$*$+$7$/$J$k$[$+$K!"EE;R=qL>$,$*$+$7$/$J$k$J$I!"$5$^$6$^$JJ@32$,$"$j$^$9!#(B

$B$h$C$F!"$b$7!"$"$J$?$,4IM}<T$G$3$&$$$&@_Dj$r$7$F$$$k$N$G$"$l$PB(9o$d$a$^(B
$B$7$g$&!#$^$?!"$I$&$7$F$b$=$&$$$&$3$H$r$7$?$$$N$J$i(B user $B$,(B MTA $B$G$N(B code 
$BJQ49$r$d$a$i$l$k$h$&$JJ}K!$K$7$^$7$g$&!#$^$?!"$"$J$?$,4IM}<T$G$J$$$J$i4I(B
$BM}<T$r@bF@$7$^$7$g$&!#$^$?!"6H<T$,$=$&$$$&@_Dj$r$7$J$$$h$&$KCmJ8$7$^$7$g(B
$B$&!#J9$/$H$3$m$K$h$k$H!"$=$&$$$&@_Dj$r$9$k8+<1$N$J$$(B WS maker $B$,$"$k$=$&(B
$B$G$9$,!"(BSE $B$K$$$C$F$=$&$$$&@_Dj$r$5$;$J$$$h$&$K$7$^$7$g$&!#$^$?!"$I$&$7(B
$B$F$bJ9$+$J$$$J$i$=$&$$$&6H<T$H$O1o$r@Z$j$^$7$g$&!#(B@refill

$B$7$+$7!"$"$J$?$,IT9,$K$7$F$I$&$7$F$b$3$&$$$&4D6-$G;H$o$6$k$rF@$J$$$N$G(B
$B$"$l$P!"0J2<$N5-=R$r;29M$K$7$F$/$@$5$$!#(B


@subsection $BHs(B MIME message $B$^$?$O(B charset $B$,B8:_$7$J$$>l9g$N$_$NBP:v(B

$BHs(B MIME message $B$N>l9g!"JQ?t(B default-mime-charset $B$KJ8;z(B code $B$r@_Dj$9(B
$B$l$P(B OK $B$G$9!#Nc$($P!"F|K\8l(B EUC $B$N>l9g$O(B

@lisp
(setq default-mime-charset 'euc-japan)
@end lisp

@noindent
$B$H$7$F2<$5$$!#(B


@subsection MIME charset $B$,B8:_$9$k>l9g$b4^$a$?BP:v(B

MIME charset (@ref{(tm-ja)MIME charset}) $B$,B8:_$9$k>l9g!"JQ?t(B 
@code{mime-charset-coding-system-alist} $B$K(B @code{iso-2022-jp} $B$KBP1~$9$k(B 
coding-system $B$r(B @code{*sjis*} $B$d(B @code{*euc-japan*} $BEy$NJQ49$5$l$?(B code 
$B$KJQ$($k$H$$$&$N$,#1$D$NJ}K!$G$9!#C"$7!"$3$N>l9g!"(Bencode $B$5$l$F85$NJ8;z(B 
code $B$,J]B8$5$l$F$$$k>l9g$KJ8;z2=$1$9$k$3$H$K$J$j$^$9!#(B@refill

$B$3$N$3$H$r9MN8$9$k$H!"4X?t(B @code{tm-mh-e/decode-charset-buffer} 
$B$r:FDj5A$9$k$N$,NI$$$H$$$($^$9!#$*$=$i$/!"(Biso-2022-jp $B0J30$NJ8;z(B code 
$B$OJ]B8$5$l$J$$$G$7$g$&$+$i!"Nc$($PF|K\8l(B EUC $B$KJQ49$5$l$F$$$k>l9g!"0J(B
$B2<$N$h$&$JDj5A$G==J,$G$7$g$&!#(B

@lisp
(defun tm-mh-e/decode-charset-buffer (charset &optional encoding)
  (decode-mime-charset-region (point-min)(point-max) 'euc-japan)
  )
@end lisp



@node MIME-Edit, Concept Index, mule, Top
@chapter MIME message $B$N:n@.(B

mime-setup (@ref{(tm-ja)mime-setup}) $B$r;H$C$F$$$k>l9g!"(BMH-Letter mode
(@ref{(mh-e)Draft Editing}) $B$K$*$$$F!"(Btm-edit (@ref{(tm-edit-ja)}) $B$rMQ(B
$B$$$?(B MIME message $B$N:n@.$r9T$&$3$H$,$G$-$^$9!#(B@refill

$B$^$?!"(BMH-Folder mode $B$G(B @kbd{f} $B$r2!$9$H!"(BRFC 934 (@ref{(tm-ja)RFC 934}) 
$B$K$h$k(B forward $B$NBe$j$K(B message/rfc822 (@ref{(tm-ja)message/rfc822}) $B7A(B
$B<0$K$h$k(B forward $B$,9T$($^$9!#(B


@node Concept Index, Variable Index, MIME-Edit, Top
@chapter $B35G0:w0z(B

@printindex cp

@node Variable Index,  , Concept Index, Top
@chapter $BJQ?t:w0z(B

@printindex vr
@bye