diff options
| author | ShengHuo ZHU | 2001-08-18 19:22:22 +0000 |
|---|---|---|
| committer | ShengHuo ZHU | 2001-08-18 19:22:22 +0000 |
| commit | 47e77e9f1d45d86388ae75c316420970d41d1fe8 (patch) | |
| tree | da156c1d21f020dee7b8d0077f9a659e73b022d2 | |
| parent | 9cd6acefe0b30ffc0739901009c564570efa2580 (diff) | |
| download | emacs-47e77e9f1d45d86388ae75c316420970d41d1fe8.tar.gz emacs-47e77e9f1d45d86388ae75c316420970d41d1fe8.zip | |
* gnus-art.el (gnus-output-to-file): Bind file-name-coding-system.
* gnus-util.el (gnus-output-to-rmail): Ditto.
(gnus-output-to-mail): Ditto.
* nnmail.el (nnmail-pathname-coding-system): Set default to nil.
| -rw-r--r-- | lisp/gnus/ChangeLog | 9 | ||||
| -rw-r--r-- | lisp/gnus/gnus-art.el | 3 | ||||
| -rw-r--r-- | lisp/gnus/gnus-util.el | 6 | ||||
| -rw-r--r-- | lisp/gnus/nnmail.el | 2 |
4 files changed, 16 insertions, 4 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 072195b6139..e52646e1bba 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2001-08-18 ShengHuo ZHU <zsh@cs.rochester.edu> | ||
| 2 | |||
| 3 | * gnus-art.el (gnus-output-to-file): Bind file-name-coding-system. | ||
| 4 | |||
| 5 | * gnus-util.el (gnus-output-to-rmail): Ditto. | ||
| 6 | (gnus-output-to-mail): Ditto. | ||
| 7 | |||
| 8 | * nnmail.el (nnmail-pathname-coding-system): Set default to nil. | ||
| 9 | |||
| 1 | 2001-08-07 Gerd Moellmann <gerd@gnu.org> | 10 | 2001-08-07 Gerd Moellmann <gerd@gnu.org> |
| 2 | 11 | ||
| 3 | * mm-uu.el (mm-uu-dissect, mm-uu-test): Fix autoload cookies. | 12 | * mm-uu.el (mm-uu-dissect, mm-uu-test): Fix autoload cookies. |
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index d8125828d2f..00a444f93d2 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el | |||
| @@ -3650,7 +3650,8 @@ Provided for backwards compatibility." | |||
| 3650 | ;; save it to file. | 3650 | ;; save it to file. |
| 3651 | (goto-char (point-max)) | 3651 | (goto-char (point-max)) |
| 3652 | (insert "\n") | 3652 | (insert "\n") |
| 3653 | (mm-append-to-file (point-min) (point-max) file-name) | 3653 | (let ((file-name-coding-system nnmail-pathname-coding-system)) |
| 3654 | (mm-append-to-file (point-min) (point-max) file-name)) | ||
| 3654 | t))) | 3655 | t))) |
| 3655 | 3656 | ||
| 3656 | (defun gnus-narrow-to-page (&optional arg) | 3657 | (defun gnus-narrow-to-page (&optional arg) |
diff --git a/lisp/gnus/gnus-util.el b/lisp/gnus/gnus-util.el index 061a0610a70..7417543278c 100644 --- a/lisp/gnus/gnus-util.el +++ b/lisp/gnus/gnus-util.el | |||
| @@ -691,7 +691,8 @@ with potentially long computations." | |||
| 691 | ;; Decide whether to append to a file or to an Emacs buffer. | 691 | ;; Decide whether to append to a file or to an Emacs buffer. |
| 692 | (let ((outbuf (get-file-buffer filename))) | 692 | (let ((outbuf (get-file-buffer filename))) |
| 693 | (if (not outbuf) | 693 | (if (not outbuf) |
| 694 | (mm-append-to-file (point-min) (point-max) filename) | 694 | (let ((file-name-coding-system nnmail-pathname-coding-system)) |
| 695 | (mm-append-to-file (point-min) (point-max) filename)) | ||
| 695 | ;; File has been visited, in buffer OUTBUF. | 696 | ;; File has been visited, in buffer OUTBUF. |
| 696 | (set-buffer outbuf) | 697 | (set-buffer outbuf) |
| 697 | (let ((buffer-read-only nil) | 698 | (let ((buffer-read-only nil) |
| @@ -760,7 +761,8 @@ with potentially long computations." | |||
| 760 | (insert "\n")) | 761 | (insert "\n")) |
| 761 | (insert "\n")) | 762 | (insert "\n")) |
| 762 | (goto-char (point-max)) | 763 | (goto-char (point-max)) |
| 763 | (mm-append-to-file (point-min) (point-max) filename))) | 764 | (let ((file-name-coding-system nnmail-pathname-coding-system)) |
| 765 | (mm-append-to-file (point-min) (point-max) filename)))) | ||
| 764 | ;; File has been visited, in buffer OUTBUF. | 766 | ;; File has been visited, in buffer OUTBUF. |
| 765 | (set-buffer outbuf) | 767 | (set-buffer outbuf) |
| 766 | (let ((buffer-read-only nil)) | 768 | (let ((buffer-read-only nil)) |
diff --git a/lisp/gnus/nnmail.el b/lisp/gnus/nnmail.el index 504c8083b8a..9234325eac0 100644 --- a/lisp/gnus/nnmail.el +++ b/lisp/gnus/nnmail.el | |||
| @@ -466,7 +466,7 @@ parameter. It should return nil, `warn' or `delete'." | |||
| 466 | mm-text-coding-system | 466 | mm-text-coding-system |
| 467 | "Coding system used in reading inbox") | 467 | "Coding system used in reading inbox") |
| 468 | 468 | ||
| 469 | (defvar nnmail-pathname-coding-system 'binary | 469 | (defvar nnmail-pathname-coding-system nil |
| 470 | "*Coding system for pathname.") | 470 | "*Coding system for pathname.") |
| 471 | 471 | ||
| 472 | (defun nnmail-find-file (file) | 472 | (defun nnmail-find-file (file) |