diff options
| author | Stefan Kangas | 2022-08-16 15:29:30 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2022-08-16 15:29:30 +0200 |
| commit | 1097c0d1e4d0e2106f2b63396897e8bc1a5fa808 (patch) | |
| tree | 9fb7e5eddea6ccaaa104aff2664af978dd3a639e | |
| parent | b4879603fd8f9c8e82e30c5fbb65fa63d8166ee4 (diff) | |
| download | emacs-1097c0d1e4d0e2106f2b63396897e8bc1a5fa808.tar.gz emacs-1097c0d1e4d0e2106f2b63396897e8bc1a5fa808.zip | |
Advertise obsolete library pgg.el less
* doc/misc/gnus-faq.texi (FAQ 8-2):
* doc/misc/gnus.texi (Security):
* doc/misc/message.texi (Using OpenPGP, PGP Compatibility):
* doc/misc/mh-e.texi (Reading PGP, Sending PGP):
* lisp/gnus/mml2015.el (mml2015-use):
* lisp/info-look.el (mapc):
* lisp/mh-e/mh-e.el (mh-mml-method-default): Advertise obsolete
library pgg.el less.
* lisp/mh-e/mh-identity.el (mh-identity-pgg-default-user-id): Rename
from 'mh-identity-gpg-default-user-id', and make the old name into
obsolete variable alias. Update all uses.
| -rw-r--r-- | doc/misc/gnus-faq.texi | 7 | ||||
| -rw-r--r-- | doc/misc/gnus.texi | 16 | ||||
| -rw-r--r-- | doc/misc/message.texi | 7 | ||||
| -rw-r--r-- | doc/misc/mh-e.texi | 45 | ||||
| -rw-r--r-- | lisp/gnus/mml2015.el | 2 | ||||
| -rw-r--r-- | lisp/info-look.el | 1 | ||||
| -rw-r--r-- | lisp/mh-e/mh-e.el | 11 | ||||
| -rw-r--r-- | lisp/mh-e/mh-identity.el | 12 | ||||
| -rw-r--r-- | lisp/mh-e/mh-mime.el | 12 |
9 files changed, 28 insertions, 85 deletions
diff --git a/doc/misc/gnus-faq.texi b/doc/misc/gnus-faq.texi index c442ca1bacd..6d09fd4ec96 100644 --- a/doc/misc/gnus-faq.texi +++ b/doc/misc/gnus-faq.texi | |||
| @@ -1920,10 +1920,9 @@ I can't find anything in the Gnus manual about X | |||
| 1920 | @subsubheading Answer | 1920 | @subsubheading Answer |
| 1921 | 1921 | ||
| 1922 | There's not only the Gnus manual but also the manuals for message, | 1922 | There's not only the Gnus manual but also the manuals for message, |
| 1923 | emacs-mime, sieve, EasyPG Assistant, and pgg. Those packages are | 1923 | emacs-mime, sieve, and EasyPG Assistant. Those packages are |
| 1924 | distributed with Gnus and used by Gnus but aren't really part of core | 1924 | distributed with Emacs and used by Gnus. They are documented in |
| 1925 | Gnus, so they are documented in different info files, you should have | 1925 | separate info files, so you should have a look in those manuals, too. |
| 1926 | a look in those manuals, too. | ||
| 1927 | 1926 | ||
| 1928 | @node FAQ 8-3 | 1927 | @node FAQ 8-3 |
| 1929 | @subsubheading Question 8.3 | 1928 | @subsubheading Question 8.3 |
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi index 2b0ee6c114a..acc70a260f3 100644 --- a/doc/misc/gnus.texi +++ b/doc/misc/gnus.texi | |||
| @@ -11560,8 +11560,8 @@ things to work: | |||
| 11560 | To handle @acronym{PGP} and @acronym{PGP/MIME} messages, you have to | 11560 | To handle @acronym{PGP} and @acronym{PGP/MIME} messages, you have to |
| 11561 | install an OpenPGP implementation such as GnuPG@. The Lisp interface | 11561 | install an OpenPGP implementation such as GnuPG@. The Lisp interface |
| 11562 | to GnuPG included with Emacs is called EasyPG (@pxref{Top, ,EasyPG, | 11562 | to GnuPG included with Emacs is called EasyPG (@pxref{Top, ,EasyPG, |
| 11563 | epa, EasyPG Assistant user's manual}), but PGG (@pxref{Top, ,PGG, pgg, | 11563 | epa, EasyPG Assistant user's manual}), but Mailcrypt is also |
| 11564 | PGG Manual}), and Mailcrypt are also supported. | 11564 | supported. |
| 11565 | 11565 | ||
| 11566 | @item | 11566 | @item |
| 11567 | To handle @acronym{S/MIME} message, you need to install OpenSSL@. OpenSSL 0.9.6 | 11567 | To handle @acronym{S/MIME} message, you need to install OpenSSL@. OpenSSL 0.9.6 |
| @@ -11599,18 +11599,16 @@ public-key matching the @samp{From:} header as the recipient; | |||
| 11599 | @item mml1991-use | 11599 | @item mml1991-use |
| 11600 | @vindex mml1991-use | 11600 | @vindex mml1991-use |
| 11601 | Symbol indicating elisp interface to OpenPGP implementation for | 11601 | Symbol indicating elisp interface to OpenPGP implementation for |
| 11602 | @acronym{PGP} messages. The default is @code{epg}, but @code{pgg}, | 11602 | @acronym{PGP} messages. The default is @code{epg}, but |
| 11603 | and @code{mailcrypt} are also supported although | 11603 | @code{mailcrypt} is also supported although deprecated. By default, |
| 11604 | deprecated. By default, Gnus uses the first available interface in | 11604 | Gnus uses the first available interface in this order. |
| 11605 | this order. | ||
| 11606 | 11605 | ||
| 11607 | @item mml2015-use | 11606 | @item mml2015-use |
| 11608 | @vindex mml2015-use | 11607 | @vindex mml2015-use |
| 11609 | Symbol indicating elisp interface to OpenPGP implementation for | 11608 | Symbol indicating elisp interface to OpenPGP implementation for |
| 11610 | @acronym{PGP/MIME} messages. The default is @code{epg}, but | 11609 | @acronym{PGP/MIME} messages. The default is @code{epg}, but |
| 11611 | @code{pgg}, and @code{mailcrypt} are also supported | 11610 | @code{mailcrypt} is also supported although deprecated. By default, |
| 11612 | although deprecated. By default, Gnus uses the first available | 11611 | Gnus uses the first available interface in this order. |
| 11613 | interface in this order. | ||
| 11614 | 11612 | ||
| 11615 | @end table | 11613 | @end table |
| 11616 | 11614 | ||
diff --git a/doc/misc/message.texi b/doc/misc/message.texi index 49e3faed7b1..6a6beb7a1ff 100644 --- a/doc/misc/message.texi +++ b/doc/misc/message.texi | |||
| @@ -1249,8 +1249,8 @@ as @uref{https://www.gnupg.org/, GNU Privacy Guard}. Pre-OpenPGP | |||
| 1249 | implementations such as PGP 2.x and PGP 5.x are also supported. The | 1249 | implementations such as PGP 2.x and PGP 5.x are also supported. The |
| 1250 | default Emacs interface to the PGP implementation is EasyPG | 1250 | default Emacs interface to the PGP implementation is EasyPG |
| 1251 | (@pxref{Top,,EasyPG Assistant User's Manual, epa, EasyPG Assistant | 1251 | (@pxref{Top,,EasyPG Assistant User's Manual, epa, EasyPG Assistant |
| 1252 | User's Manual}), but PGG (@pxref{Top, ,PGG, pgg, PGG Manual}) and | 1252 | User's Manual}), but Mailcrypt is also supported. @xref{PGP |
| 1253 | Mailcrypt are also supported. @xref{PGP Compatibility}. | 1253 | Compatibility}. |
| 1254 | 1254 | ||
| 1255 | As stated earlier, messages encrypted with OpenPGP can be formatted | 1255 | As stated earlier, messages encrypted with OpenPGP can be formatted |
| 1256 | according to two different standards, namely @acronym{PGP} or | 1256 | according to two different standards, namely @acronym{PGP} or |
| @@ -1339,8 +1339,7 @@ your PGP implementation, so we refer to it. | |||
| 1339 | If you have imported your old PGP 2.x key into GnuPG, and want to send | 1339 | If you have imported your old PGP 2.x key into GnuPG, and want to send |
| 1340 | signed and encrypted messages to your fellow PGP 2.x users, you'll | 1340 | signed and encrypted messages to your fellow PGP 2.x users, you'll |
| 1341 | discover that the receiver cannot understand what you send. One | 1341 | discover that the receiver cannot understand what you send. One |
| 1342 | solution is to use PGP 2.x instead (e.g., if you use @code{pgg}, set | 1342 | solution is to use PGP 2.x instead. You could also convince your |
| 1343 | @code{pgg-default-scheme} to @code{pgp}). You could also convince your | ||
| 1344 | fellow PGP 2.x users to convert to GnuPG@. | 1343 | fellow PGP 2.x users to convert to GnuPG@. |
| 1345 | @vindex mml-signencrypt-style-alist | 1344 | @vindex mml-signencrypt-style-alist |
| 1346 | As a final workaround, you can make the sign and encryption work in | 1345 | As a final workaround, you can make the sign and encryption work in |
diff --git a/doc/misc/mh-e.texi b/doc/misc/mh-e.texi index 6a948ce2ca8..2106c674f37 100644 --- a/doc/misc/mh-e.texi +++ b/doc/misc/mh-e.texi | |||
| @@ -2814,24 +2814,6 @@ The appearance of the buttons is controlled by the faces | |||
| 2814 | @code{mh-show-pgg-unknown} depending on the validity of the signature. | 2814 | @code{mh-show-pgg-unknown} depending on the validity of the signature. |
| 2815 | The latter is used whether the signature is unknown or untrusted. | 2815 | The latter is used whether the signature is unknown or untrusted. |
| 2816 | 2816 | ||
| 2817 | @cindex @samp{pgg} customization group | ||
| 2818 | @cindex PGG | ||
| 2819 | @cindex customization group, @samp{pgg} | ||
| 2820 | |||
| 2821 | The @samp{pgg} customization group may have some settings which may | ||
| 2822 | interest you. | ||
| 2823 | @iftex | ||
| 2824 | See @cite{The PGG Manual}. | ||
| 2825 | @end iftex | ||
| 2826 | @ifinfo | ||
| 2827 | @xref{Top, , The PGG Manual, pgg, The PGG Manual}. | ||
| 2828 | @end ifinfo | ||
| 2829 | @ifhtml | ||
| 2830 | See | ||
| 2831 | @uref{https://www.gnu.org/software/emacs/manual/pgg.html, | ||
| 2832 | @cite{The PGG Manual}}. | ||
| 2833 | @end ifhtml | ||
| 2834 | |||
| 2835 | @node Printing | 2817 | @node Printing |
| 2836 | @section Printing Your Mail | 2818 | @section Printing Your Mail |
| 2837 | 2819 | ||
| @@ -5578,33 +5560,6 @@ variety of mail security mechanisms. The default is @samp{PGP (MIME)} | |||
| 5578 | if it is supported; otherwise, the default is @samp{None}. Other | 5560 | if it is supported; otherwise, the default is @samp{None}. Other |
| 5579 | mechanisms include vanilla @samp{PGP} and @samp{S/MIME}. | 5561 | mechanisms include vanilla @samp{PGP} and @samp{S/MIME}. |
| 5580 | 5562 | ||
| 5581 | @cindex @samp{pgg} customization group | ||
| 5582 | @cindex PGG | ||
| 5583 | @cindex customization group, @samp{pgg} | ||
| 5584 | |||
| 5585 | The @samp{pgg} customization group may have some settings which may | ||
| 5586 | interest you. | ||
| 5587 | @iftex | ||
| 5588 | See @cite{The PGG Manual}. | ||
| 5589 | @end iftex | ||
| 5590 | @ifinfo | ||
| 5591 | @xref{Top, , The PGG Manual, pgg, The PGG Manual}. | ||
| 5592 | @end ifinfo | ||
| 5593 | @ifhtml | ||
| 5594 | See | ||
| 5595 | @uref{https://www.gnu.org/software/emacs/manual/pgg.html, | ||
| 5596 | @cite{The PGG Manual}}. | ||
| 5597 | @end ifhtml | ||
| 5598 | |||
| 5599 | @cindex header field, @samp{Fcc} | ||
| 5600 | @cindex @samp{Fcc} header field | ||
| 5601 | @vindex pgg-encrypt-for-me | ||
| 5602 | |||
| 5603 | In particular, I turn on the option @code{pgg-encrypt-for-me} so that | ||
| 5604 | all messages I encrypt are encrypted with my public key as well. If | ||
| 5605 | you keep a copy of all of your outgoing mail with a @samp{Fcc:} header | ||
| 5606 | field, this setting is vital so that you can read the mail you write! | ||
| 5607 | |||
| 5608 | @node Checking Recipients | 5563 | @node Checking Recipients |
| 5609 | @section Checking Recipients | 5564 | @section Checking Recipients |
| 5610 | 5565 | ||
diff --git a/lisp/gnus/mml2015.el b/lisp/gnus/mml2015.el index a373b7999ec..bf9e975f749 100644 --- a/lisp/gnus/mml2015.el +++ b/lisp/gnus/mml2015.el | |||
| @@ -45,7 +45,7 @@ | |||
| 45 | ;; could be removed. | 45 | ;; could be removed. |
| 46 | (defvar mml2015-use 'epg | 46 | (defvar mml2015-use 'epg |
| 47 | "The package used for PGP/MIME. | 47 | "The package used for PGP/MIME. |
| 48 | Valid packages include `epg', `pgg' and `mailcrypt'.") | 48 | Valid packages include `epg', and `mailcrypt'.") |
| 49 | 49 | ||
| 50 | ;; Something is not RFC2015. | 50 | ;; Something is not RFC2015. |
| 51 | (defvar mml2015-function-alist | 51 | (defvar mml2015-function-alist |
diff --git a/lisp/info-look.el b/lisp/info-look.el index 6c8ef091a08..7f45f976a24 100644 --- a/lisp/info-look.el +++ b/lisp/info-look.el | |||
| @@ -1068,7 +1068,6 @@ Return nil if there is nothing appropriate in the buffer near point." | |||
| 1068 | ("newsticker" "Index") | 1068 | ("newsticker" "Index") |
| 1069 | ("octave" "(octave-mode)Variable Index" "(octave-mode)Lisp Function Index") | 1069 | ("octave" "(octave-mode)Variable Index" "(octave-mode)Lisp Function Index") |
| 1070 | ("org" "Variable Index" "Command and Function Index") | 1070 | ("org" "Variable Index" "Command and Function Index") |
| 1071 | ("pgg" "Variable Index" "Function Index") | ||
| 1072 | ("rcirc" "Variable Index" "Index") | 1071 | ("rcirc" "Variable Index" "Index") |
| 1073 | ("reftex" "Index") | 1072 | ("reftex" "Index") |
| 1074 | ("sasl" "Variable Index" "Function Index") | 1073 | ("sasl" "Variable Index" "Function Index") |
diff --git a/lisp/mh-e/mh-e.el b/lisp/mh-e/mh-e.el index a61620b2761..f6031df9c24 100644 --- a/lisp/mh-e/mh-e.el +++ b/lisp/mh-e/mh-e.el | |||
| @@ -1790,16 +1790,7 @@ message without line wrapping." | |||
| 1790 | This option is used to select between a variety of mail security | 1790 | This option is used to select between a variety of mail security |
| 1791 | mechanisms. The default is \"PGP (MIME)\" if it is supported; | 1791 | mechanisms. The default is \"PGP (MIME)\" if it is supported; |
| 1792 | otherwise, the default is \"None\". Other mechanisms include | 1792 | otherwise, the default is \"None\". Other mechanisms include |
| 1793 | vanilla \"PGP\" and \"S/MIME\". | 1793 | vanilla \"PGP\" and \"S/MIME\"." |
| 1794 | |||
| 1795 | The `pgg' customization group may have some settings which may | ||
| 1796 | interest you (see Info node `(pgg)'). | ||
| 1797 | |||
| 1798 | In particular, I turn on the option `pgg-encrypt-for-me' so that | ||
| 1799 | all messages I encrypt are encrypted with my public key as well. | ||
| 1800 | If you keep a copy of all of your outgoing mail with a \"Fcc:\" | ||
| 1801 | header field, this setting is vital so that you can read the mail | ||
| 1802 | you write!" | ||
| 1803 | :type '(choice (const :tag "PGP (MIME)" "pgpmime") | 1794 | :type '(choice (const :tag "PGP (MIME)" "pgpmime") |
| 1804 | (const :tag "PGP" "pgp") | 1795 | (const :tag "PGP" "pgp") |
| 1805 | (const :tag "S/MIME" "smime") | 1796 | (const :tag "S/MIME" "smime") |
diff --git a/lisp/mh-e/mh-identity.el b/lisp/mh-e/mh-identity.el index b7fa35a92f5..bcdf91299be 100644 --- a/lisp/mh-e/mh-identity.el +++ b/lisp/mh-e/mh-identity.el | |||
| @@ -39,8 +39,10 @@ | |||
| 39 | 39 | ||
| 40 | (autoload 'mml-insert-tag "mml") | 40 | (autoload 'mml-insert-tag "mml") |
| 41 | 41 | ||
| 42 | (defvar-local mh-identity-pgg-default-user-id nil | 42 | (define-obsolete-variable-alias 'mh-identity-pgg-default-user-id |
| 43 | "Holds the GPG key ID to be used by pgg.el. | 43 | 'mh-identity-gpg-default-user-id "29.1") |
| 44 | (defvar-local mh-identity-gpg-default-user-id nil | ||
| 45 | "Holds the GPG key ID. | ||
| 44 | This is normally set as part of an Identity in | 46 | This is normally set as part of an Identity in |
| 45 | `mh-identity-list'.") | 47 | `mh-identity-list'.") |
| 46 | 48 | ||
| @@ -202,15 +204,15 @@ See `mh-identity-list'." | |||
| 202 | (defun mh-identity-handler-gpg-identity (_field action &optional value) | 204 | (defun mh-identity-handler-gpg-identity (_field action &optional value) |
| 203 | "Process header FIELD \":pgg-default-user-id\". | 205 | "Process header FIELD \":pgg-default-user-id\". |
| 204 | The ACTION is one of `remove' or `add'. If `add', the VALUE is added. | 206 | The ACTION is one of `remove' or `add'. If `add', the VALUE is added. |
| 205 | The buffer-local variable `mh-identity-pgg-default-user-id' is set to | 207 | The buffer-local variable `mh-identity-gpg-default-user-id' is set to |
| 206 | VALUE when action `add' is selected." | 208 | VALUE when action `add' is selected." |
| 207 | (cond | 209 | (cond |
| 208 | ((or (equal action 'remove) | 210 | ((or (equal action 'remove) |
| 209 | (not value) | 211 | (not value) |
| 210 | (string= value "")) | 212 | (string= value "")) |
| 211 | (setq mh-identity-pgg-default-user-id nil)) | 213 | (setq mh-identity-gpg-default-user-id nil)) |
| 212 | ((equal action 'add) | 214 | ((equal action 'add) |
| 213 | (setq mh-identity-pgg-default-user-id value)))) | 215 | (setq mh-identity-gpg-default-user-id value)))) |
| 214 | 216 | ||
| 215 | ;;;###mh-autoload | 217 | ;;;###mh-autoload |
| 216 | (defun mh-identity-handler-signature (_field action &optional value) | 218 | (defun mh-identity-handler-signature (_field action &optional value) |
diff --git a/lisp/mh-e/mh-mime.el b/lisp/mh-e/mh-mime.el index 2f1b835de02..316463b9897 100644 --- a/lisp/mh-e/mh-mime.el +++ b/lisp/mh-e/mh-mime.el | |||
| @@ -1502,7 +1502,7 @@ a prefix argument NOCONFIRM." | |||
| 1502 | (after-find-file nil nil nil nil t))) | 1502 | (after-find-file nil nil nil nil t))) |
| 1503 | 1503 | ||
| 1504 | ;; Shush compiler. | 1504 | ;; Shush compiler. |
| 1505 | (defvar mh-identity-pgg-default-user-id) | 1505 | (defvar mh-identity-gpg-default-user-id) |
| 1506 | 1506 | ||
| 1507 | ;;;###mh-autoload | 1507 | ;;;###mh-autoload |
| 1508 | (defun mh-mml-secure-message-encrypt (method) | 1508 | (defun mh-mml-secure-message-encrypt (method) |
| @@ -1513,7 +1513,7 @@ message. Use the command \\[mh-mml-unsecure-message] to remove | |||
| 1513 | this tag. Use a prefix argument METHOD to be prompted for one of | 1513 | this tag. Use a prefix argument METHOD to be prompted for one of |
| 1514 | the possible security methods (see `mh-mml-method-default')." | 1514 | the possible security methods (see `mh-mml-method-default')." |
| 1515 | (interactive (list (mh-mml-query-cryptographic-method))) | 1515 | (interactive (list (mh-mml-query-cryptographic-method))) |
| 1516 | (mh-secure-message method "encrypt" mh-identity-pgg-default-user-id)) | 1516 | (mh-secure-message method "encrypt" mh-identity-gpg-default-user-id)) |
| 1517 | 1517 | ||
| 1518 | ;;;###mh-autoload | 1518 | ;;;###mh-autoload |
| 1519 | (defun mh-mml-secure-message-sign (method) | 1519 | (defun mh-mml-secure-message-sign (method) |
| @@ -1524,7 +1524,7 @@ message. Use the command \\[mh-mml-unsecure-message] to remove | |||
| 1524 | this tag. Use a prefix argument METHOD to be prompted for one of | 1524 | this tag. Use a prefix argument METHOD to be prompted for one of |
| 1525 | the possible security methods (see `mh-mml-method-default')." | 1525 | the possible security methods (see `mh-mml-method-default')." |
| 1526 | (interactive (list (mh-mml-query-cryptographic-method))) | 1526 | (interactive (list (mh-mml-query-cryptographic-method))) |
| 1527 | (mh-secure-message method "sign" mh-identity-pgg-default-user-id)) | 1527 | (mh-secure-message method "sign" mh-identity-gpg-default-user-id)) |
| 1528 | 1528 | ||
| 1529 | ;;;###mh-autoload | 1529 | ;;;###mh-autoload |
| 1530 | (defun mh-mml-secure-message-signencrypt (method) | 1530 | (defun mh-mml-secure-message-signencrypt (method) |
| @@ -1535,7 +1535,7 @@ message. Use the command \\[mh-mml-unsecure-message] to remove | |||
| 1535 | this tag. Use a prefix argument METHOD to be prompted for one of | 1535 | this tag. Use a prefix argument METHOD to be prompted for one of |
| 1536 | the possible security methods (see `mh-mml-method-default')." | 1536 | the possible security methods (see `mh-mml-method-default')." |
| 1537 | (interactive (list (mh-mml-query-cryptographic-method))) | 1537 | (interactive (list (mh-mml-query-cryptographic-method))) |
| 1538 | (mh-secure-message method "signencrypt" mh-identity-pgg-default-user-id)) | 1538 | (mh-secure-message method "signencrypt" mh-identity-gpg-default-user-id)) |
| 1539 | 1539 | ||
| 1540 | (defvar mh-mml-cryptographic-method-history ()) | 1540 | (defvar mh-mml-cryptographic-method-history ()) |
| 1541 | 1541 | ||
| @@ -1569,9 +1569,9 @@ IDENTITY is optionally the default-user-id to use." | |||
| 1569 | (save-excursion | 1569 | (save-excursion |
| 1570 | (goto-char (point-min)) | 1570 | (goto-char (point-min)) |
| 1571 | (mh-goto-header-end 1) | 1571 | (mh-goto-header-end 1) |
| 1572 | (if mh-identity-pgg-default-user-id | 1572 | (if mh-identity-gpg-default-user-id |
| 1573 | (mml-insert-tag 'secure 'method method 'mode mode | 1573 | (mml-insert-tag 'secure 'method method 'mode mode |
| 1574 | 'sender mh-identity-pgg-default-user-id) | 1574 | 'sender mh-identity-gpg-default-user-id) |
| 1575 | (mml-insert-tag 'secure 'method method 'mode mode))))))) | 1575 | (mml-insert-tag 'secure 'method method 'mode mode))))))) |
| 1576 | 1576 | ||
| 1577 | ;;;###mh-autoload | 1577 | ;;;###mh-autoload |