From 79b6e0a971a3c3f56092e0d33aac43fbd0e3eef1 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 5 Feb 2014 20:05:43 -0800 Subject: [PATCH] Some doc for epa-mail-aliases * doc/misc/epa.texi (Mail-mode integration): Mention epa-mail-aliases. * lisp/epa.el (epa-mail-aliases): Doc fix. * etc/NEWS: Related edit. --- doc/misc/ChangeLog | 2 ++ doc/misc/epa.texi | 5 ++++- etc/NEWS | 5 +++-- lisp/ChangeLog | 4 ++++ lisp/epa.el | 4 +++- 5 files changed, 16 insertions(+), 4 deletions(-) diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 739d6938f0..7242110ec0 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog @@ -1,5 +1,7 @@ 2014-02-06 Glenn Morris + * epa.texi (Mail-mode integration): Mention epa-mail-aliases. + * mh-e.texi, viper.texi: Do not use colons in index entries. 2014-02-05 Paul Eggert diff --git a/doc/misc/epa.texi b/doc/misc/epa.texi index 4c4bbba801..4dbc1373d3 100644 --- a/doc/misc/epa.texi +++ b/doc/misc/epa.texi @@ -342,11 +342,14 @@ Compose a signed message from the current buffer. @kindex @kbd{C-c C-e C-e} @kindex @kbd{C-c C-e e} @findex epa-mail-encrypt +@vindex epa-mail-aliases Compose an encrypted message from the current buffer. By default it tries to build the recipient list from @samp{to}, @samp{cc}, and @samp{bcc} fields of the mail header. To include your key in the recipient list, use @samp{encrypt-to} option in -@file{~/.gnupg/gpg.conf}. +@file{~/.gnupg/gpg.conf}. This function translates recipient +addresses using the @code{epa-mail-aliases} list. You can also +use that option to ignore specific recipients for encryption purposes. @end table diff --git a/etc/NEWS b/etc/NEWS index 63ad54cf7a..7f58284d97 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -517,9 +517,10 @@ You can customize `electric-pair-text-pairs' and `electric-pair-text-syntax-table' to tweak pairing behavior inside strings and comments. ++++ ** New EPA option `epa-mail-aliases'. -You can set this to a list of email address aliases for keys to use -in `epa-mail-encrypt'. +You can set this to a list of email address aliases that `epa-mail-encrypt' +should use to find keys. --- ** New ERC option `erc-accidental-paste-threshold-seconds'. diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 571f954727..1a1a7031b8 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2014-02-06 Glenn Morris + + * epa.el (epa-mail-aliases): Doc fix. + 2014-02-06 Dmitry Gutov * emacs-lisp/lisp.el (lisp-completion-at-point): Use diff --git a/lisp/epa.el b/lisp/epa.el index ec1c0387be..be439ef241 100644 --- a/lisp/epa.el +++ b/lisp/epa.el @@ -57,7 +57,9 @@ instead of encrypting it for ALIAS, encrypt it for EXPANSIONS... If EXPANSIONS is empty, ignore ALIAS as regards encryption. This is a handy way to avoid warnings about addresses that you don't -have any key for." +have any key for. + +The command `epa-mail-encrypt' uses this." :type '(repeat (cons (string :tag "Alias") (repeat (string :tag "Expansion")))) :group 'epa :version "24.4") -- 2.20.1