diff lisp/gnus/nntp.el @ 81436:083f03b1e625

Merge from emacs--rel--22 Patches applied: * emacs--rel--22 (patch 45-48) - Gnus ChangeLog tweaks - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 230-231) - ChangeLog tweak - Update from CVS 2007-06-14 Katsumi Yamaoka <yamaoka@jpl.org> * lisp/gnus/gnus-agent.el (gnus-agent-fetch-headers) (gnus-agent-retrieve-headers): Bind gnus-decode-encoded-address-function to identity. * lisp/gnus/nntp.el (nntp-send-xover-command): Recognize an xover command is available also when the server returns simply a dot. * lisp/gnus/gnus-ems.el (gnus-x-splash): Redisplay window before measuring it. Revision: emacs@sv.gnu.org/emacs--devo--0--patch-800
author Miles Bader <miles@gnu.org>
date Fri, 15 Jun 2007 04:02:46 +0000
parents 9db7ff557d0e
children 24202b793a08 3619e7770f2e
line wrap: on
line diff
--- a/lisp/gnus/nntp.el	Fri Jun 15 00:08:37 2007 +0000
+++ b/lisp/gnus/nntp.el	Fri Jun 15 04:02:46 2007 +0000
@@ -1580,7 +1580,8 @@
 		 ;; article number.  How... helpful.
 		 (progn
 		   (forward-line 1)
-		   (looking-at "[0-9]+\t...")) ; More text after number.
+		   ;; More text after number, or a dot.
+		   (looking-at "[0-9]+\t...\\|\\.\r?\n"))
 		 (setq nntp-server-xover (car commands))))
 	  (setq commands (cdr commands)))
 	;; If none of the commands worked, we disable XOVER.