1 [README for tm (English Version)]
2 by MORIOKA Tomohiko <morioka@jaist.ac.jp>
3 $Id: README.eng,v 6.11 1995/09/20 17:16:09 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/tiny-mime-eng.ol : tiny-mime.el Reference Manual (Emacs Outline)
23 - doc/tiny-mime-eng.tex : tiny-mime.el Reference Manual (LaTeX)
24 - rel-6eng.ol : notice about major changes of tm 6.* (Emacs Outline)
28 - doc/tm_ja.tex : tm Reference Manual (TeXinfo)
29 - doc/tm-view_ja.tex : tm-view Reference Manual (TeXinfo)
30 - doc/tm-eword_ja.texi : tiny-mime.el Reference Manual (TeXinfo)
31 - doc/signature-jp.ol : signature.el Reference Manual (Emacs Outline)
32 - doc/signature-jp.tex : signature.el Reference Manual (LaTeX)
33 - rel-6jp.ol : notice about major changes of tm 6.* (Emacs Outline)
38 Tm has following modules:
40 - tiny-mime : MIME header encoder/decoder
41 - tm-view : MIME viewer
42 - tm-def : definition module for tm
43 - tm-MUAs : MIME extender for MUAs
44 - tm-mh-e : tm-MUA for mh-e
45 - tm-gnus : tm-MUA for GNUS
46 - tm-rmail : tm-MUA for RMAIL
47 - tm-vm : tm-MUA for vm
48 - extender for tm-view
49 - tm-partial : automatic assembler for message/partial
50 - tm-ftp : for anonymous ftp
51 - tm-rich : for text/enriched and text/richtext
52 - tm-comp : extender for mime.el (big message automatic
53 splitter, previewer using tm-view, uuencode
55 - tm-setup: set up module for tm-MUAs
56 - mime-setup: set up module for MIME
63 Please edit tm/config.tm file.
68 Please edit external methods in `methods/' directory for your
82 4.5 Emacs Lisp modules
84 Run `make install-nemacs', if you use NEmacs.
86 Run `make install-mule1', if you use Mule 1.* (based on Emacs 18.*).
88 Run `make install-orig19', if you use Original Emacs 19.* or XEmacs.
90 Run `make install-mule2', if you use Mule 2.* (based on Emacs 19.*).
92 Or copy *.el to your emacs lisp directory.
99 (1) Please edit gnus/Makefile.
101 If you use GNUS 3.*, please edit gnus/g3-path.
103 If you use GNUS 4.*, please edit gnus/g4-path.
105 If you use (ding) GNUS, please edit gnus/d-path.
107 If you use GNUS 5.*, please edit gnus/g5-path.
111 Run `make gnus3', if you use GNUS 3.*.
113 Run `make gnus4', if you use GNUS 4.*.
115 Run `make dgnus', if you use (ding) GNUS.
117 Run `make gnus5', if you use GNUS 5.*.
121 Run `make install-18', if you use Emacs 18.*.
123 Run `make install-19', if you use Emacs 19.*.
128 If you want to use automatic MIME preview support, please apply a
129 patch to Gnus 5.*. This patch is called `with tm patch'. It is
130 available from ftp.jaist.ac.jp:/pub/GNU/elisp/dgnus/. Current version
131 is gnus-5.0.4-tm.diff.
136 (1) Please edit mh-e/Makefile
140 Run `make nemacs', if you use NEmacs.
142 Run `make mule1', if you use Mule 1.* (based on Emacs 18.*).
144 Run `make orig19', if you use Original Emacs 19.* or XEmacs.
146 Run `make mule2', if you use Mule 2.* (based on Emacs 19.*).
150 Run `make install-18', if you use Emacs 18.*.
152 Run `make install-19', if you use Emacs 19.*.
157 Please insert (load "mime-setup") or (load "tm-setup") in .emacs. If
158 you use mime-setup, you should prepare mime.el.
160 mime.el is included in emacs-mime-tools.shar written by UMEDA
161 Masanobu. It is available by anonymous ftp:
163 ftp.kyutech.ac.jp /pub/MultiMedia/mime/
164 ftp.jaist.ac.jp /pub/GNU/elisp/mime/
166 or a lot of anonymous ftp sites. Please try archie.
170 If you want use vm, please insert following in .vm or .emacs:
176 In XEmacs, current mime.el can not work, so you should use tm-setup.el
177 and another MIME composer, such as mime-compose.el. Following is a
181 ;; (require 'mh-e) ; if you use mh-e, please use it.
182 (load "mime-compose")
184 6.3 setting sample for hilit19
186 ======================================================================
188 (let* ((header-patterns '(("^Subject:.*$" nil msg-subject)
189 ("^From:.*$" nil msg-from)
190 ("^--text follows this line--$"
192 ("^[A-Za-z][A-Za-z0-9-]+:" nil msg-header)
194 (body-patterns '(("^\\(In article\\|[ \t]*\\w*[]<>}|]\\).*$"
196 (message-patterns (append header-patterns body-patterns))
198 (hilit-set-mode-patterns 'msg-header header-patterns)
199 (hilit-set-mode-patterns 'msg-body body-patterns)
200 (hilit-set-mode-patterns 'mime/viewer-mode
202 'hilit-rehighlight-message)
204 (add-hook 'mime-viewer/content-header-filter-hook
205 (function hilit-rehighlight-buffer-quietly))
206 (add-hook 'mime-viewer/plain-text-preview-hook
207 (function hilit-rehighlight-buffer-quietly))
209 ======================================================================
212 7 How to use mime/viewer-mode
214 In tm-MUAs, you can use mime/viewer-mode if you press `v' key (in VM,
215 `Z' key) in Summary mode. mime/viewer-mode has following functions:
217 q quit from mime/viewer-mode
218 u move to upper content
219 p move to previous content
220 n move to next content
221 SPC scroll up or move to next content
222 M-SPC scroll down or move to previous content
223 DEL scroll down or move to previous content
224 RET move to next line
225 M-RET move to previous line
226 v play current content
227 e extract as file current content
228 C-c C-p print current content
229 button-2 move to point under the mouse cursor and play
234 If you write bug-reports and/or propositions for improvement, please
235 post them to following news groups:
237 fj.editor.emacs (Japanese or English)
238 fj.editor.mule (Japanese or English; if you use Mule)
239 gnu.emacs.help (English)
240 gnu.emacs.vm.info (English; about tm-vm)
244 tm@chamonix.jaist.ac.jp (Japanese or English)
245 tm-eng@chamonix.jaist.ac.jp (English)
247 Via tm ML, You can report bugs of tm, obtain the latest release of tm
248 package, and discuss the future enhancements to tm. To join tm ML,
251 tm-admin@chamonix.jaist.ac.jp (Japanese or English)
252 tm-eng-admin@chamonix.jaist.ac.jp (English)
254 Since the user registration is manually done, please write the mail
255 body in human-recognizable language (^_^).
260 - better XEmacs support (i.e. richtext filter or inline image)
261 - multi frame support
262 - improvement of tiny-mime
263 - better uuencode support
264 - development of internal method for message/external-body based on
266 - development good MIME composer