tm 6.92.
[elisp/tm.git] / README.eng
index 5b1075f..a2bcdd4 100644 (file)
@@ -1,6 +1,6 @@
 [README for tm (English Version)]
 by MORIOKA Tomohiko <morioka@jaist.ac.jp>
-$Id: README.eng,v 6.0 1995/08/01 19:09:28 morioka Exp $
+$Id: README.eng,v 6.11 1995/09/20 17:16:09 morioka Exp $
 
 1 What's tm?
 
@@ -39,7 +39,7 @@ Tm has following modules:
 
        - tiny-mime : MIME header encoder/decoder
        - tm-view : MIME viewer
-       - tm-misc : library module for tm-MUAs
+       - tm-def  : definition module for tm
        - tm-MUAs : MIME extender for MUAs
                - tm-mh-e  : tm-MUA for mh-e
                - tm-gnus  : tm-MUA for GNUS
@@ -58,36 +58,15 @@ Tm has following modules:
 
 4 Install
 
-4.0 install tl
+4.1 tm/config.tm
 
-Tm uses Emacs Lisp library ``tl'', so, at first, you install
-tl. Please read tl/README.eng.
-
-
-4.1 Makefile
-
-  Please edit Makefile.
-
-4.1.1 specify Emacs executables
-
-  Please specify Emacs executable file name.
-
-       NEMACS  = for NEMACS (or NEpoch)
-       MULE1   = for Mule 1.* (based on Emacs 18.*)
-       ORIG19  = for Emacs 19.* (FSF original or XEmacs)
-       MULE2   = for MULE 2.* (based on Emacs 19.*)
-
-4.1.2 specify Emacs Lisp install path
-
-  Please specify Emacs Lisp install path.
-
-       TLDIR18 = for Emacs 18.* (NEMACS, NEpoch or MULE 1)
-       TLDIR19 = for Emacs 19.* (FSF original, XEmacs or MULE 2)
+  Please edit tm/config.tm file.
 
 
 4.2 External methods
 
-  Edit external methods in `methods/' directory for your environment.
+  Please edit external methods in `methods/' directory for your
+environment.
 
 
 4.3 make
@@ -117,7 +96,15 @@ tl. Please read tl/README.eng.
 
 5.1 tm-gnus
 
-(1) Please edit gnus/Makefile
+(1) Please edit gnus/Makefile.
+
+    If you use GNUS 3.*, please edit gnus/g3-path.
+
+    If you use GNUS 4.*, please edit gnus/g4-path.
+
+    If you use (ding) GNUS, please edit gnus/d-path.
+
+    If you use GNUS 5.*, please edit gnus/g5-path.
 
 (2) make
 
@@ -127,6 +114,8 @@ tl. Please read tl/README.eng.
 
   Run `make dgnus', if you use (ding) GNUS.
 
+  Run `make gnus5', if you use GNUS 5.*.
+
 (3) install
 
   Run `make install-18', if you use Emacs 18.*.
@@ -134,15 +123,15 @@ tl. Please read tl/README.eng.
   Run `make install-19', if you use Emacs 19.*.
 
 
-5.1.1 (ding) GNUS
+5.1.1 Gnus 5.*
 
   If you want to use automatic MIME preview support, please apply a
-patch to (ding) GNUS. This patch is called `with tm patch'. It is
+patch to Gnus 5.*. This patch is called `with tm patch'. It is
 available from ftp.jaist.ac.jp:/pub/GNU/elisp/dgnus/. Current version
-is dgnus-0.98.6-tm.diff.
+is gnus-5.0.4-tm.diff.
 
 
-5.1 tm-mh-e
+5.2 tm-mh-e
 
 (1) Please edit mh-e/Makefile
 
@@ -163,16 +152,19 @@ is dgnus-0.98.6-tm.diff.
   Run `make install-19', if you use Emacs 19.*.
 
 
-5.2 tm-rmail or tm-vm
-
-  Please copy tm-rmail.el or tm-vm.el to Emacs Lisp install path.
-
-
 6 .emacs
 
 Please insert (load "mime-setup") or (load "tm-setup") in .emacs. If
 you use mime-setup, you should prepare mime.el.
 
+mime.el is included in emacs-mime-tools.shar written by UMEDA
+Masanobu. It is available by anonymous ftp:
+
+       ftp.kyutech.ac.jp       /pub/MultiMedia/mime/
+       ftp.jaist.ac.jp         /pub/GNU/elisp/mime/
+
+or a lot of anonymous ftp sites. Please try archie.
+
 6.1 VM
 
 If you want use vm, please insert following in .vm or .emacs:
@@ -189,22 +181,53 @@ example:
        ;; (require 'mh-e) ; if you use mh-e, please use it.
        (load "mime-compose")
 
+6.3 setting sample for hilit19
+
+======================================================================
+(cond (window-system
+       (let* ((header-patterns '(("^Subject:.*$" nil msg-subject)
+                                ("^From:.*$" nil msg-from)
+                                ("^--text follows this line--$"
+                                 nil msg-separator)
+                                ("^[A-Za-z][A-Za-z0-9-]+:" nil msg-header)
+                                ))
+             (body-patterns '(("^\\(In article\\|[ \t]*\\w*[]<>}|]\\).*$"
+                               nil msg-quote)))
+             (message-patterns (append header-patterns body-patterns))
+             )
+        (hilit-set-mode-patterns 'msg-header header-patterns)
+        (hilit-set-mode-patterns 'msg-body body-patterns)
+        (hilit-set-mode-patterns 'mime/viewer-mode
+                                 message-patterns
+                                 'hilit-rehighlight-message)
+        )
+       (add-hook 'mime-viewer/content-header-filter-hook
+                (function hilit-rehighlight-buffer-quietly))
+       (add-hook 'mime-viewer/plain-text-preview-hook
+                (function hilit-rehighlight-buffer-quietly))
+       ))
+======================================================================
+
 
 7 How to use mime/viewer-mode
 
 In tm-MUAs, you can use mime/viewer-mode if you press `v' key (in VM,
 `Z' key) in Summary mode. mime/viewer-mode has following functions:
 
-       q       quit from mime/viewer-mode
-       u       move to the upper content
-       p       move to the previous content
-       n       move to the next content
-       SPC     scroll up
-       M-SPC   scroll down
-       v       play the content
-       e       extract as file the content
-       C-c C-p print the content
-
+       q         quit from mime/viewer-mode
+       u         move to upper content
+       p         move to previous content
+       n         move to next content
+       SPC       scroll up or move to next content
+       M-SPC     scroll down or move to previous content
+       DEL       scroll down or move to previous content
+       RET       move to next line
+       M-RET     move to previous line
+       v         play current content
+       e         extract as file current content
+       C-c C-p   print current content
+       button-2  move to point under the mouse cursor and play
+                 current content
 
 8 Bug report