# HG changeset patch # User Kenichi Handa # Date 873955465 0 # Node ID 574f61c01920fbb6e48df6770f6ace74b01c85bb # Parent 44dcf37ec3453612c3e5d02d2c203bdeb3ea6a41 Set no-conversion for network communication with nntpd. (gnus-mule-initialize): For safety, set no-conversion for network communication with nntpd. diff -r 44dcf37ec345 -r 574f61c01920 lisp/gnus/gnus-mule.el --- a/lisp/gnus/gnus-mule.el Thu Sep 11 01:27:57 1997 +0000 +++ b/lisp/gnus/gnus-mule.el Thu Sep 11 05:24:25 1997 +0000 @@ -206,7 +206,10 @@ (add-hook 'message-send-news-hook 'gnus-mule-message-send-news-function) (add-hook 'message-send-mail-hook - 'gnus-mule-message-send-mail-function)) + 'gnus-mule-message-send-mail-function) + (let ((stream (get-process "nntpd"))) + (if (processp stream) + (set-process-coding-system stream 'no-conversion 'no-conversion)))) (gnus-mule-add-group "" 'undecided) (gnus-mule-add-group "fj" 'iso-2022-7bit) @@ -221,4 +224,6 @@ (add-hook 'gnus-startup-hook 'gnus-mule-initialize) +(modify-coding-system-alist 'network "nntp" 'no-conversion) + ;; gnus-mule.el ends here