diff options
| author | Katsumi Yamaoka | 2009-09-28 12:09:01 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2009-09-28 12:09:01 +0000 |
| commit | 54c72c310894099a143af23937997d60ec58ebbe (patch) | |
| tree | 1abb96d640e8929236c1aa98355689dbe0d58849 | |
| parent | eefbedb1de1b16407079587893e77733d766c341 (diff) | |
| download | emacs-54c72c310894099a143af23937997d60ec58ebbe.tar.gz emacs-54c72c310894099a143af23937997d60ec58ebbe.zip | |
Synch with Gnus trunk.
2009-09-22 Daiki Ueno <ueno@unixuser.org>
* mm-encode.el (mm-sign-option, mm-encrypt-option): New user option.
* mml2015.el (mml2015-epg-sign, mml2015-epg-encrypt): Let users select
keys from the menu if mm-{sign,encrypt}-option is 'guided.
* mml-smime.el (mml-smime-epg-sign, mml-smime-epg-encrypt): Ditto.
* mml1991.el (mml1991-epg-sign, mml1991-epg-encrypt): Ditto.
2009-09-15 Katsumi Yamaoka <yamaoka@jpl.org>
* gnus-art.el (gnus-article-edit-part): Work for the buffer
configuration that provides the sole article window in a frame;
position point correctly after deleting a part.
2009-09-14 Adam Sjøgren <asjo@koldfront.dk>
* spam.el (spam-unregister-on-reregister): Add boolean variable.
(spam-resolve-registrations-routine): Use it to unregister articles
that change status.
| -rw-r--r-- | lisp/gnus/ChangeLog | 20 | ||||
| -rw-r--r-- | lisp/gnus/gnus-art.el | 10 | ||||
| -rw-r--r-- | lisp/gnus/mm-encode.el | 18 | ||||
| -rw-r--r-- | lisp/gnus/mml-smime.el | 4 | ||||
| -rw-r--r-- | lisp/gnus/mml1991.el | 7 | ||||
| -rw-r--r-- | lisp/gnus/mml2015.el | 6 | ||||
| -rw-r--r-- | lisp/gnus/spam.el | 10 |
7 files changed, 53 insertions, 22 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 541e83ee714..39ec4899fc2 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -6,6 +6,14 @@ | |||
| 6 | * nnir.el (gnus-summary-nnir-goto-thread, nnir-run-waissearch) | 6 | * nnir.el (gnus-summary-nnir-goto-thread, nnir-run-waissearch) |
| 7 | (nnir-run-swish++, nnir-run-swish-e): Fix typos in error messages. | 7 | (nnir-run-swish++, nnir-run-swish-e): Fix typos in error messages. |
| 8 | 8 | ||
| 9 | 2009-09-22 Daiki Ueno <ueno@unixuser.org> | ||
| 10 | |||
| 11 | * mm-encode.el (mm-sign-option, mm-encrypt-option): New user option. | ||
| 12 | * mml2015.el (mml2015-epg-sign, mml2015-epg-encrypt): Let users select | ||
| 13 | keys from the menu if mm-{sign,encrypt}-option is 'guided. | ||
| 14 | * mml-smime.el (mml-smime-epg-sign, mml-smime-epg-encrypt): Ditto. | ||
| 15 | * mml1991.el (mml1991-epg-sign, mml1991-epg-encrypt): Ditto. | ||
| 16 | |||
| 9 | 2009-09-18 Glenn Morris <rgm@gnu.org> | 17 | 2009-09-18 Glenn Morris <rgm@gnu.org> |
| 10 | 18 | ||
| 11 | * gnus-diary.el (gnus-diary-check-message): | 19 | * gnus-diary.el (gnus-diary-check-message): |
| @@ -14,6 +22,18 @@ | |||
| 14 | * nndiary.el (nndiary-schedule): | 22 | * nndiary.el (nndiary-schedule): |
| 15 | Fix typos in condition-case handlers. | 23 | Fix typos in condition-case handlers. |
| 16 | 24 | ||
| 25 | 2009-09-15 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 26 | |||
| 27 | * gnus-art.el (gnus-article-edit-part): Work for the buffer | ||
| 28 | configuration that provides the sole article window in a frame; | ||
| 29 | position point correctly after deleting a part. | ||
| 30 | |||
| 31 | 2009-09-14 Adam Sjøgren <asjo@koldfront.dk> | ||
| 32 | |||
| 33 | * spam.el (spam-unregister-on-reregister): Add boolean variable. | ||
| 34 | (spam-resolve-registrations-routine): Use it to unregister articles | ||
| 35 | that change status. | ||
| 36 | |||
| 17 | 2009-09-10 Katsumi Yamaoka <yamaoka@jpl.org> | 37 | 2009-09-10 Katsumi Yamaoka <yamaoka@jpl.org> |
| 18 | 38 | ||
| 19 | * nnrss.el (nnrss-request-article): Remove binding of | 39 | * nnrss.el (nnrss-request-article): Remove binding of |
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index 226fe33f221..fa13947d7c8 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el | |||
| @@ -4862,15 +4862,9 @@ and `gnus-mime-delete-part', and not provided at run-time normally." | |||
| 4862 | ,gnus-summary-buffer no-highlight)) | 4862 | ,gnus-summary-buffer no-highlight)) |
| 4863 | t) | 4863 | t) |
| 4864 | (gnus-article-edit-done) | 4864 | (gnus-article-edit-done) |
| 4865 | (gnus-summary-expand-window) | 4865 | (gnus-configure-windows 'article) |
| 4866 | (gnus-summary-show-article) | ||
| 4867 | (when (and current-id (integerp gnus-auto-select-part)) | 4866 | (when (and current-id (integerp gnus-auto-select-part)) |
| 4868 | (gnus-article-jump-to-part | 4867 | (gnus-article-jump-to-part (+ current-id gnus-auto-select-part))))) |
| 4869 | (if (text-property-any (point-min) (point-max) | ||
| 4870 | 'gnus-part (+ current-id gnus-auto-select-part)) | ||
| 4871 | (+ current-id gnus-auto-select-part) | ||
| 4872 | (with-current-buffer gnus-article-buffer | ||
| 4873 | (length gnus-article-mime-handle-alist))))))) | ||
| 4874 | 4868 | ||
| 4875 | (defun gnus-mime-replace-part (file) | 4869 | (defun gnus-mime-replace-part (file) |
| 4876 | "Replace MIME part under point with an external body." | 4870 | "Replace MIME part under point with an external body." |
diff --git a/lisp/gnus/mm-encode.el b/lisp/gnus/mm-encode.el index 0d41caaf484..d4f9ea76006 100644 --- a/lisp/gnus/mm-encode.el +++ b/lisp/gnus/mm-encode.el | |||
| @@ -60,6 +60,24 @@ to specify encoding of non-ASCII MIME parts." | |||
| 60 | (const base64)))) | 60 | (const base64)))) |
| 61 | :group 'mime) | 61 | :group 'mime) |
| 62 | 62 | ||
| 63 | (defcustom mm-sign-option nil | ||
| 64 | "Option how to create signed parts. | ||
| 65 | nil, use the default keys without asking; | ||
| 66 | `guided', let you select signing keys from the menu." | ||
| 67 | :version "23.1" | ||
| 68 | :type '(choice (item guided) | ||
| 69 | (item :tag "default" nil)) | ||
| 70 | :group 'mime-security) | ||
| 71 | |||
| 72 | (defcustom mm-encrypt-option nil | ||
| 73 | "Option how to create encrypted parts. | ||
| 74 | nil, use the default keys without asking; | ||
| 75 | `guided', let you select recipients' keys from the menu." | ||
| 76 | :version "23.1" | ||
| 77 | :type '(choice (item guided) | ||
| 78 | (item :tag "default" nil)) | ||
| 79 | :group 'mime-security) | ||
| 80 | |||
| 63 | (defvar mm-use-ultra-safe-encoding nil | 81 | (defvar mm-use-ultra-safe-encoding nil |
| 64 | "If non-nil, use encodings aimed at Procrustean bed survival. | 82 | "If non-nil, use encodings aimed at Procrustean bed survival. |
| 65 | 83 | ||
diff --git a/lisp/gnus/mml-smime.el b/lisp/gnus/mml-smime.el index af4d1bf9363..8aeb56413f9 100644 --- a/lisp/gnus/mml-smime.el +++ b/lisp/gnus/mml-smime.el | |||
| @@ -381,7 +381,7 @@ Whether the passphrase is cached at all is controlled by | |||
| 381 | (or (message-options-get 'mml-smime-epg-signers) | 381 | (or (message-options-get 'mml-smime-epg-signers) |
| 382 | (message-options-set | 382 | (message-options-set |
| 383 | 'mml-smime-epg-signers | 383 | 'mml-smime-epg-signers |
| 384 | (if mml-smime-verbose | 384 | (if (eq mm-sign-option 'guided) |
| 385 | (epa-select-keys context "\ | 385 | (epa-select-keys context "\ |
| 386 | Select keys for signing. | 386 | Select keys for signing. |
| 387 | If no one is selected, default secret key is used. " | 387 | If no one is selected, default secret key is used. " |
| @@ -462,7 +462,7 @@ Content-Disposition: attachment; filename=smime.p7s | |||
| 462 | (message-options-set 'message-recipients | 462 | (message-options-set 'message-recipients |
| 463 | (read-string "Recipients: "))) | 463 | (read-string "Recipients: "))) |
| 464 | "[ \f\t\n\r\v,]+")))) | 464 | "[ \f\t\n\r\v,]+")))) |
| 465 | (if mml-smime-verbose | 465 | (if (eq mm-encrypt-option 'guided) |
| 466 | (setq recipients | 466 | (setq recipients |
| 467 | (epa-select-keys context "\ | 467 | (epa-select-keys context "\ |
| 468 | Select recipients for encryption. | 468 | Select recipients for encryption. |
diff --git a/lisp/gnus/mml1991.el b/lisp/gnus/mml1991.el index 4536f4183d9..7d4f828f6bf 100644 --- a/lisp/gnus/mml1991.el +++ b/lisp/gnus/mml1991.el | |||
| @@ -34,6 +34,7 @@ | |||
| 34 | (require 'cl) | 34 | (require 'cl) |
| 35 | (require 'mm-util)) | 35 | (require 'mm-util)) |
| 36 | 36 | ||
| 37 | (require 'mm-encode) | ||
| 37 | (require 'mml-sec) | 38 | (require 'mml-sec) |
| 38 | 39 | ||
| 39 | (defvar mc-pgp-always-sign) | 40 | (defvar mc-pgp-always-sign) |
| @@ -368,7 +369,7 @@ Whether the passphrase is cached at all is controlled by | |||
| 368 | (defun mml1991-epg-sign (cont) | 369 | (defun mml1991-epg-sign (cont) |
| 369 | (let ((context (epg-make-context)) | 370 | (let ((context (epg-make-context)) |
| 370 | headers cte signers signature) | 371 | headers cte signers signature) |
| 371 | (if mml1991-verbose | 372 | (if (eq mm-sign-option 'guided) |
| 372 | (setq signers (epa-select-keys context "Select keys for signing. | 373 | (setq signers (epa-select-keys context "Select keys for signing. |
| 373 | If no one is selected, default secret key is used. " | 374 | If no one is selected, default secret key is used. " |
| 374 | mml1991-signers t)) | 375 | mml1991-signers t)) |
| @@ -448,7 +449,7 @@ If no one is selected, default secret key is used. " | |||
| 448 | (or (epg-expand-group config recipient) | 449 | (or (epg-expand-group config recipient) |
| 449 | (list recipient))) | 450 | (list recipient))) |
| 450 | recipients)))) | 451 | recipients)))) |
| 451 | (if mml1991-verbose | 452 | (if (eq mm-encrypt-option 'guided) |
| 452 | (setq recipients | 453 | (setq recipients |
| 453 | (epa-select-keys context "Select recipients for encryption. | 454 | (epa-select-keys context "Select recipients for encryption. |
| 454 | If no one is selected, symmetric encryption will be performed. " | 455 | If no one is selected, symmetric encryption will be performed. " |
| @@ -466,7 +467,7 @@ If no one is selected, symmetric encryption will be performed. " | |||
| 466 | mml1991-signers))) | 467 | mml1991-signers))) |
| 467 | (error "mml1991-signers not set"))) | 468 | (error "mml1991-signers not set"))) |
| 468 | (when sign | 469 | (when sign |
| 469 | (if mml1991-verbose | 470 | (if (eq mm-sign-option 'guided) |
| 470 | (setq signers (epa-select-keys context "Select keys for signing. | 471 | (setq signers (epa-select-keys context "Select keys for signing. |
| 471 | If no one is selected, default secret key is used. " | 472 | If no one is selected, default secret key is used. " |
| 472 | mml1991-signers t)) | 473 | mml1991-signers t)) |
diff --git a/lisp/gnus/mml2015.el b/lisp/gnus/mml2015.el index 508c51f76c9..d6d06c379e8 100644 --- a/lisp/gnus/mml2015.el +++ b/lisp/gnus/mml2015.el | |||
| @@ -1187,7 +1187,7 @@ Whether the passphrase is cached at all is controlled by | |||
| 1187 | (or (message-options-get 'mml2015-epg-signers) | 1187 | (or (message-options-get 'mml2015-epg-signers) |
| 1188 | (message-options-set | 1188 | (message-options-set |
| 1189 | 'mml2015-epg-signers | 1189 | 'mml2015-epg-signers |
| 1190 | (if mml2015-verbose | 1190 | (if (eq mm-sign-option 'guided) |
| 1191 | (epa-select-keys context "\ | 1191 | (epa-select-keys context "\ |
| 1192 | Select keys for signing. | 1192 | Select keys for signing. |
| 1193 | If no one is selected, default secret key is used. " | 1193 | If no one is selected, default secret key is used. " |
| @@ -1269,7 +1269,7 @@ If no one is selected, default secret key is used. " | |||
| 1269 | (unless mml2015-signers | 1269 | (unless mml2015-signers |
| 1270 | (error "mml2015-signers not set")) | 1270 | (error "mml2015-signers not set")) |
| 1271 | (setq recipients (nconc recipients mml2015-signers))) | 1271 | (setq recipients (nconc recipients mml2015-signers))) |
| 1272 | (if mml2015-verbose | 1272 | (if (eq mm-encrypt-option 'guided) |
| 1273 | (setq recipients | 1273 | (setq recipients |
| 1274 | (epa-select-keys context "\ | 1274 | (epa-select-keys context "\ |
| 1275 | Select recipients for encryption. | 1275 | Select recipients for encryption. |
| @@ -1297,7 +1297,7 @@ If no one is selected, symmetric encryption will be performed. " | |||
| 1297 | (or (message-options-get 'mml2015-epg-signers) | 1297 | (or (message-options-get 'mml2015-epg-signers) |
| 1298 | (message-options-set | 1298 | (message-options-set |
| 1299 | 'mml2015-epg-signers | 1299 | 'mml2015-epg-signers |
| 1300 | (if mml2015-verbose | 1300 | (if (eq mm-sign-option 'guided) |
| 1301 | (epa-select-keys context "\ | 1301 | (epa-select-keys context "\ |
| 1302 | Select keys for signing. | 1302 | Select keys for signing. |
| 1303 | If no one is selected, default secret key is used. " | 1303 | If no one is selected, default secret key is used. " |
diff --git a/lisp/gnus/spam.el b/lisp/gnus/spam.el index 2d2fafa3fdc..c98fcf6ad17 100644 --- a/lisp/gnus/spam.el +++ b/lisp/gnus/spam.el | |||
| @@ -660,12 +660,12 @@ order for SpamAssassin to recognize the new registered spam." | |||
| 660 | :type 'string | 660 | :type 'string |
| 661 | :group 'spam-crm114) | 661 | :group 'spam-crm114) |
| 662 | 662 | ||
| 663 | (defcustom spam-crm114-spam-strong-switch "--UNKNOWN" | 663 | (defcustom spam-crm114-spam-strong-switch "--unlearn" |
| 664 | "The switch that CRM114 Mailfilter uses to unregister ham messages." | 664 | "The switch that CRM114 Mailfilter uses to unregister ham messages." |
| 665 | :type 'string | 665 | :type 'string |
| 666 | :group 'spam-crm114) | 666 | :group 'spam-crm114) |
| 667 | 667 | ||
| 668 | (defcustom spam-crm114-ham-strong-switch "--UNKNOWN" | 668 | (defcustom spam-crm114-ham-strong-switch "--unlearn" |
| 669 | "The switch that CRM114 Mailfilter uses to unregister spam messages." | 669 | "The switch that CRM114 Mailfilter uses to unregister spam messages." |
| 670 | :type 'string | 670 | :type 'string |
| 671 | :group 'spam-crm114) | 671 | :group 'spam-crm114) |
| @@ -1152,10 +1152,8 @@ backends)." | |||
| 1152 | 'spam-check-crm114 | 1152 | 'spam-check-crm114 |
| 1153 | 'spam-crm114-register-ham-routine | 1153 | 'spam-crm114-register-ham-routine |
| 1154 | 'spam-crm114-register-spam-routine | 1154 | 'spam-crm114-register-spam-routine |
| 1155 | ;; does CRM114 Mailfilter support unregistration? | 1155 | 'spam-crm114-unregister-ham-routine |
| 1156 | nil | 1156 | 'spam-crm114-unregister-spam-routine) |
| 1157 | nil) | ||
| 1158 | |||
| 1159 | ;;}}} | 1157 | ;;}}} |
| 1160 | 1158 | ||
| 1161 | ;;{{{ scoring and summary formatting | 1159 | ;;{{{ scoring and summary formatting |