# HG changeset patch # User Richard M. Stallman # Date 902989233 0 # Node ID 196f32d1873fc1a02a871231e048112a5a0fd644 # Parent 9ffaa505edc7a32cc26b34e77e0c3675405ff42b (nntp-encode-text): Properly encode outgoing text by putting CR at the end of all lines. diff -r 9ffaa505edc7 -r 196f32d1873f lisp/gnus/nntp.el --- a/lisp/gnus/nntp.el Thu Aug 13 05:05:44 1998 +0000 +++ b/lisp/gnus/nntp.el Thu Aug 13 06:20:33 1998 +0000 @@ -906,7 +906,12 @@ (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)