From: ShengHuo ZHU Date: Sat, 16 Feb 2002 19:03:14 +0000 (+0000) Subject: * gnus-sum.el (gnus-rebuild-thread): Count hidden lines too. X-Git-Tag: ttn-vms-21-2-B4~16619 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=94384150a60c4288978f5e28948ca3d260951e4a;p=emacs.git * gnus-sum.el (gnus-rebuild-thread): Count hidden lines too. --- diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 793cfcf8bc2..2ea593005b6 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,7 @@ +2002-02-17 ShengHuo ZHU + + * gnus-sum.el (gnus-rebuild-thread): Count hidden lines too. + 2002-02-13 ShengHuo ZHU * gnus-art.el (gnus-article-edit-mode): Use define-derived-mode. diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index bc172f4b509..c1d781aed82 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el @@ -3549,7 +3549,7 @@ If LINE, insert the rebuilt thread starting on line LINE." (setq thread (gnus-remove-thread id))) (setq old-pos (gnus-point-at-bol)) (setq current (save-excursion - (and (zerop (forward-line -1)) + (and (re-search-backward "[\r\n]" nil t) (gnus-summary-article-number)))) ;; If this is a gathered thread, we have to go some re-gathering. (when (stringp (car thread))