aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorKenichi Handa1997-09-26 01:50:55 +0000
committerKenichi Handa1997-09-26 01:50:55 +0000
commit4f7d7340f8f587e322608b396c5f7d9b2ebb22df (patch)
tree50aaff07e5d17fb63a0f424f485fabea76eaea86 /lisp
parent6e262a8810ce4ab3d9c2492dc5686e7acd71fe51 (diff)
downloademacs-4f7d7340f8f587e322608b396c5f7d9b2ebb22df.tar.gz
emacs-4f7d7340f8f587e322608b396c5f7d9b2ebb22df.zip
(nnml-retrieve-headers): Bind
file-name-coding-system to binary. (nnml-request-article): Likewise. (nnml-request-group): Likewise. (nnml-request-list): Likewise. (nnml-possibly-change-directory): Likewise.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/gnus/nnml.el17
1 files changed, 9 insertions, 8 deletions
diff --git a/lisp/gnus/nnml.el b/lisp/gnus/nnml.el
index 3cfd12bb374..6819086fa6c 100644
--- a/lisp/gnus/nnml.el
+++ b/lisp/gnus/nnml.el
@@ -99,8 +99,8 @@ all. This may very well take some time.")
99 (number (length sequence)) 99 (number (length sequence))
100 (count 0) 100 (count 0)
101 ;; 1997/8/12 by MORIOKA Tomohiko 101 ;; 1997/8/12 by MORIOKA Tomohiko
102 ;; for XEmacs/mule. 102 (file-name-coding-system 'binary) ; for Emacs 20
103 (pathname-coding-system 'binary) 103 (pathname-coding-system 'binary) ; for XEmacs/mule
104 beg article) 104 beg article)
105 (if (stringp (car sequence)) 105 (if (stringp (car sequence))
106 'headers 106 'headers
@@ -164,8 +164,8 @@ all. This may very well take some time.")
164 (nnml-possibly-change-directory group server) 164 (nnml-possibly-change-directory group server)
165 (let* ((nntp-server-buffer (or buffer nntp-server-buffer)) 165 (let* ((nntp-server-buffer (or buffer nntp-server-buffer))
166 ;; 1997/8/12 by MORIOKA Tomohiko 166 ;; 1997/8/12 by MORIOKA Tomohiko
167 ;; for XEmacs/mule. 167 (file-name-coding-system 'binary) ; for Emacs 20
168 (pathname-coding-system 'binary) 168 (pathname-coding-system 'binary) ; for XEmacs/mule
169 path gpath group-num) 169 path gpath group-num)
170 (if (stringp id) 170 (if (stringp id)
171 (when (and (setq group-num (nnml-find-group-number id)) 171 (when (and (setq group-num (nnml-find-group-number id))
@@ -195,8 +195,8 @@ all. This may very well take some time.")
195 195
196(deffoo nnml-request-group (group &optional server dont-check) 196(deffoo nnml-request-group (group &optional server dont-check)
197 ;; 1997/8/12 by MORIOKA Tomohiko 197 ;; 1997/8/12 by MORIOKA Tomohiko
198 ;; for XEmacs/mule. 198 (let ((file-name-coding-system 'binary) ; for Emacs 20
199 (let ((pathname-coding-system 'binary)) 199 (pathname-coding-system 'binary)) ; for XEmacs/mule
200 (cond 200 (cond
201 ((not (nnml-possibly-change-directory group server)) 201 ((not (nnml-possibly-change-directory group server))
202 (nnheader-report 'nnml "Invalid group (no such directory)")) 202 (nnheader-report 'nnml "Invalid group (no such directory)"))
@@ -248,6 +248,7 @@ all. This may very well take some time.")
248 ;; 1997/8/12 by MORIOKA Tomohiko 248 ;; 1997/8/12 by MORIOKA Tomohiko
249 ;; for XEmacs/mule. 249 ;; for XEmacs/mule.
250 (let ((nnmail-file-coding-system nnmail-active-file-coding-system) 250 (let ((nnmail-file-coding-system nnmail-active-file-coding-system)
251 (file-name-coding-system 'binary) ; for Emacs 20
251 (pathname-coding-system 'binary)) ; for XEmacs/mule 252 (pathname-coding-system 'binary)) ; for XEmacs/mule
252 (nnmail-find-file nnml-active-file) 253 (nnmail-find-file nnml-active-file)
253 ) 254 )
@@ -563,8 +564,8 @@ all. This may very well take some time.")
563 t 564 t
564 (let ((pathname (nnmail-group-pathname group nnml-directory)) 565 (let ((pathname (nnmail-group-pathname group nnml-directory))
565 ;; 1997/8/14 by MORIOKA Tomohiko 566 ;; 1997/8/14 by MORIOKA Tomohiko
566 ;; for XEmacs/mule. 567 (file-name-coding-system 'binary) ; for Emacs 20
567 (pathname-coding-system 'binary)) 568 (pathname-coding-system 'binary)) ; for XEmacs/mule
568 (when (not (equal pathname nnml-current-directory)) 569 (when (not (equal pathname nnml-current-directory))
569 (setq nnml-current-directory pathname 570 (setq nnml-current-directory pathname
570 nnml-current-group group 571 nnml-current-group group