1 @c $Id: tm-view-m_ja.texi,v 1.1 1995/12/11 08:40:51 morioka Exp $
3 @node method, , preview-buffer, Mechanism of tm-view
4 @comment node-name, next, previous, up
8 @code{mime/viewer-mode}
\e$B$G$O
\e(B user
\e$B$O3F
\e(B content
\e$B$KBP$7$F!"
\e(Bplay
9 (@key{v}), extract (@key{e}), print (@key{C-c C-p})
\e$B$H$$$&A`:n$r9T$J$&
\e(B
10 \e$B$3$H$,$G$-$^$9!#$3$&$7$?A`:n$N$3$H$r!X!J
\e(Bcontent
\e$B$KBP$9$k!K
\e(Bdecode
\e$BA`:n!Y
\e(B
11 \e$B$H8F$V$3$H$K$7$^$9!#$^$?!"
\e(B@strong{play}, @strong{extract},
12 @strong{print}
\e$B$H$$$&
\e(B decode
\e$BA`:n$N<oN`$N$3$H$r
\e(B @strong{decoding-mode}
13 \e$B$H8F$V$3$H$K$7$^$9!#
\e(B
15 decode
\e$BA`:n$,9T$J$o$l$?;~!"$=$N
\e(B content
\e$B$N
\e(B content-type
\e$B$J$I$N>r7o$d$=
\e(B
16 \e$B$N>l$N4D6-$K1~$8$F<B:]$K$=$NA`:n$r<B9T$9$k<jB3$-$,8F$P$l$^$9!#$3$N<jB3
\e(B
17 \e$B$-$N$3$H$r
\e(B @strong{method}
\e$B$H8F$S$^$9!#
\e(B
19 method
\e$B$K$O!"
\e(BEmacs Lisp
\e$B$G=q$+$l$?
\e(B @strong{
\e$BFbIt
\e(B method}
\e$B$H!"30It
\e(B
20 program
\e$B$G<B8=$5$l$?
\e(B @strong{
\e$B30It
\e(B method}
\e$B$,$"$j$^$9!#FbIt
\e(B method
\e$B$O
\e(B
21 Emacs
\e$B$N5!G=$r;H$C$F$-$a:Y$+$$=hM}$r9T$J$&$3$H$,$G$-$^$9!#30It
\e(B method
22 \e$B$OHsF14|%W%m%;%98F$S=P$7$r;H$C$F<B8=$5$l$F$$$k$N$G!"<B9TCfBT$?$5$l$:$K
\e(B
23 \e$B$9$_$^$9!#$3$N$?$a!"@E;_2h$dF02h$J$I$N5pBg$J
\e(B data
\e$B$r:F@8$9$k$N$KNI$$$G
\e(B
27 * decoding-condition:: content
\e$B$N
\e(B decode
\e$B>r7o$N@_Dj
\e(B
28 * Format of method value:: method
\e$B$NCMIt$N=q<0
\e(B
29 * Example of decoding-condition::
\e$B@_DjNc
\e(B
33 @node decoding-condition, Format of method value, method, method
34 @comment node-name, next, previous, up
35 @subsubsection content
\e$B$N
\e(B decode
\e$B>r7o$N@_Dj
\e(B
36 @cindex content decoding condition
38 tm-view
\e$B$O
\e(B decode
\e$BA`:n$,9T$J$o$l$k$H!"JQ?t
\e(B
39 @code{mime/content-decoding-condition}
\e$B$+$i$=$N;~$N>r7o$K9gCW$7$?
\e(B
40 method
\e$B$rA\$7=P$7$F!"$=$l$r8F$S=P$7$^$9!#
\e(B
42 \e$BJQ?t
\e(B @code{mime/content-decoding-condition}
\e$B$O
\e(B
45 (
\e$B>r7o
\e(B1
\e$B>r7o
\e(B2 ...)
48 \e$B$H$$$&7A$r$7$?
\e(B list
\e$B$G!"3F>r7o$O
\e(B
51 ((field-type_1 . value_1)
52 (field-type_2 . value_2)
56 \e$B$H$$$&7A$NO"A[
\e(B list
\e$B$K$J$C$F$$$^$9!#
\e(B
58 \e$BNc$($P!"
\e(Btext/plain
\e$B$N;~!"
\e(Btm-plain
\e$B$r5/F0$9$k;~!"
\e(B
61 ((type . "text/plain")
62 (method "tm-plain" nil 'file 'type 'encoding 'mode 'name))
65 \e$B$H$$$&>r7o$r=q$-$^$9!#$3$N
\e(B method
\e$B$N
\e(B value
\e$BIt$N=q<0$K$D$$$F$O8e$G>\$7
\e(B
68 \e$B$3$N>r7o$O
\e(B content-type
\e$B$,
\e(B text/plain
\e$B$G$"$k
\e(B content
\e$B$J$iA4$F$N
\e(B
69 decoding-mode
\e$B$GM-8z$G$9!#$7$+$7!"
\e(B
72 ((type . "text/plain")
73 (method "tm-plain" nil 'file 'type 'encoding 'mode 'name)
77 \e$B$J$i!"
\e(Bplay mode
\e$B$N;~$7$+M-8z$K$J$j$^$;$s!#
\e(B
82 ((method "metamail" t "-m" "tm" "-x" "-d" "-z" "-e" 'file)
86 \e$B$J$i!"A4$F$N
\e(B content-type
\e$B$N
\e(B play mode
\e$B$GM-8z$K$J$j$^$9!#
\e(B
88 \e$B$3$&$7$F3F>r7o$rA0$+$i8+$F9T$-!":G=i$KM-8z$K$J$C$?>r7o$,<B9T$5$l$^$9!#
\e(B
91 @node Format of method value, Example of decoding-condition, decoding-condition, method
92 @comment node-name, next, previous, up
93 @subsubsection method
\e$B$NCMIt$N=q<0
\e(B
94 @cindex method
\e$B$NCMIt$N=q<0
\e(B
96 decode-condition
\e$B$N
\e(B method field
\e$B$O
\e(B
105 (method
\e$BJ8;zNs
\e(B FLAG
\e$B0z?t
\e(B1
\e$B0z?t
\e(B2 ...)
108 \e$B$H$$$&7A$r$7$F$$$^$9!#
\e(B
110 \e$BA0<T$OFbIt
\e(B method
\e$B$r;XDj$9$k$?$a$N7A<0$G!"
\e(Bdecode
\e$BA`:n$,9T$J$o$l$?;~!"
\e(B
111 SYMBOL
\e$B$H$$$&4X?t$,4X?t8F$S=P$7$K$h$C$FFbIt
\e(B method
\e$B$H$7$F8F$S=P$5$l$^
\e(B
114 \e$B8e<T$O30It
\e(B method
\e$B$r;XDj$9$k$?$a$N7A<0$G!"
\e(Bdecode
\e$BA`:n$,9T$J$o$l$?;~!"
\e(B
115 \e$BJ8;zNs$G;XDj$5$l$?30It
\e(B program
\e$B$,HsF14|%W%m%;%98F$S=P$7$K$h$C$F30It
\e(B
116 method
\e$B$H$7$F8F$S=P$5$l$^$9!#
\e(B
119 \e$B30It
\e(B method
\e$B$r;XDj$9$k>l9g$N
\e(B method field
\e$B$N=q<0$O0J2<$NDL$j$G$9!#
\e(B
123 \e$B30It
\e(B method
\e$B$NL>A0
\e(B
125 @code{t}
\e$B$J$i
\e(B content-header
\e$B$b30It
\e(B method
\e$B$KEO$9!#
\e(B@code{nil}
126 \e$B$J$i
\e(B content-body
\e$B$N$_$rEO$9!#
\e(B
128 \e$B30It
\e(B method
\e$B$N0z?t
\e(B
131 \e$B$^$?!"30It
\e(B method
\e$B$N0z?t$O<!$N$h$&$J7A<0$G=q$-$^$9!#
\e(B
135 \e$B$=$NJ8;zNs$rEO$9
\e(B
137 SYMBOL
\e$B$r
\e(B key
\e$B$H$7$?
\e(B decoding-condition
\e$B$NCM$rEO$9
\e(B
138 @item '
\e$BJ8;zNs
\e(B
139 \e$BJ8;zNs$r
\e(B key
\e$B$H$7$?
\e(B decoding-condition
\e$B$NCM$rEO$9
\e(B
142 'SYMBOL
\e$B$G;XDj$G$-$k$b$N$K$O!"
\e(B
146 content
\e$B$rEO$9$?$a$N
\e(B file
\e$BL>
\e(B
148 Content-Type field
\e$B$N
\e(B content-type/subtype
150 Content-Transfer-Encoding field
\e$B$N
\e(B field body
154 file
\e$B$KMn$9>l9g$N
\e(B file
\e$BL>
\e(B
157 \e$B$J$I$,$"$j!"
\e(B'
\e$BJ8;zNs
\e(B
\e$B$G$O
\e(B Content-Type field
\e$B$N
\e(B parameter
\e$B$NCM$,;XDj$G
\e(B
161 @node Example of decoding-condition, , Format of method value, method
162 @comment node-name, next, previous, up
163 @subsubsection decoding-condition
\e$B$NNc
\e(B
164 @cindex decoding-condition
\e$B$NNc
\e(B
166 \e$B0J2<$K
\e(B decoding-condition
\e$B$N@_DjNc$r<($7$^$9!#
\e(B
169 (defvar mime/content-decoding-condition
170 '(((type . "text/plain")
171 (method "tm-plain" nil 'file 'type 'encoding 'mode 'name))
172 ((type . "text/x-latex")
173 (method "tm-latex" nil 'file 'type 'encoding 'mode 'name))
174 ((type . "audio/basic")
175 (method "tm-au" nil 'file 'type 'encoding 'mode 'name))
176 ((type . "image/gif")
177 (method "tm-image" nil 'file 'type 'encoding 'mode 'name))
178 ((type . "image/jpeg")
179 (method "tm-image" nil 'file 'type 'encoding 'mode 'name))
180 ((type . "image/tiff")
181 (method "tm-image" nil 'file 'type 'encoding 'mode 'name))
182 ((type . "image/x-tiff")
183 (method "tm-image" nil 'file 'type 'encoding 'mode 'name))
184 ((type . "image/x-xbm")
185 (method "tm-image" nil 'file 'type 'encoding 'mode 'name))
186 ((type . "image/x-pic")
187 (method "tm-image" nil 'file 'type 'encoding 'mode 'name))
188 ((type . "video/mpeg")`
189 (method "tm-mpeg" nil 'file 'type 'encoding 'mode 'name))
190 ((type . "application/octet-stream")
191 (method "tm-file" nil 'file 'type 'encoding 'mode 'name))
192 ((type . "message/partial")
193 (method . mime/decode-message/partial-region))
194 ((method "metamail" t
195 "-m" "tm" "-x" "-d" "-z" "-e" 'file)(mode . "play"))
199 \e$BNc$($P!"!VA4It
\e(B metamail
\e$B;H$&$s$d!W$H$$$&>l9g!"
\e(B
202 (setq mime/content-decoding-condition
204 ((method "metamail" t "-m" "tm" "-x" "-d" "-z" "-e" 'file))
208 \e$B$H$9$l$P
\e(B OK
\e$B$G$9!#
\e(B
210 \e$B9)IW$9$l$P!"$+$J$jJ#;($J>r7o$,=q$1$k$G$7$g$&!#
\e(B
213 \e$B0J2<$K!"
\e(Bdecoding-condition
\e$B$r@_Dj$9$k$?$a$NM-MQ$J4X?t$r>R2p$7$^$9!#
\e(B
216 @deffn{Function} set-atype symbol alist
218 @var{symbol}
\e$B$K>r7o
\e(B @var{alist}
\e$B$rDI2C$7$^$9!#
\e(B
223 (set-atype 'mime/content-decoding-condition
224 '((type . "message/external-body")
225 ("access-type" . "anon-ftp")
226 (method . mime/decode-message/external-ftp)
232 @node environment variables, , mime/viewer-mode, tm-view
233 @comment node-name, next, previous, up
234 @section
\e$B4D6-JQ?t
\e(B
235 @cindex environment variables
237 \e$B0J2<$K
\e(B tm-view
\e$B$NI8=`
\e(B method
\e$B$,;2>H$9$k4D6-JQ?t$r<($7$^$9!#
\e(B
241 \e$B0l;~E*$K:n@.$5$l$k
\e(B file
\e$B$d
\e(B file
\e$B=PNO$9$k>l9g$N
\e(B default
\e$B$N=PNO@h$H$7$F
\e(B
242 \e$BMQ$$$i$l$k
\e(B directory
\e$B$r;XDj$9$k!#>JN,$5$l$?>l9g!"
\e(B/tmp/
\e$B$,MQ$$$i$l$k!#
\e(B
245 mpeg_play
\e$B$G$N
\e(B dither
\e$B$N$+$1J}$r;XDj$9$k!#4{DjCM$O
\e(B `gray'.
248 WWW browser
\e$B$r;XDj$9$k!#4{DjCM$O
\e(B `netscape'.