1. xemacs
  2. tm

Source

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

<!doctype sinfo system>
<!-- $Id$ -->
<head>
<title>tm-mh-e 7.71 $B@bL@=q!JF|K\8lHG!K(B
<author>$B<i2,(B $BCNI'(B <mail>morioka@jaist.ac.jp</mail>
<date>1996/10/15

<toc>
</head>

<body>

<abstract>
<p>
This file documents tm-mh-e, a MIME extension for GNUS.
<p>
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$^(B
$B$9!#(B
</abstract>


<h1> tm-mh-e $B$C$F2?!)(B
<node> Introduction
<p>
<concept>tm-mh-e</concept> $B$O(B <a file="tm-ja" node="tm-kernel">tm</a> 
$B$r;H$C$F(B <a file="mh-e">mh-e</a> $B$N(B <dref file="tm-ja">MIME</dref> $B5!(B
$BG=$r6/2=$9$k$?$a$N(B package $B$G$9!#(B
<p>
tm-mh-e $B$K$h$C$F6/2=$5$l$k5!G=$O<!$NDL$j$G$9!'(B

<ul>
<li><a file="tm-view-ja">tm-view</a> $B$r;H$C$?(B automatic MIME preview
<li><a file="tm-edit-ja">tm-edit</a> $B$r;H$C$?(B MIME message $B$N:n@.(B
</ul>


<h1> MH-Folder mode $B$K3HD%$5$l$k5!G=(B
<node> mh-folder-mode
<p>
<kl>
<kt>M-t
<kd>
automatic MIME preview $B$r9T$J$&$+$I$&$+$N(B toggle
</kd>
<kt>v
<kd><code>mime/viewer-mode</code> $B$KF~$j!"(BMIME message $B$rA`:n$9$k(B
</kd>
<kt>.
<kd>
message $B$rI=<($9$k(B
</kd>
<kt>,
<kd>
$BA4$F$N(B field $B$rI=<($7$?>uBV$G!"(Bmessage $B$rI=<($9$k(B
</kd>
<kt>M-,
<kd>
automatic MIME preview $B$r9T$&A0$N@8$N(B message $B$rI=<($9$k(B
</kl>

<p>
<dref file="tm-view-ja">mime/viewer-mode</dref> $B$O(B MIME message $B$r1\Mw(B
$B$9$k$?$a$N(B mode $B$G!"(Bmessage $B$NCf$r0\F0$7$?$j!"BPOCE*$K(B message $B$NCf$N(B
$B3F(B content $B$r:F@8$7$?$j$9$k$3$H$,$G$-$^$9!#(B


<h1> MIME message $B$N(B inline $BI=<((B
<node> Automatic MIME Preview
<p>
tm-mh-e $B$G$O(B <concept>automatic MIME preview</concept> $B5!G=$rMxMQ$9$k(B
$B$3$H$,$G$-$^$9!#$3$N5!G=$r;H$&$H(B <a file="mh-e" node="Reading Mail">
MH-Folder mode</a> $B$G5-;v$rFI$`;~!"DL>oI=<($5$l$k(B show buffer $B$NBe$o$j(B
$B$K(B <a file="tm-view-ja">tm-view</a> $B$G=hM}$5$l$?(B preview buffer $B$rI=<((B
$B$7$^$9!#(B
<p>
<p>
$B$3$N$?$a!"(B<dref file="tm-ja">Quoted-Printable</dref> $B$d(B <dref
file="tm-ja">Base64</dref> $B$G(B encode $B$5$l$?5-;v$r(B decode $B$7$FI=<($9$k(B
$B$3$H$,$G$-$^$9!#$"$k$$$O!"(B<dref file="tm-ja">text/enriched</dref> $B7A<0(B
$B$N$h$&$J=qBN$dAHHG$K4X$9$k>pJs$r;}$C$?5-;v$r@07A$7$FI=<($G$-$^$9!#EvA3(B
$B$N$3$H$J$,$i!"(B<dref file="tm-ja">multipart</dref> $B$N5-;v$b@5$7$/=hM}$G(B
$B$-$^$9!#(B
<p>
$B$^$?!"(B<concept>XEmacs</concept> $B$G$O(B text $B$HF1MM$K3($b(B preview buffer 
$BFb$GI=<($9$k$3$H$,$G$-$^$9!#(B
<p>
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 <dref file="tm-ja">ftp</dref> $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$NCf$KF~$C$F:F@8(B command $B$r<B9T$7$?;~$N$_:F@8$5$l$^$9!#(B
<p>
$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 name="tm-mh-e/automatic-mime-preview">
<p>
<code>nil</code> $B$G$J$$>l9g!"(Bautomatic MIME preview $B$r9T$$$^$9!#(B
</defvar>


<h1> $B9q:]2=(B
<node> mule
<p>
<a file="tm-ja" node="mule">MULE</a>, XEmacs/mule, $B$*$h$S!"(Bmule $BE}9gHG(B 
Emacs (*1) $B$J$I$N(B mule $B5!G=$r;}$C$?(B emacs $B$G$O(B <dref file="tm-ja">MIME
charset</dref> $B$*$h$S!"Hs(B MIME message/part $B$KBP$9$k(B newsgroup $BKh$K;X(B
$BDj$5$l$?(B <code>default-mime-charset</code> $B$G$N(B code $BJQ49$,9T$o$l$^$9!#(B

<memo>
(*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
</memo>

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

<ol>
<li>
$B$b$7!"$"$k(B MIME message $B$N$"$k(B part $B$,(B <dref file="tm-ja">Content-Type
field</dref> $B$K(B charset parameter $B$r;}$C$F$$$l$P!"$=$N(B MIME charset $B$r(B
$BMQ$$$F(B code $BJQ49$r9T$&!#(B
<p>
<li>
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</code> $B$NCM$G(B code $BJQ49(B
$B$5$l$k!#(B
</ol>


<h2> MTA $B$G(B code $BJQ49$r9T$C$F$$$k>l9g(B
<node> evil environment
<p>
<dref file="tm-ja">MTA</dref> $B$G(B EUC $B$d(B Shift_JIS $B$J$I$K(B code $BJQ49$7$F(B
$B$$$k>l9g!"(Btm-mh-e $B$N(B default $B$N@_Dj$G$OJ8;z2=$1$7$^$9!#$O$C$-$j8@$C$F!"(B
$B$3$&$7$?$3$H$r9T$J$&$3$H$O$"$^$j4+$a$i$l$?$3$H$G$O$J$$$G$9!#(BMIME$B$N(B 
charset $B@k8@$,$*$+$7$/$J$k$[$+$K!"EE;R=qL>$,$*$+$7$/$J$k$J$I!"$5$^$6$^(B
$B$JJ@32$,$"$j$^$9!#(B
<p>
$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(B
$B$$$J$i4IM}<T$r@bF@$7$^$7$g$&!#$^$?!"6H<T$,$=$&$$$&@_Dj$r$7$J$$$h$&$KCm(B
$BJ8$7$^$7$g$&!#J9$/$H$3$m$K$h$k$H!"$=$&$$$&@_Dj$r$9$k8+<1$N$J$$(B WS
maker $B$,$"$k$=$&$G$9$,!"(BSE $B$K$$$C$F$=$&$$$&@_Dj$r$5$;$J$$$h$&$K$7$^$7$g(B
$B$&!#$^$?!"$I$&$7$F$bJ9$+$J$$$J$i$=$&$$$&6H<T$H$O1o$r@Z$j$^$7$g$&!#(B
<p>
$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


<h3> $BHs(B MIME message $B$^$?$O(B charset $B$,B8:_$7$J$$>l9g$N$_$NBP:v(B
<p>
$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)
</lisp>

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


<h3> MIME charset $B$,B8:_$9$k>l9g$b4^$a$?BP:v(B
<p>
<dref file="tm-ja">MIME charset</dref> $B$,B8:_$9$k>l9g!"JQ?t(B 
<code>mime-charset-coding-system-alist</code> $B$K(B 
<code>iso-2022-jp</code> $B$KBP1~$9$k(B coding-system $B$r(B 
<code>*sjis*</code> $B$d(B <code>*euc-japan*</code> $BEy$NJQ49$5$l$?(B code $B$K(B
$BJQ$($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
<p>
$B$3$N$3$H$r9MN8$9$k$H!"4X?t(B <code>tm-mh-e/decode-charset-buffer</code> 
$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 &amp;optional encoding)
  (decode-mime-charset-region (point-min)(point-max) 'euc-japan)
  )
</lisp>


<h1> MIME message $B$N:n@.(B
<node> MIME-Edit
<p>
<dref file="tm-ja">mime-setup</dref> $B$r;H$C$F$$$k>l9g!"(B<a file="mh-e"
node="Draft Editing">MH-Letter mode</a> $B$K$*$$$F!"(B<a
file="tm-edit-ja">tm-edit</a> $B$rMQ$$$?(B MIME message $B$N:n@.$r9T$&$3$H$,(B
$B$G$-$^$9!#(B
<p>
$B$^$?!"(BMH-Folder mode $B$G(B <kbd>f</kbd> $B$r2!$9$H!"(B<dref file="tm-ja">RFC
934</dref> $B$K$h$k(B forward $B$NBe$j$K(B <dref
file="tm-ja">message/rfc822</dref> $B7A<0$K$h$k(B forward $B$,9T$($^$9!#(B


<h1> $B35G0:w0z(B
<node> Concept Index

<cindex>


<h1> $BJQ?t:w0z(B
<node> Variable Index

<vindex>

</body>