diff options
| author | Kenichi Handa | 1997-08-28 04:51:02 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1997-08-28 04:51:02 +0000 |
| commit | a16dd35a64da48a282d1327cbe03de5a881317f7 (patch) | |
| tree | dc8477587e1966597dab20c155e4ba08ea5d1a75 | |
| parent | 2bd3dcae0eba8e09cd07f180506493a22905d5cc (diff) | |
| download | emacs-a16dd35a64da48a282d1327cbe03de5a881317f7.tar.gz emacs-a16dd35a64da48a282d1327cbe03de5a881317f7.zip | |
(pop3-movemail-file-coding-system): Append it for
assigning a coding system to receive mail with pop3.
(pop3-movemail): Modify for writing messages with
pop3-movemail-file-coding-system.
| -rw-r--r-- | lisp/gnus/pop3.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/gnus/pop3.el b/lisp/gnus/pop3.el index c67b3d6db8b..95bd64ccaa4 100644 --- a/lisp/gnus/pop3.el +++ b/lisp/gnus/pop3.el | |||
| @@ -60,6 +60,9 @@ values are 'apop.") | |||
| 60 | "Timestamp returned when initially connected to the POP server. | 60 | "Timestamp returned when initially connected to the POP server. |
| 61 | Used for APOP authentication.") | 61 | Used for APOP authentication.") |
| 62 | 62 | ||
| 63 | (defvar pop3-movemail-file-coding-system nil | ||
| 64 | "Crashbox made by pop3-movemail with this coding system.") | ||
| 65 | |||
| 63 | (defvar pop3-read-point nil) | 66 | (defvar pop3-read-point nil) |
| 64 | (defvar pop3-debug nil) | 67 | (defvar pop3-debug nil) |
| 65 | 68 | ||
| @@ -85,7 +88,8 @@ Used for APOP authentication.") | |||
| 85 | (pop3-retr process n crashbuf) | 88 | (pop3-retr process n crashbuf) |
| 86 | (save-excursion | 89 | (save-excursion |
| 87 | (set-buffer crashbuf) | 90 | (set-buffer crashbuf) |
| 88 | (append-to-file (point-min) (point-max) crashbox) | 91 | (let ((coding-system-for-write pop3-movemail-file-coding-system)) |
| 92 | (append-to-file (point-min) (point-max) crashbox)) | ||
| 89 | (set-buffer (process-buffer process)) | 93 | (set-buffer (process-buffer process)) |
| 90 | (while (> (buffer-size) 5000) | 94 | (while (> (buffer-size) 5000) |
| 91 | (goto-char (point-min)) | 95 | (goto-char (point-min)) |