diff options
| author | Stefan Monnier | 2008-03-29 22:22:07 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2008-03-29 22:22:07 +0000 |
| commit | fa98585ca3779749f7acadf5eaa321c03f7b0b8e (patch) | |
| tree | 960d243b1e49c1bf56e5a9cc4862245fc02f5d83 | |
| parent | 6199aad9a3ccd85812ae295e3ea003b868f22713 (diff) | |
| download | emacs-fa98585ca3779749f7acadf5eaa321c03f7b0b8e.tar.gz emacs-fa98585ca3779749f7acadf5eaa321c03f7b0b8e.zip | |
(message-make-in-reply-to): Use mm-with-multibyte-buffer.
| -rw-r--r-- | lisp/gnus/ChangeLog | 14 | ||||
| -rw-r--r-- | lisp/gnus/message.el | 25 |
2 files changed, 21 insertions, 18 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 82cde814cb2..2a2b5b9bc2d 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,11 +1,15 @@ | |||
| 1 | 2008-03-29 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * message.el (message-make-in-reply-to): Use mm-with-multibyte-buffer. | ||
| 4 | |||
| 1 | 2008-03-28 Michael Harnois <mdharnois@gmail.com> (tiny change) | 5 | 2008-03-28 Michael Harnois <mdharnois@gmail.com> (tiny change) |
| 2 | 6 | ||
| 3 | * nnimap.el (nnimap-find-minmax-uid): Fix Exchange 2007 IMAP problem. | 7 | * nnimap.el (nnimap-find-minmax-uid): Fix Exchange 2007 IMAP problem. |
| 4 | 8 | ||
| 5 | 2008-03-24 Reiner Steib <Reiner.Steib@gmx.de> | 9 | 2008-03-24 Reiner Steib <Reiner.Steib@gmx.de> |
| 6 | 10 | ||
| 7 | * message.el (message-signature-separator): Change default. Improve | 11 | * message.el (message-signature-separator): Change default. |
| 8 | custom type. | 12 | Improve custom type. |
| 9 | (message-cite-function): Change default to | 13 | (message-cite-function): Change default to |
| 10 | message-cite-original-without-signature. | 14 | message-cite-original-without-signature. |
| 11 | 15 | ||
| @@ -18,9 +22,9 @@ | |||
| 18 | (message-shorten-references): Be more strict when building list of | 22 | (message-shorten-references): Be more strict when building list of |
| 19 | valid references to comply with GNKSA. | 23 | valid references to comply with GNKSA. |
| 20 | 24 | ||
| 21 | * gnus-group.el (gnus-read-ephemeral-bug-group) | 25 | * gnus-group.el (gnus-read-ephemeral-bug-group) |
| 22 | (gnus-read-ephemeral-debian-bug-group) | 26 | (gnus-read-ephemeral-debian-bug-group) |
| 23 | (gnus-read-ephemeral-emacs-bug-group): Use the correct variable. | 27 | (gnus-read-ephemeral-emacs-bug-group): Use the correct variable. |
| 24 | 28 | ||
| 25 | * message.el (message-info): Don't use booleanp which isn't supported | 29 | * message.el (message-info): Don't use booleanp which isn't supported |
| 26 | in Emacs 21 and XEmacs. | 30 | in Emacs 21 and XEmacs. |
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index a35d7b1bf98..1ce7e461839 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -5345,19 +5345,18 @@ In posting styles use `(\"Expires\" (make-expires-date 30))'." | |||
| 5345 | ;; Quote a string containing non-ASCII characters. | 5345 | ;; Quote a string containing non-ASCII characters. |
| 5346 | ;; It will make the RFC2047 encoder cause an error | 5346 | ;; It will make the RFC2047 encoder cause an error |
| 5347 | ;; if there are special characters. | 5347 | ;; if there are special characters. |
| 5348 | (let ((default-enable-multibyte-characters t)) | 5348 | (mm-with-multibyte-buffer |
| 5349 | (with-temp-buffer | 5349 | (insert (car name)) |
| 5350 | (insert (car name)) | 5350 | (goto-char (point-min)) |
| 5351 | (goto-char (point-min)) | 5351 | (while (search-forward "\"" nil t) |
| 5352 | (while (search-forward "\"" nil t) | 5352 | (when (prog2 |
| 5353 | (when (prog2 | 5353 | (backward-char) |
| 5354 | (backward-char) | 5354 | (zerop (% (skip-chars-backward "\\\\") 2)) |
| 5355 | (zerop (% (skip-chars-backward "\\\\") 2)) | 5355 | (goto-char (match-beginning 0))) |
| 5356 | (goto-char (match-beginning 0))) | 5356 | (insert "\\")) |
| 5357 | (insert "\\")) | 5357 | (forward-char)) |
| 5358 | (forward-char)) | 5358 | ;; Those quotes will be removed by the RFC2047 encoder. |
| 5359 | ;; Those quotes will be removed by the RFC2047 encoder. | 5359 | (concat "\"" (buffer-string) "\"")) |
| 5360 | (concat "\"" (buffer-string) "\""))) | ||
| 5361 | (car name)) | 5360 | (car name)) |
| 5362 | (nth 1 name)) | 5361 | (nth 1 name)) |
| 5363 | "'s message of \"" | 5362 | "'s message of \"" |