"*If non-nil, beep when a server closes connection.")
;; 1997/5/4 by MORIOKA Tomohiko <morioka@jaist.ac.jp>
-(defvoo nntp-coding-system-for-read nil
+(defvoo nntp-coding-system-for-read 'binary
"*Coding system to read from NNTP.")
-(defvoo nntp-coding-system-for-write nil
+(defvoo nntp-coding-system-for-write 'binary
"*Coding system to write to NNTP.")
\f
(insert "\n"))
;; Insert `.' at end of buffer (end of text mark).
(goto-char (point-max))
- (insert "." nntp-end-of-line)))
+ (insert ".\n")
+ (goto-char (point-min))
+ (while (not (eobp))
+ (end-of-line)
+ (delete-char 1)
+ (insert nntp-end-of-line))))
(defun nntp-retrieve-headers-with-xover (articles &optional fetch-old)
(set-buffer nntp-server-buffer)