From: Daiki Ueno Date: Sun, 23 Aug 2009 16:38:42 +0000 (+0000) Subject: (Encrypting/decrypting *.gpg files): Don't refer to nonexistent X-Git-Tag: emacs-pretest-23.1.90~1723 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3b7ab45f18fe8b935b50401c81a469f85fe0ad17;p=emacs.git (Encrypting/decrypting *.gpg files): Don't refer to nonexistent epa-setup. --- diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 67963c1c9c2..330c301ac03 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog @@ -3,6 +3,8 @@ * epa.texi (Quick start): Don't refer to nonexistent epa-mode. (Mail-mode integration): Mention epa-mail-mode and epa-global-mail-mode. Reported by Jari Aalto (Bug#4211). + (Encrypting/decrypting *.gpg files): Don't refer to nonexistent + epa-setup. 2009-08-16 Michael Albinus diff --git a/doc/misc/epa.texi b/doc/misc/epa.texi index 32cc20778f7..cc86a6768b5 100644 --- a/doc/misc/epa.texi +++ b/doc/misc/epa.texi @@ -303,9 +303,12 @@ Encrypt marked files. @node Mail-mode integration @section Mail-mode integration -EasyPG Assistant provides a minor mode to help user compose inline PGP -messages. Inline PGP is sending the OpenPGP blobs directly inside a -mail message and it is not recommended and you should consider to use +EasyPG Assistant provides a minor mode @code{epa-mail-mode} to help +user compose inline PGP messages. Inline PGP is a traditional style +of sending signed/encrypted emails by embedding raw OpenPGP blobs +inside a message body, not using modern MIME format. + +NOTE: Inline PGP is not recommended and you should consider to use PGP/MIME. See @uref{http://josefsson.org/inline-openpgp-considered-harmful.html, Inline PGP in E-mail is bad, Mm'kay?}. @@ -344,12 +347,12 @@ key in the recipient list, use @samp{encrypt-to} option in @node Encrypting/decrypting *.gpg files @section Encrypting/decrypting *.gpg files -Once @code{epa-setup} is loaded, every file whose extension is -@samp{.gpg} will be treated as encrypted. That is, when you attempt -to open such a file which already exists, the decrypted text is -inserted in the buffer rather than encrypted one. On the other hand, -when you attempt to save the buffer to a file whose extension is -@samp{.gpg}, encrypted data is written. +By default, every file whose extension is @samp{.gpg} will be treated +as encrypted. That is, when you attempt to open such a file which +already exists, the decrypted text is inserted in the buffer rather +than encrypted one. On the other hand, when you attempt to save the +buffer to a file whose extension is @samp{.gpg}, encrypted data is +written. If you want to temporarily disable this behavior, use @kbd{M-x epa-file-disable}, and then to enable this behavior use @kbd{M-x