Mercurial > hg > xemacs-beta
view man/tm/tm-view-ja.texi @ 171:929b76928fce r20-3b12
Import from CVS: tag r20-3b12
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:47:52 +0200 |
parents | 0293115a14e9 |
children |
line wrap: on
line source
\input texinfo.tex @setfilename tm-view-ja.info @settitle{tm-view 7.80 Reference Manual$B!JF|K\8lHG!K(B} @titlepage @title tm-view 7.80 Reference Manual$B!JF|K\8lHG!K(B @author $B<i2,(B $BCNI'(B <morioka@@jaist.ac.jp> @subtitle 1997/1/31 @end titlepage @node Top, Introduction, (dir), (dir) @top tm-view 7.80 Reference Manual$B!JF|K\8lHG!K(B @ifinfo This file documents tm-view, a MIME Viewer for GNU Emacs.@refill GNU Emacs $BMQ$N(B MIME Viewer $B$G$"$k(B `tm-view' $B$K$D$$$F@bL@$7$^$9!#(B @end ifinfo @menu * Introduction:: tm-view $B$C$F2?!)(B * MIME display:: mime/viewer-mode $B$N2hLL9=@.(B * mime/viewer-mode:: mime/viewer-mode $B$G$NA`:n(B * method:: $B:F@8=hM}$N<B8=(B * Two buffers for an article:: raw-article-buffer $B$H(B preview-buffer * API:: MIME message $B$N(B decode $B$K4X$9$k4X?t(B * Acknowledgments:: $B<U<-(B * Concept Index:: $B35G0:w0z(B * Function Index:: $B4X?t:w0z(B * Variable Index:: $BJQ?t:w0z(B @end menu @node Introduction, MIME display, Top, Top @chapter tm-view $B$C$F2?!)(B @cindex filter @cindex method tm-view $B$O(B GNU Emacs $B$GF0:n$9$kHFMQE*$J(B MIME viewer $B$G$9!#(B@refill tm-view $B$O(B @code{mime/viewer-mode} (@ref{mime/viewer-mode}) $B$H$$$&(B MIME message $B$r8+$k$?$a$N(B major-mode $B$r(B MUA (@ref{(tm-ja)MUA}) $B$KBP$7$FDs6!$7(B $B$^$9!#(BMUA $B$N@_7W<T$O$3$N(B mode $B$rMxMQ$9$k$3$H$G$=$N(B MUA $B$K(B MIME $B5!G=$rIU(B $B2C$9$k$3$H$,$G$-$^$9!#(B@refill tm-view $B$O(B MIME message $B$r1\Mw$9$k$?$a$N(B user interface $B$N3K$G$"$j!"$=$N(B $B>e$G3F(B content-type (@ref{(tm-ja)content-type}) $B$r07$&$?$a$N(B @strong{method} (@ref{method}) $B$H8F$P$l$k%W%m%0%i%`$rF0:n$5$;$^$9!#$^$?!"(B MIME message $B$NI=<($N;EJ}$r7h$a$k(B @strong{filter} (@ref{Two buffers for an article}) $B$H8F$P$l$k%W%m%0%i%`$r5/F0;~$K8F$S=P$7$^$9!#(Bmethod $B$H(B filter $B$r(B tm-view $B$KAH$_9~$`;v$K$h$C$F!"(B@code{mime/viewer-mode} $B$G$5$^$6(B $B$^$J(B MIME content-type $B$r07$&;v$,$G$-$^$9!#(B @node MIME display, mime/viewer-mode, Introduction, Top @chapter mime/viewer-mode $B$N2hLL9=@.(B mime/viewer-mode (@ref{mime/viewer-mode}) $B$G$O3F(B part $B$KBP$7$F(B@refill @example [content-button] (content-header) (content-body) (content-separator) @end example @noindent $B$H$$$&>pJs$rI=<($7$^$9!#$3$l$i$O>r7o$K=>$C$F(B design $B$rJQ99$7$?$j!"I=<((B $B$rM^@)$9$k$3$H$,$G$-$^$9!#(B $B0J2<$K!"I=<(Nc$r<($7$^$9!#(B @example From: morioka@@jaist.ac.jp ($B<i2,(B $BCNI'(B / MORIOKA Tomohiko) Subject: Re: $B<ALd!)(B Newsgroups: zxr.message.mime Date: 22 Oct 93 11:02:44 Mime-Version: 1.0 Organization: Japan Advanced Institute of Science and Technology, Ishikawa, Japan [1 (text/plain)] MIME-Edit mode $B$K$*$1$k!"(BMIME message $B$N:n$jJ}!#(B C-c C-x ? $B$r2!$9$H(B help $B$,=P$F$/$k!#(B C-c C-x C-t insert a text message. C-c C-x TAB insert a (binary) file. C-c C-x C-e insert a reference to external body. C-c C-x C-v insert a voice message. C-c C-x C-y insert a mail or news message. C-c C-x RET insert a mail message. C-c C-x C-s insert a signature file at end. C-c C-x t insert a new MIME tag. C-c C-x a enclose as multipart/alternative. C-c C-x p enclose as multipart/parallel. C-c C-x m enclose as multipart/mixed. C-c C-x d enclose as multipart/digest. C-c C-x s enclose as PGP signed. C-c C-x e enclose as PGP encrypted. C-c C-x C-k insert PGP public key. C-c C-x C-p preview editing MIME message. ... $B$C$FLu$G!"(BC-c C-x C-i $B$r2!$7$F!"A^F~$7$?$$(B binary file $B$r;XDj$7$^$9!#(B binary file $B$N(B MIME encoding $B$K$O!"IaDL!"(BBase64 $B$r;XDj$7$^$9!#(B [2 (image/gif)] [3 (text/plain)] $B$3$s$JIw$K!"3(F~$j(B message $B$N$G$->e$,$j!#(B $B".".".".".".".".".".".(B $B%m%7%"%s!&%F%#!<$r0lGU!#(B $B".".".".".".".".".".".(B $B".".".".".(B $B!y(B $B%8%c%`$G$O$J$/%^!<%^%l!<%I$G$b$J$/K*L*$G(B $B!y(B $B".".".".".(B $B".".".".".(B $B'.'0'2$$'0','!(B $B'4'0'.'0'7'*','0(B $B".".".".".(B $B".".".".".".".(B Internet E-mail: <morioka@@jaist.ac.jp> $B".".".".".".".(B @end example @menu * content-button:: * content-header:: * content-body:: * content-separator:: @end menu @node content-button, content-header, MIME display, MIME display @section content-button @cindex content-number @cindex content-button @strong{content-button} $B$O(B part $B$N@hF,$K$"$C$F!"$=$N(B part $B$K4X$9$kBg$^$+(B $B$J>pJs$rI=<($9$kItJ,$G$9!#(B@refill $BI8=`$G$O(B @example [1.3 test (text/plain)] @end example @noindent $B$N$h$&$J46$8$KI=<($5$l$^$9!#(B $B:G=i$N?t;z$O(B message $BCf$N$3$N(B part $B$N0LCV$r@aHV9f$N$h$&$KI=$7$?$b$N$G!"(B @strong{content-number} $B$H8F$S$^$9!#(B@refill $B#2HVL\$NJ8;zNs$OI=Bj$rI=$7$^$9!#$3$N>pJs$O!"(B @enumerate @item Content-Type field (@ref{(tm-ja)Content-Type field}) $B$N(B name paramater $B$b$7$/$O(B x-name parameter $B$K=q$+$l$?(B file $BL>(B @item Content-Description field (@ref{(tm-ja)Content-Description field}) $B$b$7(B $B$/$O(B Subject field $B$K=q$+$l$?I=Bj(B @item uuencode $B$N>l9g$N(B file $BL>(B @end enumerate @noindent $B$+$i:n$j$^$9!#$I$l$bB8:_$7$J$$>l9g$O6uGr$,I=<($5$l$^$9!#(B $B#3HVL\$N3g8L$NCf$N>pJs$O$=$N(B part $B$N(B content-type/subtype $B$rI=$7$^$9!#Hs(B MIME part $B$N>l9g!"(B@code{nil} $B$,I=<($5$l$^$9!#(B@refill $B$3$N(B content-button $B$O(B content-header (@ref{content-header}), content-body (@ref{content-body}) $B$rI=<($7$J$$>l9g!"(Bicon $B$N$h$&$JLr3d$r(B $B2L$?$7$^$9!#Nc$($P!"(B @example [2 (image/gif)] @end example @noindent $B$N>e$G(B @kbd{v} $B$r2!$;$P$3$3$KF~$C$F$$$k3($,I=<($5$l$^$9!#(B $B$^$?!"(Bmouse $BA`:n$,2DG=$J>l9g!"(Bcontent-button $B$rBh#2%\%?%s!J(B3 button mouse $B$N>l9g!"Cf1{$N%\%?%s!K$G2!$;$P!"F1MM$K$=$N3($,I=<($5$l$^$9!#(B (@ref{mime/viewer-mode})@refill $B$H$3$m$G!"(Bcontent-button $B$rI=<($9$k$N$O]5F+$7$$>l9g$,$"$k$N$G!"(B content-button $B$NI=<($r>r7o$K$h$C$FM^@)$9$k$3$H$,$G$-$^$9!#(B @defvar mime-viewer/content-button-ignored-ctype-list content-button $B$rI=<($7$J$$(B content-type $B$rMWAG$H$9$k(B list. @end defvar @node content-header, content-body, content-button, MIME display @section content-header @cindex content-header-filter @cindex content-header @strong{content-header} $B$O$"$k(B part $B$N(B header $B$rI=<($9$kItJ,$G$9!#$7$+$7!"(B $BA4$F$N(B part $B$N(B content-header $B$rI=<($9$k$N$O]5F+$7$$$N$G!"0J2<$N$h$&$J(B mechanism $B$K$h$C$FI=<($9$k$+$7$J$$$+$r7h$a$F$$$^$9!#(B@refill $B$"$k(B part $B$N(B reversed-content-number $B$r4X?t(B @code{mime-viewer/header-visible-p} $B$KM?$($?;~$NJV$jCM$,(B @code{t} $B$K$J$k(B $B>l9g!"$=$N(B part $B$N(B content-header $B$,I=<($5$l$^$9!#(B@refill $B$3$NH=Dj4X?t$O!"0lHV>e$N(B part $B$G$J$/!"$=$N(B part $B$N?F$N(B content-type (@ref{(tm-ja)content-type}) $B$,JQ?t(B @code{mime-viewer/childrens-header-showing-Content-Type-list} $B$G;XDj$5$l(B $B$F$$$k>l9g$K(B @code{t} $B$rJV$7$^$9!#(B@refill $B$3$N>r7o$rJQ$($?$$>l9g$O!"$3$N4X?t$r:FDj5A$7$F2<$5$$!#C"$7!"I8=`$G$O!"JQ(B $B?t(B @code{mime-viewer/childrens-header-showing-Content-Type-list} $B$r;2>H(B $B$7$^$9$,!":FDj5A$7$?>l9g!"$3$NJQ?t$NM-8z@-$OJ]>Z$5$l$J$$$N$GCm0U$7$F2<$5(B $B$$!#(B@refill content-header $B$,I=<($5$l$k>l9g!"(Bcontent-header $B$O(B @strong{content-header-filter} $B$H8F$P$l$k(B program $B$K$h$C$F@07A$5$l$^$9!#(B content-header-filter $B$O(B raw-article-buffer (@ref{raw-article-buffer}) $B$N(B major-mode $B$r(B key $B$H$7$FJQ?t(B @code{mime-viewer/content-header-filter-alist} $B$+$iC5$5$l$^$9!#$b$7!"(B content-header-filter $B$,8+$D$+$i$J$+$C$?>l9g!"4X?t(B @code{mime-viewer/default-content-header-filter} $B$,8F$P$l$^$9!#(B@refill @defvar mime-viewer/childrens-header-showing-Content-Type-list $B$"$k(B part $B$N;R$KEv$?$k(B content $B$N(B content-header $B$rI=<($9$Y$-(B Content-Type $B$r<}$a$?(B list. $B4{DjCM$O(B @code{"message/rfc822"} $B$G$"$k!#(B @refill $B$3$NJQ?t$O4X?t(B @code{mime-viewer/header-visible-p} $B$K$h$C$F;2>H$5$l$k!#(B @end defvar @defun mime-viewer/header-visible-p rcnum cinfo &optional ctype content-info @var{cinfo} $BCf$N(B reversed-content-number $B$,(B @var{rcnum} $B$G(B $B$"$k(B part $B$N(B header $B$,I=<($5$l$k>l9g!"(B@code{t} $B$rJV$9!#$=$N(B part $B$N(B content-type $B$,$"$i$+$8$a$o$+$C$F$$$k>l9g!"(B@var{ctype} $B$K0z?t$H$7$FEO$9(B $B$3$H$,$G$-$k!#(B @end defun @defvar mime-viewer/content-header-filter-alist raw-article-buffer $B$N(B major-mode $B$r(B key $B$H$7$?O"A[%j%9%H$G!"CMIt$K$O(B content-header-filter $B$,F~$C$F$$$k!#(B @end defvar @defun mime-viewer/default-content-header-filter $B$"$k(B part $B$N(B content-header $B$rI=<($9$Y$-;~!"JQ?t(B @code{mime-viewer/content-header-filter-alist} $B$NCf$K(B content-header-filter $B$,8+$D$+$i$J$+$C$?>l9g$K8F$S=P$5$l$k!#(B@refill $BJQ?t(B @code{mime-viewer/ignored-field-regexp} $B$r;2>H$9$k!#(B @end defun @defvar mime-viewer/ignored-field-list content-header $B$rI=<($9$k;~$K!"I=<($7$J$$(B field $B$r;XDj$9$k!#(B@refill $B@55,I=8=$N(B list $B$K$J$C$F$*$j!"$3$NCM$r85$KJQ?t(B @code{mime-viewer/ignored-field-regexp} $B$,:n$i$l$k!#(B@refill $B$3$NJQ?t$OD>@\A`:n$;$:!"4X?t(B @code{tm:add-fields} $B$d(B @code{tm:delete-fields} $B$r;H$C$FA`:n$9$k!#(B @end defvar @node content-body, content-separator, content-header, MIME display @section content-body @cindex content-filter @cindex content-body @strong{content-body} $B$O(B part $B$NFbMF$rI=<($9$kItJ,$G$9!#(B@refill $BA4$F$N(B part $B$NFbMF$rI=<($G$-$k$H$O8B$i$J$$$7!"$^$?!"I=<($7$?$/$J$$(B part $B$bB8:_$9$k$N$G!"0J2<$N$h$&$JJ}K!$GI=<($9$k$+$7$J$$$+$r7h$a$F$$$^$9!#(B @refill $B$"$k(B part $B$N(B content-body $B$rI=<($9$k$+$I$&$+$O!"4X?t(B @code{mime-viewer/body-visible-p} $B$,(B @code{t} $B$K$J$k$+$I$&$+$G7h$^$j$^$9!#(B $BI8=`$G$O!"$"$k(B part $B$N(B content-type $B$,JQ?t(B @code{mime-viewer/default-showing-Content-Type-list} $B$K@_Dj$5$l$F$$$k;~(B $B$KI=<($5$l$^$9!#(B@refill $B$"$k(B part $B$N(B content-body $B$,I=<($5$l$k;~!"(Bpreview buffer $B$K$O(B part $B$NFb(B $BMF$r(B @strong{content-filter} $B$H8F$P$l$k(B program $B$K$h$C$F@07A$5$l$?$b$N$,(B $BI=<($5$l$^$9!#8F$P$l$k(B content-filter $B$O(B raw-article-buffer (@ref{raw-article-buffer}) $B$N(B major-mode $B$r(B key $B$H$7$FJQ?t(B @code{mime-viewer/content-filter-alist} $B$+$iC5$5$l$^$9!#$b$7!"$3$NJQ?t$K(B $BEPO?$5$l$F$$$J$+$C$?>l9g!"4X?t(B @code{mime-viewer/default-content-filter} $B$,8F$P$l$^$9!#(B @defvar mime-viewer/default-showing-Content-Type-list content-body $B$rI=<($9$Y$-(B content-type $B$rMWAG$H$9$k(B list. @end defvar @defun mime-viewer/body-visible-p rcnum cinfo &optional ctype reversed-content-number $B$,(B @var{rcnum} $B$G$"$k(B part $B$,I=<($5$l$k>l9g!"(B @code{t} $B$rJV$9!#$=$N(B part $B$N(B content-type $B$,$"$i$+$8$a$o$+$C$F$$$k>l9g!"(B @var{ctype} $B$K0z?t$H$7$FEO$9$3$H$,$G$-$k!#(B @end defun @defvar mime-viewer/content-filter-alist raw-article-buffer $B$N(B major-mode $B$r(B key $B$H$7$?O"A[%j%9%H$G!"CMIt$K$O(B content-filter $B$,F~$C$F$$$k!#(B @end defvar @defun mime-viewer/default-content-filter rcnum cinfo ctype params subj $B$"$k(B part $B$N(B content-body $B$rI=<($9$Y$-;~!"JQ?t(B @code{mime-viewer/content-filter-alist} $B$NCf$K(B content-filter $B$,8+$D$+$i(B $B$J$+$C$?>l9g$K8F$S=P$5$l$k!#(B@refill $BI8=`$G$O2?$b$7$J$$!#(B @end defun @node content-separator, , content-body, MIME display @section content-separator @cindex content-separator @strong{content-separator} $B$O(B part $B$N0lHV:G8e$K(B part $B4V$N6-L\$rL@$i$+$K(B $B$9$k$?$a$KI=<($5$l$^$9!#(B@refill content-separator $B$O4X?t(B @code{mime-viewer/default-content-separator}$B$K(B $B$h$C$FI=<($5$l$^$9!#I8=`$G$O!"(Bcontent-header $B$b(B content-body $B$bI=<($5$l(B $B$J$$>l9g$N$_!"2~9T$rI=<($7$^$9!#(B@refill content-separator $B$N@_Dj$rJQ99$7$?$$>l9g$O!"$3$N4X?t$r:FDj5A$7$F2<$5$$!#(B @refill @defun mime-viewer/default-content-separator rcnum cinfo ctype params subj content-number $B$,(B @var{cnum} $B$G$"$k(B part $B$N(B content-separator $B$rI=<($9$k!#(B $BI8=`$G$O!"(Bcontent-header $B$b(B content-body $B$bI=<($5$l$J$$>l9g$N$_!"2~9T$r(B $BI=<($9$k!#(B @end defun @node mime/viewer-mode, method, MIME display, Top @chapter mime/viewer-mode $B$G$NA`:n(B mime/viewer-mode $B$K$O0J2<$N5!G=$,$"$j$^$9!#(B@refill @table @kbd @item @key{u} $B>e$N(B part $B$KLa$k!J(Bmessage $B$N0lHV>e$N(B part $B$G$3$l$r9T$J$&$H(B Summary mode $B$KLa$k(B (*1)$B!K(B @item @key{p} $BA0$N(B part $B$K0\F0$9$k(B @item @key{M-TAB} $BA0$N(B part $B$K0\F0$9$k(B @item @key{n} $B<!$N(B part $B$K0\F0$9$k(B @item @key{TAB} $B<!$N(B part $B$K0\F0$9$k(B @item @key{SPC} scroll up $B$9$k(B @item @key{M-SPC} scroll down $B$9$k(B @item @key{DEL} scroll down $B$9$k(B @item @key{RET} $B<!$N9T$K0\F0$9$k(B @item @key{M-RET} $BA0$N9T$K0\F0$9$k(B @item @key{M-RET} $BA0$N9T$K0\F0$9$k(B @item @key{<} message $B$N@hF,$K0\F0$9$k(B @item @key{>} message $B$NKvHx$K0\F0$9$k(B @item @key{v} part $B$r:F@8$9$k(B (*2) @item @key{e} part $B$+$i(B file $B$r<h$j=P$9(B (*2) @item @key{C-c C-p} part $B$r0u:~$9$k(B (*2) @item @key{f} message $BCf$N(B X-Face $B$rI=<($9$k(B @item @key{mouse-button-2} preview-buffer $BCf$N(B mouse button $B$r5/F0$9$k(B content-button $B$r2!$;$P!"$=$N(B part $B$,:F@8$5$l$k(B(*2)@refill URL-button $B$r2!$;$P!"$=$N(B WWW browser $B$,5/F0$5$l$k(B@refill @end table @noindent @strong{[$BCm0U(B]} @quotation (*1) tm-MUA $B$G(B tm-view $B$N@_Dj$r$7$F$$$J$$>l9g!"(BSummary mode $B$K$OLa$j$^$;(B $B$s!#(B@refill (*2) $B<B:]$NF0:n$OBP1~$9$k(B method $B$K0M$j$^$9!#(B @end quotation @node method, Two buffers for an article, mime/viewer-mode, Top @chapter $B:F@8=hM}$N<B8=(B @cindex $B30It(B method @cindex $BFbIt(B method @cindex method @cindex decoding-mode @code{mime/viewer-mode} $B$G$O!"3F(B part $B$KBP$7$F!"(Bplay (@kbd{v}), extract (@kbd{e}), print (@kbd{C-c C-p}) $B$H$$$&A`:n$r9T$J$&$3$H$,$G$-$^$9!#$3$&(B $B$7$?A`:n$N$3$H$r!X!J(Bpart $B$KBP$9$k!K(Bdecode $BA`:n!Y$H8F$V$3$H$K$7$^$9!#$^$?!"(B play, extract, print $B$H$$$&(B decode $BA`:n$N<oN`$N$3$H$r(B @strong{decoding-mode} $B$H8F$V$3$H$K$7$^$9!#(B@refill decode $BA`:n$,9T$J$o$l$?;~!"$=$N(B part $B$N(B content-type (@ref{(tm-ja)content-type}) $B$J$I$N>r7o$d$=$N>l$N4D6-$K1~$8$F<B:]$K$=$NA`(B $B:n$r<B9T$9$k<jB3$-$,8F$P$l$^$9!#$3$N<jB3$-$N$3$H$r(B @strong{method} $B$H8F(B $B$S$^$9!#(B@refill method $B$K$O!"(BEmacs Lisp $B$G=q$+$l$?(B @strong{$BFbIt(B method} $B$H!"(B $B30It(B program $B$G<B8=$5$l$?(B @strong{$B30It(B method} $B$,$"$j$^$9!#(B $BFbIt(B method $B$O(B Emacs $B$N5!G=$r;H$C$F$-$a:Y$+$$=hM}$r9T$J$&$3$H$,$G$-$^(B $B$9!#30It(B method $B$OHsF14|%W%m%;%98F$S=P$7$r;H$C$F<B8=$5$l$F$$$k$N$G!"<B(B $B9TCfBT$?$5$l$:$K$9$_$^$9!#$3$N$?$a!"@E;_2h$dF02h$J$I$N5pBg$J(B data $B$r:F(B $B@8$9$k$N$KNI$$$G$7$g$&!#(B @menu * decoding-condition:: part $B$N:F@8$K4X$9$k>r7o$N@_Dj(B * environment variables:: $B4D6-JQ?t(B @end menu @node decoding-condition, environment variables, method, method @section part $B$N:F@8$K4X$9$k>r7o$N@_Dj(B tm-view $B$O(B decode $BA`:n$,9T$J$o$l$k$H!"JQ?t(B @code{mime/content-decoding-condition} $B$+$i$=$N;~$N>r7o$K9gCW$7$?(B method $B$rA\$7=P$7$F!"$=$l$r8F$S=P$7$^$9!#(B@refill $BJQ?t(B @code{mime/content-decoding-condition} $B$O(B@refill @lisp ($B>r7o(B1 $B>r7o(B2 ...) @end lisp @noindent $B$H$$$&7A$r$7$?(B list $B$G!"3F>r7o$O(B @lisp ((field-type_1 . value_1) (field-type_2 . value_2) ...) @end lisp @noindent $B$H$$$&7A$NO"A[(B list $B$K$J$C$F$$$^$9!#(B $BNc$($P!"(Btext/plain (@ref{(tm-ja)text/plain}) $B$N;~!"(Btm-plain $B$r5/F0$9$k;~!"(B @lisp ((type . "text/plain") (method "tm-plain" nil 'file 'type 'encoding 'mode 'name)) @end lisp @noindent $B$H$$$&>r7o$r=q$-$^$9!#$3$N(B method $B$N(B value $BIt$N=q<0$K$D$$$F$O8e$G>\$7(B $B$/=R$Y$^$9!#(B $B$3$N>r7o$O(B content-type (@ref{(tm-ja)content-type}) $B$,(B text/plain $B$G$"$k(B part $B$J$iA4$F$N(B decoding-mode $B$GM-8z$G$9!#$7$+$7!"(B@refill @lisp ((type . "text/plain") (method "tm-plain" nil 'file 'type 'encoding 'mode 'name) (mode . "play")) @end lisp @noindent $B$J$i!"(Bplay mode $B$N;~$7$+M-8z$K$J$j$^$;$s!#(B $B5U$K!"(B@refill @lisp ((method "metamail" t "-m" "tm" "-x" "-d" "-z" "-e" 'file) (mode . "play")) @end lisp @noindent $B$J$i!"A4$F$N(B content-type $B$N(B play mode $B$GM-8z$K$J$j$^$9!#(B $B$3$&$7$F3F>r7o$rA0$+$i8+$F9T$-!":G=i$KM-8z$K$J$C$?>r7o$,<B9T$5$l$^$9!#(B @menu * method value:: method $B$NCMIt$N=q<0(B * Example of decoding-condition:: decoding-condition $B$NNc(B @end menu @node method value, Example of decoding-condition, decoding-condition, decoding-condition @subsection method $B$NCMIt$N=q<0(B decode-condition $B$N(B method field $B$O(B@refill @lisp (method . SYMBOL) @end lisp @noindent $B$+(B @lisp (method $BJ8;zNs(B FLAG $B0z?t(B1 $B0z?t(B2 ...) @end lisp @noindent $B$H$$$&7A$r$7$F$$$^$9!#(B $BA0<T$OFbIt(B method $B$r;XDj$9$k$?$a$N7A<0$G!"(Bdecode $BA`:n$,9T$J$o$l$?;~!"(B SYMBOL $B$H$$$&4X?t$,4X?t8F$S=P$7$K$h$C$FFbIt(B method $B$H$7$F8F$S=P$5$l$^$9!#(B @refill $B8e<T$O30It(B method $B$r;XDj$9$k$?$a$N7A<0$G!"(Bdecode $BA`:n$,9T$J$o$l$?;~!"J8(B $B;zNs$G;XDj$5$l$?30It(B program $B$,HsF14|%W%m%;%98F$S=P$7$K$h$C$F30It(B method $B$H$7$F8F$S=P$5$l$^$9!#(B@refill $B30It(B method $B$r;XDj$9$k>l9g$N(B method field $B$N=q<0$O0J2<$NDL$j$G$9!#(B @refill @table @samp @item $BJ8;zNs(B $B30It(B method $B$NL>A0(B @item FLAG @code{t} $B$J$i(B content-header $B$b30It(B method $B$KEO$9!#(B @code{nil} $B$J$i(B content-body $B$N$_$rEO$9!#(B@refill @item $B0z?tNs(B $B30It(B method $B$N0z?t(B @end table $B$^$?!"30It(B method $B$N0z?t$O<!$N$h$&$J7A<0$G=q$-$^$9!#(B@refill @table @samp @item $BJ8;zNs(B $B$=$NJ8;zNs$rEO$9(B @item 'SYMBOL SYMBOL $B$r(B key $B$H$7$?(B decoding-condition $B$NCM$rEO$9(B @item '$BJ8;zNs(B $BJ8;zNs$r(B key $B$H$7$?(B decoding-condition $B$NCM$rEO$9(B @end table 'SYMBOL $B$G;XDj$G$-$k$b$N$K$O!"(B@refill @table @samp @item 'file part $B$N>pJs$rEO$9$?$a$N(B file $BL>(B @item 'type Content-Type field $B$N(B content-type/subtype @item 'encoding Content-Transfer-Encoding field $B$N(B field body @item 'mode decoding-mode @item 'name file $B$KMn$9>l9g$N(B file $BL>(B @end table @noindent $B$J$I$,$"$j!"(B@code{'$BJ8;zNs(B} $B$G$O(B Content-Type field $B$N(B parameter $B$NCM$,;XDj$G$-$^$9!#(B @node Example of decoding-condition, , method value, decoding-condition @subsection decoding-condition $B$NNc(B $B0J2<$K(B decoding-condition $B$N@_DjNc$r<($7$^$9!#(B @lisp (defvar mime/content-decoding-condition '(((type . "text/plain") (method "tm-plain" nil 'file 'type 'encoding 'mode 'name)) ((type . "text/x-latex") (method "tm-latex" nil 'file 'type 'encoding 'mode 'name)) ((type . "audio/basic") (method "tm-au" nil 'file 'type 'encoding 'mode 'name)) ((type . "image/gif") (method "tm-image" nil 'file 'type 'encoding 'mode 'name)) ((type . "image/jpeg") (method "tm-image" nil 'file 'type 'encoding 'mode 'name)) ((type . "image/tiff") (method "tm-image" nil 'file 'type 'encoding 'mode 'name)) ((type . "image/x-tiff") (method "tm-image" nil 'file 'type 'encoding 'mode 'name)) ((type . "image/x-xbm") (method "tm-image" nil 'file 'type 'encoding 'mode 'name)) ((type . "image/x-pic") (method "tm-image" nil 'file 'type 'encoding 'mode 'name)) ((type . "video/mpeg")` (method "tm-mpeg" nil 'file 'type 'encoding 'mode 'name)) ((type . "application/octet-stream") (method "tm-file" nil 'file 'type 'encoding 'mode 'name)) ((type . "message/partial") (method . mime/decode-message/partial-region)) ((method "metamail" t "-m" "tm" "-x" "-d" "-z" "-e" 'file)(mode . "play")) )) @end lisp $BNc$($P!"!VA4It(B metamail $B;H$&$s$d!W$H$$$&>l9g!"(B @lisp (setq mime/content-decoding-condition '( ((method "metamail" t "-m" "tm" "-x" "-d" "-z" "-e" 'file)) )) @end lisp @noindent $B$H$9$l$P(B OK $B$G$9!#(B $B9)IW$9$l$P!"$+$J$jJ#;($J>r7o$,=q$1$k$G$7$g$&!#(B@refill $B0J2<$K!"(Bdecoding-condition $B$r@_Dj$9$k$?$a$NM-MQ$J4X?t$r>R2p$7$^$9!#(B @defun set-atype symbol alist @var{symbol} $B$K>r7o(B @var{alist} $B$rDI2C$7$^$9!#(B @noindent @strong{[$BNc(B]} @quotation @lisp (set-atype 'mime/content-decoding-condition '((type . "message/external-body") ("access-type" . "anon-ftp") (method . mime/decode-message/external-ftp) )) @end lisp @end quotation @end defun @node environment variables, , decoding-condition, method @section $B4D6-JQ?t(B $B0J2<$K(B tm-view $B$NI8=`(B method $B$,;2>H$9$k4D6-JQ?t$r<($7$^$9!#(B @table @var @item TM_TMP_DIR $B0l;~E*$K:n@.$5$l$k(B file $B$d(B file $B=PNO$9$k>l9g$N(B default $B$N=PNO@h$H$7$F(B $BMQ$$$i$l$k(B directory $B$r;XDj$9$k!#>JN,$5$l$?>l9g!"(B@file{/tmp/} $B$,(B $BMQ$$$i$l$k!#(B @item VIDEO_DITHER mpeg_play $B$G$N(B dither $B$N$+$1J}$r;XDj$9$k!#4{DjCM$O(B `gray'. @item TM_WWW_BROWSER WWW browser $B$r;XDj$9$k!#4{DjCM$O(B `netscape'. @end table @node Two buffers for an article, API, method, Top @chapter raw-article-buffer $B$H(B preview-buffer @cindex filter @cindex content-filter @cindex header-filter @cindex preview-buffer @cindex raw-article-buffer tm-view $B$O!"(BMIME $B=hM}$r9T$J$&A0$N@8$N(B message $B$,F~$C$F$$$k(B @strong{raw-article-buffer} $B$H$=$NFbMF$r(B user $B$K4J7i$KI=<($7!"(Buser $B$,A`(B $B:n$9$k$?$a$N(B @strong{preview-buffer} $B$H$$$$D$N(B buffer $B$r4IM}$7$^$9!#(B raw-article-buffer $B$N(B major-mode $B$O$b$H$b$H$N(B MUA $B$N(B article $BI=<(MQ$N(B major-mode $B$G$"$j!"(Bpreview-buffer $B$N(B major-mode $B$O(B @code{mime/viewer-mode} (@ref{mime/viewer-mode}) $B$H$J$j$^$9!#(B@refill @code{mime/viewer-mode} $B$r<B9T$9$k$H!"(Btm-view $B$O$^$:(B raw-article-buffer $B$NFbMF$r2r@O$7!"$=$N(B message $B$N9=B$$r(B raw-article-buffer $B$N(B buffer local $BJQ?t(B @code{mime::article/content-info} $B$K5-O?$7$^$9!#(B@refill $B<!$K!"$3$N7k2L$r85$K(B raw-article-buffer $B$KBP1~$9$k(B preview-buffer $B$r:n$j(B $B$^$9!#$3$N:]!"(Bcontent-type $B$K1~$8$F!"(Bpart $BC10L$G(B header $B$d(B body $B$r2C9)$9(B $B$k$3$H$,$G$-$^$9!#$3$N(B header $B$r2C9)$9$k%W%m%0%i%`$r(B @strong{header-filter} (@ref{content-header}), body $B$r2C9)$9$k%W%m%0%i%`(B $B$r(B @strong{content-filter} (@ref{content-body}) $B$H8F$S!"$3$l$i$rAm>N$7$F(B @strong{filter} $B$H8F$S$^$9!#(B@refill preview-buffer $B$r:n@.$9$k;~$K!"(Bmessage $B$NI=<(>e$N9=B$$r5-O?$7$?(B preview-buffer $B$N(B buffer local $BJQ?t(B @code{mime::preview/content-list} $B$,(B $B:n$i$l$^$9!#(Btm-view $B$O(B raw-article-buffer $B>e$N(B @code{mime::article/content-info} $B$H(B preview-buffer $B>e$N(B @code{mime::preview/content-list} $B$rMQ$$$F(B message $B$r4IM}$7$^$9!#(B@refill @noindent @strong{[$BCm0U(B]} @quotation $B$3$N@bL@=q$G$O!"(BContent-Type field $B$N(B content-type/subtype $B$N$3$H$r>N(B $B$7$F(B ``content-type'' $B$H8F$S$^$9!#(B @end quotation @menu * raw-article-buffer:: raw-article-buffer $B$N(B buffer local $BJQ?t(B * preview-buffer:: preview-buffer $B$N(B buffer local $BJQ?t(B @end menu @node raw-article-buffer, preview-buffer, Two buffers for an article, Two buffers for an article @section raw-article-buffer $B$N(B buffer local $BJQ?t(B @cindex content-info @deffn{Structure} mime::content-info rcnum point-min point-max type parameters encoding children raw-article-buffer $B$K$*$1$k(B MIME part $B$K4X$9$k>pJs$r3JG<$9$k$?$a$N9=B$BN!#(B $BC1$K(B @strong{content-info} $B$H$b8F$V!#(B@refill $B$3$N9=B$BN$r;2>H$9$k$K$O!"(B@code{mime::content-info/$B%9%m%C%HL>(B} $B$H$$$&(B content-info $B$r0z?t$K$H$k4X?t$rMQ$$$k!#(B@refill $B$3$N9=B$BN$N%9%m%C%H$O0J2<$NDL$j$G$"$k!'(B @table @var @item rcnum ``reversed content-number'' (list) @item point-min raw-article-buffer $B$K$*$1$k@hF,(B point @item point-max raw-article-buffer $B$K$*$1$kKvHx(B point @item type content-type/sub-type$B!JJ8;zNs!"$^$?$O!"(Bnil$B!K(B @item parameters Content-Type field $B$N(B parameter $B!JO"A[(B list$B!K(B @item encoding Content-Transfer-Encoding$B!JJ8;zNs!"$^$?$O!"(Bnil$B!K(B @item children $B$3$N(B part $B$K4^$^$l$k(B part$B!J(Bcontent-info $B$N(B list$B!K(B @end table $B$"$k(B part $B$,(B multipart $B$b$7$/$O(B message/rfc822 $B$J$I$NJL$N(B part $B$r4^$`$h(B $B$&$J(B part $B$G$"$C$?>l9g!"(B@var{children} $B$KJL$N(B part $B$N(B content-info $B$,4^(B $B$^$l$k;v$K$h$C$F!"(Bcontent-info $B$OLZ9=B$$K$J$k!#(B @end deffn @defvar mime::article/content-info raw-article-buffer $B$r(B MIME message $B$H$7$F2r@O$7$?7k2L(B (content-info) @end defvar @defvar mime::article/preview-buffer raw-article-buffer $B$KBP1~$9$k(B preview-buffer. @end defvar @defun mime-article/point-content-number point &optional cinfo content-info @var{cinfo} $B$G4IM}$5$l$kNN0h$K$*$$$F!"(B@var{point} $B$KBP1~$9(B $B$k(B content-number $B$rJV$9!#(B@refill @var{cinfo} $B$,>JN,$5$l$?>l9g$O!"(B@code{mime::article/content-info}$B$,MQ$$(B $B$i$l$k!#(B @end defun @defun mime-article/rcnum-to-cinfo rcnum &optional cinfo content-info @var{cinfo} $B$G4IM}$5$l$kNN0h$K$*$$$F!"(B reversed-content-number @var{rcnum} $B$KBP1~$9$k(B content-info $B$rJV$9!#(B @refill @var{cinfo} $B$,>JN,$5$l$?>l9g$O!"(B@code{mime::article/content-info} $B$,MQ$$(B $B$i$l$k!#(B @end defun @defun mime-article/cnum-to-cinfo rcnum &optional cinfo content-info @var{cinfo} $B$G4IM}$5$l$kNN0h$K$*$$$F!"(Bcontent-number @var{rcnum} $B$KBP1~$9$k(B content-info $B$rJV$9!#(B@refill @var{cinfo} $B$,>JN,$5$l$?>l9g$O!"(B@code{mime::article/content-info} $B$,MQ$$(B $B$i$l$k!#(B @end defun @defun mime/flatten-content-info &optional cinfo content-info @var{cinfo} $BCf$KG<$a$i$l$?A4(B part $B$N(B content-info $B$N(B list $B$rJV$9!#(B@refill @var{cinfo} $B$,>JN,$5$l$?>l9g$O!"(B@code{mime::article/content-info} $B$,MQ$$(B $B$i$l$k!#(B @end defun @node preview-buffer, , raw-article-buffer, Two buffers for an article @section preview-buffer $B$N(B buffer local $BJQ?t(B @cindex preview-content-info @defvar mime::preview/mother-buffer $B$3$N(B preview-buffer $B$N?F$KAjEv$9$k(B buffer. @end defvar @deffn{Structure} mime::preview-content-info point-min point-max buffer content-info preview-buffer $B$K$*$1$k(B MIME content $B$K4X$9$k>pJs$r3JG<$9$k$?$a$N9=B$BN!#(B $BC1$K(B @strong{preview-content-info} $B$H$b8F$V!#(B@refill $B$3$N9=B$BN$r;2>H$9$k$K$O!"(B@code{mime::content-info/$B%9%m%C%HL>(B} $B$H$$$&(B content-info $B$r0z?t$K$H$k4X?t$rMQ$$$k!#(B@refill $B$3$N9=B$BN$N%9%m%C%H$O0J2<$NDL$j$G$"$k!#(B @table @var @item point-min preview-buffer $B$K$*$1$k@hF,(B point @item point-max preview-buffer $B$K$*$1$kKvHx(B point @item buffer $B$3$N(B part $B$KBP1~$9$k(B raw-article-buffer @item content-info $B$3$N(B part $B$KBP1~$9$k(B content-info @end table @end deffn @defvar mime::preview/content-list $B$3$N(B preview-buffer $B$N9=B$$r$"$i$o$9(B preview-content-info $B$N(B list. @end defvar @defvar mime::preview/article-buffer $B$3$N(B preview-buffer $B$KBP1~$9$k(B raw-article-buffer. @end defvar @defvar mime::preview/original-major-mode $B$3$N(B preview-buffer $B$N$b$H$K$J$C$?(B buffer $B$N(B major-mode. @end defvar @defvar mime::preview/original-window-configuration @code{mime/viewer-mode} $B$r<B9T$7$F!"$3$N(B preview-buffer $B:n$kD>A0$N(B window-configuration. @end defvar @defun mime-preview/point-pcinfo point &optional pcl preview-content-info @var{pcl} $B$G4IM}$5$l$k(B preview-buffer $BCf$NNN0h$K$*(B $B$$$F!"(B@var{point} $B$KBP1~$9$k(B part $B$N(B preview-content-info $B$rJV$9!#(B @refill @var{cinfo} $B$,>JN,$5$l$?>l9g$O!"(B@code{mime::preview/content-list} $B$,MQ$$(B $B$i$l$k!#(B @end defun @node API, Acknowledgments, Two buffers for an article, Top @chapter MIME message $B$N(B decode $B$K4X$9$k4X?t(B tm-view $B$NDs6!$9$k4X?t$r3F(B MUA (@ref{(tm-ja)MUA}) $B$KAH$_9~$`;v$K$h$C$F!"(B $B3F(B MUA $B$K(B MIME $B:F@85!G=$rIU2C$9$k;v$,$G$-$^$9!#(B@refill tm-view $B$,3F(B MUA $B$KDs6!$9$k4X?t$O!"(BMIME preview $B$r9T$&$?$a$N4X?t(B @code{mime/viewer-mode} $B$H(B encoded-word (@ref{(tm-ja)encoded-word}) $B$r(B decode $B$9$k$?$a$N4X?t72$G$9!#(B @menu * API about MIME preview:: MIME preview $B$K4X$9$k4X?t(B * encoded-word decoding:: encoded-word $B$NI|85(B @end menu @node API about MIME preview, encoded-word decoding, API, API @section MIME preview $B$K4X$9$k4X?t(B @deffn{Command} mime/viewer-mode &optional mother ctl encoding ibuf obuf mother-keymap @var{ibuf} $B$r(B MIME message $B$H$7$F2r@O$7$F!"$=$NFbMF$r1\Mw$9$k$?$a$N(B preview-buffer $B$r(B @var{obuf} $B$K:n@.$7!"(B@code{mime/viewer-mode} (@ref{mime/viewer-mode})$B$KF~$j$^$9!#(B@refill @var{ibuf} $B$,>JN,$5$l$?>l9g!"(Bcurrent buffer $B$rMQ$$$^$9!#(B@refill @var{mother} $B$O!"2r@O$NBP>]$H$9$k(B raw-article-buffer $B$,(B message/partial $B7A<0$NJ,3d$5$l$?(B message $B$r7k9g$7$F:n@.$7$?>l9g$J$I$K$*$1$k85$N(B buffer $B$r;XDj$9$k$?$a$K;H$$$^$9!#(B@refill @var{ctl} $B$O(B Content-Type field (@ref{(tm-ja)Content-Type field}) $B$N(B field-body $B$r(B @code{mime/Content-Type} $B$N=PNO@5<0$K$7$?$b$N$rF~$l$^$9!#(B $B$3$N0z?t$,$"$k>l9g!"(Braw-article-buffer $B$N(B Content-Type field $B$h$j$b$3$N(B $B0z?t$rM%@h$7$^$9!#(B@refill @var{encoding} $B$O(B Content-Transfer-Encoding field $B$N(B field-body $B$rF~$l$^(B $B$9!#$3$N0z?t$,$"$k>l9g!"(Braw-article-buffer $B$N(B Content-Transfer-Encoding field $B$h$j$b$3$N0z?t$rM%@h$7$^$9!#(B@refill @var{mother-keymap} $B$,;XDj$5$l$?>l9g!"(B@code{mime/viewer-mode} $B$N(B keymap $B$O$3$N(B keymap $B$K2C$($?$b$N$H$J$j$^$9!#(B @end deffn @node encoded-word decoding, , API about MIME preview, API @section encoded-word $B$NI|85(B tm-view $B$O(B RFC 1522 $B$G5,Dj$5$l$?(B encoded-word (@ref{(tm-ja)encoded-word}) $B$r(B decode $B$9$k$?$a$N4X?t$r;}$C$F$$$^$9!#(B @noindent @strong{[Memo]} @quotation $B5l(B @file{tiny-mime.el} $B$K$"$C$?(B RFC 1522 encoded-word $B$r(B decode $B$9$k$?$a$N4X?t72$O(B tm-view $B$K0z$-7Q$,$l$^$7$?!#(B @end quotation @deffn{Command} mime/decode-message-header current buffer $B$N(B message header $BCf$N(B encoded-word $B$r(B decode $B$7$^$9!#(B @refill $B2u$l$F$$$?$j!"IT@5$@$C$?$j!"(Bdecode $B$G$-$J$$(B MIME charset (@ref{(tm-ja)MIME charset}) $B$,MQ$$$i$l$F$$$k(B encoded-word $B$O(B decode $B$5$l(B $B$:$=$N$^$^;D$5$l$^$9!#(B @end deffn @deffn{Command} mime-eword/decode-region start end &optional unfolding must-unfold @var{start} $B$H(B @var{end} $B$G0O$^$l$?NN0hCf$N(B encoded-word $B$r(B decode $B$7$^(B $B$9!#(B@refill $B2u$l$F$$$?$j!"IT@5$@$C$?$j!"(Bdecode $B$G$-$J$$(B MIME charset (@ref{(tm-ja)MIME charset}) $B$,MQ$$$i$l$F$$$k(B encoded-word $B$O(B decode $B$5$l(B $B$:$=$N$^$^;D$5$l$^$9!#(B@refill @var{unfolding} $B$,(B non-nil $B$N>l9g!"@^$jJV$5$l$?(B field $B$r(B unfolding $B$7$^(B $B$9!#(B@refill @var{must-fold} $B$,(B non-nil $B$N>l9g!"(Bencoded-word $B$N(B decode $B7k2L$K@^$jJV$7!"(B $B$b$7$/$O!"2~9T$,4^$^$l$F$$$k>l9g!"(Bunfold $B$7!"2~9T$r=|$-$^$9!#(B @end deffn @defun mime-eword/decode-string string &optional must-unfold @var{string} $BCf$N(B encoded-word $B$r(B decode $B$7$?J8;zNs$rJV$7$^$9!#(B@refill $B2u$l$F$$$?$j!"IT@5$@$C$?$j!"(Bdecode $B$G$-$J$$(B MIME charset (@ref{(tm-ja)MIME charset}) $B$,MQ$$$i$l$F$$$k(B encoded-word $B$O(B decode $B$5$l(B $B$:$=$N$^$^=PNO$5$l$^$9!#(B@refill @var{string} $B$,@^$jJV$5$l$F$$$k>l9g!"(Bencoded-word $B$r(B decode $B$9$kA0$K(B @var{string} $B$O(B unfold $B$5$l$^$9!#(B@refill @var{must-fold} $B$,(B non-nil $B$N>l9g!"(Bencoded-word $B$N(B decode $B7k2L$K@^$jJV$7!"(B $B$b$7$/$O!"2~9T$,4^$^$l$F$$$F$b!"$=$l$i$O(B unfold $B$5$lC1BN$N2~9TJ8;z$b<h$j(B $B=|$+$l$^$9!#(B @end defun @node Acknowledgments, Concept Index, API, Top @chapter $B<U<-(B $B:G=i$K!";d$,(B tm-view $B$r:G=i$K:n$C$?;~$K!"87$7$$CmJ8$HM-1W$J=u8@$r2<$5$j!"(B $B$=$N@_7W$KB?Bg$JM?$($i$l$?>#C+J]Gn$5$s$K46<U$7$^$9!#(B@refill $B<!$K!"(B@file{tm-ew-d.el} $B$H(B @file{mel-b.el} $B$NA0?H$KEv$?$k(B@file{mime.el} $B$r=q$-!"$=$NG[I[$H2~B$$r$*5v$72<$5$C$?1]JB;LCR$5$s$K46<U$7$^$9!#(B@refill $B$^$?!"(BLaTeX $BMQ$NFbIt(B method $B$H(B message/partial $BMQ$N<+F07k9g(B method $B$rDs(B $B6!$7$F2<$5$C$?2,It<wCK$5$s!"(Btar archive $BMQ$NFbIt(B method $B$rDs6!$7$F2<$5$C(B $B$?>eLnGn$5$s$K46<U$7$^$9!#(B@refill $B:G8e$K!"(Bbeta test $B$K6(NO$7$F2<$5$C$?F|K\8lHG!"1Q8lHGAPJ}$N(B tm mailing list $B$N(B member $B$K46<U$7$^$9!#(B @node Concept Index, Function Index, Acknowledgments, Top @chapter $B35G0:w0z(B @printindex cp @node Function Index, Variable Index, Concept Index, Top @chapter $B4X?t:w0z(B @printindex fn @node Variable Index, , Function Index, Top @chapter $BJQ?t:w0z(B @printindex vr @bye