From: ShengHuo ZHU Date: Sat, 16 Feb 2002 19:06:13 +0000 (+0000) Subject: * gnus-sum.el (gnus-rebuild-thread): Count hidden lines too. X-Git-Tag: emacs-21.2~77 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e8407ba22755347fd5e0b6d1846e4a94e080d232;p=emacs.git * gnus-sum.el (gnus-rebuild-thread): Count hidden lines too. --- diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 734de30f294..68eb1e88ab7 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-07 ShengHuo ZHU * gnus-art.el (article-wash-html): Bind url-gateway-unplugged. diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index d1144446c9e..95af0c7e7e2 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))