diff options
| author | Miles Bader | 2005-08-02 07:21:08 +0000 |
|---|---|---|
| committer | Miles Bader | 2005-08-02 07:21:08 +0000 |
| commit | afea040a3d16a892ca86589c33ea4b0e30f7a320 (patch) | |
| tree | 1c1a45c96023946304c132206f11cf48d0b9f4a3 | |
| parent | a4fbb790db4e05bab11b0837872cc45d536aee7a (diff) | |
| download | emacs-afea040a3d16a892ca86589c33ea4b0e30f7a320.tar.gz emacs-afea040a3d16a892ca86589c33ea4b0e30f7a320.zip | |
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-507
Merge from gnus--rel--5.10
Patches applied:
* gnus--rel--5.10 (patch 100)
- Update from CVS
2005-08-02 Katsumi Yamaoka <yamaoka@jpl.org>
* lisp/gnus/mml.el (mml-generate-mime-1): Make the content type default to
text/plain if the filename is not specified.
2005-08-01 Katsumi Yamaoka <yamaoka@jpl.org>
* lisp/gnus/gnus-uu.el (gnus-uu-save-article): Use insert-buffer-substring
instead of insert-buffer.
* lisp/gnus/message.el (message-yank-original): Ditto; set the mark at the
end of the yanked message.
| -rw-r--r-- | lisp/gnus/ChangeLog | 13 | ||||
| -rw-r--r-- | lisp/gnus/gnus-uu.el | 8 | ||||
| -rw-r--r-- | lisp/gnus/message.el | 4 | ||||
| -rw-r--r-- | lisp/gnus/mml.el | 12 |
4 files changed, 28 insertions, 9 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 6b25403e47b..a96013006c2 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,16 @@ | |||
| 1 | 2005-08-02 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 2 | |||
| 3 | * mml.el (mml-generate-mime-1): Make the content type default to | ||
| 4 | text/plain if the filename is not specified. | ||
| 5 | |||
| 6 | 2005-08-01 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 7 | |||
| 8 | * gnus-uu.el (gnus-uu-save-article): Use insert-buffer-substring | ||
| 9 | instead of insert-buffer. | ||
| 10 | |||
| 11 | * message.el (message-yank-original): Ditto; set the mark at the | ||
| 12 | end of the yanked message. | ||
| 13 | |||
| 1 | 2005-07-29 Katsumi Yamaoka <yamaoka@jpl.org> | 14 | 2005-07-29 Katsumi Yamaoka <yamaoka@jpl.org> |
| 2 | 15 | ||
| 3 | * gnus-art.el (gnus-article-next-page-1): Reduce the number of | 16 | * gnus-art.el (gnus-article-next-page-1): Reduce the number of |
diff --git a/lisp/gnus/gnus-uu.el b/lisp/gnus/gnus-uu.el index 5bdd17f84c1..4a7d5fec422 100644 --- a/lisp/gnus/gnus-uu.el +++ b/lisp/gnus/gnus-uu.el | |||
| @@ -917,16 +917,16 @@ When called interactively, prompt for REGEXP." | |||
| 917 | (if (and message-forward-as-mime gnus-uu-digest-buffer) | 917 | (if (and message-forward-as-mime gnus-uu-digest-buffer) |
| 918 | (with-current-buffer gnus-uu-digest-buffer | 918 | (with-current-buffer gnus-uu-digest-buffer |
| 919 | (erase-buffer) | 919 | (erase-buffer) |
| 920 | (insert-buffer "*gnus-uu-pre*") | 920 | (insert-buffer-substring "*gnus-uu-pre*") |
| 921 | (goto-char (point-max)) | 921 | (goto-char (point-max)) |
| 922 | (insert-buffer "*gnus-uu-body*")) | 922 | (insert-buffer-substring "*gnus-uu-body*")) |
| 923 | (save-excursion | 923 | (save-excursion |
| 924 | (set-buffer "*gnus-uu-pre*") | 924 | (set-buffer "*gnus-uu-pre*") |
| 925 | (insert (format "\n\n%s\n\n" (make-string 70 ?-))) | 925 | (insert (format "\n\n%s\n\n" (make-string 70 ?-))) |
| 926 | (if gnus-uu-digest-buffer | 926 | (if gnus-uu-digest-buffer |
| 927 | (with-current-buffer gnus-uu-digest-buffer | 927 | (with-current-buffer gnus-uu-digest-buffer |
| 928 | (erase-buffer) | 928 | (erase-buffer) |
| 929 | (insert-buffer "*gnus-uu-pre*")) | 929 | (insert-buffer-substring "*gnus-uu-pre*")) |
| 930 | (let ((coding-system-for-write mm-text-coding-system)) | 930 | (let ((coding-system-for-write mm-text-coding-system)) |
| 931 | (gnus-write-buffer gnus-uu-saved-article-name)))) | 931 | (gnus-write-buffer gnus-uu-saved-article-name)))) |
| 932 | (save-excursion | 932 | (save-excursion |
| @@ -939,7 +939,7 @@ When called interactively, prompt for REGEXP." | |||
| 939 | (if gnus-uu-digest-buffer | 939 | (if gnus-uu-digest-buffer |
| 940 | (with-current-buffer gnus-uu-digest-buffer | 940 | (with-current-buffer gnus-uu-digest-buffer |
| 941 | (goto-char (point-max)) | 941 | (goto-char (point-max)) |
| 942 | (insert-buffer "*gnus-uu-body*")) | 942 | (insert-buffer-substring "*gnus-uu-body*")) |
| 943 | (let ((coding-system-for-write mm-text-coding-system) | 943 | (let ((coding-system-for-write mm-text-coding-system) |
| 944 | (file-name-coding-system nnmail-pathname-coding-system)) | 944 | (file-name-coding-system nnmail-pathname-coding-system)) |
| 945 | (write-region | 945 | (write-region |
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index d509b703419..c5679e0a22f 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -3206,7 +3206,9 @@ prefix, and don't delete any headers." | |||
| 3206 | (when (and message-reply-buffer | 3206 | (when (and message-reply-buffer |
| 3207 | message-cite-function) | 3207 | message-cite-function) |
| 3208 | (delete-windows-on message-reply-buffer t) | 3208 | (delete-windows-on message-reply-buffer t) |
| 3209 | (insert-buffer message-reply-buffer) | 3209 | (push-mark (save-excursion |
| 3210 | (insert-buffer-substring message-reply-buffer) | ||
| 3211 | (point))) | ||
| 3210 | (unless arg | 3212 | (unless arg |
| 3211 | (funcall message-cite-function)) | 3213 | (funcall message-cite-function)) |
| 3212 | (message-exchange-point-and-mark) | 3214 | (message-exchange-point-and-mark) |
diff --git a/lisp/gnus/mml.el b/lisp/gnus/mml.el index 57e2b54e733..4a3a568d34c 100644 --- a/lisp/gnus/mml.el +++ b/lisp/gnus/mml.el | |||
| @@ -409,8 +409,10 @@ If MML is non-nil, return the buffer up till the correspondent mml tag." | |||
| 409 | (let* ((raw (cdr (assq 'raw cont))) | 409 | (let* ((raw (cdr (assq 'raw cont))) |
| 410 | (filename (cdr (assq 'filename cont))) | 410 | (filename (cdr (assq 'filename cont))) |
| 411 | (type (or (cdr (assq 'type cont)) | 411 | (type (or (cdr (assq 'type cont)) |
| 412 | (and filename (mm-default-file-encoding filename)) | 412 | (if filename |
| 413 | "application/octet-stream")) | 413 | (or (mm-default-file-encoding filename) |
| 414 | "application/octet-stream") | ||
| 415 | "text/plain"))) | ||
| 414 | coded encoding charset flowed) | 416 | coded encoding charset flowed) |
| 415 | (if (and (not raw) | 417 | (if (and (not raw) |
| 416 | (member (car (split-string type "/")) '("text" "message"))) | 418 | (member (car (split-string type "/")) '("text" "message"))) |
| @@ -533,8 +535,10 @@ If MML is non-nil, return the buffer up till the correspondent mml tag." | |||
| 533 | (insert "\n\n") | 535 | (insert "\n\n") |
| 534 | (insert "Content-Type: " | 536 | (insert "Content-Type: " |
| 535 | (or (cdr (assq 'type cont)) | 537 | (or (cdr (assq 'type cont)) |
| 536 | (and name (mm-default-file-encoding name)) | 538 | (if name |
| 537 | "application/octet-stream") | 539 | (or (mm-default-file-encoding name) |
| 540 | "application/octet-stream") | ||
| 541 | "text/plain")) | ||
| 538 | "\n") | 542 | "\n") |
| 539 | (insert "Content-ID: " (message-make-message-id) "\n") | 543 | (insert "Content-ID: " (message-make-message-id) "\n") |
| 540 | (insert "Content-Transfer-Encoding: " | 544 | (insert "Content-Transfer-Encoding: " |