[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 843b55f: ; Fix recent message.el-related changes
From: |
Eli Zaretskii |
Subject: |
master 843b55f: ; Fix recent message.el-related changes |
Date: |
Sat, 8 Aug 2020 10:07:39 -0400 (EDT) |
branch: master
commit 843b55f6822bc1e8b97b91222e7bc03b5caa9919
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
; Fix recent message.el-related changes
* lisp/gnus/message.el (message-openpgp-header):
* doc/misc/message.texi (OpenPGP Header): Fix the documentation
added in recent commits.
---
doc/misc/message.texi | 7 ++++---
lisp/gnus/message.el | 16 ++++++++--------
2 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/doc/misc/message.texi b/doc/misc/message.texi
index d6df1a6..687ee1f 100644
--- a/doc/misc/message.texi
+++ b/doc/misc/message.texi
@@ -1256,7 +1256,7 @@ according to two different standards, namely
@acronym{PGP} or
@subsection OpenPGP Header
The @samp{OpenPGP} header can be used to provide information about the
-sender's OpenPGP key. This is a formalisation and modernisation of
+sender's OpenPGP key. This is a formalization and modernization of
the non-standard @samp{X-PGP-Key} (etc.) headers that have been in use
for a long time. For more details, see
@uref{https://tools.ietf.org/html/draft-josefsson-openpgp-mailnews-header}.
@@ -1268,9 +1268,10 @@ To use this in Message, say:
(add-hook 'message-send-hook 'messasge-add-openpgp-header)
@end lisp
-Then customize the @code{message-openpgp-header} variable according to
+@noindent
+then customize the @code{message-openpgp-header} variable according to
your PGP setup. The variable is a list of the key ID, the key URL or
-ASCII armoured, and the protection preference, one of
+ASCII armored key, and the protection preference, one of
@samp{"unprotected"}, @samp{"sign"}, @samp{"encrypt"} or
@samp{"signencrypt"}.
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
index e5ddfcf..d8fef67 100644
--- a/lisp/gnus/message.el
+++ b/lisp/gnus/message.el
@@ -2738,18 +2738,18 @@ systematically send encrypted emails when possible."
(mml-secure-message-sign-encrypt)))
(defcustom message-openpgp-header nil
- "Specification for \"OpenPGP\" header.
+ "Specification for the \"OpenPGP\" header of outgoing messages.
-Otherwise, the variable must be a
-list with three elements, all strings:
-- Key ID, in hexadecimal form
-- Key URL or ASCII armoured key.
+The value must be a list of three elements, all strings:
+- Key ID, in hexadecimal form;
+- Key URL or ASCII armoured key; and
- Protection preference, one of: \"unprotected\", \"sign\",
\"encrypt\" or \"signencrypt\".
-Each value may be nil, in which case it won't be inserted. If all
-the values are nil, or `message-openpgp-header' is nil itself,
-don't insert any header."
+Each of the elements may be nil, in which case its part in the
+OpenPGP header will be left out. If all the values are nil,
+or `message-openpgp-header' is itself nil, the OpenPGP header
+will not be inserted."
:type '(choice
(const nil :tag "Don't add OpenPGP header")
(list (choice (string :tag "ID")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 843b55f: ; Fix recent message.el-related changes,
Eli Zaretskii <=