diff options
| author | Stefan Monnier | 2004-09-20 21:22:15 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2004-09-20 21:22:15 +0000 |
| commit | 46cdaf2476204e5933ba1573381d114ed3a4b29f (patch) | |
| tree | dea5ae425e065dc5cff377f02854b3aeb9df9159 | |
| parent | fe7ecaf2e3a4f64fd43bb96e934716dd46271865 (diff) | |
| download | emacs-46cdaf2476204e5933ba1573381d114ed3a4b29f.tar.gz emacs-46cdaf2476204e5933ba1573381d114ed3a4b29f.zip | |
(mm-copy-to-buffer): Preserve the data's unibyteness.
| -rw-r--r-- | lisp/gnus/ChangeLog | 25 | ||||
| -rw-r--r-- | lisp/gnus/mm-decode.el | 5 |
2 files changed, 18 insertions, 12 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 3e87f944397..60ad776347c 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2004-09-20 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * mm-decode.el (mm-copy-to-buffer): Preserve the data's unibyteness. | ||
| 4 | |||
| 1 | 2004-09-20 Reiner Steib <Reiner.Steib@gmx.de> | 5 | 2004-09-20 Reiner Steib <Reiner.Steib@gmx.de> |
| 2 | 6 | ||
| 3 | * uudecode.el (uudecode-use-external): Add :version. | 7 | * uudecode.el (uudecode-use-external): Add :version. |
| @@ -12,7 +16,7 @@ | |||
| 12 | * pgg-def.el (pgg-query-keyserver): Add :version. | 16 | * pgg-def.el (pgg-query-keyserver): Add :version. |
| 13 | 17 | ||
| 14 | * nnmail.el (nnmail-fancy-expiry-targets) | 18 | * nnmail.el (nnmail-fancy-expiry-targets) |
| 15 | (nnmail-mail-splitting-charset, nnmail-mail-splitting-decodes): | 19 | (nnmail-mail-splitting-charset, nnmail-mail-splitting-decodes): |
| 16 | 20 | ||
| 17 | * nnimap.el (nnimap-split-download-body, nnimap-dont-close) | 21 | * nnimap.el (nnimap-split-download-body, nnimap-dont-close) |
| 18 | (nnimap-retrieve-groups-asynchronous): Add :version. | 22 | (nnimap-retrieve-groups-asynchronous): Add :version. |
| @@ -21,7 +25,7 @@ | |||
| 21 | * mml.el (mml-content-disposition-parameters) | 25 | * mml.el (mml-content-disposition-parameters) |
| 22 | (mml-insert-mime-headers-always): Add :version. | 26 | (mml-insert-mime-headers-always): Add :version. |
| 23 | 27 | ||
| 24 | * mm-util.el (mm-coding-system-priorities): | 28 | * mm-util.el (mm-coding-system-priorities): |
| 25 | 29 | ||
| 26 | * mm-decode.el (mm-inline-text-html-with-images) | 30 | * mm-decode.el (mm-inline-text-html-with-images) |
| 27 | (mm-keep-viewer-alive-types, mm-external-terminal-program) | 31 | (mm-keep-viewer-alive-types, mm-external-terminal-program) |
| @@ -49,7 +53,7 @@ | |||
| 49 | (message-insert-canlock, message-wide-reply-confirm-recipients): | 53 | (message-insert-canlock, message-wide-reply-confirm-recipients): |
| 50 | Change :version. | 54 | Change :version. |
| 51 | 55 | ||
| 52 | * mail-source.el (mail-source-ignore-errors): Added :group, :type | 56 | * mail-source.el (mail-source-ignore-errors): Add :group, :type |
| 53 | and :version. | 57 | and :version. |
| 54 | (mail-source-delete-old-incoming-confirm) | 58 | (mail-source-delete-old-incoming-confirm) |
| 55 | (mail-source-movemail-program): Add :version. | 59 | (mail-source-movemail-program): Add :version. |
| @@ -78,7 +82,7 @@ | |||
| 78 | * gnus-srvr.el (gnus-server-browse-in-group-buffer) | 82 | * gnus-srvr.el (gnus-server-browse-in-group-buffer) |
| 79 | (gnus-server-offline-face): Add :version. | 83 | (gnus-server-offline-face): Add :version. |
| 80 | 84 | ||
| 81 | * gnus-score.el (gnus-adaptive-word-length-limit): | 85 | * gnus-score.el (gnus-adaptive-word-length-limit): |
| 82 | 86 | ||
| 83 | * gnus-msg.el (gnus-gcc-externalize-attachments) | 87 | * gnus-msg.el (gnus-gcc-externalize-attachments) |
| 84 | (gnus-debug-files, gnus-debug-exclude-variables) | 88 | (gnus-debug-files, gnus-debug-exclude-variables) |
| @@ -146,7 +150,7 @@ | |||
| 146 | 150 | ||
| 147 | 2004-09-16 Reiner Steib <Reiner.Steib@gmx.de> | 151 | 2004-09-16 Reiner Steib <Reiner.Steib@gmx.de> |
| 148 | 152 | ||
| 149 | * gnus-sum.el (gnus-fetch-old-headers): Added custom choices `t' | 153 | * gnus-sum.el (gnus-fetch-old-headers): Add custom choices `t' |
| 150 | and `invisible'. | 154 | and `invisible'. |
| 151 | 155 | ||
| 152 | 2004-09-13 Simon Josefsson <jas@extundo.com> | 156 | 2004-09-13 Simon Josefsson <jas@extundo.com> |
| @@ -155,7 +159,7 @@ | |||
| 155 | 159 | ||
| 156 | 2004-09-13 Reiner Steib <Reiner.Steib@gmx.de> | 160 | 2004-09-13 Reiner Steib <Reiner.Steib@gmx.de> |
| 157 | 161 | ||
| 158 | * gnus-sum.el (gnus-summary-copy-article): Fixed doc string. | 162 | * gnus-sum.el (gnus-summary-copy-article): Fix doc string. |
| 159 | 163 | ||
| 160 | 2004-09-10 Miles Bader <miles@gnu.ai.mit.edu> | 164 | 2004-09-10 Miles Bader <miles@gnu.ai.mit.edu> |
| 161 | 165 | ||
| @@ -163,10 +167,10 @@ | |||
| 163 | 167 | ||
| 164 | 2004-09-10 Teodor Zlatanov <tzz@lifelogs.com> | 168 | 2004-09-10 Teodor Zlatanov <tzz@lifelogs.com> |
| 165 | 169 | ||
| 166 | * nnimap.el (nnimap-open-connection): allow 'imaps' as a synonym | 170 | * nnimap.el (nnimap-open-connection): Allow 'imaps' as a synonym |
| 167 | for the 'imap' port in netrc files | 171 | for the 'imap' port in netrc files |
| 168 | 172 | ||
| 169 | * gnus-registry.el (gnus-registry-trim): watch out for negatives | 173 | * gnus-registry.el (gnus-registry-trim): Watch out for negatives |
| 170 | in gnus-registry-trim | 174 | in gnus-registry-trim |
| 171 | 175 | ||
| 172 | 2004-09-10 Simon Josefsson <jas@extundo.com> | 176 | 2004-09-10 Simon Josefsson <jas@extundo.com> |
| @@ -176,10 +180,9 @@ | |||
| 176 | 2004-09-08 Reiner Steib <Reiner.Steib@gmx.de> | 180 | 2004-09-08 Reiner Steib <Reiner.Steib@gmx.de> |
| 177 | 181 | ||
| 178 | * nntp.el (nntp): New customization group. | 182 | * nntp.el (nntp): New customization group. |
| 179 | (nntp-authinfo-file): Added customization group. | 183 | (nntp-authinfo-file): Add customization group. |
| 180 | 184 | ||
| 181 | * mml2015.el (mml2015-unabbrev-trust-alist): Added customization | 185 | * mml2015.el (mml2015-unabbrev-trust-alist): Add customization group. |
| 182 | group. | ||
| 183 | 186 | ||
| 184 | * mml-sec.el (mml-signencrypt-style-alist): Ditto. | 187 | * mml-sec.el (mml-signencrypt-style-alist): Ditto. |
| 185 | 188 | ||
diff --git a/lisp/gnus/mm-decode.el b/lisp/gnus/mm-decode.el index 84353a26933..ff05393415d 100644 --- a/lisp/gnus/mm-decode.el +++ b/lisp/gnus/mm-decode.el | |||
| @@ -623,11 +623,14 @@ Postpone undisplaying of viewers for types in | |||
| 623 | "Copy the contents of the current buffer to a fresh buffer." | 623 | "Copy the contents of the current buffer to a fresh buffer." |
| 624 | (save-excursion | 624 | (save-excursion |
| 625 | (let ((obuf (current-buffer)) | 625 | (let ((obuf (current-buffer)) |
| 626 | (multibyte enable-multibyte-characters) | ||
| 626 | beg) | 627 | beg) |
| 627 | (goto-char (point-min)) | 628 | (goto-char (point-min)) |
| 628 | (search-forward-regexp "^\n" nil t) | 629 | (search-forward-regexp "^\n" nil t) |
| 629 | (setq beg (point)) | 630 | (setq beg (point)) |
| 630 | (set-buffer (generate-new-buffer " *mm*")) | 631 | (set-buffer (generate-new-buffer " *mm*")) |
| 632 | ;; Preserve the data's unibyteness (for url-insert-file-contents). | ||
| 633 | (set-buffer-multibyte multibyte) | ||
| 631 | (insert-buffer-substring obuf beg) | 634 | (insert-buffer-substring obuf beg) |
| 632 | (current-buffer)))) | 635 | (current-buffer)))) |
| 633 | 636 | ||
| @@ -1486,5 +1489,5 @@ If RECURSIVE, search recursively." | |||
| 1486 | 1489 | ||
| 1487 | (provide 'mm-decode) | 1490 | (provide 'mm-decode) |
| 1488 | 1491 | ||
| 1489 | ;;; arch-tag: 4f35d360-56b8-4030-9388-3ed82d359b9b | 1492 | ;; arch-tag: 4f35d360-56b8-4030-9388-3ed82d359b9b |
| 1490 | ;;; mm-decode.el ends here | 1493 | ;;; mm-decode.el ends here |