aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShengHuo ZHU2000-12-15 15:13:29 +0000
committerShengHuo ZHU2000-12-15 15:13:29 +0000
commit4c4b227a1de56650da33fd92dce621b6082dc470 (patch)
tree8f0de31db483c7d3276cf1406372f5bc0f2b8ce8
parent7a39158f7cd551861aa92b63638d1a21c75bb1b0 (diff)
downloademacs-4c4b227a1de56650da33fd92dce621b6082dc470.tar.gz
emacs-4c4b227a1de56650da33fd92dce621b6082dc470.zip
2000-12-15 ShengHuo ZHU <zsh@cs.rochester.edu>
* pop3.el (pop3-movemail): Use binary. (pop3-movemail-file-coding-system): Removed.
-rw-r--r--lisp/gnus/ChangeLog5
-rw-r--r--lisp/gnus/pop3.el5
2 files changed, 6 insertions, 4 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 4636cf3dd25..4ac5f8e5164 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,8 @@
12000-12-15 ShengHuo ZHU <zsh@cs.rochester.edu>
2
3 * pop3.el (pop3-movemail): Use binary.
4 (pop3-movemail-file-coding-system): Removed.
5
12000-12-13 Miles Bader <miles@gnu.org> 62000-12-13 Miles Bader <miles@gnu.org>
2 7
3 * smiley-ems.el (smiley-region): Bind `inhibit-point-motion-hooks' 8 * smiley-ems.el (smiley-region): Bind `inhibit-point-motion-hooks'
diff --git a/lisp/gnus/pop3.el b/lisp/gnus/pop3.el
index 9fb20725b96..aa040d228f0 100644
--- a/lisp/gnus/pop3.el
+++ b/lisp/gnus/pop3.el
@@ -58,9 +58,6 @@ values are 'apop.")
58 "Timestamp returned when initially connected to the POP server. 58 "Timestamp returned when initially connected to the POP server.
59Used for APOP authentication.") 59Used for APOP authentication.")
60 60
61(defvar pop3-movemail-file-coding-system nil
62 "Coding system for the crashbox made by `pop3-movemail'.")
63
64(defvar pop3-read-point nil) 61(defvar pop3-read-point nil)
65(defvar pop3-debug nil) 62(defvar pop3-debug nil)
66 63
@@ -93,7 +90,7 @@ Used for APOP authentication.")
93 (pop3-retr process n crashbuf) 90 (pop3-retr process n crashbuf)
94 (save-excursion 91 (save-excursion
95 (set-buffer crashbuf) 92 (set-buffer crashbuf)
96 (let ((coding-system-for-write pop3-movemail-file-coding-system)) 93 (let ((coding-system-for-write 'binary))
97 (write-region (point-min) (point-max) crashbox t 'nomesg)) 94 (write-region (point-min) (point-max) crashbox t 'nomesg))
98 (set-buffer (process-buffer process)) 95 (set-buffer (process-buffer process))
99 (while (> (buffer-size) 5000) 96 (while (> (buffer-size) 5000)