aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/gnus
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/gnus')
-rw-r--r--lisp/gnus/gnus-sum.el3
-rw-r--r--lisp/gnus/message.el63
-rw-r--r--lisp/gnus/mml-smime.el1
-rw-r--r--lisp/gnus/mml1991.el1
-rw-r--r--lisp/gnus/mml2015.el1
-rw-r--r--lisp/gnus/smiley.el13
6 files changed, 40 insertions, 42 deletions
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el
index 4363860eac8..c53f81fe026 100644
--- a/lisp/gnus/gnus-sum.el
+++ b/lisp/gnus/gnus-sum.el
@@ -1913,7 +1913,8 @@ increase the score of each group you read."
1913 "," gnus-summary-best-unread-article 1913 "," gnus-summary-best-unread-article
1914 "[" gnus-summary-prev-unseen-article 1914 "[" gnus-summary-prev-unseen-article
1915 "]" gnus-summary-next-unseen-article 1915 "]" gnus-summary-next-unseen-article
1916 "\M-s" gnus-summary-search-article-forward 1916 "\M-s\M-s" gnus-summary-search-article-forward
1917 "\M-s\M-r" gnus-summary-search-article-backward
1917 "\M-r" gnus-summary-search-article-backward 1918 "\M-r" gnus-summary-search-article-backward
1918 "\M-S" gnus-summary-repeat-search-article-forward 1919 "\M-S" gnus-summary-repeat-search-article-forward
1919 "\M-R" gnus-summary-repeat-search-article-backward 1920 "\M-R" gnus-summary-repeat-search-article-backward
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
index ab625be9e37..07ff4890385 100644
--- a/lisp/gnus/message.el
+++ b/lisp/gnus/message.el
@@ -2751,16 +2751,17 @@ OpenPGP header will be left out. If all the values are nil,
2751or `message-openpgp-header' is itself nil, the OpenPGP header 2751or `message-openpgp-header' is itself nil, the OpenPGP header
2752will not be inserted." 2752will not be inserted."
2753 :type '(choice 2753 :type '(choice
2754 (const nil :tag "Don't add OpenPGP header") 2754 (const :tag "Don't add OpenPGP header" nil)
2755 (list (choice (string :tag "ID") 2755 (list :tag "Use OpenPGP header"
2756 (const nil :tag "No ID")) 2756 (choice (string :tag "ID")
2757 (const :tag "No ID" nil))
2757 (choice (string :tag "Key") 2758 (choice (string :tag "Key")
2758 (const nil :tag "No Key")) 2759 (const :tag "No Key" nil))
2759 (choice (other nil :tag "None") 2760 (choice (other :tag "None" nil)
2760 (const "unprotected" :tag "Unprotected") 2761 (const :tag "Unprotected" "unprotected")
2761 (const "sign" :tag "Sign") 2762 (const :tag "Sign" "sign")
2762 (const "encrypt" :tag "Encrypt") 2763 (const :tag "Encrypt" "encrypt")
2763 (const "signencrypt" :tag "Sign and Encrypt")))) 2764 (const :tag "Sign and Encrypt" "signencrypt"))))
2764 :version "28.1") 2765 :version "28.1")
2765 2766
2766(defun message-add-openpgp-header () 2767(defun message-add-openpgp-header ()
@@ -2768,32 +2769,34 @@ will not be inserted."
2768 2769
2769Header will be constructed as specified in `message-openpgp-header'. 2770Header will be constructed as specified in `message-openpgp-header'.
2770 2771
2771Consider adding this function to `message-send-hook'." 2772Consider adding this function to `message-header-setup-hook'"
2772 ;; See https://tools.ietf.org/html/draft-josefsson-openpgp-mailnews-header 2773 ;; See https://tools.ietf.org/html/draft-josefsson-openpgp-mailnews-header
2773 (when (and message-openpgp-header 2774 (when (and message-openpgp-header
2774 (or (nth 0 message-openpgp-header) 2775 (or (nth 0 message-openpgp-header)
2775 (nth 1 message-openpgp-header) 2776 (nth 1 message-openpgp-header)
2776 (nth 2 message-openpgp-header))) 2777 (nth 2 message-openpgp-header)))
2777 (with-temp-buffer 2778 (message-add-header
2778 (insert "OpenPGP: ") 2779 (with-temp-buffer
2779 ;; add ID 2780 (insert "OpenPGP: ")
2780 (let (need-sep) 2781 ;; add ID
2781 (when (nth 0 message-openpgp-header) 2782 (let (need-sep)
2782 (insert "id=" (nth 0 message-openpgp-header)) 2783 (when (nth 0 message-openpgp-header)
2783 (setq need-sep t)) 2784 (insert "id=" (nth 0 message-openpgp-header))
2784 ;; add URL 2785 (setq need-sep t))
2785 (when (nth 1 message-openpgp-header) 2786 ;; add URL
2786 (when need-sep (insert "; ")) 2787 (when (nth 1 message-openpgp-header)
2787 (if (string-match-p ";") 2788 (when need-sep (insert "; "))
2788 (insert "url=\"" (nth 1 message-openpgp-header) "\"") 2789 (if (string-match-p ";")
2789 (insert "url=\"" (nth 1 message-openpgp-header) "\"")) 2790 (insert "url=\"" (nth 1 message-openpgp-header) "\"")
2790 (setq need-sep t)) 2791 (insert "url=\"" (nth 1 message-openpgp-header) "\""))
2791 ;; add preference 2792 (setq need-sep t))
2792 (when (nth 2 message-openpgp-header) 2793 ;; add preference
2793 (when need-sep (insert "; ")) 2794 (when (nth 2 message-openpgp-header)
2794 (insert "preference=" (nth 2 message-openpgp-header)))) 2795 (when need-sep (insert "; "))
2795 ;; insert header 2796 (insert "preference=" (nth 2 message-openpgp-header))))
2796 (message-add-header (buffer-string))))) 2797 ;; insert header
2798 (buffer-string)))
2799 (message-sort-headers)))
2797 2800
2798 2801
2799 2802
diff --git a/lisp/gnus/mml-smime.el b/lisp/gnus/mml-smime.el
index 4754f37a2da..acddb300339 100644
--- a/lisp/gnus/mml-smime.el
+++ b/lisp/gnus/mml-smime.el
@@ -329,7 +329,6 @@ Whether the passphrase is cached at all is controlled by
329 (autoload 'epg-verify-string "epg") 329 (autoload 'epg-verify-string "epg")
330 (autoload 'epg-sign-string "epg") 330 (autoload 'epg-sign-string "epg")
331 (autoload 'epg-encrypt-string "epg") 331 (autoload 'epg-encrypt-string "epg")
332 (autoload 'epg-passphrase-callback-function "epg")
333 (autoload 'epg-context-set-passphrase-callback "epg") 332 (autoload 'epg-context-set-passphrase-callback "epg")
334 (autoload 'epg-sub-key-fingerprint "epg") 333 (autoload 'epg-sub-key-fingerprint "epg")
335 (autoload 'epg-configuration "epg-config") 334 (autoload 'epg-configuration "epg-config")
diff --git a/lisp/gnus/mml1991.el b/lisp/gnus/mml1991.el
index 8be1b84e52f..88864ea3579 100644
--- a/lisp/gnus/mml1991.el
+++ b/lisp/gnus/mml1991.el
@@ -242,7 +242,6 @@ Whether the passphrase is cached at all is controlled by
242(defvar epg-user-id-alist) 242(defvar epg-user-id-alist)
243 243
244(autoload 'epg-make-context "epg") 244(autoload 'epg-make-context "epg")
245(autoload 'epg-passphrase-callback-function "epg")
246(autoload 'epa-select-keys "epa") 245(autoload 'epa-select-keys "epa")
247(autoload 'epg-list-keys "epg") 246(autoload 'epg-list-keys "epg")
248(autoload 'epg-context-set-armor "epg") 247(autoload 'epg-context-set-armor "epg")
diff --git a/lisp/gnus/mml2015.el b/lisp/gnus/mml2015.el
index d1d150ad2ee..45c9bbfe905 100644
--- a/lisp/gnus/mml2015.el
+++ b/lisp/gnus/mml2015.el
@@ -712,7 +712,6 @@ If set, it overrides the setting of `mml2015-sign-with-sender'."
712(autoload 'epg-verify-string "epg") 712(autoload 'epg-verify-string "epg")
713(autoload 'epg-sign-string "epg") 713(autoload 'epg-sign-string "epg")
714(autoload 'epg-encrypt-string "epg") 714(autoload 'epg-encrypt-string "epg")
715(autoload 'epg-passphrase-callback-function "epg")
716(autoload 'epg-context-set-passphrase-callback "epg") 715(autoload 'epg-context-set-passphrase-callback "epg")
717(autoload 'epg-key-sub-key-list "epg") 716(autoload 'epg-key-sub-key-list "epg")
718(autoload 'epg-sub-key-capability "epg") 717(autoload 'epg-sub-key-capability "epg")
diff --git a/lisp/gnus/smiley.el b/lisp/gnus/smiley.el
index d41f32801ee..5504a520783 100644
--- a/lisp/gnus/smiley.el
+++ b/lisp/gnus/smiley.el
@@ -56,14 +56,11 @@
56 56
57(defvar smiley-data-directory) 57(defvar smiley-data-directory)
58 58
59(defcustom smiley-style 59;; In batch mode, attributes can be unspecified.
60 (if (and (fboundp 'face-attribute) 60(defcustom smiley-style (if (ignore-errors
61 ;; In batch mode, attributes can be unspecified. 61 (>= (face-attribute 'default :height) 160))
62 (condition-case nil 62 'medium
63 (>= (face-attribute 'default :height) 160) 63 'low-color)
64 (error nil)))
65 'medium
66 'low-color)
67 "Smiley style." 64 "Smiley style."
68 :type '(choice (const :tag "small, 3 colors" low-color) ;; 13x14 65 :type '(choice (const :tag "small, 3 colors" low-color) ;; 13x14
69 (const :tag "medium, ~10 colors" medium) ;; 16x16 66 (const :tag "medium, ~10 colors" medium) ;; 16x16