view man/tm/gnus-mime-ja.sgml @ 8:4b173ad71786 r19-15b5

Import from CVS: tag r19-15b5
author cvs
date Mon, 13 Aug 2007 08:47:35 +0200
parents
children 49a24b4fd526
line wrap: on
line source

<!doctype sinfo system>
<!-- $Id: gnus-mime-ja.sgml,v 1.1 1996/12/22 00:09:31 steve Exp $ -->
<head>
<title>gnus-mime 0.10 $B@bL@=q!JF|K\8lHG!K(B
<author>$B<i2,(B $BCNI'(B <mail>morioka@jaist.ac.jp</mail>
<date>1996/10/21

<toc>
</head>

<body>
    
<abstract>
<p>
This file documents gnus-mime, a MIME extension for Gnus.
<p>
tm $B$r;H$C$F(B Gnus $B$N(B MIME $B5!G=$r6/2=$9$k$?$a$N(B package $B$G$"$k(B 
`gnus-mime' $B$K$D$$$F@bL@$7$^$9!#(B
</abstract>

    
<h1> gnus-mime $B$C$F2?!)(B
<node> Introduction
<p>
<concept>gnus-mime</concept> $B$O(B <a file="tm-ja"
node="tm-kernel">tm</a> $B$r;H$C$F(B <a file="gnus">Gnus</a> $B$N(B <dref
file="tm-ja">MIME</dref> $B5!G=$r6/2=$9$k$?$a$N(B package $B$G$9!#(B

<memo title="$BCm0U(B">
<p>
gnus-mime $B$O(B Gnus $B@lMQ$G$9!#(BGNUS $B$K$O(B <a file="tm-gnus_ja">tm-gnus</a> 
$B$r;H$$$^$9!#(B
</memo>

<p>
gnus-mime $B$r;H$&$H(B <a file="tm-view-ja"> tm-view</a> $B$rMQ$$$F(B 
<code>"*Article*"</code> buffer $B$G(B MIME preview $B$r9T$&$3$H$,$G$-$^$9!#(B
$BFC$K!"(BXEmacs $B$G$O!"(Btext $B$HF1MM$K!"3($b(B inline $BI=<($r$9$k$3$H$,$G$-$^$9!#(B
<p>
$B$^$?!"(B<a file="tm-ja" node="mule"> MULE</a>, XEmacs/mule, mule $BE}9gHG(B 
Emacs $B$G$OB?8@8l!&9q:]2=5!G=$,(B support $B$5$l!"(BMIME message $B$KBP$9$k(B 
charset $B$N(B support, $BHs(B MIME message $B$KBP$9$k(B Newsgroup $BKh$N(B 
default-mime-charset $B$N;XDj$r9T$&$3$H$,$G$-$^$9!#(B
<p>
$B$^$?!"(Boriginal $B$N(B Gnus $B$G$O(B <dref file="tm-ja">iso-8859-1</dref> $B$N(B Q
encoding $B$N(B <dref file="tm-ja">encoded-word</dref> $B$N(B decode $B$7$+(B 
support $B$5$l$^$;$s$,!"(Bgnus-mime $B$G$O!"(B<dref
file="tm-ja">iso-8859-2</dref>, <dref file="tm-ja">iso-8859-3</dref>,
..., <dref file="tm-ja">iso-2022-jp</dref>, <dref
file="tm-ja">euc-kr</dref>, <dref file="tm-ja">iso-2022-kr</dref>,
<dref file="tm-ja">hz-gb-2312</dref>, <dref
file="tm-ja">cn-big5</dref> $B$J$I!"(Bmule $B$GMxMQ2DG=$J$5$^$6$^$J(B charset 
$B$N(B B $B$J$i$S$K(B Q encoding $B$N(B encoded-word $B$r07$&$3$H$,$G$-$^$9!#$^$?!"(B
Gnus $B$h$j$b(B RFC 1522 $B$KCi<B$K=hM}$7$F$$$^$9!#(B


<h1> MIME message $B$N(B inline $BI=<((B
<node> Automatic MIME Preview
<p>
gnus-mime $B$G$O(B <concept>automatic MIME preview</concept> $B5!G=$rMxMQ$9(B
$B$k$3$H$,$G$-$^$9!#$3$N5!G=$r;H$&$H(B Summary mode $B$G5-;v$rFI$`;~!"DL>oI=(B
$B<($5$l$k(B Article buffer $B$NBe$o$j$K(B tm-view $B$G=hM}$5$l$?(B preview buffer 
$B$rI=<($7$^$9!#(B<cf file="tm-view-ja">
<p>
$B$3$N$?$a!"(B<dref file="tm-ja">Base64</dref> $B$d(B <dref
file="tm-ja">Quoted-Printable</dref> $B$G(B encode $B$5$l$?5-;v$r(B decode $B$7(B
$B$FI=<($9$k$3$H$,$G$-$^$9!#$"$k$$$O!"(B<dref
file="tm-ja">text/enriched</dref> $B7A<0$N$h$&$J=qBN$dAHHG$K4X$9$k>pJs$r(B
$B;}$C$?5-;v$r@07A$7$FI=<($G$-$^$9!#EvA3$N$3$H$J$,$i!"(B<dref
file="tm-ja">multipart</dref> $B$N5-;v$b@5$7$/=hM}$G$-$^$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


<h2> MIME $B=hM}$N;EAH$_(B
<node> MIME processing
<p>
<code>gnus-show-mime</code> $B$,(B <code>nil</code> $B$G$J$/!"$+$D!"(Barticle 
$B$,(B Mime-Version field $B$r;}$C$F$$$k>l9g!"B($A!"$=$N(B article $B$,(B MIME
message $B$N>l9g!"(B<code>gnus-show-mime-method</code> $B$,8F$P$l$F(B MIME $B=h(B
$BM}$,9T$J$o$l$^$9!#(B
<p>
<code>gnus-strict-mime</code> $B$,(B <code>nil</code> $B$N>l9g!"(B
<code>gnus-show-mime</code> $B$,(B <code>nil</code> $B$G$J$1$l$P>o$K(B 
<code>gnus-show-mime-method</code> $B$,8F$P$l$F(B MIME $B=hM}$,9T$J$o$l$^$9!#(B
<p>
Gnus 5.2 $B0J9_$G$O!"(B<code>gnus-strict-mime</code> $B$,(B <code>nil</code> 
$B$G$J$/!"$+$D!"(Barticle $B$K(B Mime-Version field $B$,$J$$>l9g!"(B
<code>gnus-show-mime-method</code> $B$,8F$P$l$kBe$o$j$K(B 
<code>gnus-decode-encoded-word-method</code> $B$,8F$P$l$^$9!#$G$b!"8E$$(B 
Gnus $B$G$OM-8z$G$O$J$$$N$G!"$3$N>l9g!"(B<code>gnus-strict-mime</code> $B$O(B 
<code>nil</code> $B$K$7$F$*$$$?J}$,NI$$$G$7$g$&!#(B


<defvar name="gnus-show-mime">
<p>
$B$3$NJQ?t$,(B <code>nil</code> $B$G$J$$$H$-!"(Bautomatic MIME preview $B$,9T$J(B
$B$o$l$^$9!#4{DjCM$O(B <code>t</code> $B$G$9!#(B
<p>
$B$3$NJQ?t$O(B Gnus $B$NJQ?t$J$N$G!"(Bgnus-mime $B$,(B load $B$5$l$kA0$K(B gnus $B$,(B 
load $B$5$l$?>l9g!"4{DjCM$OJ]>Z$5$l$^$;$s!#(B

<cf file="gnus" node="Using MIME">
</defvar>

<defvar name="gnus-show-mime-method">
<p>
MIME $B=hM}$r9T$J$&;~$K!"$3$NJQ?t$KB+G{$5$l$?4X?t$,8F$P$l$^$9!#4{DjCM$O(B 
<code>gnus-article-preview-mime-message</code> $B$G$9!#(B
<p>
$B$3$NJQ?t$O(B Gnus $B$NJQ?t$J$N$G!"(Bgnus-mime $B$,(B load $B$5$l$kA0$K(B gnus $B$,(B 
load $B$5$l$?>l9g!"4{DjCM$OJ]>Z$5$l$^$;$s!#(B

<cf file="gnus" node="Using MIME">
</defvar>

<defvar name="gnus-decode-encoded-word-method">
<p>
<code>gnus-show-mime</code> $B$H(B <code>gnus-strict-mime</code> $B$,$H$b$K(B 
<code>nil</code> $B$G$J$$>l9g$K!"(BMime-Version field $B$,$J$$(B article $B$KBP(B
$B$7$F$3$NJQ?t$KB+G{$5$l$?4X?t$,8F$P$l$^$9!#4{DjCM$O!"(B
<code>gnus-article-decode-encoded-word</code> $B$G$9!#(B
<p>
$B$3$NJQ?t$O(B Gnus $B$NJQ?t$J$N$G!"(Bgnus-mime $B$,(B load $B$5$l$kA0$K(B gnus $B$,(B 
load $B$5$l$?>l9g!"4{DjCM$OJ]>Z$5$l$^$;$s!#(B
<p>
$B$^$?!"(BGnus 5.0.* $B$*$h$S(B Gnus 5.1 $B$G$OL58z$G$9!#(B
</defvar>

<memo title="$BCm0U(B">
<p>
gnus-mime $B$O(B Gnus $B$NJQ?t$rMQ$$!"$3$l$r(B gnus-mime $B$N=i4|CM$G(B
<code>defvar</code> $B$7$F$$$^$9!#Nc$($P!"(B<code>gnus-show-mime</code> $B$O(B 
<code>nil</code>$B$G$O$J$/(B <code>t</code> $B$G!"(B
<code>gnus-show-mime-method</code> $B$O(B <code>metamail-buffer</code> $B$G(B
$B$O$J$/(B<code>gnus-article-preview-mime-message</code> $B$G(B 
<code>defvar</code> $B$7$F$$$^$9!#(B<cf file="gnus" node="Using MIME">
<p>
<code>setq</code> $B$G$O$J$/(B <code>defvar</code> $B$rMQ$$$F$$$k$N$O(B 
gnus-mime $B$,(B load$B$5$l$kA0$K(B <file>~/.emacs</file> $BEy$G(B user $B$,9T$C$?@_(B
$BDj$rB:=E$9$k$?$a$G$9$,!"$3$N$3$H$OF1;~$K!"$b$7(B gnus-mime $B$,(B load $B$5$l(B
$B$kA0$K(B gnus $B$,(B load $B$5$l$l$P(B gnus-mime $B$N5!G=$OI8=`$G$OF/$+$J$$$3$H$r(B
$B0UL#$7$F$$$^$9!#$h$C$F!"(B<file>~/.gnus</file> $BEy$G(B gnus-mime $B$d(B 
mime-setup $B$r(B load $B$9$k$3$H$K$OLdBj$,$"$j$^$9!#$I$&$7$F$b$=$&$7$?$$>l(B
$B9g$O!"(B<code>gnus-show-mime</code> $B$d(B<code>gnus-show-mime-method</code> 
$B$N@_Dj$r9T$C$F$/$@$5$$!#(B
</memo>


<h2> Automatic MIME preview $B$N;EAH$_(B
<node> Two buffers for an article
<p>
Gnus 5.2 $B0J9_$G$O(B Gnus $B$O#1$D$N(B article $B$KBP$7$F(B 
<code>gnus-original-article-buffer</code> (<code>" *Original
Article*"</code>) $B$H(B<code>gnus-article-buffer</code>
(<code>"*Article*"</code>) $B$H$$$&#2$D$N(B buffer $B$r;}$C$F$$$^$9!#$3$3$G(B
$B$OA0<T$r(B <concept>raw article buffer</concept>, $B8e<T$r(B 
<concept>preview buffer</concept> $B$H8F$V$3$H$K$7$^$9!#(B
<p>
raw article buffer $B$K$O2?$b=hM}$r$5$l$F$$$J$$!X@8$N(B article$B!Y$,F~$C$F(B
$B$$$^$9!#FC$K!"(B<dref file="tm-ja">mule</dref> $B$G$O(B code $BJQ49$r9T$J$o$J(B
$B$$>uBV$N5-;v$,F~$j$^$9!#(B
<p>
preview buffer $B$O(B raw article buffer $B$r85$K(B MIME $B=hM}$r9T$J$C$F@07A$5(B
$B$l$?5-;v$,F~$j$^$9!#FC$K!"(Bmule $B$N>l9g!"$3$NCf$G!"(Bcharset $B$b$7$/$O(B 
newsgroup $BKh$K;XDj$5$l$?J8;z(B code $B$G$N(B code $BJQ49$,9T$J$o$l$^$9!#(B
<p>
Gnus 5.0.* $B$*$h$S(B Gnus 5.1 $B$G$O(B raw article buffer $B$H(B preview buffer 
$B$N6hJL$O$"$j$^$;$s$,(B gnus-mime $B$,L5M}LpM}(B raw article buffer $B$r:n$j=P(B
$B$7$F$$$^$9!#$h$C$F!"FC$KM}M3$,$J$1$l$P(B Gnus 5.2 $B0J9_$r;H$o$l$k$3$H$r$*(B
$B4+$a$7$^$9!#(B
<p>
<cf file="tm-view-ja" node="Two buffers for an article">


<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$"$k(B newsgroup $B$rA*Br$9$k$H!"$=$N(B newsgroup $B$KBP1~$9$k(B default $B$N(B MIME
charset $B$r(B <code>gnus-newsgroup-default-charset-alist</code> $B$+$iA\$7!"(B
$B$b$7!"8+IU$+$l$P!"(BSummary Buffer $B$N(B buffer local $BJQ?t(B
<code>default-mime-charset</code> $B$K$=$l$r@_Dj$9$k!#$b$7!"$J$1$l$P!"(B
<code>default-mime-charset</code> $B$NBg0hCM$,MQ$$$i$l$k!#(B
<p>
<li>
Summary Buffer $BCf$NHs(B ASCII $BJ8;z$O(B <code>default-mime-charset</code> 
$B$N(B Summary Buffer $B>e$G$NCM$G(B code $BJQ49$5$l$k!#(B
<p>
<li>
<dref file="tm-ja">encoded-word</dref> $B$N>l9g!"@k8@$5$l$?(B <dref
file="tm-ja">MIME charset</dref> $B$G(B code $BJQ49$r9T$&!#(B
<p>
<li>
article $B$N(B code $BJQ49$O!'(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>
</ol>

<defvar name="gnus-newsgroup-default-charset-alist">
<p>
newsgroup $B$KBP1~$9$k@55,I=8=$H(B default MIME charset $B$rI=$9(B symbol $B$NBP(B
$B$+$i$J$kO"A[(B list.
<p>
$B4{DjCM$G$O!"(Balt.chinese.* $B$G$O(B <dref file="tm-ja">hz-gb-2312</dref>,
alt.chinese.text.big5, hk.*, hkstar.*, tw.* $B$G$O(B <dref
file="tm-ja">cn-big5</dref>, fj.* $B$G$O(B <dref
file="tm-ja">iso-2022-jp-2</dref>, han.* $B$G$O(B <dref
file="tm-ja">euc-kr</dref>, relcom.* $B$G$O(B <dref
file="tm-ja">koi8-r</dref> $B$,;XDj$5$l$F$$$^$9!#(B
<p>
$B$"$k(B newsgroup $B$KBP1~$9$k(B MIME charset $B$,B8:_$7$J$$>l9g$O(B
<code>default-mime-charset</code> $B$,MQ$$$i$l$^$9!#(B
</defvar>

<defun name="gnus-set-newsgroup-default-charset">
<args>newsgroup charset
<p>
<var>newsgroup</var> $B$KBP$9$k(B default MIME charset $B$r(B 
<var>charset</var> $B$K@_Dj$9$k!#(B
<p>
<var>newsgroup</var> $B$O(B newsgroup $BL>$+$=$N0lIt$+$i$J$kJ8;zNs!#!JNc!'(B
<code>"gnu.emacs.gnus"</code>, <code>"gnu.emacs"</code>,
<code>"gnu"</code>$B!K(B
<p>
<var>charset</var> $B$O(B MIME charset $B$rI=$9(B symbol. $B!JNc!'(B
<code>iso-8859-1</code>, <code>iso-2022-jp</code>$B!K(B
</defun>


<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="tm-edit-ja">tm-edit</a> $B$rMQ$$$?(B MIME message $B$N:n@.$r9T$&$3$H$,(B
$B$G$-$^$9!#(B

<memo title="$BCm0U(B">
<p>
mime-setup $B$NI8=`@_Dj$G$O(B signature $B$N<+F0A^F~$,M^@)$5$l$^$9!#(B

<cf file="tm-ja" node="mime-setup">
</memo>

<p>
<kbd>C-c C-x C-m</kbd> (<code>mime-editor/insert-mail</code>) $B$KBP$9$k(B
$B<BAu$OI8=`$G$OM?$($i$l$^$;$s!#$3$l$O!"(BGnus $B$HAH$_9g$o$;$k$Y$-(B mail
reader $B$r$I$&$9$l$PNI$$$+$,H=$i$J$$$+$i$G$9!#$^$?!"BgDq$N>l9g!"(B
<kbd>C-c C-x C-y</kbd> (<code>mime-editor/insert-message</code>) $B$G;v(B
$BB-$j$k!JB($A!"A^F~$7$?$$(Bmessage $B$rA*Br$7$F$=$N(B 
<code>"*Article*"</code> buffer $B$rI=<($9$l$P$=$N(Bmessage $B$r(B <kbd>C-c
C-x C-y</kbd> $B$GA^F~$9$k$3$H$,$G$-$^$9!K$+$i$G$9!#(B
<p>
$B$7$+$7$J$,$i!"(B<code>mime-editor/mail-inserter-alist</code> $B$N(B
<code>message-mode</code> $B$NCM$K@_Dj$7$?$$<BAu$r;XDj$9$k$3$H$G(B 
<kbd>C-c C-x C-m</kbd> $B$rMxMQ$9$k$3$H$,$G$-$^$9!#(B


<h2> $BNc!'(B<kbd>C-c C-x C-m</kbd> $B$HF1$8F0:n$r$5$;$k>l9g(B
<p>
<lisp>
(set-alist 'mime-editor/mail-inserter-alist
	   'message-mode (function message-mime-insert-article))
</lisp>


<h2> $BNc!'(BMH $B$N(B folder $B$+$i<h$j9~$`>l9g(B
<p>
<lisp>
(autoload 'tm-mh-e/insert-mail "tm-mh-e")

(set-alist 'mime-editor/mail-inserter-alist
	   'message-mode (function tm-mh-e/insert-mail))
</lisp>


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


<h1> $B4X?t:w0z(B
<node> Function Index
<p>
<findex>


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

</body>