tm 7.32.
[elisp/tm.git] / README.en
index 9716008..c4e2fa1 100644 (file)
--- a/README.en
+++ b/README.en
@@ -1,7 +1,7 @@
 [README for tm (English Version)]
 by MORIOKA Tomohiko <morioka@jaist.ac.jp>
 and KOBAYASHI Shuhei <shuhei@cmpt01.phys.tohoku.ac.jp>
-$Id: README.en,v 7.5 1995/12/07 11:24:57 morioka Exp $
+$Id: README.en,v 7.5 1995/12/07 11:24:57 morioka Exp morioka $
 
 1 What's tm?
 
@@ -49,6 +49,7 @@ $Id: README.en,v 7.5 1995/12/07 11:24:57 morioka Exp $
                - tm-tar     : for tar content
                - tm-latex   : for LaTeX
                - tm-html    : for text/html
+               - tm-pgp     : for PGP
        - tm-edit : MIME composer (mime.el and tm-comp.el were merged)
                - tm-ew-e.el : MIME encoded-word encoder
        - tm-def  : definition module for tm
@@ -210,7 +211,55 @@ RFC 1522 encoded-word. So it is not necessary to reset
 (require 'tm-vm) *after* (bbdb-insinuate-vm).
 
 
-6.2 setting sample for hilit19
+6.2 PGP
+
+  If you have PGP and Mailcrypt package, you can use PGP on
+MIME. Currently, 2 drafts (draft-elkins-pem-pgp-01.txt and
+draft-kazu-pgp-mime-00.txt) are proposed, so tm provide both way.
+
+  For decoding, please insert following into ~/.emacs:
+
+======================================================================
+(call-after-loaded
+ 'tm-view
+ (function
+  (lambda ()
+    (require 'tm-pgp)
+    )))
+======================================================================
+
+tm-pgp.el is a internal method modules to support PGP. It currently
+supports application/pgp of draft-kazu-pgp-mime-00.txt and
+application/pgp-signature of
+draft-elkins-pem-pgp-01.txt. application/pgp-encrypted and
+application/pgp-keys will be supported.
+
+  For encoding, tm-edit provides 2 mechanism. One is for signing or
+encrypting for message as application/pgp. There are two command
+`mime-editor/set-sign' and `mime-editor/set-encrypt'. They set a
+message is signed, encrypted or not.
+
+  Another one is for content. There are 2 kinds of enclosure for PGP:
+``signed'' and ``encrypted''. Their enclosure are bound to key and
+menu. If you use this mechanism, please specify 2 variables:
+`mime-editor/signing-type' and `mime-editor/encrypting-type'. They
+requires following values:
+
+       pgp-elkins      processed as draft-elkins-pem-pgp-01.txt
+       pgp-kazu        processed as draft-kazu-pgp-mime-00.txt
+       nil             not processed
+
+Sorry, pgp-elkins is not supported yet. It will be supported. If you
+use ``signed'' and ``encrypted'' as draft-kazu-pgp-mime-00.txt, please 
+insert following into ~/.emacs:
+
+======================================================================
+(setq mime-editor/signing-type    'pgp-kazu)
+(setq mime-editor/encrypting-type 'pgp-kazu)
+======================================================================
+
+
+6.3 setting sample for hilit19
 
 ======================================================================
 (cond (window-system
@@ -237,7 +286,7 @@ RFC 1522 encoded-word. So it is not necessary to reset
        ))
 ======================================================================
 
-6.3 setting sample for browse
+6.4 setting sample for browse
 
   If you have browse-url.el (included in Gnus 5.*, September Gnus and
 Emacs 19.30 or later), you can use URL button in