comparison lisp/gnus/nntp.el @ 78013:9db7ff557d0e

Merge from gnus--rel--5.10 Patches applied: * 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--rel--22--patch-48
author Miles Bader <miles@gnu.org>
date Fri, 15 Jun 2007 04:03:46 +0000
parents 96573486524e
children 24202b793a08 3619e7770f2e
comparison
equal deleted inserted replaced
78012:9e572cd34254 78013:9db7ff557d0e
1578 ;; We also have to look at the lines. Some buggy 1578 ;; We also have to look at the lines. Some buggy
1579 ;; servers give back simple lines with just the 1579 ;; servers give back simple lines with just the
1580 ;; article number. How... helpful. 1580 ;; article number. How... helpful.
1581 (progn 1581 (progn
1582 (forward-line 1) 1582 (forward-line 1)
1583 (looking-at "[0-9]+\t...")) ; More text after number. 1583 ;; More text after number, or a dot.
1584 (looking-at "[0-9]+\t...\\|\\.\r?\n"))
1584 (setq nntp-server-xover (car commands)))) 1585 (setq nntp-server-xover (car commands))))
1585 (setq commands (cdr commands))) 1586 (setq commands (cdr commands)))
1586 ;; If none of the commands worked, we disable XOVER. 1587 ;; If none of the commands worked, we disable XOVER.
1587 (when (eq nntp-server-xover 'try) 1588 (when (eq nntp-server-xover 'try)
1588 (save-excursion 1589 (save-excursion