2 \title{tm-body manual (English Version)}
3 \author{Morioka Tomohiko}
10 Installing method is written in README-eng.ol. Please read it and
15 Please copy tiny-mime.el to your Emacs lisp directory.
22 Please copy tm-body.el, tl-list.el and tl-header.el to your Emacs
27 Please edit methods for your environment, and copy to your
33 Please compile decode-b.c by gcc or another ANSI C.
36 % gcc -O decode-b.c -o decode-b
39 And please copy decode-b to your executable directory.
41 However, if you have another decoder (e.g. mmencode in metamail),
42 you can replace decode-b (e.g. You can replace `decode-b <' by
43 `mmencode -b -u' in methods).
48 You can designate methods of Content-Types if you set variable
49 `mime/content-decoding-method-alist' in .emacs.
52 ----------------------------------------------------------------------
53 (setq mime/content-decoding-method-alist
54 '(("audio/basic" . "tm-au")
55 ("image/gif" . "tm-image")
56 ("image/jpeg" . "tm-image")
57 ("image/x-pic" . "tm-image")
58 ("video/mpeg" . "tm-mpeg")
59 ("application/octet-stream" . "tm-file")
60 ("text/x-latex" . "tm-latex")
62 ----------------------------------------------------------------------
65 Each methods are shell scripts. Arguments of methods are written in
68 ----------------------------------------------------------------------------
70 ============================================================================
71 | $1 |temporary file name of encoded content |
72 | $2 |Content-Type (type/sub-type) |
73 | $3 |encoding {7bit / quoted-printable / base64 / 8bit / binary / ...}|
74 | $4 |decoding-mode {play / extract / print} |
75 | $5 |original file name of content |
76 ----------------------------------------------------------------------------
78 Each Content-Types are decoded by methods. Exceptionally,
79 message/partial is decoded by tm-body.el.
84 In this version, message/external-body is not supported.
86 Attached base64 decoder `decode-b.c' is not good program, so if it
87 can run normally, please correct it. But It is easy because decode-b.c
88 is too small, so please...(^_^;
90 Or you can use mmencode attached in metamail as decoder.
92 In this package, there is no Quoted-Printable decoder, so please use