1 [README for tm (English Version)]
2 by MORIOKA Tomohiko <morioka@jaist.ac.jp>
3 $Id: README.eng,v 7.1 1995/10/18 18:18:19 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-gnus_ja.texi : tm-gnus Reference Manual (TeXinfo)
29 - doc/signature-jp.ol : signature.el Reference Manual (Emacs Outline)
30 - doc/signature-jp.tex : signature.el Reference Manual (LaTeX)
35 Tm has following modules:
37 - tm-view : MIME viewer
38 - tm-parse.el : MIME message parser
39 - tm-play.el : MIME content player
40 - tm-eword : MIME encoded-word encoder/decoder
41 - tm-ew-d.el : MIME encoded-word decoder
42 - tm-ew-e.el : MIME encoded-word encoder
43 - tm-def : definition module for tm
44 - tm-nemacs.el : NEmacs depended part of tm
45 - tm-orig.el : FSF original Emacs and XEmacs
47 - tm-mule.el : Mule depended part of tm
48 - tm-MUAs : MIME extender for MUAs
49 - tm-mh-e : tm-MUA for mh-e
50 - tm-gnus : tm-MUA for GNUS
51 - tm-rmail : tm-MUA for RMAIL
52 - tm-vm : tm-MUA for vm
53 - preview filter for tm-view
54 - tm-rich : for text/enriched and text/richtext
55 - internal methods for tm-view
56 - tm-partial : automatic assembler for message/partial
57 - tm-ftp : for anonymous ftp
58 - tm-w3 : for text/html (using w3)
59 - tm-tar : for tar content
60 - tm-comp : extender for mime.el (big message automatic
61 splitter, previewer using tm-view, uuencode supporter)
62 - tm-setup: set up module for tm-MUAs
63 - mime-setup: set up module for MIME
65 +---------+-----------------+------------------+
66 | tm-MUAs | preview filters | internal methods |
67 +---------+-----------------+------------------+
69 +-----------------------+-------+-----+--------+
71 +-----------------------+ | | |
73 +-------------------------------+ MEL |external|
75 +-------------------------------+ |methods |
77 +-------------------------------+-----+ |
79 +-------------------------------------+--------+
86 Please edit tm/config.tm file.
91 Please edit external methods in `methods/' directory for your
105 4.5 Emacs Lisp modules
107 Run `make install-nemacs', if you use NEmacs.
109 Run `make install-mule1', if you use Mule 1.* (based on Emacs 18.*).
111 Run `make install-orig19', if you use Original Emacs 19.* or XEmacs.
113 Run `make install-mule2', if you use Mule 2.* (based on Emacs 19.*).
115 Or copy *.el to your emacs lisp directory.
122 (1) Please edit tm/gnus/Makefile.
124 If you use GNUS 3.*, please edit tm/gnus/g3-path.
126 If you use GNUS 4.*, please edit tm/gnus/g4-path.
128 If you use (ding) Gnus, please edit tm/gnus/d-path.
130 If you use Gnus 5.0.*, please edit tm/gnus/g5-path.
132 If you use September Gnus, please edit tm/gnus/s-path.
136 Run `make gnus3', if you use GNUS 3.*.
138 Run `make gnus4', if you use GNUS 4.*.
140 Run `make dgnus', if you use (ding) GNUS.
142 Run `make gnus5', if you use Gnus 5.0.*.
144 Run `make sgnus', if you use September Gnus.
148 Run `make install-18', if you use Emacs 18.*.
150 Run `make install-19', if you use Emacs 19.*.
155 If you want to use automatic MIME preview support, please apply a
156 patch to Gnus 5.*. This patch is called `with September patch'. It
157 provides September Gnus like article buffer feature.
159 It is available from ftp.jaist.ac.jp:/pub/GNU/elisp/dgnus/. Current
160 version is gnus-5.0.6-September.diff.
165 For current September Gnus, automatic MIME preview feature is
166 available without any patches.
171 (1) Please edit mh-e/Makefile
175 Run `make nemacs', if you use NEmacs.
177 Run `make mule1', if you use Mule 1.* (based on Emacs 18.*).
179 Run `make orig19', if you use Original Emacs 19.* or XEmacs.
181 Run `make mule2', if you use Mule 2.* (based on Emacs 19.*).
185 Run `make install-18', if you use Emacs 18.*.
187 Run `make install-19', if you use Emacs 19.*.
192 Please insert (load "mime-setup") or (load "tm-setup") in .emacs. If
193 you use mime-setup, you should prepare mime.el.
195 mime.el is included in emacs-mime-tools.shar written by UMEDA
196 Masanobu. It is available by anonymous ftp:
198 ftp.kyutech.ac.jp /pub/MultiMedia/mime/
199 ftp.jaist.ac.jp /pub/GNU/elisp/mime/
201 or a lot of anonymous ftp sites. Please try archie.
205 If you want use vm, please insert following in .vm or .emacs:
211 In XEmacs, current mime.el can not work, so you should use tm-setup.el
212 and another MIME composer, such as mime-compose.el. Following is a
216 ;; (require 'mh-e) ; if you use mh-e, please use it.
217 (load "mime-compose")
219 6.3 setting sample for hilit19
221 ======================================================================
223 (let* ((header-patterns '(("^Subject:.*$" nil msg-subject)
224 ("^From:.*$" nil msg-from)
225 ("^--text follows this line--$"
227 ("^[A-Za-z][A-Za-z0-9-]+:" nil msg-header)
229 (body-patterns '(("^\\(In article\\|[ \t]*\\w*[]<>}|]\\).*$"
231 (message-patterns (append header-patterns body-patterns))
233 (hilit-set-mode-patterns 'msg-header header-patterns)
234 (hilit-set-mode-patterns 'msg-body body-patterns)
235 (hilit-set-mode-patterns 'mime/viewer-mode
237 'hilit-rehighlight-message)
239 (add-hook 'mime-viewer/content-header-filter-hook
240 (function hilit-rehighlight-buffer-quietly))
241 (add-hook 'mime-viewer/plain-text-preview-hook
242 (function hilit-rehighlight-buffer-quietly))
244 ======================================================================
247 7 How to use mime/viewer-mode
249 In tm-MUAs, you can use mime/viewer-mode if you press `v' key (in VM,
250 `Z' key) in Summary mode. mime/viewer-mode has following functions:
252 q quit from mime/viewer-mode
253 u move to upper content
254 p move to previous content
255 n move to next content
256 SPC scroll up or move to next content
257 M-SPC scroll down or move to previous content
258 DEL scroll down or move to previous content
259 RET move to next line
260 M-RET move to previous line
261 v play current content
262 e extract as file current content
263 C-c C-p print current content
264 button-2 move to point under the mouse cursor and play
269 If you write bug-reports and/or propositions for improvement, please
270 post them to following news groups:
272 fj.editor.emacs (Japanese or English)
273 fj.editor.mule (Japanese or English; if you use Mule)
274 gnu.emacs.help (English)
275 gnu.emacs.vm.info (English; about tm-vm)
279 tm@chamonix.jaist.ac.jp (Japanese or English)
280 tm-eng@chamonix.jaist.ac.jp (English)
282 Via tm ML, You can report bugs of tm, obtain the latest release of tm
283 package, and discuss the future enhancements to tm. To join tm ML,
286 tm-admin@chamonix.jaist.ac.jp (Japanese or English)
287 tm-eng-admin@chamonix.jaist.ac.jp (English)
289 Since the user registration is manually done, please write the mail
290 body in human-recognizable language (^_^).
295 - automatic MIME preview support for another MUA
296 - better XEmacs support (e.g. inline image)
297 - development of internal method for message/external-body based on
299 - development good MIME composer