# HG changeset patch # User Miles Bader # Date 1193476154 0 # Node ID 9e2e45e4da242fc0356b5c6debc82b9811cd8714 # Parent b1530fa7fbb0b0435dd4493bafdaca5c0ed8e615 Merge from gnus--rel--5.10 Patches applied: * gnus--rel--5.10 (patch 261-262) - Update from CVS 2007-10-23 Katsumi Yamaoka * lisp/gnus/gnus.el (gnus-server-to-method): Return method found first in gnus-newsrc-alist. 2007-10-20 Reiner Steib * lisp/gnus/html2text.el (html2text-fix-paragraph): Use `forward-line' instead of `next-line'. Revision: emacs@sv.gnu.org/emacs--rel--22--patch-137 diff -r b1530fa7fbb0 -r 9e2e45e4da24 lisp/gnus/ChangeLog --- a/lisp/gnus/ChangeLog Fri Oct 26 20:50:17 2007 +0000 +++ b/lisp/gnus/ChangeLog Sat Oct 27 09:09:14 2007 +0000 @@ -2,6 +2,16 @@ * gnus-group.el (gnus-group-highlight): Mark as risky. +2007-10-23 Katsumi Yamaoka + + * gnus.el (gnus-server-to-method): Return method found first in + gnus-newsrc-alist. + +2007-10-20 Reiner Steib + + * html2text.el (html2text-fix-paragraph): Use `forward-line' instead of + `next-line'. + 2007-10-18 Katsumi Yamaoka * nnmail.el (nnmail-fancy-expiry-target): Use rmail-dont-reply-to to diff -r b1530fa7fbb0 -r 9e2e45e4da24 lisp/gnus/gnus.el --- a/lisp/gnus/gnus.el Fri Oct 26 20:50:17 2007 +0000 +++ b/lisp/gnus/gnus.el Sat Oct 27 09:09:14 2007 +0000 @@ -3512,24 +3512,23 @@ (cadar servers))))) (pop servers)) (car servers)) - ;; This could be some sort of foreign server that I - ;; simply haven't opened (yet). Do a brute-force scan - ;; of the entire gnus-newsrc-alist for the server name - ;; of every method. As a side-effect, loads the - ;; gnus-server-method-cache so this only happens once, - ;; if at all. - (let (match) - (mapcar - (lambda (info) - (let ((info-method (gnus-info-method info))) - (unless (stringp info-method) - (let ((info-server (gnus-method-to-server info-method))) - (when (equal server info-server) - (setq match info-method)))))) - (cdr gnus-newsrc-alist)) - match)))) - (when result - (push (cons server result) gnus-server-method-cache)) + ;; This could be some sort of foreign server that I + ;; simply haven't opened (yet). Do a brute-force scan + ;; of the entire gnus-newsrc-alist for the server name + ;; of every method. As a side-effect, loads the + ;; gnus-server-method-cache so this only happens once, + ;; if at all. + (let ((alist (cdr gnus-newsrc-alist)) + method match) + (while alist + (setq method (gnus-info-method (pop alist))) + (when (and (not (stringp method)) + (equal server (gnus-method-to-server method))) + (setq match method + alist nil))) + match)))) + (when result + (push (cons server result) gnus-server-method-cache)) result))) (defsubst gnus-server-get-method (group method) diff -r b1530fa7fbb0 -r 9e2e45e4da24 lisp/gnus/html2text.el --- a/lisp/gnus/html2text.el Fri Oct 26 20:50:17 2007 +0000 +++ b/lisp/gnus/html2text.el Sat Oct 27 09:09:14 2007 +0000 @@ -352,7 +352,7 @@ (setq refill-start (point)) (goto-char p2) (re-search-backward ".+[^<][^b][^r][^>]$" refill-start t) - (next-line 1) + (forward-line 1) (end-of-line) ;; refill-stop should ideally be adjusted to ;; accomodate the "
" strings which are removed