1 [README for tm (English Version)]
2 by MORIOKA Tomohiko <morioka@jaist.ac.jp>
3 $Id: README.eng,v 7.0 1995/10/05 06:57:02 morioka Exp $
7 Tm is a MIME package for GNU Emacs. Tm has following functions:
9 - MIME style multilingual header
10 - MIME message viewer (mime/viewer-mode)
11 - MIME extenders for mh-e, GNUS, RMAIL and vm
16 This package includes following documents.
20 - doc/tm_en.texi : tm Reference Manual (TeXinfo)
21 - doc/tm-view_en.texi : tm-view Reference Manual (TeXinfo)
22 - doc/tm-gnus_en.texi : tm-gnus Reference Manual (TeXinfo)
26 - doc/tm_ja.tex : tm Reference Manual (TeXinfo)
27 - doc/tm-view_ja.texi : tm-view Reference Manual (TeXinfo)
28 - doc/tm-eword_ja.texi : tm-eword.el Reference Manual (TeXinfo)
29 - doc/tm-gnus_ja.texi : tm-gnus Reference Manual (TeXinfo)
30 - doc/signature-jp.ol : signature.el Reference Manual (Emacs Outline)
31 - doc/signature-jp.tex : signature.el Reference Manual (LaTeX)
36 Tm has following modules:
38 - tm-view : MIME viewer
39 - tm-parse.el : MIME message parser
40 - tm-play.el : MIME content player
41 - tm-eword : MIME encoded-word encoder/decoder
42 - tm-ew-d.el : MIME encoded-word decoder
43 - tm-ew-e.el : MIME encoded-word encoder
44 - tm-def : definition module for tm
45 - tm-nemacs.el : NEmacs depended part of tm
46 - tm-orig.el : FSF original Emacs and XEmacs
48 - tm-mule.el : Mule depended part of tm
49 - tm-MUAs : MIME extender for MUAs
50 - tm-mh-e : tm-MUA for mh-e
51 - tm-gnus : tm-MUA for GNUS
52 - tm-rmail : tm-MUA for RMAIL
53 - tm-vm : tm-MUA for vm
54 - preview filter for tm-view
55 - tm-rich : for text/enriched and text/richtext
56 - internal methods for tm-view
57 - tm-partial : automatic assembler for message/partial
58 - tm-ftp : for anonymous ftp
59 - tm-w3 : for text/html (using w3)
60 - tm-tar : for tar content
61 - tm-comp : extender for mime.el (big message automatic
62 splitter, previewer using tm-view, uuencode supporter)
63 - tm-setup: set up module for tm-MUAs
64 - mime-setup: set up module for MIME
66 +---------+-----------------+------------------+
67 | tm-MUAs | preview filters | internal methods |
68 +---------+-----------------+------------------+
70 +-----------------------+-------+-----+--------+
72 +-----------------------+ | | |
74 +-------------------------------+ MEL |external|
76 +-------------------------------+ |methods |
78 +-------------------------------+-----+ |
80 +-------------------------------------+--------+
87 Please edit tm/config.tm file.
92 Please edit external methods in `methods/' directory for your
106 4.5 Emacs Lisp modules
108 Run `make install-nemacs', if you use NEmacs.
110 Run `make install-mule1', if you use Mule 1.* (based on Emacs 18.*).
112 Run `make install-orig19', if you use Original Emacs 19.* or XEmacs.
114 Run `make install-mule2', if you use Mule 2.* (based on Emacs 19.*).
116 Or copy *.el to your emacs lisp directory.
123 (1) Please edit tm/gnus/Makefile.
125 If you use GNUS 3.*, please edit tm/gnus/g3-path.
127 If you use GNUS 4.*, please edit tm/gnus/g4-path.
129 If you use (ding) Gnus, please edit tm/gnus/d-path.
131 If you use Gnus 5.0.*, please edit tm/gnus/g5-path.
133 If you use September Gnus, please edit tm/gnus/s-path.
137 Run `make gnus3', if you use GNUS 3.*.
139 Run `make gnus4', if you use GNUS 4.*.
141 Run `make dgnus', if you use (ding) GNUS.
143 Run `make gnus5', if you use Gnus 5.0.*.
145 Run `make sgnus', if you use September Gnus.
149 Run `make install-18', if you use Emacs 18.*.
151 Run `make install-19', if you use Emacs 19.*.
156 If you want to use automatic MIME preview support, please apply a
157 patch to Gnus 5.*. This patch is called `with September patch'. It
158 provides September Gnus like article buffer feature.
160 It is available from ftp.jaist.ac.jp:/pub/GNU/elisp/dgnus/. Current
161 version is gnus-5.0.6-September.diff.
166 For current September Gnus, automatic MIME preview feature is
167 available without any patches.
172 (1) Please edit mh-e/Makefile
176 Run `make nemacs', if you use NEmacs.
178 Run `make mule1', if you use Mule 1.* (based on Emacs 18.*).
180 Run `make orig19', if you use Original Emacs 19.* or XEmacs.
182 Run `make mule2', if you use Mule 2.* (based on Emacs 19.*).
186 Run `make install-18', if you use Emacs 18.*.
188 Run `make install-19', if you use Emacs 19.*.
193 Please insert (load "mime-setup") or (load "tm-setup") in .emacs. If
194 you use mime-setup, you should prepare mime.el.
196 mime.el is included in emacs-mime-tools.shar written by UMEDA
197 Masanobu. It is available by anonymous ftp:
199 ftp.kyutech.ac.jp /pub/MultiMedia/mime/
200 ftp.jaist.ac.jp /pub/GNU/elisp/mime/
202 or a lot of anonymous ftp sites. Please try archie.
206 If you want use vm, please insert following in .vm or .emacs:
212 In XEmacs, current mime.el can not work, so you should use tm-setup.el
213 and another MIME composer, such as mime-compose.el. Following is a
217 ;; (require 'mh-e) ; if you use mh-e, please use it.
218 (load "mime-compose")
220 6.3 setting sample for hilit19
222 ======================================================================
224 (let* ((header-patterns '(("^Subject:.*$" nil msg-subject)
225 ("^From:.*$" nil msg-from)
226 ("^--text follows this line--$"
228 ("^[A-Za-z][A-Za-z0-9-]+:" nil msg-header)
230 (body-patterns '(("^\\(In article\\|[ \t]*\\w*[]<>}|]\\).*$"
232 (message-patterns (append header-patterns body-patterns))
234 (hilit-set-mode-patterns 'msg-header header-patterns)
235 (hilit-set-mode-patterns 'msg-body body-patterns)
236 (hilit-set-mode-patterns 'mime/viewer-mode
238 'hilit-rehighlight-message)
240 (add-hook 'mime-viewer/content-header-filter-hook
241 (function hilit-rehighlight-buffer-quietly))
242 (add-hook 'mime-viewer/plain-text-preview-hook
243 (function hilit-rehighlight-buffer-quietly))
245 ======================================================================
248 7 How to use mime/viewer-mode
250 In tm-MUAs, you can use mime/viewer-mode if you press `v' key (in VM,
251 `Z' key) in Summary mode. mime/viewer-mode has following functions:
253 q quit from mime/viewer-mode
254 u move to upper content
255 p move to previous content
256 n move to next content
257 SPC scroll up or move to next content
258 M-SPC scroll down or move to previous content
259 DEL scroll down or move to previous content
260 RET move to next line
261 M-RET move to previous line
262 v play current content
263 e extract as file current content
264 C-c C-p print current content
265 button-2 move to point under the mouse cursor and play
270 If you write bug-reports and/or propositions for improvement, please
271 post them to following news groups:
273 fj.editor.emacs (Japanese or English)
274 fj.editor.mule (Japanese or English; if you use Mule)
275 gnu.emacs.help (English)
276 gnu.emacs.vm.info (English; about tm-vm)
280 tm@chamonix.jaist.ac.jp (Japanese or English)
281 tm-eng@chamonix.jaist.ac.jp (English)
283 Via tm ML, You can report bugs of tm, obtain the latest release of tm
284 package, and discuss the future enhancements to tm. To join tm ML,
287 tm-admin@chamonix.jaist.ac.jp (Japanese or English)
288 tm-eng-admin@chamonix.jaist.ac.jp (English)
290 Since the user registration is manually done, please write the mail
291 body in human-recognizable language (^_^).
296 - automatic MIME preview support for another MUA
297 - better XEmacs support (e.g. inline image)
298 - development of internal method for message/external-body based on
300 - development good MIME composer