# HG changeset patch # User Daiki Ueno # Date 1251045522 0 # Node ID fa3c2cd2554d9261e3e32785516abf1f0778e024 # Parent 5341a7b533a2c09b892f4548cbdc6453f0fbe0bf (Encrypting/decrypting *.gpg files): Don't refer to nonexistent epa-setup. diff -r 5341a7b533a2 -r fa3c2cd2554d doc/misc/ChangeLog --- a/doc/misc/ChangeLog Sun Aug 23 16:23:57 2009 +0000 +++ b/doc/misc/ChangeLog Sun Aug 23 16:38:42 2009 +0000 @@ -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 -r 5341a7b533a2 -r fa3c2cd2554d doc/misc/epa.texi --- a/doc/misc/epa.texi Sun Aug 23 16:23:57 2009 +0000 +++ b/doc/misc/epa.texi Sun Aug 23 16:38:42 2009 +0000 @@ -303,9 +303,12 @@ @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 @@ @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