diff options
| author | Katsumi Yamaoka | 2010-05-13 05:59:23 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2010-05-13 05:59:23 +0000 |
| commit | 7cab80f97c7bfb793e255f0d31f8fc346e8708a8 (patch) | |
| tree | 2bd6359d61581eb6b9b2f523a64198156049452d | |
| parent | c0a2b70a9cf31bea474b259ce305d183b90a8a1a (diff) | |
| download | emacs-7cab80f97c7bfb793e255f0d31f8fc346e8708a8.tar.gz emacs-7cab80f97c7bfb793e255f0d31f8fc346e8708a8.zip | |
Synch with Gnus trunk.
* gnus-art.el (gnus-bind-safe-url-regexp): Bind mm-w3m-safe-url-regexp
to nil when we're in a mml-preview buffer and no group is selected.
* mml1991.el (mml1991-mailcrypt-encrypt, mml1991-gpg-encrypt)
* mml2015.el (mml2015-gpg-encrypt): Disable multibyte in buffers
generated within the mm-with-unibyte-current-buffer macro.
| -rw-r--r-- | lisp/gnus/ChangeLog | 11 | ||||
| -rw-r--r-- | lisp/gnus/gnus-art.el | 6 | ||||
| -rw-r--r-- | lisp/gnus/mml1991.el | 2 | ||||
| -rw-r--r-- | lisp/gnus/mml2015.el | 1 |
4 files changed, 19 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 440cdb092d0..0b7eaf7ed72 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,14 @@ | |||
| 1 | 2010-05-13 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 2 | |||
| 3 | * mml1991.el (mml1991-mailcrypt-encrypt, mml1991-gpg-encrypt) | ||
| 4 | * mml2015.el (mml2015-gpg-encrypt): Disable multibyte in buffers | ||
| 5 | generated within the mm-with-unibyte-current-buffer macro. | ||
| 6 | |||
| 7 | 2010-05-13 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 8 | |||
| 9 | * gnus-art.el (gnus-bind-safe-url-regexp): Bind mm-w3m-safe-url-regexp | ||
| 10 | to nil when we're in a mml-preview buffer and no group is selected. | ||
| 11 | |||
| 1 | 2010-05-12 Andreas Seltenreich <seltenreich@gmx.de> | 12 | 2010-05-12 Andreas Seltenreich <seltenreich@gmx.de> |
| 2 | 13 | ||
| 3 | * gnus-sum.el (gnus-summary-read-group-1): Don't jump to next group | 14 | * gnus-sum.el (gnus-summary-read-group-1): Don't jump to next group |
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index 5f899b3067a..0659ee893de 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el | |||
| @@ -4822,7 +4822,11 @@ General format specifiers can also be used. See Info node | |||
| 4822 | (with-current-buffer gnus-article-current-summary | 4822 | (with-current-buffer gnus-article-current-summary |
| 4823 | gnus-newsgroup-name) | 4823 | gnus-newsgroup-name) |
| 4824 | gnus-newsgroup-name))) | 4824 | gnus-newsgroup-name))) |
| 4825 | (if (cond ((stringp gnus-safe-html-newsgroups) | 4825 | (if (cond ((not group) |
| 4826 | ;; Maybe we're in a mml-preview buffer | ||
| 4827 | ;; and no group is selected. | ||
| 4828 | t) | ||
| 4829 | ((stringp gnus-safe-html-newsgroups) | ||
| 4826 | (string-match gnus-safe-html-newsgroups group)) | 4830 | (string-match gnus-safe-html-newsgroups group)) |
| 4827 | ((consp gnus-safe-html-newsgroups) | 4831 | ((consp gnus-safe-html-newsgroups) |
| 4828 | (member group gnus-safe-html-newsgroups))) | 4832 | (member group gnus-safe-html-newsgroups))) |
diff --git a/lisp/gnus/mml1991.el b/lisp/gnus/mml1991.el index a3ada29fa66..3ba479574fd 100644 --- a/lisp/gnus/mml1991.el +++ b/lisp/gnus/mml1991.el | |||
| @@ -145,6 +145,7 @@ Whether the passphrase is cached at all is controlled by | |||
| 145 | (delete-region (point-min) (point))) | 145 | (delete-region (point-min) (point))) |
| 146 | (mm-with-unibyte-current-buffer | 146 | (mm-with-unibyte-current-buffer |
| 147 | (with-temp-buffer | 147 | (with-temp-buffer |
| 148 | (inline (mm-disable-multibyte)) | ||
| 148 | (setq cipher (current-buffer)) | 149 | (setq cipher (current-buffer)) |
| 149 | (insert-buffer-substring text) | 150 | (insert-buffer-substring text) |
| 150 | (unless (mc-encrypt-generic | 151 | (unless (mc-encrypt-generic |
| @@ -225,6 +226,7 @@ Whether the passphrase is cached at all is controlled by | |||
| 225 | (delete-region (point-min) (point))) | 226 | (delete-region (point-min) (point))) |
| 226 | (mm-with-unibyte-current-buffer | 227 | (mm-with-unibyte-current-buffer |
| 227 | (with-temp-buffer | 228 | (with-temp-buffer |
| 229 | (inline (mm-disable-multibyte)) | ||
| 228 | (flet ((gpg-encrypt-func | 230 | (flet ((gpg-encrypt-func |
| 229 | (sign plaintext ciphertext result recipients &optional | 231 | (sign plaintext ciphertext result recipients &optional |
| 230 | passphrase sign-with-key armor textmode) | 232 | passphrase sign-with-key armor textmode) |
diff --git a/lisp/gnus/mml2015.el b/lisp/gnus/mml2015.el index 130a3ca86a5..977f4dabb67 100644 --- a/lisp/gnus/mml2015.el +++ b/lisp/gnus/mml2015.el | |||
| @@ -680,6 +680,7 @@ Whether the passphrase is cached at all is controlled by | |||
| 680 | cipher) | 680 | cipher) |
| 681 | (mm-with-unibyte-current-buffer | 681 | (mm-with-unibyte-current-buffer |
| 682 | (with-temp-buffer | 682 | (with-temp-buffer |
| 683 | (mm-disable-multibyte) | ||
| 683 | ;; set up a function to call the correct gpg encrypt routine | 684 | ;; set up a function to call the correct gpg encrypt routine |
| 684 | ;; with the right arguments. (FIXME: this should be done | 685 | ;; with the right arguments. (FIXME: this should be done |
| 685 | ;; differently.) | 686 | ;; differently.) |