Synch with Oort Gnus.
authoryamaoka <yamaoka>
Sun, 8 Dec 2002 22:41:20 +0000 (22:41 +0000)
committeryamaoka <yamaoka>
Sun, 8 Dec 2002 22:41:20 +0000 (22:41 +0000)
lisp/ChangeLog
lisp/nntp.el

index 87f2b17..16f7f68 100644 (file)
@@ -1,3 +1,9 @@
+2002-12-08  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
+
+       * nntp.el (nntp-send-command): Assume that echo does not happen
+       when nntp-open-connection-function is nntp-open-network-stream.
+       Suggested by Sebastian D.B. Krause <krause@my.gnus.org>.
+
 2002-12-07  ShengHuo ZHU  <zsh@cs.rochester.edu>
 
        * nnslashdot.el (nnslashdot-retrieve-headers-1): Update the parser.
index 267b29e..e00e7b8 100644 (file)
@@ -435,8 +435,12 @@ noticing asynchronous data.")
                                nntp-address nntp-port-number
                                nntp-server-buffer
                                wait-for nnheader-callback-function)
-         ;; If nothing to wait for, still remove possibly echo'ed commands
-         (unless wait-for
+         ;; If nothing to wait for, still remove possibly echo'ed commands.
+         ;; We don't have echos if nntp-open-connection-function
+         ;; is `nntp-open-network-stream', so we skip this in that case.
+         (unless (and wait-for
+                      (equal nntp-open-connection-function
+                             'nntp-open-network-stream))
            (nntp-accept-response)
            (save-excursion
              (set-buffer buffer)